mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
gcc warning fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b879aa5ade
commit
fb41750883
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user