summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:47:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:53:48 +0200
commitcd03cd9158a01d3e2ccf6574d80b68bd4cf994a9 (patch)
treec3e337981779f603c87deedf707d3042bcf63c44 /testtools
parentcf07303e215380f597fd32756ba990fb5220dcbe (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): testtools
Change-Id: Ia053ced81d0c0546b1047c8bbee6caa4cfb32e41 Reviewed-on: https://gerrit.libreoffice.org/76637 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx2
-rw-r--r--testtools/source/bridgetest/constructors.cxx8
-rw-r--r--testtools/source/bridgetest/cppobj.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index ae59820d1be1..66be97682ddf 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -1184,7 +1184,7 @@ sal_Int32 TestBridgeImpl::run( const Sequence< OUString > & rArgs )
OUString TestBridgeImpl::getImplementationName()
{
- return OUString( IMPLNAME );
+ return IMPLNAME;
}
sal_Bool TestBridgeImpl::supportsService( const OUString & rServiceName )
diff --git a/testtools/source/bridgetest/constructors.cxx b/testtools/source/bridgetest/constructors.cxx
index 03b633a54665..050c2dd6683c 100644
--- a/testtools/source/bridgetest/constructors.cxx
+++ b/testtools/source/bridgetest/constructors.cxx
@@ -413,8 +413,8 @@ css::uno::Reference< css::uno::XInterface > create(
}
OUString getImplementationName() {
- return OUString(
- "comp.test.testtools.bridgetest.Constructors");
+ return
+ "comp.test.testtools.bridgetest.Constructors";
}
css::uno::Sequence< OUString > getSupportedServiceNames() {
@@ -430,8 +430,8 @@ css::uno::Reference< css::uno::XInterface > create2(
}
OUString getImplementationName2() {
- return OUString(
- "comp.test.testtools.bridgetest.Constructors2");
+ return
+ "comp.test.testtools.bridgetest.Constructors2";
}
css::uno::Sequence< OUString > getSupportedServiceNames2() {
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index 295e0368acc9..1eb3e9903753 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -1101,7 +1101,7 @@ Reference< XCurrentContextChecker > Test_Impl::getCurrentContextChecker()
OUString Test_Impl::getImplementationName()
{
- return OUString( IMPLNAME );
+ return IMPLNAME;
}
sal_Bool Test_Impl::supportsService( const OUString & rServiceName )