diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-22 12:26:52 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-22 12:34:59 +0100 |
commit | 9955dbebbdf1b7d36fec272dfea46f57fab47e19 (patch) | |
tree | 80705ccc2382e7440ea76f62a544d64d12d1ce4f /sd/source/ui/view | |
parent | sw: remove WorkaroundForB6375613 (diff) | |
download | core-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.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/drviews5.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 2 |
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( |