From 3f3b24316bdc47fe22d3336ae0c846da625a8c4f Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Fri, 19 Mar 2010 16:57:03 +0000 Subject: [PATCH] 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 --- src/LaTeXFeatures.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index be4771cfd3..e6787c5584 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -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';