summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-02 15:11:08 +0200
committerNoel Grandin <noel@peralex.com>2015-11-02 15:11:49 +0200
commit97a392a0367ba138a259bf625e15dd1300d1d188 (patch)
tree48829fcbe918ee2f8ba7d82d81299ca13f91d5b4 /framework
parent9fbdb3d37fab7c8e0d6507807166c4de079d272f (diff)
fix build
after my commit 7408498de37be05159f84cf0c8116313d3c196df "loplugin:stringconstant" Change-Id: I1354207e1ecb6ebc76fcda3ed8eb8f369180eae8
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/macros/xserviceinfo.hxx2
-rw-r--r--framework/source/dispatch/popupmenudispatcher.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/inc/macros/xserviceinfo.hxx b/framework/inc/macros/xserviceinfo.hxx
index a41aa8091e70..a465957181c1 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 fbc3b7b59d07..c53e5ed54d35 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 >