summaryrefslogtreecommitdiff
path: root/svtools/bmpmaker/bmpsum.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-29 22:49:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-05 09:18:18 +0000
commit164b4ba0c713d09684e1381590179cd3dadce2b7 (patch)
treecaac9783aa9ac3e2c7a3574e426b1180ca62b4c4 /svtools/bmpmaker/bmpsum.cxx
parentf731dc1e3506c78918b0965d77c3f51eaaf752ad (diff)
ByteString->rtl::OString[Buffer]
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 );