diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-11-25 01:07:18 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-12-28 16:46:11 +0100 |
commit | 854b6a5f00d86b55ca8c0cb7f83940e84e65d27c (patch) | |
tree | cbeed0313ba720a678a3378b7f364fb0df235485 /basic | |
parent | 1af64604608ce3670fdc63d6e90645edf03e6337 (diff) |
Remove unneeded cast, constify OUString
Change-Id: I4a92779f86104cdad420069620eec50cea85b29c
Reviewed-on: https://gerrit.libreoffice.org/65662
Tested-by: Jenkins
Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
Diffstat (limited to 'basic')
-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) { |