summaryrefslogtreecommitdiff
path: root/svtools/bmpmaker/bmpsum.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/bmpmaker/bmpsum.cxx')
-rw-r--r--svtools/bmpmaker/bmpsum.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svtools/bmpmaker/bmpsum.cxx b/svtools/bmpmaker/bmpsum.cxx
index 6426e52654a7..72ddfde089d1 100644
--- a/svtools/bmpmaker/bmpsum.cxx
+++ b/svtools/bmpmaker/bmpsum.cxx
@@ -328,9 +328,10 @@ void BmpSum::ProcessFileList( const String& rInFileList,
for( sal_uInt32 n = 0; n < 14; ++n )
{
- ByteString aLangPath( aReadLine );
-
- aLangPath.SearchAndReplace( "enus", aLanguages[ n ] );
+ rtl::OString aLangPath = comphelper::string::replace(
+ aReadLine,
+ rtl::OString(RTL_CONSTASCII_STRINGPARAM("enus")),
+ rtl::OString(aLanguages[n]));
DirEntry aTestFile( aLangPath );