diff options
Diffstat (limited to 'tools/bootstrp')
-rw-r--r-- | tools/bootstrp/cppdep.cxx | 2 | ||||
-rw-r--r-- | tools/bootstrp/rscdep.cxx | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tools/bootstrp/cppdep.cxx b/tools/bootstrp/cppdep.cxx index a5a64fd0f6ce..9829ceee5bbe 100644 --- a/tools/bootstrp/cppdep.cxx +++ b/tools/bootstrp/cppdep.cxx @@ -98,7 +98,7 @@ sal_Bool CppDep::Search( ByteString aFileName ) SvFileStream aFile; ByteString aReadLine; - UniString suFileName( aFileName, gsl_getSystemTextEncoding()); + UniString suFileName(aFileName, osl_getThreadTextEncoding()); aFile.Open( suFileName, STREAM_READ ); while ( aFile.ReadLine( aReadLine )) diff --git a/tools/bootstrp/rscdep.cxx b/tools/bootstrp/rscdep.cxx index d1e26f21d27a..b6ec4ecdd408 100644 --- a/tools/bootstrp/rscdep.cxx +++ b/tools/bootstrp/rscdep.cxx @@ -111,7 +111,7 @@ int main( int argc, char** argv ) if ( aBuf[0] == '-' && aBuf[1] == 'f' && aBuf[2] == 'p' && aBuf[3] == '=' ) { strcpy(pSrsFileName, &aBuf[4]); - String aName( pSrsFileName, gsl_getSystemTextEncoding()); + String aName( pSrsFileName, osl_getThreadTextEncoding()); DirEntry aDest( aName ); aSrsBaseName = aDest.GetBase(); } @@ -126,7 +126,7 @@ int main( int argc, char** argv ) if (aBuf[0] == '@' ) { rtl::OString aToken; - String aRespName( &aBuf[1], gsl_getSystemTextEncoding()); + String aRespName( &aBuf[1], osl_getThreadTextEncoding()); SimpleConfig aConfig( aRespName ); while ((aToken = aConfig.getNext()).getLength()) { @@ -143,7 +143,7 @@ int main( int argc, char** argv ) if ( aBuf2[0] == '-' && aBuf2[1] == 'f' && aBuf2[2] == 'p' ) { strcpy(pSrsFileName, &aBuf2[3]); - String aName( pSrsFileName, gsl_getSystemTextEncoding()); + String aName( pSrsFileName, osl_getThreadTextEncoding()); DirEntry aDest( aName ); aSrsBaseName = aDest.GetBase(); } @@ -205,18 +205,18 @@ int main( int argc, char** argv ) } - String aCwd(pFileNamePrefix, gsl_getSystemTextEncoding()); + String aCwd(pFileNamePrefix, osl_getThreadTextEncoding()); SvFileStream aOutStream; - String aOutputFileName( pOutputFileName, gsl_getSystemTextEncoding()); + String aOutputFileName( pOutputFileName, osl_getThreadTextEncoding()); DirEntry aOutEntry( aOutputFileName ); String aOutPath = aOutEntry.GetPath().GetFull(); String aFileName( aOutPath ); aFileName += aDelim; aFileName += aCwd; - aFileName += String(".", gsl_getSystemTextEncoding()); + aFileName += String(".", osl_getThreadTextEncoding()); aFileName += aSrsBaseName; - aFileName += String(".dprr", gsl_getSystemTextEncoding()); + aFileName += String(".dprr", osl_getThreadTextEncoding()); aOutStream.Open( aFileName, STREAM_WRITE ); ByteString aString; |