From b3c8e4177d24a184ffa854958fb177200608f68c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 21 Aug 2011 23:49:54 +0100 Subject: gsl_getSystemTextEncoding->osl_getThreadTextEncoding --- tools/source/stream/strmwnt.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tools/source/stream/strmwnt.cxx') 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! -- cgit