summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unobkm.cxx
diff options
context:
space:
mode:
authorKayo Hamid <revol.code@yahoo.com>2010-10-09 13:49:07 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-09 13:49:07 -0500
commita7be30202460cd143cb3815cf31c71ea4b374843 (patch)
tree001c226e2d014fc66d67fb725032227b98534d71 /sw/source/core/unocore/unobkm.cxx
parent66a65ad0cfb7f0fbcd89342dcce8e07ecf515828 (diff)
Use SAL_N_ELEMENTS macro
Diffstat (limited to 'sw/source/core/unocore/unobkm.cxx')
-rw-r--r--sw/source/core/unocore/unobkm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx
index 6baae75b28fb..3e77ba890244 100644
--- a/sw/source/core/unocore/unobkm.cxx
+++ b/sw/source/core/unocore/unobkm.cxx
@@ -392,7 +392,7 @@ static char const*const g_ServicesBookmark[] =
"com.sun.star.document.LinkTarget",
};
static const size_t g_nServicesBookmark(
- sizeof(g_ServicesBookmark)/sizeof(g_ServicesBookmark[0]));
+ SAL_N_ELEMENTS(g_ServicesBookmark));
sal_Bool SAL_CALL SwXBookmark::supportsService(const OUString& rServiceName)
throw (uno::RuntimeException)