summaryrefslogtreecommitdiff
path: root/desktop
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 /desktop
parentc7531408b3ef4b2d284edf35ed983c23e7585231 (diff)
Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/cmdlinehelp.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx
index e0d86b58c062..61694b8f2791 100644
--- a/desktop/source/app/cmdlinehelp.cxx
+++ b/desktop/source/app/cmdlinehelp.cxx
@@ -164,9 +164,8 @@ namespace desktop
RTL_TEXTENCODING_ASCII_US));
for ( sal_Int32 i = 0; i < n; ++i )
{
- using comphelper::string::getToken;
- fprintf(stdout, "%s", getToken(bsLeft, i, '\n').getStr());
- fprintf(stdout, "%s\n", getToken(bsRight, i, '\n').getStr());
+ fprintf(stdout, "%s", bsLeft.getToken(i, '\n').getStr());
+ fprintf(stdout, "%s\n", bsRight.getToken(i, '\n').getStr());
}
fprintf(stdout, "%s", OUStringToOString(aHelpMessage_bottom,
RTL_TEXTENCODING_ASCII_US).getStr());