diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-23 07:46:41 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-23 07:46:41 +0100 |
commit | ff1edf5a380baa88405feb325066ac70e01de507 (patch) | |
tree | 221309bd7e2c60a520d91e66d6ce71c39e4842d8 | |
parent | ac958c9386d00963c3ecd2e7120486441d4915b7 (diff) |
RTL_CONSTASCII_USTRINGPARAM in libs-gui 11
-rw-r--r-- | dtrans/source/win32/dtobj/MimeAttrib.hxx | 10 | ||||
-rw-r--r-- | i18npool/inc/transliterationImpl.hxx | 2 | ||||
-rw-r--r-- | svl/source/inc/passwordcontainer.hxx | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/dtrans/source/win32/dtobj/MimeAttrib.hxx b/dtrans/source/win32/dtobj/MimeAttrib.hxx index e9538ac7ae1f..fd62793f1478 100644 --- a/dtrans/source/win32/dtobj/MimeAttrib.hxx +++ b/dtrans/source/win32/dtobj/MimeAttrib.hxx @@ -40,12 +40,12 @@ // deklarations //------------------------------------------------------------------------ -const rtl::OUString TEXTPLAIN_PARAM_CHARSET = rtl::OUString::createFromAscii( "charset" ); +const rtl::OUString TEXTPLAIN_PARAM_CHARSET = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("charset")); -const rtl::OUString PRE_WINDOWS_CODEPAGE = rtl::OUString::createFromAscii( "windows" ); -const rtl::OUString PRE_OEM_CODEPAGE = rtl::OUString::createFromAscii( "cp" ); -const rtl::OUString CHARSET_UTF16 = rtl::OUString::createFromAscii( "utf-16" ); -const rtl::OUString CHARSET_UNICODE = rtl::OUString::createFromAscii( "unicode" ); +const rtl::OUString PRE_WINDOWS_CODEPAGE (RTL_CONSTASCII_USTRINGPARAM("windows")); +const rtl::OUString PRE_OEM_CODEPAGE (RTL_CONSTASCII_USTRINGPARAM("cp")); +const rtl::OUString CHARSET_UTF16 (RTL_CONSTASCII_USTRINGPARAM("utf-16")); +const rtl::OUString CHARSET_UNICODE (RTL_CONSTASCII_USTRINGPARAM("unicode")); #endif diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx index 8497c1f8dcd4..94fba9679009 100644 --- a/i18npool/inc/transliterationImpl.hxx +++ b/i18npool/inc/transliterationImpl.hxx @@ -38,7 +38,7 @@ namespace com { namespace sun { namespace star { namespace i18n { #if OSL_DEBUG_LEVEL > 1 -#define RETURN_DEBUG_STRING (rtl::OUString::createFromAscii("return from transliterationImpl")); +#define RETURN_DEBUG_STRING (rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("return from transliterationImpl"))); #define RETURN_DEBUG_NUMBER 'TRAN' #else #define RETURN_DEBUG_STRING diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx index cbcd596103f4..90a367814202 100644 --- a/svl/source/inc/passwordcontainer.hxx +++ b/svl/source/inc/passwordcontainer.hxx @@ -216,7 +216,7 @@ public: { ::com::sun::star::uno::Sequence< ::rtl::OUString > aNode( 1 ); *aNode.getArray() = path; - *aNode.getArray() += ::rtl::OUString::createFromAscii( "/Store" ); + *aNode.getArray() += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/Store")); EnableNotification( aNode ); } |