summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-04-27 11:16:33 +0100
committerAndras Timar <andras.timar@collabora.com>2021-05-01 20:59:10 +0200
commit7149defa3d18785603adcf3c0fc5221a42261494 (patch)
treebbe91d565fb54b9d3dea7f498d79541c4fac98e3
parent0199e092253845ca85ba57b1e35623616da6eacd (diff)
tdf#141854 Resize called during dispose
Change-Id: Ie5eaafa95704f9567b8bb9881865571a39bb2f6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114708 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit aea139c440d7c7a3683fcbbc48799bc79ba590e7) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114860 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
-rw-r--r--vcl/source/window/window2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index a729f655a93d..75885cb43d98 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1348,7 +1348,7 @@ void Window::queue_resize(StateChangedType eReason)
}
}
- if (bSomeoneCares && !mpWindowImpl->mbInDispose)
+ if (bSomeoneCares && !isDisposed())
{
//fdo#57090 force a resync of the borders of the borderwindow onto this
//window in case they have changed