From 91c838a4c9d0d7a8438e2e76a3636dc67a6221bb Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Wed, 28 Jun 2017 11:15:48 +0300 Subject: Use SvTreeListBox's own method: RemoveEntry Change-Id: I3d0c605450dc2b847ac3fa46b9d050720a7a1a03 Reviewed-on: https://gerrit.libreoffice.org/39350 Tested-by: Jenkins Reviewed-by: Muhammet Kara (cherry picked from commit 8cf31f15b3c8af2c5453c980e23cfc31cf34f519) Reviewed-on: https://gerrit.libreoffice.org/39372 --- cui/source/customize/acccfg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source') diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index ce1c0d552004..73ed7747c48a 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -1544,7 +1544,7 @@ SvTreeListEntry* SfxAcceleratorConfigPage::applySearchFilter(OUString& rSearchTe if (!textSearch.SearchForward( aStr, &aStartPos, &aEndPos )) { - rListBox->GetModel()->Remove(pEntry); + rListBox->RemoveEntry(pEntry); } else if (!pFirstMatch) { -- cgit v1.2.3