Check mpWindowImpl before use in Window::EndTracking
Change-Id: I0a4ddd1b61f5919f346bb2f3a1e2ca9fbad958bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120860 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122108 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123098 Tested-by: Jenkins
This commit is contained in:
parent
a733c728a2
commit
0e736b0c20
@ -286,6 +286,7 @@ void Window::EndTracking( TrackingEventFlags nFlags )
|
|||||||
ReleaseMouse();
|
ReleaseMouse();
|
||||||
|
|
||||||
// call EndTracking if required
|
// call EndTracking if required
|
||||||
|
if (mpWindowImpl && mpWindowImpl->mpFrameData)
|
||||||
{
|
{
|
||||||
Point aMousePos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY );
|
Point aMousePos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY );
|
||||||
if( GetOutDev()->ImplIsAntiparallel() )
|
if( GetOutDev()->ImplIsAntiparallel() )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user