summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoparagraph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoparagraph.cxx')
-rw-r--r--sw/source/core/unocore/unoparagraph.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx
index 5fa413c4197a..14ee1965ebc7 100644
--- a/sw/source/core/unocore/unoparagraph.cxx
+++ b/sw/source/core/unocore/unoparagraph.cxx
@@ -304,7 +304,7 @@ static char const*const g_ServicesParagraph[] =
};
static const size_t g_nServicesParagraph(
- SAL_N_ELEMENTS(g_ServicesParagraph));
+ sizeof(g_ServicesParagraph)/sizeof(g_ServicesParagraph[0]));
sal_Bool SAL_CALL
SwXParagraph::supportsService(const OUString& rServiceName)