summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltbli.cxx
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 /sw/source/filter/xml/xmltbli.cxx
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 'sw/source/filter/xml/xmltbli.cxx')
-rw-r--r--sw/source/filter/xml/xmltbli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 885abd80a5e5..2ea89d1cfe64 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -222,7 +222,7 @@ public:
bool IsCovered() const { return mbCovered; }
bool HasStringValue() const { return m_bHasStringValue; }
OUString const* GetStringValue() const {
- return (m_bHasStringValue) ? &m_StringValue : nullptr;
+ return m_bHasStringValue ? &m_StringValue : nullptr;
}
const SwStartNode *GetStartNode() const { return pStartNode; }