compilation fix; a couple of warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39873 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2011-10-17 08:57:28 +00:00
parent 52ef90c2cf
commit 69a993312d
3 changed files with 3 additions and 2 deletions

View File

@ -874,6 +874,7 @@ docstring const i18npreamble(Language const * lang, Encoding const & enc,
#ifdef TEX2LYX
// tex2lyx does not have getMessages()
LASSERT(false, /**/);
(void)enc;
#else
string const langenc = lang->encoding()->iconvName();
string const texenc = lang->encoding()->latexName();

View File

@ -244,7 +244,7 @@ completer_(new GuiCompleter(p, p))
}
GuiWorkArea::GuiWorkArea(QWidget * w)
GuiWorkArea::GuiWorkArea(QWidget * /* w */)
: d(new Private(this))
{
}

View File

@ -167,7 +167,7 @@ NOMOCHEADER = \
GuiImage.h \
GuiKeySymbol.h \
GuiPainter.h \
GuiWorkArea_Private.cpp \
GuiWorkArea_Private.h \
LaTeXHighlighter.h \
qt_i18n.h \
qt_helpers.h \