diff options
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/core/sdpage.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/func/fuinsfil.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx index e1b8a2357aff..44dc6aa832dc 100644 --- a/sd/source/core/sdpage.cxx +++ b/sd/source/core/sdpage.cxx @@ -111,7 +111,7 @@ SdPage::SdPage(SdDrawDocument& rNewDoc, StarBASIC* pBasic, sal_Bool bMasterPage) , mbStopSound(sal_False) , mbScaleObjects(sal_True) , mbBackgroundFullSize( sal_False ) -, meCharSet(gsl_getSystemTextEncoding()) +, meCharSet(osl_getThreadTextEncoding()) , mnPaperBin(PAPERBIN_PRINTER_SETTINGS) , mpPageLink(NULL) , mpItems(NULL) diff --git a/sd/source/ui/func/fuinsfil.cxx b/sd/source/ui/func/fuinsfil.cxx index b98f14fe73c8..84de295daa27 100644 --- a/sd/source/ui/func/fuinsfil.cxx +++ b/sd/source/ui/func/fuinsfil.cxx @@ -597,7 +597,7 @@ void FuInsertFile::InsTextOrRTFinDrMode(SfxMedium* pMedium) if (pDlg->IsLink()) { - pTO->SetTextLink(aFile, aFilterName, gsl_getSystemTextEncoding() ); + pTO->SetTextLink(aFile, aFilterName, osl_getThreadTextEncoding() ); } if( bUndo ) |