[Libreoffice-commits] core.git: shell/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Sat Jan 28 14:38:54 UTC 2017
shell/source/backends/kde4be/kde4backend.cxx | 2 +-
shell/source/backends/kdebe/kdebackend.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 681c329b7f70ed53f7d188834bc2aa3a154bc22d
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Sat Jan 28 14:30:19 2017 +0000
loplugin:stringconstant
Change-Id: I7e90f4fecf7243c7551ec7ecbb29adfa92a86447
Reviewed-on: https://gerrit.libreoffice.org/33648
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
diff --git a/shell/source/backends/kde4be/kde4backend.cxx b/shell/source/backends/kde4be/kde4backend.cxx
index 70d14cc..9d9114c 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 a35c2c4..3d200a8 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);
}
More information about the Libreoffice-commits
mailing list