diff options
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/rsc/rsc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx index b9969de123fa..1a1a5e3a5c61 100644 --- a/rsc/source/rsc/rsc.cxx +++ b/rsc/source/rsc/rsc.cxx @@ -1196,8 +1196,8 @@ void RscCompiler::PreprocessSrsFile( const RscCmdLine::OutputFile& rOutputFile, if( !aIStm.ReadLine( aLine ) ) break; - aLine.EraseLeadingChars( ' ' ); - aLine.EraseLeadingChars( '\t' ); + aLine = comphelper::string::stripStart(aLine, ' '); + aLine = comphelper::string::stripStart(aLine, '\t'); aLine = comphelper::string::remove(aLine, ';'); if (comphelper::string::isdigitAsciiString(aLine)) |