summaryrefslogtreecommitdiff
path: root/vcl/source/app/i18nhelp.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-04-07 14:28:52 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-04-07 14:28:52 +0000
commita6e0d9124197254a884eefe89cb85beb5dc2d940 (patch)
treead1530814a6785fc698f837e6c81c38f00cc839d /vcl/source/app/i18nhelp.cxx
parent79da1ee8a4fe2b989ca6097c6187168fc3c2f2f8 (diff)
INTEGRATION: CWS internatiodel (1.5.152); FILE MERGED
2006/02/10 19:31:30 er 1.5.152.1: #i52115# move LangIDs and ISO conversion from tools to i18npool; introduce class MsLangId and libi18nisolang
Diffstat (limited to 'vcl/source/app/i18nhelp.cxx')
-rw-r--r--vcl/source/app/i18nhelp.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/app/i18nhelp.cxx b/vcl/source/app/i18nhelp.cxx
index 98f2c8daeb27..54aef9bfc4f0 100644
--- a/vcl/source/app/i18nhelp.cxx
+++ b/vcl/source/app/i18nhelp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: i18nhelp.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 11:40:26 $
+ * last change: $Author: vg $ $Date: 2006-04-07 15:28:52 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -67,8 +67,8 @@
#include <unotools/transliterationwrapper.hxx>
#endif
-#ifndef _ISOLANG_HXX
-#include <tools/isolang.hxx>
+#ifndef INCLUDED_I18NPOOL_MSLANGID_HXX
+#include <i18npool/mslangid.hxx>
#endif
using namespace ::com::sun::star;
@@ -105,7 +105,7 @@ utl::TransliterationWrapper& vcl::I18nHelper::ImplGetTransliterationWrapper() co
nModules |= i18n::TransliterationModules_IGNORE_CASE;
((vcl::I18nHelper*)this)->mpTransliterationWrapper = new utl::TransliterationWrapper( mxMSF, (i18n::TransliterationModules)nModules );
- ((vcl::I18nHelper*)this)->mpTransliterationWrapper->loadModuleIfNeeded( ConvertIsoNamesToLanguage( maLocale.Language, maLocale.Country ) );
+ ((vcl::I18nHelper*)this)->mpTransliterationWrapper->loadModuleIfNeeded( MsLangId::convertLocaleToLanguage( maLocale ) );
}
return *mpTransliterationWrapper;
}