From 20153742d2dee2df022275a07cc958b1759b9b72 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 22 Nov 2011 17:17:53 +0000 Subject: add a stripStart, can replace EraseLeadingChars --- svtools/bmpmaker/bmpcore.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools/bmpmaker') diff --git a/svtools/bmpmaker/bmpcore.cxx b/svtools/bmpmaker/bmpcore.cxx index d1e0964210d9..159d6e4701c1 100644 --- a/svtools/bmpmaker/bmpcore.cxx +++ b/svtools/bmpmaker/bmpcore.cxx @@ -130,8 +130,8 @@ void BmpCreator::ImplCreate( const ::std::vector< DirEntry >& rInDirs, if( !pSRS->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)) -- cgit