[Libreoffice-commits] core.git: Branch 'feature/gsoc17-revamp-customize-dialog' - cui/source

Muhammet Kara muhammet.kara at pardus.org.tr
Wed Jun 28 11:27:48 UTC 2017


 cui/source/customize/acccfg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8cf31f15b3c8af2c5453c980e23cfc31cf34f519
Author: Muhammet Kara <muhammet.kara at pardus.org.tr>
Date:   Wed Jun 28 11:15:48 2017 +0300

    Use SvTreeListBox's own method: RemoveEntry
    
    Change-Id: I3d0c605450dc2b847ac3fa46b9d050720a7a1a03
    Reviewed-on: https://gerrit.libreoffice.org/39350
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Muhammet Kara <muhammet.kara at pardus.org.tr>

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)
         {


More information about the Libreoffice-commits mailing list