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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 26 09:39:09 UTC 2019


 svtools/source/brwbox/brwbox1.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 299122e3d0a3ecf1862c26e92eb1e08884fca6f8
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Sep 25 15:09:46 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Sep 26 11:38:09 2019 +0200

    survive focus change during dispose
    
    Change-Id: I34b5941b01bc0880945aaae39e0b7c4beb4e0575
    Reviewed-on: https://gerrit.libreoffice.org/79559
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 0016b3b8cd05..2aead90c8d04 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -1866,6 +1866,9 @@ void BrowseBox::MakeFieldVisible
 */
 
 {
+    if (!pDataWin)
+        return;
+
     Size aTestSize = pDataWin->GetSizePixel();
 
     if ( !bBootstrapped ||


More information about the Libreoffice-commits mailing list