summaryrefslogtreecommitdiff
path: root/framework/source/xml
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 /framework/source/xml
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 'framework/source/xml')
-rw-r--r--framework/source/xml/acceleratorconfigurationreader.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/source/xml/acceleratorconfigurationreader.cxx b/framework/source/xml/acceleratorconfigurationreader.cxx
index ea945756c6db..6c50e40cf284 100644
--- a/framework/source/xml/acceleratorconfigurationreader.cxx
+++ b/framework/source/xml/acceleratorconfigurationreader.cxx
@@ -75,10 +75,7 @@ void SAL_CALL AcceleratorConfigurationReader::endDocument()
// The xml file seems to be corrupted.
// Because we found no end-tags ... at least for
// one list or item.
- if (
- (m_bInsideAcceleratorList) ||
- (m_bInsideAcceleratorItem)
- )
+ if (m_bInsideAcceleratorList || m_bInsideAcceleratorItem)
{
THROW_PARSEEXCEPTION("No matching start or end element 'acceleratorlist' found!")
}