From 28065fe9bd06617815b27e329a33b0ebb545c48d Mon Sep 17 00:00:00 2001
From: Stephan Bergmann <sbergman@redhat.com>
Date: Tue, 30 Jul 2019 17:46:03 +0200
Subject: Improved loplugin:stringconstant (now that GCC 7 supports it): uui

Change-Id: I847a44085d50a431d8b40ccd1cacbb1cfa712e68
Reviewed-on: https://gerrit.libreoffice.org/76629
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
---
 uui/source/interactionhandler.cxx    | 2 +-
 uui/source/passwordcontainer.cxx     | 2 +-
 uui/source/requeststringresolver.cxx | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'uui')

diff --git a/uui/source/interactionhandler.cxx b/uui/source/interactionhandler.cxx
index 850eb59b0106..71286345a177 100644
--- a/uui/source/interactionhandler.cxx
+++ b/uui/source/interactionhandler.cxx
@@ -79,7 +79,7 @@ UUIInteractionHandler::UUIInteractionHandler(
 
 OUString SAL_CALL UUIInteractionHandler::getImplementationName()
 {
-    return OUString("com.sun.star.comp.uui.UUIInteractionHandler");
+    return "com.sun.star.comp.uui.UUIInteractionHandler";
 }
 
 sal_Bool SAL_CALL
diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx
index 7b94a87fd14d..c48f3cd2c029 100644
--- a/uui/source/passwordcontainer.cxx
+++ b/uui/source/passwordcontainer.cxx
@@ -317,7 +317,7 @@ PasswordContainerInteractionHandler::getSupportedServiceNames()
 OUString
 PasswordContainerInteractionHandler::getImplementationName_Static()
 {
-    return OUString( "com.sun.star.comp.uui.PasswordContainerInteractionHandler" );
+    return "com.sun.star.comp.uui.PasswordContainerInteractionHandler";
 }
 
 
diff --git a/uui/source/requeststringresolver.cxx b/uui/source/requeststringresolver.cxx
index 98a4fdb23983..e9d73f0749da 100644
--- a/uui/source/requeststringresolver.cxx
+++ b/uui/source/requeststringresolver.cxx
@@ -39,7 +39,7 @@ UUIInteractionRequestStringResolver::~UUIInteractionRequestStringResolver()
 OUString SAL_CALL
 UUIInteractionRequestStringResolver::getImplementationName()
 {
-    return OUString("com.sun.star.comp.uui.UUIInteractionRequestStringResolver");
+    return "com.sun.star.comp.uui.UUIInteractionRequestStringResolver";
 }
 
 sal_Bool SAL_CALL
-- 
cgit