sc/source/ui/miscdlgs/acredlin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6034b642581803e2cb2566abe0a0cab0cbfeb50a Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon May 31 11:41:27 2021 +0200 Commit: Noel Grandin <noel.gran...@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.gran...@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()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits