From 10dc64bd1861342f4cd1676f214d0a456ae685af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Tue, 18 May 2010 01:34:07 +0000 Subject: [PATCH] - paper.h: fix comment - 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 | 52 ++++++++------------------------------------ src/paper.h | 3 +-- 2 files changed, 10 insertions(+), 45 deletions(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 405e0ef850..d944c744a6 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -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"; - break; - 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_A0: + case PAPER_A1: + case PAPER_A2: + case PAPER_A6: + case PAPER_B0: + case PAPER_B1: + case PAPER_B2: + case PAPER_B3: + case PAPER_B4: 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; } diff --git a/src/paper.h b/src/paper.h index a6cba7e810..1ad2032939 100644 --- a/src/paper.h +++ b/src/paper.h @@ -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