summaryrefslogtreecommitdiff
path: root/sw/source/filter/docx/swdocxreader.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-18 18:04:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-18 18:06:54 +0200
commitc345299186841ccb1fe846f6f277039c188941d6 (patch)
tree2d1f065903342a52a77f76ecd73ff7a1fb752386 /sw/source/filter/docx/swdocxreader.cxx
parent1be2684512e5ad21526c65ee04acf2c71a8691b6 (diff)
Remove parentheses around some comparisons
...where Clang would otherwise start to emit -Wparentheses-equality as soon as the order of arguments were switched by loplugin:comparisonwithconstant Change-Id: If064c2c6e2f81478154395137138b71f2d1c6534
Diffstat (limited to 'sw/source/filter/docx/swdocxreader.cxx')
-rw-r--r--sw/source/filter/docx/swdocxreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/docx/swdocxreader.cxx b/sw/source/filter/docx/swdocxreader.cxx
index 501b0e567a18..bba7dd1ff723 100644
--- a/sw/source/filter/docx/swdocxreader.cxx
+++ b/sw/source/filter/docx/swdocxreader.cxx
@@ -151,7 +151,7 @@ bool SwDOCXReader::MakeEntries( SwDoc *pD, SwTextBlocks &rBlocks )
if( rIdx.GetNode().GetTextNode() &&
rIdx.GetNode().GetTextNode()->GetText().isEmpty() )
rIdx = aStart.GetNode().EndOfSectionIndex() - 2;
- if( ( nullptr == ( pCNd = rIdx.GetNode().GetContentNode() ) ) )
+ if( nullptr == ( pCNd = rIdx.GetNode().GetContentNode() ) )
{
++rIdx;
pCNd = pD->GetNodes().MakeTextNode( rIdx, pColl );