diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-22 17:17:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-23 10:10:08 +0000 |
commit | 20153742d2dee2df022275a07cc958b1759b9b72 (patch) | |
tree | a91d3d42faa559783d407bb1fe08f4070d945762 /l10ntools/source/gsicheck.cxx | |
parent | a22ce3e4483f6fe462eaba8826a91355957e3676 (diff) |
add a stripStart, can replace EraseLeadingChars
Diffstat (limited to 'l10ntools/source/gsicheck.cxx')
-rw-r--r-- | l10ntools/source/gsicheck.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/gsicheck.cxx b/l10ntools/source/gsicheck.cxx index 9f1485b6d1c1..036edafb0601 100644 --- a/l10ntools/source/gsicheck.cxx +++ b/l10ntools/source/gsicheck.cxx @@ -394,7 +394,7 @@ void GSIBlock::PrintList( ParserMessageList *pList, ByteString aPrefix, else aContext = pLine->Copy( pMsg->GetTagBegin()-150, 300 ); aContext.EraseTrailingChars(' '); - aContext.EraseLeadingChars(' '); + aContext = comphelper::string::stripStart(aContext, ' '); } PrintMessage( pMsg->Prefix(), pMsg->GetErrorText(), aPrefix, aContext, pLine->GetLineNumber(), pLine->GetUniqId() ); |