Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hello world,

Currently there is a RemoveSelection() method in SvTreeListBox which deletes the selected entry along with its children. But there is no method (that I could see) to delete an entry which is not currently selected. So you need to select each entry before removing, or get the pModel and call Remove method of it. Both cases have unnecessary overhead.

So I would like to add two new methods:

RemoveEntry(SvTreeListEntry* pEntry) //Remove with children
RemoveSingleEntry(SvTreeListEntry* pEntry) //Don't check for children

I appreciate suggestions if you think there is a better way. And feel free to use the methods after they get merged.

Cheers,
Muhammet

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.