diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-25 15:09:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-26 11:38:09 +0200 |
commit | 299122e3d0a3ecf1862c26e92eb1e08884fca6f8 (patch) | |
tree | 69f1705bee6633378e77d2ea3e35e6f804c159e1 /svtools/source | |
parent | 357fff1574ef29732b8a5209af97d9d026ccc650 (diff) |
survive focus change during dispose
Change-Id: I34b5941b01bc0880945aaae39e0b7c4beb4e0575
Reviewed-on: https://gerrit.libreoffice.org/79559
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/brwbox/brwbox1.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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 || |