diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-11-10 14:56:22 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-11-11 02:06:16 +0100 |
commit | 4b63977c98245efcedd905f37a85f988c3bb44e2 (patch) | |
tree | d19ca683dff19152d4b44f3d46682ff739ccd979 /include | |
parent | 38f4d4ca02cdc2fd4656e3a72def94da1df89650 (diff) |
Remove duplication of Paper enum as #defines
Not needed any more.
We still have the fragile requirement that the order of entries in the
aDinTab array in i18nutil/source/utility/paper.cxx has to match the
enum order.
Change-Id: I858fd56ad6bb1a3f3c2c39f7830b4dc6aea7cc1f
Reviewed-on: https://gerrit.libreoffice.org/44600
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/i18nutil/paper.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/i18nutil/paper.hxx b/include/i18nutil/paper.hxx index adb539fce6e3..cbd13a56c818 100644 --- a/include/i18nutil/paper.hxx +++ b/include/i18nutil/paper.hxx @@ -24,9 +24,8 @@ #include <rtl/string.hxx> #include <com/sun/star/lang/Locale.hpp> -//!! WARNING: be aware of svx/source/dialog/page.h where someone had the broken idea -//!! of duplicating the values of this enum in order to use those defines within -//!! src files. +//!! The values of the following enumerators must correspond to the array position +//!! of the respective paper size in the file i18nutil/source/utility/paper.cxx //!! Thus don't reorder the enum values here without changing the code there as well. enum Paper { |