summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2017-06-28 11:15:48 +0300
committerMuhammet Kara <muhammet.kara@pardus.org.tr>2017-06-28 20:53:31 +0200
commit91c838a4c9d0d7a8438e2e76a3636dc67a6221bb (patch)
treee78ffe56b0bf21d0b98043d79b72148b136669e3 /cui/source
parent0ac92837d31c4065be4a41e2a2541811c9f6be00 (diff)
Use SvTreeListBox's own method: RemoveEntry
Change-Id: I3d0c605450dc2b847ac3fa46b9d050720a7a1a03 Reviewed-on: https://gerrit.libreoffice.org/39350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr> (cherry picked from commit 8cf31f15b3c8af2c5453c980e23cfc31cf34f519) Reviewed-on: https://gerrit.libreoffice.org/39372
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/customize/acccfg.cxx2
1 files changed, 1 insertions, 1 deletions
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)
{