Deletion of vcl::Window's inside ToolBar
Maxim Monastirsky
momonasmon at gmail.com
Fri Aug 28 06:08:01 PDT 2015
Hi Dennis,
On Fri, Aug 28, 2015 at 6:58 AM, Dennis Francis
<dennisfrancis.in at gmail.com> wrote:
> I tried calling disposeAndClear() on mpWindow
JFYI there is already a call to disposeAndClear() in
SfxToolBoxControl::dispose().
> it was clear that ref counts gets added for each font added to the
> font list box widget while calling the constructor of
> ImplFontListFontInfo.
Good finding.
> Please suggest any better methods that I may have missed.
Well, for me adding a manual m_aOwnFontList.reset() to
SvxFontNameBox_Impl::dispose() seems to do the job.
Maxim
More information about the LibreOffice
mailing list