summaryrefslogtreecommitdiffstats
path: root/svx/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-02 13:21:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-02 14:22:21 +0100
commitf8922b67a4dc1ff0b889f33d2407584aed5d2e36 (patch)
treec3dbbc81468176b79e03b8222bb174fc24a30e16 /svx/source
parentResolves fdo#87123: Impossible to create a form with wizard (diff)
downloadcore-f8922b67a4dc1ff0b889f33d2407584aed5d2e36.tar.gz
core-f8922b67a4dc1ff0b889f33d2407584aed5d2e36.zip
Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/form/fmshimp.cxx2
-rw-r--r--svx/source/gallery2/gallery1.cxx4
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 );