summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:29:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:31:02 +0200
commit61e5ba62f5f4a275d26eb7e36fa9e885774ad0cb (patch)
treeb4768d4b7bec9c6806d91489f74f42ef52989341 /svx/source/form
parent79faad753fab8db49582c55ef0082588ae2521a0 (diff)
More loplugin:simplifybool
Change-Id: I8dce5186e3b95082fe5c282493424534d469cd51
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/datanavi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index 381fc843cb9d..6c63be19590a 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -1268,7 +1268,7 @@ namespace svxform
if ( pNode && ( pNode->m_xNode.is() || pNode->m_xPropSet.is() ) )
{
bEnableEdit = true;
- bEnableRemove = ( bSubmitChild != true );
+ bEnableRemove = !bSubmitChild;
if ( DGTInstance == m_eGroup && !m_pItemList->GetParent( pEntry ) )
bEnableRemove = false;
if ( pNode->m_xNode.is() )