From 6cdaaeacb8b51ad1334f4c1659b6810d8beed658 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 30 Jul 2019 17:49:25 +0200 Subject: Improved loplugin:stringconstant (now that GCC 7 supports it): sccomp Change-Id: I045d16b711cbc8c1cacf1d929b9d79387192586a Reviewed-on: https://gerrit.libreoffice.org/76652 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sccomp/source/solver/CoinMPSolver.cxx | 2 +- sccomp/source/solver/LpsolveSolver.cxx | 2 +- sccomp/source/solver/SwarmSolver.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sccomp/source') diff --git a/sccomp/source/solver/CoinMPSolver.cxx b/sccomp/source/solver/CoinMPSolver.cxx index b422c3456875..f7a357e11eb9 100644 --- a/sccomp/source/solver/CoinMPSolver.cxx +++ b/sccomp/source/solver/CoinMPSolver.cxx @@ -44,7 +44,7 @@ private: virtual void SAL_CALL solve() override; virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.Calc.CoinMPSolver"); + return "com.sun.star.comp.Calc.CoinMPSolver"; } virtual OUString SAL_CALL getComponentDescription() override { diff --git a/sccomp/source/solver/LpsolveSolver.cxx b/sccomp/source/solver/LpsolveSolver.cxx index 62cded699758..b1ab44e66350 100644 --- a/sccomp/source/solver/LpsolveSolver.cxx +++ b/sccomp/source/solver/LpsolveSolver.cxx @@ -73,7 +73,7 @@ private: virtual void SAL_CALL solve() override; virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.Calc.LpsolveSolver"); + return "com.sun.star.comp.Calc.LpsolveSolver"; } virtual OUString SAL_CALL getComponentDescription() override { diff --git a/sccomp/source/solver/SwarmSolver.cxx b/sccomp/source/solver/SwarmSolver.cxx index e342658dea77..1e6604245dfe 100644 --- a/sccomp/source/solver/SwarmSolver.cxx +++ b/sccomp/source/solver/SwarmSolver.cxx @@ -253,7 +253,7 @@ public: // XServiceInfo virtual OUString SAL_CALL getImplementationName() override { - return OUString("com.sun.star.comp.Calc.SwarmSolver"); + return "com.sun.star.comp.Calc.SwarmSolver"; } sal_Bool SAL_CALL supportsService(const OUString& rServiceName) override -- cgit