diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-14 12:01:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-14 12:01:22 +0200 |
commit | 69581b948de89db188197bce3a55d7eb07229f8e (patch) | |
tree | f36704dca78f4199046778f771a63fcc8ab3010d /sd | |
parent | 40f8c14be28aeb78fe758264b43a255d2bfd4938 (diff) |
warning C4701: potentially uninitialized local variable 'pPV' used
Change-Id: Icaba0cbeff8edf4bf389cf001462f157830b7afd
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) { |