vcl/source/window/mouse.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit a9be0b6a4e39240871a9b35ae9afd04f242a3ea4 Author: Michael Meeks <michael.me...@collabora.com> Date: Wed Mar 1 15:13:19 2017 +0000 Tolerate mouse move generation on disposed windows. http://crashreport.libreoffice.org/stats/crash_details/524d28fb-4fd2-4d11-83b1-1360b5ab5068 Change-Id: I19a13f751b5cf000c9938ff991d7d44bba0a4de7 Reviewed-on: https://gerrit.libreoffice.org/34756 Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx index d6bf320..b4f2f6d 100644 --- a/vcl/source/window/mouse.cxx +++ b/vcl/source/window/mouse.cxx @@ -160,7 +160,8 @@ void Window::ImplCallMouseMove( sal_uInt16 nMouseCode, bool bModChanged ) void Window::ImplGenerateMouseMove() { - if ( !mpWindowImpl->mpFrameData->mnMouseMoveId ) + if ( mpWindowImpl && mpWindowImpl->mpFrameData && + !mpWindowImpl->mpFrameData->mnMouseMoveId ) mpWindowImpl->mpFrameData->mnMouseMoveId = Application::PostUserEvent( LINK( mpWindowImpl->mpFrameWindow, Window, ImplGenerateMouseMoveHdl ), nullptr, true ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits