Don't pass the letterpaper option to the geometry package when using

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
This commit is contained in:
Enrico Forestieri 2011-02-03 23:03:18 +00:00
parent 761f05a37e
commit c0a727a9d4

View 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;