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 /comphelper | |
parent | c7531408b3ef4b2d284edf35ed983c23e7585231 (diff) |
Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/qa/string/test_string.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/comphelper/qa/string/test_string.cxx b/comphelper/qa/string/test_string.cxx index d1831cee734a..8971a4312dfd 100644 --- a/comphelper/qa/string/test_string.cxx +++ b/comphelper/qa/string/test_string.cxx @@ -359,19 +359,19 @@ void TestString::testToken() OString aIn("10.11.12"); OString aOut; - aOut = ::comphelper::string::getToken(aIn, -1, '.'); + aOut = aIn.getToken(-1, '.'); CPPUNIT_ASSERT(aOut.isEmpty()); - aOut = ::comphelper::string::getToken(aIn, 0, '.'); + aOut = aIn.getToken(0, '.'); CPPUNIT_ASSERT(aOut == "10"); - aOut = ::comphelper::string::getToken(aIn, 1, '.'); + aOut = aIn.getToken(1, '.'); CPPUNIT_ASSERT(aOut == "11"); - aOut = ::comphelper::string::getToken(aIn, 2, '.'); + aOut = aIn.getToken(2, '.'); CPPUNIT_ASSERT(aOut == "12"); - aOut = ::comphelper::string::getToken(aIn, 3, '.'); + aOut = aIn.getToken(3, '.'); CPPUNIT_ASSERT(aOut.isEmpty()); } |