summaryrefslogtreecommitdiff
path: root/l10ntools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-27 08:21:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-28 09:55:02 +0000
commit3fd28200f1c1a46970789f21ee6fce3f6f3ac1ec (patch)
tree18600b1b78ed5ede7f7068a98fe3fe7b6962b311 /l10ntools/source
parent48221d6a2bf4c327b6cadcdc65169997f7d7408d (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'l10ntools/source')
-rw-r--r--l10ntools/source/export.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 96501580e9ed..1ab13aeebd29 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -252,14 +252,16 @@ extern FILE *GetNextFile()
// create path to project root
DirEntry aEntry( String( sOrigFile, RTL_TEXTENCODING_ASCII_US ));
aEntry.ToAbs();
- ByteString sFullEntry( aEntry.GetFull(), RTL_TEXTENCODING_ASCII_US );
+ rtl::OString sFullEntry(rtl::OUStringToOString(aEntry.GetFull(),
+ RTL_TEXTENCODING_ASCII_US));
aEntry += DirEntry( String( "..", RTL_TEXTENCODING_ASCII_US ));
aEntry += DirEntry( sPrjRoot );
- ByteString sPrjEntry( aEntry.GetFull(), RTL_TEXTENCODING_ASCII_US );
+ rtl::OString sPrjEntry(rtl::OUStringToOString(aEntry.GetFull(),
+ RTL_TEXTENCODING_ASCII_US));
// create file name, beginnig with project root
// (e.g.: source\ui\src\menue.src)
- sActFileName = sFullEntry.Copy( sPrjEntry.Len() + 1 );
+ sActFileName = sFullEntry.copy(sPrjEntry.getLength() + 1);
sActFileName.SearchAndReplaceAll( "/", "\\" );