]> git.lyx.org Git - features.git/commitdiff
BufferParams.cpp: the default paper format of course don't require the geometry packa...
authorUwe Stöhr <uwestoehr@web.de>
Fri, 21 May 2010 01:33:50 +0000 (01:33 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Fri, 21 May 2010 01:33:50 +0000 (01:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34442 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferParams.cpp

index 80aa462719134bba4703a0f9ed0e49975ce4c03f..d1a440211349b4dfb3df32ae56ff564ad43d95f2 100644 (file)
@@ -1177,7 +1177,8 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
 
        // all paper sizes except of A4, A5, B5 and the US sizes need the
        // geometry package
-       bool nonstandard_papersize = papersize != PAPER_USLETTER
+       bool nonstandard_papersize = papersize != PAPER_DEFAULT
+               && papersize != PAPER_USLETTER
                && papersize != PAPER_USLEGAL
                && papersize != PAPER_USEXECUTIVE
                && papersize != PAPER_A4