diff options
Diffstat (limited to 'binfilter/bf_sc/source/core/tool/sc_interpr1.cxx')
-rw-r--r-- | binfilter/bf_sc/source/core/tool/sc_interpr1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binfilter/bf_sc/source/core/tool/sc_interpr1.cxx b/binfilter/bf_sc/source/core/tool/sc_interpr1.cxx index 9e54e2af7..5b330476c 100644 --- a/binfilter/bf_sc/source/core/tool/sc_interpr1.cxx +++ b/binfilter/bf_sc/source/core/tool/sc_interpr1.cxx @@ -1799,7 +1799,7 @@ void ScInterpreter::ScCode() { //2do: make it full range unicode? const String& rStr = GetString(); - PushInt( (sal_uChar) ByteString_ConvertFromUnicode( rStr.GetChar(0), gsl_getSystemTextEncoding() ) ); + PushInt( (sal_uChar) ByteString_ConvertFromUnicode( rStr.GetChar(0), osl_getThreadTextEncoding() ) ); } @@ -1812,7 +1812,7 @@ void ScInterpreter::ScChar() else { String aStr( '0' ); - aStr.SetChar( 0, ByteString_ConvertToUnicode( (sal_Char) fVal, gsl_getSystemTextEncoding() ) ); + aStr.SetChar( 0, ByteString_ConvertToUnicode( (sal_Char) fVal, osl_getThreadTextEncoding() ) ); PushString( aStr ); } } |