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 /rsc/source/rsc/rsc.cxx | |
parent | c7531408b3ef4b2d284edf35ed983c23e7585231 (diff) |
Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
Diffstat (limited to 'rsc/source/rsc/rsc.cxx')
-rw-r--r-- | rsc/source/rsc/rsc.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx index 3a2115bca037..402fb6711f21 100644 --- a/rsc/source/rsc/rsc.cxx +++ b/rsc/source/rsc/rsc.cxx @@ -54,7 +54,6 @@ #include <vector> #include <algorithm> -using comphelper::string::getToken; using comphelper::string::getTokenCount; OString* pStdParType = NULL; @@ -851,9 +850,9 @@ void RscCompiler::PreprocessSrsFile( const RscCmdLine::OutputFile& rOutputFile, while( aIStm.ReadLine( aLine ) ) { if( ( getTokenCount(aLine, '=') == 2 ) && - ( getToken(aLine, 0, '=').indexOf("File") != -1 ) ) + ( aLine.getToken(0, '=').indexOf("File") != -1 ) ) { - OString aBaseFileName( getToken(getToken(aLine, 1, '"'), 0, '.') ); + OString aBaseFileName( aLine.getToken(1, '"').getToken(0, '.') ); if( GetImageFilePath( rOutputFile, rContext, aBaseFileName, aFilePath, pSysListFile ) ) { @@ -883,7 +882,7 @@ void RscCompiler::PreprocessSrsFile( const RscCmdLine::OutputFile& rOutputFile, } while (aLine.indexOf("Prefix") == -1); - const OString aPrefix( getToken(aLine, 1, '"') ); + const OString aPrefix( aLine.getToken(1, '"') ); aIStm.Seek( nImgListStartPos ); do |