summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdmrkv.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:33:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:29 +0200
commit24df2bd5cb68f8de5e22a27f6a3505d099bc3581 (patch)
tree1b7d12fd9658bd0942c350d86f4ddda3f69b2a3f /svx/source/svdraw/svdmrkv.cxx
parentb0d9184ad2dab26e7ee17d8c0ace9f5e5e753026 (diff)
loplugin:simplifybool
Change-Id: I02bc964fd2b240fb5238e3de72239d410587ae5c
Diffstat (limited to 'svx/source/svdraw/svdmrkv.cxx')
-rw-r--r--svx/source/svdraw/svdmrkv.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 93141e73ca8a..1bb16bc1873d 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1474,8 +1474,7 @@ bool SdrMarkView::MarkNextObj(const Point& rPnt, short nTol, bool bPrev)
E3dScene* pScene = NULL;
SdrObject* pObjHit = (bPrev) ? pBtmObjHit : pTopObjHit;
bool bRemap = pObjHit->ISA(E3dCompoundObject)
- ? static_cast<E3dCompoundObject*>(pObjHit)->IsAOrdNumRemapCandidate(pScene)
- : false;
+ && static_cast<E3dCompoundObject*>(pObjHit)->IsAOrdNumRemapCandidate(pScene);
if(bPrev)
{