diff options
-rw-r--r-- | cui/source/tabpages/macroass.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx index 2401676279d5..0379d687e96b 100644 --- a/cui/source/tabpages/macroass.cxx +++ b/cui/source/tabpages/macroass.cxx @@ -100,7 +100,7 @@ OUString ConvertToUIName_Impl( SvxMacro *pMacro ) OUString aEntry; if ( pMacro->GetLanguage() != "JavaScript" ) { - sal_uInt16 nCount = comphelper::string::getTokenCount(aName, '.'); + const sal_Int32 nCount = comphelper::string::getTokenCount(aName, '.'); aEntry = aName.getToken( nCount-1, '.' ); if ( nCount > 2 ) { |