[Libreoffice-commits] core.git: bridges/source shell/source

Stephan Bergmann sbergman at redhat.com
Wed Feb 1 07:28:21 UTC 2017


 bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx |    2 +-
 shell/source/backends/macbe/macbackend.mm             |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 5a3722b23023ef65a11305148c916ee978f1bc6b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Feb 1 08:27:50 2017 +0100

    loplugin:stringconstant
    
    Change-Id: Ic22b9c0c245cca23770a05518534a666e00f9f3e

diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
index 9770dba..def0bf5 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
@@ -427,7 +427,7 @@ void unoInterfaceProxyDispatch(
     default:
     {
         ::com::sun::star::uno::RuntimeException aExc(
-            OUString("illegal member type description!"),
+            "illegal member type description!",
             ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() );
 
         Type const & rExcType = cppu::UnoType<decltype(aExc)>::get();
diff --git a/shell/source/backends/macbe/macbackend.mm b/shell/source/backends/macbe/macbackend.mm
index 4a4df42..1e95e90 100644
--- a/shell/source/backends/macbe/macbackend.mm
+++ b/shell/source/backends/macbe/macbackend.mm
@@ -195,8 +195,7 @@ void MacOSXBackend::setPropertyValue(
     rtl::OUString const &, css::uno::Any const &)
 {
     throw css::lang::IllegalArgumentException(
-        rtl::OUString(
-            "setPropertyValue not supported"),
+        "setPropertyValue not supported",
         static_cast< cppu::OWeakObject * >(this), -1);
 }
 


More information about the Libreoffice-commits mailing list