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>
This commit is contained in:
Stephan Bergmann
2019-07-30 17:49:25 +02:00
parent f5a219c3ac
commit 6cdaaeacb8
3 changed files with 3 additions and 3 deletions

View File

@@ -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
{

View File

@@ -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
{

View File

@@ -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