summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-10 12:56:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-10 20:51:41 +0200
commitaa9a5e412490cd6b50f3861868a866d2d7fa5011 (patch)
treeecc0503b7deab06ab7e94a737db46e1dcbd9edd0 /vcl/source/control
parentac240585063b3b74d062e3ce5384ac0705f51425 (diff)
turn off any idle scheduled layout on hard layout
Change-Id: Iaccc043e4187b46135c017f05f6179d17564a735 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102389 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/InterimItemWindow.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/control/InterimItemWindow.cxx b/vcl/source/control/InterimItemWindow.cxx
index 132560247c74..3ed1107bea87 100644
--- a/vcl/source/control/InterimItemWindow.cxx
+++ b/vcl/source/control/InterimItemWindow.cxx
@@ -73,6 +73,7 @@ IMPL_LINK_NOARG(InterimItemWindow, DoLayout, Timer*, void) { Layout(); }
void InterimItemWindow::Layout()
{
+ m_aLayoutIdle.Stop();
vcl::Window* pChild = GetWindow(GetWindowType::FirstChild);
assert(pChild);
VclContainer::setLayoutAllocation(*pChild, Point(0, 0), GetSizePixel());