diff options
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index b3df086f64be..0072ec49f1b8 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3227,7 +3227,7 @@ ILibreOfficeKitNotifier::~ILibreOfficeKitNotifier() for (auto it = GetLOKWindowsMap().begin(); it != GetLOKWindowsMap().end();) { WindowImpl* pWindowImpl = it->second->ImplGetWindowImpl(); - if (pWindowImpl->mpLOKNotifier == this) + if (pWindowImpl && pWindowImpl->mpLOKNotifier == this) { pWindowImpl->mpLOKNotifier = nullptr; pWindowImpl->mnLOKWindowId = 0; |