summaryrefslogtreecommitdiff
path: root/tools/source/stream/strmwnt.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-21 23:49:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-22 09:39:18 +0100
commitb3c8e4177d24a184ffa854958fb177200608f68c (patch)
treee39f1702e132a255954635aa06007f3d92bccc92 /tools/source/stream/strmwnt.cxx
parent16032347d9b43d1ccefc185713e43b4d19974de6 (diff)
gsl_getSystemTextEncoding->osl_getThreadTextEncoding
Diffstat (limited to 'tools/source/stream/strmwnt.cxx')
-rw-r--r--tools/source/stream/strmwnt.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx
index 5ccaf4123493..c9dae13019a7 100644
--- a/tools/source/stream/strmwnt.cxx
+++ b/tools/source/stream/strmwnt.cxx
@@ -397,10 +397,8 @@ void SvFileStream::Open( const String& rFilename, StreamMode nMode )
// !!! DirEntry aDirEntry( rFilename );
// !!! aFilename = aDirEntry.GetFull();
aFilename = aParsedFilename;
-#ifdef BOOTSTRAP
- ByteString aFileNameA( aFilename, gsl_getSystemTextEncoding());
-#else
ByteString aFileNameA( aFilename, osl_getThreadTextEncoding());
+#ifndef BOOTSTRAP
FSysRedirector::DoRedirect( aFilename );
#endif
SetLastError( ERROR_SUCCESS ); // ggf. durch Redirector geaendert!