Kaydet (Commit) 08509b74 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

tdf#125370 Fix crash when opening basic editor

Change-Id: I036a0e58bb763912f6ed0df0c964331754756628
Reviewed-on: https://gerrit.libreoffice.org/72609
Tested-by: Jenkins
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 23c159d9
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment