diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bootstrp/prj.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/bootstrp/prj.cxx b/tools/bootstrp/prj.cxx index 41f8f790612b..215116a2ea20 100644 --- a/tools/bootstrp/prj.cxx +++ b/tools/bootstrp/prj.cxx @@ -74,8 +74,7 @@ rtl::OString SimpleConfig::GetNextLine() aFileStream.ReadLine ( aTmpStr ); if ( aTmpStr.Search( "#" ) == 0 ) return rtl::OString('\t'); - aTmpStr = aTmpStr.EraseLeadingChars(); - aTmpStr = aTmpStr.EraseTrailingChars(); + aTmpStr.EraseLeadingAndTrailingChars(); while ( aTmpStr.SearchAndReplace(ByteString(' '),ByteString('\t') ) != STRING_NOTFOUND ) ; int nLength = aTmpStr.Len(); for ( sal_uInt16 i = 0; i<= nLength; i++) |