summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-22 12:26:52 +0100
committerEike Rathke <erack@redhat.com>2012-11-22 12:34:59 +0100
commit9955dbebbdf1b7d36fec272dfea46f57fab47e19 (patch)
tree80705ccc2382e7440ea76f62a544d64d12d1ce4f /sd/source/ui/view
parentsw: remove WorkaroundForB6375613 (diff)
downloadcore-9955dbebbdf1b7d36fec272dfea46f57fab47e19.tar.gz
core-9955dbebbdf1b7d36fec272dfea46f57fab47e19.zip
AllSettings with LanguageTag
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/Outliner.cxx2
-rw-r--r--sd/source/ui/view/drviews5.cxx2
-rw-r--r--sd/source/ui/view/sdview.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 43aa50210251..47b5768a328a 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -235,7 +235,7 @@ Outliner::Outliner( SdDrawDocument* pDoc, sal_uInt16 nMode )
if( xHyphenator.is() )
SetHyphenator( xHyphenator );
- SetDefaultLanguage( Application::GetSettings().GetLanguage() );
+ SetDefaultLanguage( Application::GetSettings().GetLanguageTag().getLanguageType() );
}
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx
index 62ebfda910c6..230a54e33eff 100644
--- a/sd/source/ui/view/drviews5.cxx
+++ b/sd/source/ui/view/drviews5.cxx
@@ -464,7 +464,7 @@ void DrawViewShell::Paint(const Rectangle& rRect, ::sd::Window* pWin)
/* This is done before each text edit, so why not do it before every paint.
The default language is only used if the outliner only contains one
character in a symbol font */
- GetDoc()->GetDrawOutliner( NULL ).SetDefaultLanguage( Application::GetSettings().GetLanguage() );
+ GetDoc()->GetDrawOutliner( NULL ).SetDefaultLanguage( Application::GetSettings().GetLanguageTag().getLanguageType() );
mpDrawView->CompleteRedraw( pWin, Region( rRect ) );
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 0912a8a808bb..5ab7bc0e6782 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -737,7 +737,7 @@ sal_Bool View::SdrBeginTextEdit(
if( xHyphenator.is() )
pOutl->SetHyphenator( xHyphenator );
- pOutl->SetDefaultLanguage( Application::GetSettings().GetLanguage() );
+ pOutl->SetDefaultLanguage( Application::GetSettings().GetLanguageTag().getLanguageType() );
}
sal_Bool bReturn = FmFormView::SdrBeginTextEdit(