diff options
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index c079d4efa3db..0cd4123cf5b6 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1462,8 +1462,8 @@ namespace SbMethod* lcl_queryMacro( BasicManager* i_manager, OUString const& i_fullyQualifiedName ) { sal_Int32 nLast = 0; - OUString sLibName = i_fullyQualifiedName.getToken( sal_Int32(0), '.', nLast ); - OUString sModule = i_fullyQualifiedName.getToken( sal_Int32(0), '.', nLast ); + const OUString sLibName {i_fullyQualifiedName.getToken( 0, '.', nLast )}; + const OUString sModule {i_fullyQualifiedName.getToken( 0, '.', nLast )}; OUString sMacro; if(nLast >= 0) { |