diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-02 13:21:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-02 14:22:21 +0100 |
commit | f8922b67a4dc1ff0b889f33d2407584aed5d2e36 (patch) | |
tree | c3dbbc81468176b79e03b8222bb174fc24a30e16 /basic/source | |
parent | c7531408b3ef4b2d284edf35ed983c23e7585231 (diff) |
Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
Diffstat (limited to 'basic/source')
-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 8c1eafb9e435..a9ef314baf9c 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -950,7 +950,7 @@ void BasicManager::LoadOldBasicManager( SotStorage& rStorage ) sal_Int32 nLibs = comphelper::string::getTokenCount(aLibs, LIB_SEP); for ( sal_Int32 nLib = 0; nLib < nLibs; nLib++ ) { - OUString aLibInfo(comphelper::string::getToken(aLibs, nLib, LIB_SEP)); + OUString aLibInfo(aLibs.getToken(nLib, LIB_SEP)); // TODO: Remove == 2 DBG_ASSERT( ( comphelper::string::getTokenCount(aLibInfo, LIBINFO_SEP) == 2 ) || ( comphelper::string::getTokenCount(aLibInfo, LIBINFO_SEP) == 3 ), "Invalid Lib-Info!" ); OUString aLibName( aLibInfo.getToken( 0, LIBINFO_SEP ) ); @@ -1795,7 +1795,7 @@ ErrCode BasicManager::ExecuteMacro( OUString const& i_fullyQualifiedName, OUStri for (sal_Int32 n = 0; n < nCount; ++n) { sQuotedArgs += "\""; - sQuotedArgs += comphelper::string::getToken(sArgs2, n, ','); + sQuotedArgs += sArgs2.getToken(n, ','); sQuotedArgs += "\""; if ( n < nCount - 1 ) { |