summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-21 23:49:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-22 09:39:18 +0100
commitb3c8e4177d24a184ffa854958fb177200608f68c (patch)
treee39f1702e132a255954635aa06007f3d92bccc92 /xmloff
parent16032347d9b43d1ccefc185713e43b4d19974de6 (diff)
gsl_getSystemTextEncoding->osl_getThreadTextEncoding
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/sdxmlimp.cxx2
-rw-r--r--xmloff/source/text/txtimppr.cxx2
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 );