diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-17 14:54:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-18 05:48:29 +0000 |
commit | fc18da9178c851b17e9ecc3777166ae3037d3e8a (patch) | |
tree | fce22834561af167f919a5d8a9d78fd54c1dc5ba /stoc | |
parent | 43b5ca69aa545cf93eded55258d92d651917815f (diff) |
remove some double calls
found with
git grep -P '\W(\w+)\s*\(\s*\W'
Change-Id: Ia93f83193959c72dcc15c5c1bf54e805b43f14e5
Reviewed-on: https://gerrit.libreoffice.org/30934
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/test/testcorefl.cxx | 2 | ||||
-rw-r--r-- | stoc/test/testintrosp.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stoc/test/testcorefl.cxx b/stoc/test/testcorefl.cxx index e04519c2ba84..05df96424a28 100644 --- a/stoc/test/testcorefl.cxx +++ b/stoc/test/testcorefl.cxx @@ -271,7 +271,7 @@ static sal_Bool test_corefl( const Reference< XIdlReflection > & xRefl ) } Any gulp; - gulp <<= OUString(OUString("Test")); + gulp <<= OUString("Test"); Any blup; blup <<= aStructC; xRefl->forName("ModuleA.StructC")->getField(OUString("aString"))->set(blup, gulp); diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index 49fac8c4d932..22df49ebc509 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -332,7 +332,7 @@ public: virtual OUString SAL_CALL getFirstName() throw(RuntimeException); virtual OUString SAL_CALL getLastName() throw(RuntimeException) - { return OUString( OUString("Meyer") ); } + { return OUString("Meyer"); } virtual sal_Int16 SAL_CALL getAge() throw(RuntimeException) { return m_nMarkusAge; } virtual sal_Int16 SAL_CALL getChildrenCount() throw(RuntimeException) @@ -521,7 +521,7 @@ Any ImplIntroTest::getPropertyValue( const OUString& PropertyName ) OUString ImplIntroTest::getFirstName() throw(RuntimeException) { - return OUString( OUString("Markus") ); + return OUString("Markus"); } void ImplIntroTest::writeln( const OUString& Text ) |