vcl/source/window/window2.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 0e736b0c20e096c5daf59f141b4509cfcc159a79 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Mon Aug 23 10:06:26 2021 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Tue Oct 5 16:51:12 2021 +0200
Check mpWindowImpl before use in Window::EndTracking Change-Id: I0a4ddd1b61f5919f346bb2f3a1e2ca9fbad958bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120860 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Andras Timar <andras.ti...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122108 Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123098 Tested-by: Jenkins diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index cd596b240012..bf58278e5b15 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -286,6 +286,7 @@ void Window::EndTracking( TrackingEventFlags nFlags ) ReleaseMouse(); // call EndTracking if required + if (mpWindowImpl && mpWindowImpl->mpFrameData) { Point aMousePos( mpWindowImpl->mpFrameData->mnLastMouseX, mpWindowImpl->mpFrameData->mnLastMouseY ); if( GetOutDev()->ImplIsAntiparallel() )