]> git.lyx.org Git - lyx.git/commitdiff
Don't pass the letterpaper option to the geometry package when using
authorEnrico Forestieri <forenr@lyx.org>
Thu, 3 Feb 2011 23:03:18 +0000 (23:03 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 3 Feb 2011 23:03:18 +0000 (23:03 +0000)
default paper format and margins are explicitly set.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37470 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferParams.cpp

index 5ba89b9587e6370e08611761807915068a84f143..788a6f93a5bc68b55f734746b79aefd552c0ab75 100644 (file)
@@ -1570,6 +1570,7 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
                        // default papersize ie PAPER_DEFAULT
                        switch (lyxrc.default_papersize) {
                        case PAPER_DEFAULT: // keep compiler happy
+                               break;
                        case PAPER_USLETTER:
                                ods << ",letterpaper";
                                break;