summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-05 13:44:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-06 06:47:06 +0100
commita2e3705d8b3b05ae664d54b762d6ff72927d5e48 (patch)
tree6ac31f9c9b419b12dbf065845a6941c143f57e2c /sal/qa
parentf423ac2d3bdba4263f1f41e31e7e2b7715afdd6e (diff)
loplugin:unnecessaryparen improve member expression
Change-Id: I304621018cb1e2a47e478e86df4229bcf2176741 Reviewed-on: https://gerrit.libreoffice.org/68757 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/osl/module/osl_Module.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/osl/module/osl_Module.cxx b/sal/qa/osl/module/osl_Module.cxx
index 65be1ffacab1..52112cb9f151 100644
--- a/sal/qa/osl/module/osl_Module.cxx
+++ b/sal/qa/osl/module/osl_Module.cxx
@@ -83,7 +83,7 @@ namespace osl_Module
&osl_Module::testClass::myFunc),
aFileURL);
- if ( !( bRes ) )
+ if ( !bRes )
{
CPPUNIT_ASSERT_MESSAGE("Cannot locate current module.", false );
}
@@ -117,7 +117,7 @@ namespace osl_Module
reinterpret_cast<oslGenericFunction>(
&osl_Module::testClass::myFunc),
aFileURL);
- if ( !( bRes ) )
+ if ( !bRes )
{
CPPUNIT_ASSERT_MESSAGE("Cannot locate current module.", false );
}
@@ -138,7 +138,7 @@ namespace osl_Module
OUString aFileURL;
bRes = osl::Module::getUrlFromAddress(
reinterpret_cast<oslGenericFunction>(pFunc), aFileURL);
- if ( !( bRes ) )
+ if ( !bRes )
{
CPPUNIT_ASSERT_MESSAGE("Cannot locate current module.", false );
}
@@ -228,7 +228,7 @@ namespace osl_Module
reinterpret_cast<oslGenericFunction>(
osl_Module::testClass::myFunc),
aFileURL);
- if ( !( bRes ) )
+ if ( !bRes )
{
CPPUNIT_ASSERT_MESSAGE("Cannot locate current module - using executable instead", false );
}