]> git.lyx.org Git - features.git/commitdiff
- paper.h: fix comment
authorUwe Stöhr <uwestoehr@web.de>
Tue, 18 May 2010 01:34:07 +0000 (01:34 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 18 May 2010 01:34:07 +0000 (01:34 +0000)
- BufferParams.cpp: fix the default case

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

src/BufferParams.cpp
src/paper.h

index 405e0ef8504b462b0dff1983e6a7782e6ed5b061..d944c744a60340f2e20a2082b8d1cfca3c0fb2d0 100644 (file)
@@ -1497,15 +1497,6 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
                        case PAPER_USEXECUTIVE:
                                ods << ",executivepaper";
                                break;
-                       case PAPER_A0:
-                               ods << ",a0paper";
-                               break;
-                       case PAPER_A1:
-                               ods << ",a1paper";
-                               break;
-                       case PAPER_A2:
-                               ods << ",a2paper";
-                               break;
                        case PAPER_A3:
                                ods << ",a3paper";
                                break;
@@ -1515,51 +1506,26 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
                        case PAPER_A5:
                                ods << ",a5paper";
                                break;
-                       case PAPER_A6:
-                               ods << ",a6paper";
+                       case PAPER_B5:
+                               ods << ",b5paper";
                                break;
+                       case PAPER_A0:
+                       case PAPER_A1:
+                       case PAPER_A2:
+                       case PAPER_A6:
                        case PAPER_B0:
-                               ods << ",b0paper";
-                               break;
                        case PAPER_B1:
-                               ods << ",b1paper";
-                               break;
                        case PAPER_B2:
-                               ods << ",b2paper";
-                               break;
                        case PAPER_B3:
-                               ods << ",b3paper";
-                               break;
                        case PAPER_B4:
-                               ods << ",b4paper";
-                               break;
-                       case PAPER_B5:
-                               ods << ",b5paper";
-                               break;
                        case PAPER_B6:
-                               ods << ",b6paper";
-                               break;
                        case PAPER_JISB0:
-                               ods << ",b0j";
-                               break;
                        case PAPER_JISB1:
-                               ods << ",b1j";
-                               break;
                        case PAPER_JISB2:
-                               ods << ",b2j";
-                               break;
                        case PAPER_JISB3:
-                               ods << ",b3j";
-                               break;
                        case PAPER_JISB4:
-                               ods << ",b4j";
-                               break;
                        case PAPER_JISB5:
-                               ods << ",b5j";
-                               break;
                        case PAPER_JISB6:
-                               ods << ",b6j";
-                               break;
                        case PAPER_CUSTOM:
                                break;
                        }
index a6cba7e810b55316d0ebc2a8b71a87471ff445db..1ad2032939a881960a95c37fb6d6021367a58c60 100644 (file)
@@ -13,8 +13,7 @@
  * expand to contain many paper-related horrors access.
  *
  * The supported paper sizes are those that are supported by the
- * LaTeX-package geometry. However, the Japanese JIS B-series paper
- * sizes are not yet supported by LyX.
+ * LaTeX-package geometry.
  */
 
 #ifndef PAPER_H