diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-05 08:32:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-05 11:08:48 +0200 |
commit | 4b2262ab5b10f334f1984fec84d2978db81c58f1 (patch) | |
tree | de56663eba6ed2edf7a26127339dd8563fdf47be /stoc | |
parent | ec1de6895d84fbe4f2d5fb7135a59a918138d970 (diff) |
new loplugin unnecessaryparen
Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec
Reviewed-on: https://gerrit.libreoffice.org/39549
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/inspect/introspection.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index 1089e1477f8e..65dc5d026710 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -1924,44 +1924,44 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect( INDEXCONTAINER | ENUMERATION ); pAccess->mbElementAccess = true; - } else if ((className - == "com.sun.star.container.XNameContainer")) + } else if (className + == "com.sun.star.container.XNameContainer") { rMethodConcept_i |= NAMECONTAINER; pAccess->mbNameContainer = true; pAccess->mbNameReplace = true; pAccess->mbNameAccess = true; pAccess->mbElementAccess = true; - } else if ((className - == "com.sun.star.container.XNameReplace")) + } else if (className + == "com.sun.star.container.XNameReplace") { rMethodConcept_i |= NAMECONTAINER; pAccess->mbNameReplace = true; pAccess->mbNameAccess = true; pAccess->mbElementAccess = true; - } else if ((className - == "com.sun.star.container.XNameAccess")) + } else if (className + == "com.sun.star.container.XNameAccess") { rMethodConcept_i |= NAMECONTAINER; pAccess->mbNameAccess = true; pAccess->mbElementAccess = true; - } else if ((className - == "com.sun.star.container.XIndexContainer")) + } else if (className + == "com.sun.star.container.XIndexContainer") { rMethodConcept_i |= INDEXCONTAINER; pAccess->mbIndexContainer = true; pAccess->mbIndexReplace = true; pAccess->mbIndexAccess = true; pAccess->mbElementAccess = true; - } else if ((className - == "com.sun.star.container.XIndexReplace")) + } else if (className + == "com.sun.star.container.XIndexReplace") { rMethodConcept_i |= INDEXCONTAINER; pAccess->mbIndexReplace = true; pAccess->mbIndexAccess = true; pAccess->mbElementAccess = true; - } else if ((className - == "com.sun.star.container.XIndexAccess")) + } else if (className + == "com.sun.star.container.XIndexAccess") { rMethodConcept_i |= INDEXCONTAINER; pAccess->mbIndexAccess = true; |