summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/aqua/source/app/salinst.cxx2
-rw-r--r--vcl/ios/source/app/salinst.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index e0740dd65e6b..89ce6d4d2be0 100644
--- a/vcl/aqua/source/app/salinst.cxx
+++ b/vcl/aqua/source/app/salinst.cxx
@@ -264,7 +264,7 @@ void SalAbort( const rtl::OUString& rErrorText, bool bDumpCore )
fprintf( stderr, "Application Error " );
else
fprintf( stderr, "%s ",
- rtl::OUStringToOString( rErrorText, gsl_getSystemTextEncoding() ).getStr() );
+ rtl::OUStringToOString( rErrorText, osl_getThreadTextEncoding() ).getStr() );
if( bDumpCore )
abort();
else
diff --git a/vcl/ios/source/app/salinst.cxx b/vcl/ios/source/app/salinst.cxx
index e91e34fa1e78..6089052221ac 100644
--- a/vcl/ios/source/app/salinst.cxx
+++ b/vcl/ios/source/app/salinst.cxx
@@ -148,7 +148,7 @@ void SalAbort( const XubString& rErrorText, bool bDumpCore )
fprintf( stderr, "Application Error " );
else
fprintf( stderr, "%s ",
- ByteString( rErrorText, gsl_getSystemTextEncoding() ).GetBuffer() );
+ ByteString( rErrorText, osl_getThreadTextEncoding() ).GetBuffer() );
if( bDumpCore )
abort();
else