summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unorefmk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unorefmk.cxx')
-rw-r--r--sw/source/core/unocore/unorefmk.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx
index 088f5d24cf40..34e2e7e5f3a7 100644
--- a/sw/source/core/unocore/unorefmk.cxx
+++ b/sw/source/core/unocore/unorefmk.cxx
@@ -182,7 +182,7 @@ static char const*const g_ServicesReferenceMark[] =
};
static const size_t g_nServicesReferenceMark(
- SAL_N_ELEMENTS(g_ServicesReferenceMark));
+ sizeof(g_ServicesReferenceMark)/sizeof(g_ServicesReferenceMark[0]));
sal_Bool SAL_CALL
SwXReferenceMark::supportsService(const OUString& rServiceName)
@@ -923,7 +923,7 @@ static char const*const g_ServicesMeta[] =
};
static const size_t g_nServicesMeta(
- SAL_N_ELEMENTS(g_ServicesMeta));
+ sizeof(g_ServicesMeta)/sizeof(g_ServicesMeta[0]));
sal_Bool SAL_CALL
SwXMeta::supportsService(const ::rtl::OUString& rServiceName)
@@ -1361,7 +1361,7 @@ static char const*const g_ServicesMetaField[] =
};
static const size_t g_nServicesMetaField(
- SAL_N_ELEMENTS(g_ServicesMetaField));
+ sizeof(g_ServicesMetaField)/sizeof(g_ServicesMetaField[0]));
sal_Bool SAL_CALL
SwXMetaField::supportsService(const ::rtl::OUString& rServiceName)