diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-21 23:49:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-22 09:39:18 +0100 |
commit | b3c8e4177d24a184ffa854958fb177200608f68c (patch) | |
tree | e39f1702e132a255954635aa06007f3d92bccc92 /xmloff | |
parent | ByteString->rtl::OString (diff) | |
download | core-b3c8e4177d24a184ffa854958fb177200608f68c.tar.gz core-b3c8e4177d24a184ffa854958fb177200608f68c.zip |
gsl_getSystemTextEncoding->osl_getThreadTextEncoding
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/sdxmlimp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtimppr.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index c8bcf741b198..9da00b9b2eb6 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -839,7 +839,7 @@ SvXMLImportContext *SdXMLImport::CreateFontDeclsContext(const OUString& rLocalNa XMLFontStylesContext *pFSContext = new XMLFontStylesContext( *this, XML_NAMESPACE_OFFICE, rLocalName, xAttrList, - gsl_getSystemTextEncoding() ); + osl_getThreadTextEncoding() ); SetFontDecls( pFSContext ); return pFSContext; } diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx index dcd8c9f559e1..64598e687615 100644 --- a/xmloff/source/text/txtimppr.cxx +++ b/xmloff/source/text/txtimppr.cxx @@ -255,7 +255,7 @@ void XMLTextImportPropertyMapper::FontDefaultsCheck( if( !pFontCharSet ) { - aAny <<= (sal_Int16)gsl_getSystemTextEncoding(); + aAny <<= (sal_Int16)osl_getThreadTextEncoding(); #ifdef DBG_UTIL sal_Int16 nTmp = getPropertySetMapper()->GetEntryContextId( pFontFamilyName->mnIndex + 4 ); |