From fb4175088311e569a93fe4f24a2c8a9a8855ef99 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sat, 15 Nov 2008 13:56:39 +0000 Subject: [PATCH] gcc warning fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27449 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeXFeatures.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index eb328f5321..fc3ef3c6bc 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -710,11 +710,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';