[Libreoffice-commits] core.git: framework/inc framework/source

Noel Grandin noel at peralex.com
Mon Nov 2 05:12:17 PST 2015


 framework/inc/macros/xserviceinfo.hxx             |    2 +-
 framework/source/dispatch/popupmenudispatcher.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 97a392a0367ba138a259bf625e15dd1300d1d188
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Nov 2 15:11:08 2015 +0200

    fix build
    
    after my commit 7408498de37be05159f84cf0c8116313d3c196df
     "loplugin:stringconstant"
    
    Change-Id: I1354207e1ecb6ebc76fcda3ed8eb8f369180eae8

diff --git a/framework/inc/macros/xserviceinfo.hxx b/framework/inc/macros/xserviceinfo.hxx
index a41aa80..a465957 100644
--- a/framework/inc/macros/xserviceinfo.hxx
+++ b/framework/inc/macros/xserviceinfo.hxx
@@ -76,7 +76,7 @@ namespace framework{
                                                                                                                                                     \
     OUString CLASS::impl_getStaticImplementationName()                                                                                              \
     {                                                                                                                                               \
-        return IMPLEMENTATIONNAME;                                                                                                                 \
+        return OUString(IMPLEMENTATIONNAME);                                                                                                                 \
     }
 
 #define PRIVATE_DEFINE_XSERVICEINFO_OLDSTYLE( CLASS, XINTERFACECAST, SERVICENAME, IMPLEMENTATIONNAME )                                              \
diff --git a/framework/source/dispatch/popupmenudispatcher.cxx b/framework/source/dispatch/popupmenudispatcher.cxx
index fbc3b7b..c53e5ed 100644
--- a/framework/source/dispatch/popupmenudispatcher.cxx
+++ b/framework/source/dispatch/popupmenudispatcher.cxx
@@ -98,7 +98,7 @@ css::uno::Sequence< OUString > PopupMenuDispatcher::impl_getStaticSupportedServi
 
 OUString PopupMenuDispatcher::impl_getStaticImplementationName()
 {
-    return IMPLEMENTATIONNAME_POPUPMENUDISPATCHER;
+    return OUString(IMPLEMENTATIONNAME_POPUPMENUDISPATCHER);
 }
 
 css::uno::Reference< css::uno::XInterface >


More information about the Libreoffice-commits mailing list