diff options
Diffstat (limited to 'toolkit/source/awt')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 19a76c9052c8..7fdf3b522d8f 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -368,7 +368,7 @@ sal_uInt16 ImplGetComponentType( const String& rServiceName ) ComponentInfo aSearch; - ByteString aServiceName( rServiceName, gsl_getSystemTextEncoding() ); + ByteString aServiceName( rServiceName, osl_getThreadTextEncoding() ); aServiceName.ToLowerAscii(); if ( aServiceName.Len() ) aSearch.pName = aServiceName.GetBuffer(); |