diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2001-05-23 07:32:20 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2001-05-23 07:32:20 +0000 |
commit | 9595f92219775fc6a9991f8da2fa9e1b86a96a19 (patch) | |
tree | 55ddd691f0a1441ec5bfef62b72f6b810e5b3a6f /forms | |
parent | ea594b30cc3bf77ead3879e57d56ab0eb435bd78 (diff) |
#65293# GCC does not like 'Locale ident(String(), String(), String())'
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/misc/limitedformats.cxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/forms/source/misc/limitedformats.cxx b/forms/source/misc/limitedformats.cxx index 0e8cd24172d6..0a2f081fd91d 100644 --- a/forms/source/misc/limitedformats.cxx +++ b/forms/source/misc/limitedformats.cxx @@ -2,9 +2,9 @@ * * $RCSfile: limitedformats.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: fs $ $Date: 2001-05-18 14:48:05 $ + * last change: $Author: rt $ $Date: 2001-05-23 08:32:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -107,9 +107,10 @@ namespace frm //--------------------------------------------------------------------- static const Locale& getLocale(LocaleType _eType) { - static Locale s_aEnglishUS( ::rtl::OUString::createFromAscii("en"), ::rtl::OUString::createFromAscii("us"), ::rtl::OUString() ); - static Locale s_aGerman( ::rtl::OUString::createFromAscii("de"), ::rtl::OUString::createFromAscii("DE"), ::rtl::OUString() ); - static Locale s_aSystem( ::rtl::OUString(), ::rtl::OUString(), ::rtl::OUString() ); + static const Locale s_aEnglishUS( ::rtl::OUString::createFromAscii("en"), ::rtl::OUString::createFromAscii("us"), ::rtl::OUString() ); + static const Locale s_aGerman( ::rtl::OUString::createFromAscii("de"), ::rtl::OUString::createFromAscii("DE"), ::rtl::OUString() ); + static const ::rtl::OUString s_sEmptyString; + static const Locale s_aSystem( s_sEmptyString, s_sEmptyString, s_sEmptyString ); switch (_eType) { @@ -418,6 +419,9 @@ namespace frm /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.1 2001/05/18 14:48:05 fs + * initial checkin - helper for control models with limited formatting capabilities + * * * Revision 1.0 18.05.01 10:39:57 fs ************************************************************************/ |