summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-01-28 14:30:19 +0000
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2017-01-28 14:38:25 +0000
commit681c329b7f70ed53f7d188834bc2aa3a154bc22d (patch)
treebbe8e877e8f7689cbff3e10f74f1d5f7c1bc9dfd /shell
parentbcaba2ca3622a66d475bf41cf2fea3d828ece342 (diff)
loplugin:stringconstant
Change-Id: I7e90f4fecf7243c7551ec7ecbb29adfa92a86447 Reviewed-on: https://gerrit.libreoffice.org/33648 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/kde4be/kde4backend.cxx2
-rw-r--r--shell/source/backends/kdebe/kdebackend.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/kde4be/kde4backend.cxx b/shell/source/backends/kde4be/kde4backend.cxx
index 70d14cc371fb..9d9114ca7bc7 100644
--- a/shell/source/backends/kde4be/kde4backend.cxx
+++ b/shell/source/backends/kde4be/kde4backend.cxx
@@ -131,7 +131,7 @@ Service::Service(): enabled_(false) {
void Service::setPropertyValue(OUString const &, css::uno::Any const &)
{
throw css::lang::IllegalArgumentException(
- OUString("setPropertyValue not supported"),
+ "setPropertyValue not supported",
static_cast< cppu::OWeakObject * >(this), -1);
}
diff --git a/shell/source/backends/kdebe/kdebackend.cxx b/shell/source/backends/kdebe/kdebackend.cxx
index a35c2c4a25bc..3d200a8e7e7f 100644
--- a/shell/source/backends/kdebe/kdebackend.cxx
+++ b/shell/source/backends/kdebe/kdebackend.cxx
@@ -132,7 +132,7 @@ Service::Service(): enabled_(false) {
void Service::setPropertyValue(OUString const &, css::uno::Any const &)
{
throw css::lang::IllegalArgumentException(
- OUString("setPropertyValue not supported"),
+ "setPropertyValue not supported",
static_cast< cppu::OWeakObject * >(this), -1);
}