summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-31 17:04:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-02 16:19:36 +0200
commitb4f7a08ea5d5fd39057f2a6c7f9a8c015370557f (patch)
treeab11e9f144ad21a12be0cebef2b82ed9b0ca31f3 /vcl/source
parent861fbd998f2b526c2aea073c9471613bf728fa75 (diff)
use extra optimization of fdo#75058 universally
always use optimization of commit 0b03f7ed575838f90e6b1ebec3538a3a214f81fb Author: Kohei Yoshida <kohei.yoshida@collabora.com> Date: Tue Apr 29 16:25:47 2014 -0400 fdo#75058: Optimize autofilter item filling for non-tree items. when frozen Change-Id: Ib86815cd44e0d0f547f2493fe005d7b1c4bf2fd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95222 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/salvtables.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 846bbfa98e46..1f0c05e292db 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -3333,10 +3333,12 @@ public:
{
SalInstanceWidget::freeze();
m_xTreeView->SetUpdateMode(false);
+ m_xTreeView->GetModel()->EnableInvalidate(false);
}
virtual void thaw() override
{
+ m_xTreeView->GetModel()->EnableInvalidate(true);
m_xTreeView->SetUpdateMode(true);
SalInstanceWidget::thaw();
}