diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-05-20 18:29:05 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-05-21 09:03:42 +0200 |
commit | 08509b747c9077e4753759338a899b76514ba3b7 (patch) | |
tree | eee780bac3444108a1b78cc42b5cf03cda0aae22 /vcl/source/window | |
parent | 23c159d948af360baecfe243e1321987760916d7 (diff) |
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@cib.de>
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/event.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |