uwesto...@lyx.org wrote:
> Log:
> GuiDocument.cpp: remove unneeded prefix since we are there already in
> namespace lyx
[...]
> @@ -2185,9 +2185,9 @@
>         if (index == -1)
>                 index = 0;
>         outputModule->defaultFormatCO->setCurrentIndex(index);
> -       outputModule->xetexCB->setEnabled(bp_.baseClass()->outputType() ==
> lyx::LATEX);
> +       outputModule->xetexCB->setEnabled(bp_.baseClass()->outputType() ==
> LATEX);

Uwe, this namespace is necessary to avoid the following copiler warning with 
gcc:

GuiDocument.cpp: In member function ‘void 
lyx::frontend::GuiDocument::paramsToDialog()’:
GuiDocument.cpp:2188: warning: comparison between ‘enum lyx::OutputType’ and 
‘enum lyx::frontend::KernelDocType’
GuiDocument.cpp:2190: warning: comparison between ‘enum lyx::OutputType’ and 
‘enum lyx::frontend::KernelDocType’

Jürgen

Reply via email to