From 681c329b7f70ed53f7d188834bc2aa3a154bc22d Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sat, 28 Jan 2017 14:30:19 +0000 Subject: loplugin:stringconstant Change-Id: I7e90f4fecf7243c7551ec7ecbb29adfa92a86447 Reviewed-on: https://gerrit.libreoffice.org/33648 Reviewed-by: Jochen Nitschke Tested-by: Jochen Nitschke --- shell/source/backends/kde4be/kde4backend.cxx | 2 +- shell/source/backends/kdebe/kdebackend.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') 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); } -- cgit