diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-07-20 12:13:32 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-07-20 12:13:32 +0000 |
commit | a7dbf52b9e00a227a421801b412e37f125ed23e2 (patch) | |
tree | a32d6f01b7cec685329109488f33585b6e2a053b /forms/source/component/FormattedFieldWrapper.cxx | |
parent | 141cdb7a102beb63fe8b8e2552e6c6acf94de073 (diff) |
#90040# use LocaleDataWrapper instead of International class
Diffstat (limited to 'forms/source/component/FormattedFieldWrapper.cxx')
-rw-r--r-- | forms/source/component/FormattedFieldWrapper.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/forms/source/component/FormattedFieldWrapper.cxx b/forms/source/component/FormattedFieldWrapper.cxx index 28515c89b423..e547de893bce 100644 --- a/forms/source/component/FormattedFieldWrapper.cxx +++ b/forms/source/component/FormattedFieldWrapper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: FormattedFieldWrapper.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: oj $ $Date: 2001-07-11 10:33:58 $ + * last change: $Author: fs $ $Date: 2001-07-20 13:13:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -266,13 +266,7 @@ void SAL_CALL OFormattedFieldWrapper::write(const Reference<XObjectOutputStream> Reference<XPropertySet> xEditProps; query_interface(static_cast<XWeak*>(m_pEditPart), xEditProps); - UniString sLanguage, sCountry; - ConvertLanguageToIsoNames(Application::GetSettings().GetUILanguage(), sLanguage, sCountry); - Locale aAppLanguage( - sLanguage, - sCountry, - ::rtl::OUString()); - + Locale aAppLanguage = Application::GetSettings().GetUILocale(); dbtools::TransferFormComponentProperties(xFormatProps, xEditProps, aAppLanguage); // then write the edit part, after switching to "fake mode" |