[Libreoffice-bugs] [Bug 112658] TextEngine::SetAttrib(TextAttrib const&, unsigned int, int, int, bool) leaks memory with multiple invocations

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 27 08:30:57 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=112658

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |serval2412 at yahoo.fr

--- Comment #5 from Julien Nabet <serval2412 at yahoo.fr> ---
(In reply to Telesto from comment #3)
> (In reply to Julien Nabet from comment #2)
> > I'll give it a try.
> Is this one related: https://gerrit.libreoffice.org/#/c/42787/ ?

It may help but don't think so.

I think we should even change:
void SentenceEditWindow_Impl::SetAttrib( const TextAttrib& rAttr, sal_uInt32
nPara, sal_uInt16 nStart, sal_uInt16 nEnd )
to void SentenceEditWindow_Impl::SetAttrib( const TextAttrib& rAttr, sal_uInt32
nPara, sal_Int32 nStart, sal_Int32 nEnd )

to match with:
void TextEngine::SetAttrib( const TextAttrib& rAttr, sal_uInt32 nPara,
sal_Int32 nStart, sal_Int32 nEnd, bool bIdleFormatAndUpdate )

It supposes to change m_nErrorStart and m_nErrorEnd

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170927/fda94e5b/attachment.html>


More information about the Libreoffice-bugs mailing list