[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 2 14:20:11 UTC 2020


 vcl/source/app/salvtables.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b4f7a08ea5d5fd39057f2a6c7f9a8c015370557f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun May 31 17:04:21 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jun 2 16:19:36 2020 +0200

    use extra optimization of fdo#75058 universally
    
    always use optimization of
    
    commit 0b03f7ed575838f90e6b1ebec3538a3a214f81fb
    Author: Kohei Yoshida <kohei.yoshida at 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 at redhat.com>

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();
     }


More information about the Libreoffice-commits mailing list