[Libreoffice-commits] core.git: vcl/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Tue May 21 07:04:50 UTC 2019


 vcl/source/window/event.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 08509b747c9077e4753759338a899b76514ba3b7
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Mon May 20 18:29:05 2019 +0200
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Tue May 21 09:03:42 2019 +0200

    tdf#125370 Fix crash when opening basic editor
    
    Change-Id: I036a0e58bb763912f6ed0df0c964331754756628
    Reviewed-on: https://gerrit.libreoffice.org/72609
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index b786552a6789..c8c6b730e1dd 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -217,7 +217,7 @@ void Window::CallEventListeners( VclEventId nEvent, void* pData )
 
     // If maEventListeners is empty, the XVCLWindow has not yet been initialized.
     // Calling GetComponentInterface will do that.
-    if (mpWindowImpl->maEventListeners.empty())
+    if (mpWindowImpl->maEventListeners.empty() && pData)
         xWindow->GetComponentInterface();
 
     if (!mpWindowImpl->maEventListeners.empty())


More information about the Libreoffice-commits mailing list