[Libreoffice-commits] .: dtrans/source i18npool/inc svl/source

Gert Faller gfaller at kemper.freedesktop.org
Mon Nov 22 22:47:40 PST 2010


 dtrans/source/win32/dtobj/MimeAttrib.hxx |   10 +++++-----
 i18npool/inc/transliterationImpl.hxx     |    2 +-
 svl/source/inc/passwordcontainer.hxx     |    2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 6a1b7dbbd7d8a1e1faec07f1f3864b7c5ab3bfc2
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date:   Tue Nov 23 07:46:41 2010 +0100

    RTL_CONSTASCII_USTRINGPARAM in libs-gui 11

diff --git a/dtrans/source/win32/dtobj/MimeAttrib.hxx b/dtrans/source/win32/dtobj/MimeAttrib.hxx
index 0b73a64..e942f29 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 db06420..a0fa8a0 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 cd1fb42..1d9f981 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 );
     }
     


More information about the Libreoffice-commits mailing list