diff options
Diffstat (limited to 'sw/source/ui/uiview/viewling.cxx')
-rw-r--r-- | sw/source/ui/uiview/viewling.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uiview/viewling.cxx b/sw/source/ui/uiview/viewling.cxx index 466fe5da8c4f..b8f9b7b00111 100644 --- a/sw/source/ui/uiview/viewling.cxx +++ b/sw/source/ui/uiview/viewling.cxx @@ -593,7 +593,7 @@ void SwView::StartThesaurus() Reference< XThesaurus > xThes( ::GetThesaurus() ); AbstractThesaurusDialog *pDlg = NULL; - if ( !xThes.is() || !xThes->hasLocale( SvxCreateLocale( eLang ) ) ) + if ( !xThes.is() || !xThes->hasLocale( LanguageTag( eLang ).getLocale() ) ) SpellError( eLang ); else { |