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 /svx | |
parent | c7531408b3ef4b2d284edf35ed983c23e7585231 (diff) |
Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmshimp.cxx | 2 | ||||
-rw-r--r-- | svx/source/gallery2/gallery1.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 12ad0bbd765b..0a3f8a4161fe 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -409,7 +409,7 @@ namespace OUString aListener = (*pCurrentListeners).getTypeName(); sal_Int32 nTokens = comphelper::string::getTokenCount(aListener, '.'); if (nTokens) - aListener = comphelper::string::getToken(aListener, nTokens - 1, '.'); + aListener = aListener.getToken(nTokens - 1, '.'); if (aListener == pCurrent->ListenerType.getStr()) // the current ScriptEventDescriptor doesn't match the current listeners class diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 5992a0658ed8..0c239765724d 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -211,11 +211,11 @@ void Gallery::ImplLoad( const OUString& rMultiPath ) if( bMultiPath ) { - aRelURL = INetURLObject( comphelper::string::getToken(rMultiPath, 0, ';') ); + aRelURL = INetURLObject( rMultiPath.getToken(0, ';') ); for( sal_Int32 i = 0; i < nTokenCount; ++i ) { - aCurURL = INetURLObject(comphelper::string::getToken(rMultiPath, i, ';')); + aCurURL = INetURLObject(rMultiPath.getToken(i, ';')); ImplLoadSubDirs( aCurURL, bIsReadOnlyDir ); |