summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-11-15 09:17:07 +0100
committerThomas Lange [tl] <tl@openoffice.org>2010-11-15 09:17:07 +0100
commit2e5b32189fd64bccbcd950a522f435d63d8738ae (patch)
treebbb7a299073a377b625612df42f8d49d47251be0 /i18npool/inc
parentbb5c1664ffed54f323c42d9d1d5211ba7b33f119 (diff)
cws tl84: #ii71192# paper size A6 adde to Format/Page
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/i18npool/paper.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/i18npool/inc/i18npool/paper.hxx b/i18npool/inc/i18npool/paper.hxx
index 76aebbe473d5..f0a7d76931b7 100644
--- a/i18npool/inc/i18npool/paper.hxx
+++ b/i18npool/inc/i18npool/paper.hxx
@@ -34,6 +34,10 @@
#include <rtl/string.hxx>
#include <com/sun/star/lang/Locale.hpp>
+//!! WARNING: be aware of cui/source/tabpages/page.h where someone had the broken idea
+//!! of duplicating the values of this enum in order to use those defines within
+//!! src files.
+//!! Thus don't reorder the enum values here without changing the code there as well.
enum Paper
{
PAPER_A0,
@@ -116,6 +120,9 @@ enum Paper
PAPER_ARCHE
};
+// defined for 'equal size' test with the implementation array
+#define NUM_PAPER_ENTRIES (PAPER_ARCHE - PAPER_A0 + 1)
+
// ---------
// - Paper -
// ---------