diff options
Diffstat (limited to 'sw/source/core/crsr/findattr.cxx')
-rw-r--r-- | sw/source/core/crsr/findattr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/findattr.cxx b/sw/source/core/crsr/findattr.cxx index 9490c410d6fb..451c2a57cfdc 100644 --- a/sw/source/core/crsr/findattr.cxx +++ b/sw/source/core/crsr/findattr.cxx @@ -29,7 +29,7 @@ #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/util/SearchOptions.hpp> #include <com/sun/star/util/SearchFlags.hpp> -#include <i18npool/mslangid.hxx> +#include <i18npool/languagetag.hxx> #include <hintids.hxx> #include <vcl/svapp.hxx> #include <svl/itemiter.hxx> @@ -1107,7 +1107,7 @@ int SwFindParaAttr::Find( SwPaM* pCrsr, SwMoveFn fnMove, const SwPaM* pRegion, aTmp.searchFlag |= (SearchFlags::REG_NOT_BEGINOFLINE | SearchFlags::REG_NOT_ENDOFLINE); - MsLangId::convertLanguageToLocale( LANGUAGE_SYSTEM, aTmp.Locale ); + aTmp.Locale = LanguageTag( LANGUAGE_SYSTEM ).getLocale(); pSTxt = new utl::TextSearch( aTmp ); } |