diff options
Diffstat (limited to 'filter/source/svg/tokenmap.cxx')
-rw-r--r-- | filter/source/svg/tokenmap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/tokenmap.cxx b/filter/source/svg/tokenmap.cxx index 00b7bca5df4e..082c0354c669 100644 --- a/filter/source/svg/tokenmap.cxx +++ b/filter/source/svg/tokenmap.cxx @@ -58,7 +58,7 @@ const char* getTokenName( sal_Int32 nTokenId ) return nullptr; const xmltoken* pCurr=wordlist; - const xmltoken* pEnd=wordlist+sizeof(wordlist)/sizeof(*wordlist); + const xmltoken* pEnd=wordlist+SAL_N_ELEMENTS(wordlist); while( pCurr != pEnd ) { if(pCurr->nToken == nTokenId) |