Deletion of vcl::Window's inside ToolBar

Dennis Francis dennisfrancis.in at gmail.com
Fri Aug 21 11:21:15 PDT 2015


Hi all,

I am trying to understand where the SvxFontNameBox_Impl objects are
deallocated. With help from
gdb and opengrok, I found that it is held in ImplToolItem::mpWindow. But in
ImplToolItem destructor it says clearly not to remove mpWindow as a comment.

ImplToolItem::~ImplToolItem() {
// don't dispose mpWindow - we get copied around.
}


Now I am stuck, as I cannot find any object that gets hold of mpWindow and
own it. It would be really helpful if somebody give me a hint on this.

Thanks,
Dennis

http://www.ldcs.co.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150821/589edd24/attachment.html>


More information about the LibreOffice mailing list