diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-12-27 14:19:22 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-12-27 14:28:42 +0100 |
commit | 4148ba7075159c9966b83594e51deb9c9759d722 (patch) | |
tree | 9f068c07cc5beea694b1c9c8a95cf04891949b31 | |
parent | 17f1b0f551dbacc24fe5e2c90d5f00e5578ab9e7 (diff) |
cppcheck: fix reassigned value
Change-Id: Iee162175b692d82679132ce32d026cb3b3bfa77e
-rw-r--r-- | reportdesign/source/ui/report/dlgedfunc.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index 28a12df042a8..ef5a8f670613 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -503,9 +503,8 @@ void DlgEdFunc::unColorizeOverlappedObj() // ----------------------------------------------------------------------------- bool DlgEdFunc::isOverlapping(const MouseEvent& rMEvt) { - bool bOverlapping = false; SdrViewEvent aVEvt; - bOverlapping = m_rView.PickAnything(rMEvt, SDRMOUSEBUTTONUP, aVEvt) != SDRHIT_NONE; + bool bOverlapping = m_rView.PickAnything(rMEvt, SDRMOUSEBUTTONUP, aVEvt) != SDRHIT_NONE; if (bOverlapping && aVEvt.pObj) { colorizeOverlappedObject(aVEvt.pObj); |