Hi Dennis,

On Fri, Aug 28, 2015 at 6:58 AM, Dennis Francis <dennisfrancis...@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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to