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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Mon May 31 13:19:11 UTC 2021


 sc/source/ui/miscdlgs/acredlin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6034b642581803e2cb2566abe0a0cab0cbfeb50a
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon May 31 11:41:27 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon May 31 15:18:16 2021 +0200

    properly fix leak in ScAcceptChgDlg
    
    Change-Id: I4b6bb075c6511ac8ab8ab6f274977fd140925c41
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116442
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index 1f8f06e7a451..68ce160809fa 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -278,7 +278,7 @@ void ScAcceptChgDlg::ClearView()
     nAcceptCount=0;
     nRejectCount=0;
     weld::TreeView& rTreeView = pTheView->GetWidget();
-    rTreeView.selected_foreach(
+    rTreeView.all_foreach(
         [&rTreeView](weld::TreeIter& rEntry)
         {
             ScRedlinData *pEntryData = reinterpret_cast<ScRedlinData*>(rTreeView.get_id(rEntry).toInt64());


More information about the Libreoffice-commits mailing list