summaryrefslogtreecommitdiff
path: root/cui
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 /cui
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 'cui')
-rw-r--r--cui/source/tabpages/numpages.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index f785bbec456e..e6d35cf4e517 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -1410,7 +1410,7 @@ void SvxNumOptionsTabPage::Reset( const SfxItemSet* rSet )
{
sal_uInt16 nEntryData = (sal_uInt16)reinterpret_cast<sal_uLong>(m_pFmtLB->GetEntryData(i - 1));
if(/*SVX_NUM_NUMBER_NONE == nEntryData ||*/
- ((SVX_NUM_BITMAP|LINK_TOKEN) == nEntryData))
+ (SVX_NUM_BITMAP|LINK_TOKEN) == nEntryData)
m_pFmtLB->RemoveEntry(i - 1);
}
}