From f8922b67a4dc1ff0b889f33d2407584aed5d2e36 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 2 Jan 2015 13:21:32 +0100 Subject: Remove unnecessary comphelper::string::getToken Change-Id: I49192637121441b9a1980350b9bb32cd995d4386 --- comphelper/qa/string/test_string.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'comphelper/qa') 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()); } -- cgit