diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fusel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx index b84a5fc183e5..5bdc4e01dbe0 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -172,7 +172,6 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) ******************************************************************/ mpWindow->CaptureMouse(); pHdl = mpView->PickHandle(aMDPos); - SdrPageView* pPV; long nAngle0 = GetAngle(aMDPos - mpView->GetRef1()); nAngle0 -= 27000; @@ -233,6 +232,7 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) } else { + SdrPageView* pPV = nullptr; SdrObject* pObj = !rMEvt.IsMod2() ? mpView->PickObj(aMDPos, mpView->getHitTolLog(), pPV, SdrSearchOptions::PICKMACRO) : nullptr; if (pObj) { |