Hi,
On Tue, Aug 25, 2015 at 5:08 PM, Caolán McNamara <[email protected]>
wrote:
i.e. what entity put the item into the toolbar is the same entity that
has to remove it and dispose it.
Just to add some specific code pointers:
The window items are added to the toolbar in
ToolBarManager::CreateControllers, and removed in
ToolBarManager::RemoveControllers. It also calls the dispose method of
the (XToolbarController based) controller, which in turn calls
disposeAndClear of that window. In case of the font name box, it's in
SfxToolBoxControl::dispose.
Maxim
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice