[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - vcl/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 31 11:45:07 UTC 2021
vcl/source/window/window2.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 50371bd2beb3d881edfc666aac1145c9d870d8e7
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Aug 23 10:06:26 2021 +0200
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Aug 31 13:44:29 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index d2db1bb62670..88bf838cf846 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( ImplIsAntiparallel() )
More information about the Libreoffice-commits
mailing list