diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-11 09:16:13 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-11 09:50:56 +0200 |
commit | 0dec0ffec52a7dc01ac3f8ef26bd5a7d12ac4cf2 (patch) | |
tree | 01dfb7921bc23c774fe66dbbf0a16d5e9edc9a6e /sd | |
parent | b846677427015231d4b377bbcae9ae3618baf1cf (diff) |
cid#1358429 null pointer dereference
Change-Id: Iec3e2218c356c5a3d01edc0aa55ad9fd18e957f2
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index a44f12ed6f73..bb58cd2b426f 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -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, |