summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/findattr.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-04-07 14:08:09 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-04-07 14:08:09 +0000
commit5564049e904e0e3f05556827dc7b8f927a9445dd (patch)
treea99dc088ae93fbad89ca45cdbe1bab99845dbacc /sw/source/core/crsr/findattr.cxx
parentd969c94a0062377b7fce1b0cca7a58b6485d7c9a (diff)
INTEGRATION: CWS internatiodel (1.10.188); FILE MERGED
2006/02/10 19:30:53 er 1.10.188.1: #i52115# move LangIDs and ISO conversion from tools to i18npool; introduce class MsLangId and libi18nisolang
Diffstat (limited to 'sw/source/core/crsr/findattr.cxx')
-rw-r--r--sw/source/core/crsr/findattr.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/sw/source/core/crsr/findattr.cxx b/sw/source/core/crsr/findattr.cxx
index a36120148c89..3be43ddafd3b 100644
--- a/sw/source/core/crsr/findattr.cxx
+++ b/sw/source/core/crsr/findattr.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: findattr.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 03:04:26 $
+ * last change: $Author: vg $ $Date: 2006-04-07 15:08:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -46,8 +46,8 @@
#include <com/sun/star/util/SearchFlags.hpp>
#endif
-#ifndef _ISOLANG_HXX
-#include <tools/isolang.hxx>
+#ifndef INCLUDED_I18NPOOL_MSLANGID_HXX
+#include <i18npool/mslangid.hxx>
#endif
#ifndef _HINTIDS_HXX
@@ -1197,9 +1197,7 @@ int SwFindParaAttr::Find( SwPaM* pCrsr, SwMoveFn fnMove, const SwPaM* pRegion,
aTmp.searchFlag |= (SearchFlags::REG_NOT_BEGINOFLINE |
SearchFlags::REG_NOT_ENDOFLINE);
- String aLang, aCntry;
- ConvertLanguageToIsoNames( LANGUAGE_SYSTEM, aLang, aCntry );
- aTmp.Locale = Locale( aLang, aCntry, rtl::OUString() );
+ MsLangId::convertLanguageToLocale( LANGUAGE_SYSTEM, aTmp.Locale );
pSTxt = new utl::TextSearch( aTmp );
}