diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:49:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:55:32 +0200 |
commit | 6cdaaeacb8b51ad1334f4c1659b6810d8beed658 (patch) | |
tree | 34a15f618d722d57101d6fb28e2174a81b38a12f | |
parent | f5a219c3acbc47be3aaecd50cbdc70debaed5b03 (diff) |
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 <sbergman@redhat.com>
-rw-r--r-- | sccomp/source/solver/CoinMPSolver.cxx | 2 | ||||
-rw-r--r-- | sccomp/source/solver/LpsolveSolver.cxx | 2 | ||||
-rw-r--r-- | sccomp/source/solver/SwarmSolver.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
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 |