summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-31 11:41:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-31 15:18:16 +0200
commit6034b642581803e2cb2566abe0a0cab0cbfeb50a (patch)
treebc7eea78f7bb34a1afe97dd93363f5ae1d060082 /sc
parentbf571610d34111198b98bae30042fb23a4c0f4a4 (diff)
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@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/miscdlgs/acredlin.cxx2
1 files changed, 1 insertions, 1 deletions
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());