diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2015-02-14 00:31:54 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-02-17 06:15:54 +0000 |
commit | a8e6f0bea0e8bc028ee64d0b4d9046e52de94eda (patch) | |
tree | 49a2e34d88c5a0eb9d8a6a74e818d6597482fe36 /basctl/source/dlged/dlgedfunc.cxx | |
parent | a30e2cb912c6bae240ced35a392151e34090665b (diff) |
tdf#39440 - cppcheck cleanliness
Fixed some cppcheck defects
Change-Id: I25fd6aba9d76df98d20b9a1bb4c9d3c1bf6f84bb
Reviewed-on: https://gerrit.libreoffice.org/14487
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl/source/dlged/dlgedfunc.cxx')
-rw-r--r-- | basctl/source/dlged/dlgedfunc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx index 7beccb6ce29f..3937b20f35fe 100644 --- a/basctl/source/dlged/dlgedfunc.cxx +++ b/basctl/source/dlged/dlgedfunc.cxx @@ -459,8 +459,6 @@ bool DlgEdFuncSelect::MouseButtonDown( const MouseEvent& rMEvt ) if ( rMEvt.IsLeft() && rMEvt.GetClicks() == 1 ) { SdrHdl* pHdl = rView.PickHandle(aMDPos); - SdrObject* pObj; - SdrPageView* pPV; // hit selected object? if ( pHdl!=NULL || rView.IsMarkedHit(aMDPos, nHitLog) ) @@ -474,6 +472,8 @@ bool DlgEdFuncSelect::MouseButtonDown( const MouseEvent& rMEvt ) rView.UnmarkAll(); else { + SdrObject* pObj; + SdrPageView* pPV; if( rView.PickObj( aMDPos, nHitLog, pObj, pPV ) ) { //if (dynamic_cast<DlgEdForm*>(pObj)) |