summaryrefslogtreecommitdiff
path: root/svx/source/dialog/swframeexample.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/swframeexample.cxx')
-rw-r--r--svx/source/dialog/swframeexample.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/swframeexample.cxx b/svx/source/dialog/swframeexample.cxx
index 7825c6f019fc..4a694409d6c1 100644
--- a/svx/source/dialog/swframeexample.cxx
+++ b/svx/source/dialog/swframeexample.cxx
@@ -160,7 +160,7 @@ void SvxSwFrameExample::InitAllRects_Impl()
if (nAnchor == TextContentAnchorType_AS_CHARACTER || nAnchor == TextContentAnchorType_AT_CHARACTER)
{
Font aFont = OutputDevice::GetDefaultFont(
- DEFAULTFONT_LATIN_TEXT, Application::GetSettings().GetLanguage(),
+ DEFAULTFONT_LATIN_TEXT, Application::GetSettings().GetLanguageTag().getLanguageType(),
DEFAULTFONT_FLAGS_ONLYONE, this );
aFont.SetColor( m_aTxtCol );
aFont.SetFillColor( m_aBgCol );