diff options
author | pjacquod <pjacquod@alumni.ethz.ch> | 2010-11-16 00:09:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-17 16:33:00 +0000 |
commit | b0a1304262eba6ecf92e1b2646436b6ac1ebea86 (patch) | |
tree | 3cfa386437a3d29e4e65242c303926d70948f170 /forms/source/misc/limitedformats.cxx | |
parent | RTL_CONSTASCII_USTRINGPARAM components in runtime (diff) | |
download | core-b0a1304262eba6ecf92e1b2646436b6ac1ebea86.tar.gz core-b0a1304262eba6ecf92e1b2646436b6ac1ebea86.zip |
RTL_CONSTASCII_USTRINGPARAM in components misc
components/forms/source/misc should be OK now
Diffstat (limited to 'forms/source/misc/limitedformats.cxx')
-rw-r--r-- | forms/source/misc/limitedformats.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/misc/limitedformats.cxx b/forms/source/misc/limitedformats.cxx index 8d2e13e0ea69..a4707f03a25d 100644 --- a/forms/source/misc/limitedformats.cxx +++ b/forms/source/misc/limitedformats.cxx @@ -64,8 +64,8 @@ namespace frm //--------------------------------------------------------------------- static const Locale& getLocale(LocaleType _eType) { - 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 Locale s_aEnglishUS( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("en") ), ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("us") ), ::rtl::OUString() ); + static const Locale s_aGerman( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("de") ), ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DE") ), ::rtl::OUString() ); static const ::rtl::OUString s_sEmptyString; static const Locale s_aSystem( s_sEmptyString, s_sEmptyString, s_sEmptyString ); @@ -342,7 +342,7 @@ namespace frm if (!bFoundIt) { // somebody gave us an format which we can't translate - ::rtl::OUString sMessage = ::rtl::OUString::createFromAscii("This control supports only a very limited number of formats."); + ::rtl::OUString sMessage (RTL_CONSTASCII_USTRINGPARAM("This control supports only a very limited number of formats.") ); throw IllegalArgumentException(sMessage, NULL, 2); } |