diff options
Diffstat (limited to 'l10ntools/source/localize.cxx')
-rw-r--r-- | l10ntools/source/localize.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index 609e344a9ade..4bbdf2eadf5c 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -279,7 +279,7 @@ const ByteString SourceTreeLocalizer::GetProjectRootRel() DirEntry::GetAccessDelimiter(), RTL_TEXTENCODING_ASCII_US ); sCur.SearchAndReplaceAll( sDelimiter, "/" ); - sCur.EraseLeadingChars( '/' ); + sCur = comphelper::string::stripStart(sCur, '/'); sal_uLong nCount = sCur.GetTokenCount( '/' ); ByteString sProjectRootRel; |