Kaydet (Commit) 0dec0ffe authored tarafından Miklos Vajna's avatar Miklos Vajna

cid#1358429 null pointer dereference

Change-Id: Iec3e2218c356c5a3d01edc0aa55ad9fd18e957f2
üst b8466774
......@@ -2438,9 +2438,9 @@ void SdXImpressDocument::postMouseEvent(int nType, int nX, int nY, int nCount, i
SolarMutexGuard aGuard;
DrawViewShell* pViewShell = GetViewShell();
Window* pWindow = pViewShell->GetActiveWindow();
if (!pViewShell)
return;
Window* pWindow = pViewShell->GetActiveWindow();
Point aPos(Point(convertTwipToMm100(nX), convertTwipToMm100(nY)));
MouseEvent aEvent(aPos, nCount,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment