From 69581b948de89db188197bce3a55d7eb07229f8e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 14 Nov 2016 12:01:22 +0200 Subject: warning C4701: potentially uninitialized local variable 'pPV' used Change-Id: Icaba0cbeff8edf4bf389cf001462f157830b7afd --- sd/source/ui/func/fusel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/func') 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) { -- cgit