summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 10:18:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 09:36:53 +0100
commitaa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch)
treec8b168e8e0619c387d30f206848ec30ca7238a00 /i18npool
parent2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff)
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/calendar/calendar_hijri.cxx2
-rw-r--r--i18npool/source/calendar/calendar_jewish.cxx2
-rw-r--r--i18npool/source/nativenumber/nativenumbersupplier.cxx4
-rw-r--r--i18npool/source/registerservices/registerservices.cxx2
4 files changed, 0 insertions, 10 deletions
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 <indexentrysupplier_common.hxx>
#include <indexentrysupplier_default.hxx>
-#define CCLASS_ALL
#include <characterclassificationImpl.hxx>
#include <unoscripttypedetector.hxx>
#include <cclass_unicode.hxx>
-#define COLLATOR_ALL
#include <collatorImpl.hxx>
#include <chaptercollator.hxx>
#include <collator_unicode.hxx>