vcl/source/window/window2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aea139c440d7c7a3683fcbbc48799bc79ba590e7
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Apr 27 11:16:33 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Tue Apr 27 16:49:15 2021 +0200

    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 <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 86dd53bcfb9f..f52478299a9b 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1347,7 +1347,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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to