mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
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:
parent
fd7038268a
commit
3f3b24316b
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user