summaryrefslogtreecommitdiffstats
path: root/tools/bootstrp/prj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bootstrp/prj.cxx')
-rw-r--r--tools/bootstrp/prj.cxx3
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++)