[Poppler-bugs] [Bug 101795] crash when removing annotation of page

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 1 09:41:39 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101795

--- Comment #2 from Jannick <thirdedition at gmx.net> ---
Created attachment 133166
  --> https://bugs.freedesktop.org/attachment.cgi?id=133166&action=edit
Remove annots in page class

Yes - attached. The code works well AFTER applying the patch. It uses

page->removeAnnot(page->getAnnots()->getAnnot(i)); 

For reference reasons the related thread incl. sample code and the starting
discussion(https://lists.freedesktop.org/archives/poppler/2017-July/012306.html)
using

annots->removeAnnot(annots->getAnnot(i_annot));

instead which does ultimately not remove the annots which is why I had to
choose page->removeAnnot.

-- 
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/poppler-bugs/attachments/20170801/78d87c58/attachment.html>


More information about the Poppler-bugs mailing list