[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 8 10:00:08 UTC 2019
sfx2/source/appl/workwin.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 21418f446073131e253b32f4ac098c449330cc72
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 4 09:07:29 2019 +0100
Commit: Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Mon Apr 8 11:59:47 2019 +0200
rhbz#1696037 null-deref
Change-Id: I1a9eb5b1b38e2ec651f2d0286337106ab565a9dc
Reviewed-on: https://gerrit.libreoffice.org/70244
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index b7f6eddd9777..b3c12fe6bf16 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -1501,6 +1501,11 @@ void SfxWorkWindow::HidePopups_Impl(bool bHide, sal_uInt16 nId )
{
vcl::Window *pWin = pCW->GetWindow();
SfxChild_Impl *pChild = FindChild_Impl(*pWin);
+ if (!pChild)
+ {
+ SAL_WARN("sfx.appl", "missing SfxChild_Impl child!");
+ continue;
+ }
if (bHide)
{
pChild->nVisible &= ~SfxChildVisibility::ACTIVE;
More information about the Libreoffice-commits
mailing list