[Libreoffice-commits] .: 2 commits - sdext/source

David Tardon dtardon at kemper.freedesktop.org
Wed Dec 15 03:00:22 PST 2010


 sdext/source/presenter/PresenterAccessibility.cxx       |    2 +-
 sdext/source/presenter/PresenterExtensionIdentifier.txx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 35eddd821c0ed93ae01758af5be2b33c50e48b55
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Dec 15 11:57:42 2010 +0100

    fix RTL_CONSTASCII_USTRINGPARAM on char*

diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index 3e68035..076a535 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -1612,7 +1612,7 @@ void PresenterAccessible::AccessibleObject::ThrowException (
     const sal_Char* pMessage,
     const ExceptionType eExceptionType) const
 {
-    const OUString sMessage (OUString(A2S("PresenterAccessible: ")) + OUString(A2S(pMessage)));
+    const OUString sMessage (OUString(A2S("PresenterAccessible: ")) + OUString::createFromAscii(pMessage));
     const Reference<XInterface> xObject (
         const_cast<uno::XWeak*>(static_cast<const uno::XWeak*>(this)));
     switch (eExceptionType)
commit 82d8659dbbb2804732cb0077d7de9452ccbf8a44
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed Dec 15 08:00:36 2010 +0100

    RTL_CONSTASCII_USTRINGPARAM sdext

diff --git a/sdext/source/presenter/PresenterExtensionIdentifier.txx b/sdext/source/presenter/PresenterExtensionIdentifier.txx
index aae3b82..e505fd0 100644
--- a/sdext/source/presenter/PresenterExtensionIdentifier.txx
+++ b/sdext/source/presenter/PresenterExtensionIdentifier.txx
@@ -34,7 +34,7 @@ namespace sdext { namespace presenter {
     makefile.mk with the actual, platform specific, extension identifier.
 */
 const ::rtl::OUString PresenterComponent::gsExtensionIdentifier(
-    ::rtl::OUString::createFromAscii("com.sun.PresenterScreen-UPDATED_PLATFORM"));
+    RTL_CONSTASCII_USTRINGPARAM("com.sun.PresenterScreen-UPDATED_PLATFORM"));
 
 } }
 


More information about the Libreoffice-commits mailing list