summaryrefslogtreecommitdiffstats
path: root/l10ntools/source/lngmerge.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/lngmerge.cxx')
-rw-r--r--l10ntools/source/lngmerge.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/lngmerge.cxx b/l10ntools/source/lngmerge.cxx
index 7af3293775f7..a9296e3ec841 100644
--- a/l10ntools/source/lngmerge.cxx
+++ b/l10ntools/source/lngmerge.cxx
@@ -120,9 +120,9 @@ sal_Bool LngParser::CreateSDF(
String sFullEntry = aEntry.GetFull();
aEntry += DirEntry( String( "..", RTL_TEXTENCODING_ASCII_US ));
aEntry += DirEntry( rRoot );
- ByteString sPrjEntry( aEntry.GetFull(), gsl_getSystemTextEncoding());
+ ByteString sPrjEntry( aEntry.GetFull(), osl_getThreadTextEncoding());
ByteString sActFileName(
- sFullEntry.Copy( sPrjEntry.Len() + 1 ), gsl_getSystemTextEncoding());
+ sFullEntry.Copy( sPrjEntry.Len() + 1 ), osl_getThreadTextEncoding());
sActFileName.SearchAndReplaceAll( "/", "\\" );
size_t nPos = 0;