diff options
author | Kayo Hamid <revol.code@yahoo.com> | 2010-10-09 13:49:07 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-09 13:49:07 -0500 |
commit | a7be30202460cd143cb3815cf31c71ea4b374843 (patch) | |
tree | 001c226e2d014fc66d67fb725032227b98534d71 /sw/source/core/unocore/unobkm.cxx | |
parent | 66a65ad0cfb7f0fbcd89342dcce8e07ecf515828 (diff) |
Use SAL_N_ELEMENTS macro
Diffstat (limited to 'sw/source/core/unocore/unobkm.cxx')
-rw-r--r-- | sw/source/core/unocore/unobkm.cxx | 2 |
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) |