Fix gcc warning (copy the state from trunk)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33804 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-03-19 16:57:03 +00:00
parent fd7038268a
commit 3f3b24316b

View File

@ -723,11 +723,12 @@ string const LaTeXFeatures::getMacros() const
for (; pit != pend; ++pit)
macros << *pit << '\n';
if (mustProvide("papersize"))
if (mustProvide("papersize")) {
if (runparams_.flavor == OutputParams::LATEX)
macros << papersizedvi_def << '\n';
else
macros << papersizepdf_def << '\n';
}
if (mustProvide("LyX"))
macros << lyx_def << '\n';