diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-07-11 09:34:00 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-07-11 09:34:00 +0000 |
commit | 76fb1c425fe75727d117a6b2fe825557882031b5 (patch) | |
tree | 45d4e7e3a08c179bceb77555844843bbb351ecdd /forms/source/component/FormattedField.cxx | |
parent | 3029d23de4b6273750ae8e9f48eb38dd8cca6bd9 (diff) |
#87257# change GetUILanguage
Diffstat (limited to 'forms/source/component/FormattedField.cxx')
-rw-r--r-- | forms/source/component/FormattedField.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index b6e68931d63e..598edd6663ce 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -2,9 +2,9 @@ * * $RCSfile: FormattedField.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: fs $ $Date: 2001-06-25 10:30:09 $ + * last change: $Author: oj $ $Date: 2001-07-11 10:33:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -144,7 +144,6 @@ #ifndef _COM_SUN_STAR_CONTAINER_XINDEXACCESS_HPP_ #include <com/sun/star/container/XIndexAccess.hpp> #endif - #ifndef _VOS_MUTEX_HXX_ #include <vos/mutex.hxx> #endif @@ -270,7 +269,7 @@ protected: //------------------------------------------------------------------ StandardFormatsSupplier::StandardFormatsSupplier(const Reference< XMultiServiceFactory > & _rxFactory) :SvNumberFormatsSupplierObj() - ,m_pMyPrivateFormatter(new SvNumberFormatter(_rxFactory, Application::GetAppInternational().GetLanguage())) + ,m_pMyPrivateFormatter(new SvNumberFormatter(_rxFactory, Application::GetSettings().GetUILanguage())) { SetNumberFormatter(m_pMyPrivateFormatter); } @@ -851,7 +850,7 @@ void OFormattedModel::_loaded(const EventObject& rEvent) if (xTypes.is()) { UniString sLanguage, sCountry; - ConvertLanguageToIsoNames(Application::GetAppInternational().GetLanguage(), sLanguage, sCountry); + ConvertLanguageToIsoNames(Application::GetSettings().GetUILanguage(), sLanguage, sCountry); Locale aApplicationLocale(sLanguage, sCountry, ::rtl::OUString()); sal_Int32 nNewKey = 0; |