From aa753f01ba4631614bb88ee7d3a3e6b222208b3e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 26 Mar 2013 10:18:14 +0100 Subject: -Wunused-macros Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed --- i18npool/source/calendar/calendar_hijri.cxx | 2 -- i18npool/source/calendar/calendar_jewish.cxx | 2 -- i18npool/source/nativenumber/nativenumbersupplier.cxx | 4 ---- i18npool/source/registerservices/registerservices.cxx | 2 -- 4 files changed, 10 deletions(-) (limited to 'i18npool') diff --git a/i18npool/source/calendar/calendar_hijri.cxx b/i18npool/source/calendar/calendar_hijri.cxx index f13bb0b79887..ac85e0a0bcc0 100644 --- a/i18npool/source/calendar/calendar_hijri.cxx +++ b/i18npool/source/calendar/calendar_hijri.cxx @@ -26,8 +26,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -#define ERROR RuntimeException() - #define GREGORIAN_CROSSOVER 2299161 namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/calendar/calendar_jewish.cxx b/i18npool/source/calendar/calendar_jewish.cxx index 2f537356adf2..237047cbb2d3 100644 --- a/i18npool/source/calendar/calendar_jewish.cxx +++ b/i18npool/source/calendar/calendar_jewish.cxx @@ -27,8 +27,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using ::rtl::OUString; -#define ERROR RuntimeException() - namespace com { namespace sun { namespace star { namespace i18n { // not used diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx index 587362cf2367..c02562be385c 100644 --- a/i18npool/source/nativenumber/nativenumbersupplier.cxx +++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx @@ -55,10 +55,6 @@ typedef struct { #define NUMBER_OMIT_ONE_67 (NUMBER_OMIT_ONE_6|NUMBER_OMIT_ONE_7) #define NUMBER_OMIT_ZERO_ONE_67 ( NUMBER_OMIT_ZERO|NUMBER_OMIT_ONE_67 ) - -#define MAX_SAL_UINT32 0xFFFFFFFF -#define MAX_VALUE (MAX_SAL_UINT32 - 9) / 10 - namespace com { namespace sun { namespace star { namespace i18n { OUString SAL_CALL getHebrewNativeNumberString(const OUString& aNumberString, sal_Bool useGeresh); diff --git a/i18npool/source/registerservices/registerservices.cxx b/i18npool/source/registerservices/registerservices.cxx index 3bcd871854a3..d585895d28f9 100644 --- a/i18npool/source/registerservices/registerservices.cxx +++ b/i18npool/source/registerservices/registerservices.cxx @@ -61,12 +61,10 @@ #include #include -#define CCLASS_ALL #include #include #include -#define COLLATOR_ALL #include #include #include -- cgit