summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r--sw/source/ui/docvw/edtwin2.cxx2
-rw-r--r--sw/source/ui/docvw/srcedtw.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/edtwin2.cxx b/sw/source/ui/docvw/edtwin2.cxx
index 169c3e0bd4ac..85ec45f965f4 100644
--- a/sw/source/ui/docvw/edtwin2.cxx
+++ b/sw/source/ui/docvw/edtwin2.cxx
@@ -163,7 +163,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt)
{
sTxt = rtl::OStringToOUString(rtl::OString::valueOf(
((SwTblBoxValue*)aCntntAtPos.aFnd.pAttr)->GetValue()),
- gsl_getSystemTextEncoding());
+ osl_getThreadTextEncoding());
}
break;
case SwContentAtPos::SW_CURR_ATTRS:
diff --git a/sw/source/ui/docvw/srcedtw.cxx b/sw/source/ui/docvw/srcedtw.cxx
index 9b468a827748..1f5ca938944b 100644
--- a/sw/source/ui/docvw/srcedtw.cxx
+++ b/sw/source/ui/docvw/srcedtw.cxx
@@ -230,7 +230,7 @@ SwSrcEditWindow::SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ) :
nCurTextWidth(0),
nStartLine(USHRT_MAX),
- eSourceEncoding(gsl_getSystemTextEncoding()),
+ eSourceEncoding(osl_getThreadTextEncoding()),
bDoSyntaxHighlight(sal_True),
bHighlighting(sal_False)
{