diff options
Diffstat (limited to 'sw/source/core/unocore/unoobj.cxx')
-rw-r--r-- | sw/source/core/unocore/unoobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index e478a6952158..3bba0848c948 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -982,7 +982,7 @@ static char const*const g_ServicesTextCursor[] = }; static const size_t g_nServicesTextCursor( - SAL_N_ELEMENTS(g_ServicesTextCursor)); + sizeof(g_ServicesTextCursor)/sizeof(g_ServicesTextCursor[0])); sal_Bool SAL_CALL SwXTextCursor::supportsService(const OUString& rServiceName) throw (uno::RuntimeException) |