diff options
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 |