diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-04-07 13:15:12 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-04-07 13:15:12 +0000 |
commit | 5fbe7ad63908a4c9c73ba3a8e3a14c84412363db (patch) | |
tree | 020cabe9ae963fe49b24a0a848bb0d296da09a6d /extensions/source/propctrlr/standardcontrol.cxx | |
parent | 0708b14d4ba254b4f7a1c15d7b0a7d6131526335 (diff) |
INTEGRATION: CWS internatiodel (1.19.26); FILE MERGED
2006/02/10 19:28:31 er 1.19.26.1: #i52115# move LangIDs and ISO conversion from tools to i18npool; introduce class MsLangId and libi18nisolang
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index aba65529d56e..666b03c36f98 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -4,9 +4,9 @@ * * $RCSfile: standardcontrol.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: vg $ $Date: 2006-03-14 11:32:54 $ + * last change: $Author: vg $ $Date: 2006-04-07 14:15:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -96,8 +96,8 @@ #ifndef _UNOTOOLS_DATETIME_HXX_ #include <unotools/datetime.hxx> #endif -#ifndef _ISOLANG_HXX -#include <tools/isolang.hxx> +#ifndef INCLUDED_I18NPOOL_MSLANGID_HXX +#include <i18npool/mslangid.hxx> #endif #ifndef _SV_BUTTON_HXX #include <vcl/button.hxx> @@ -323,7 +323,7 @@ namespace pcr // determine a default format Locale aSysLocale = SvtSysLocale().GetLocaleData().getLocale(); - LanguageType eSysLanguage = ConvertIsoNamesToLanguage( aSysLocale.Language, aSysLocale.Country ); + LanguageType eSysLanguage = MsLangId::convertLocaleToLanguage( aSysLocale ); getTypedControlWindow()->SetFormatter( getTypedControlWindow()->StandardFormatter() ); SvNumberFormatter* pFormatter = getTypedControlWindow()->GetFormatter(); |