https://bugs.documentfoundation.org/show_bug.cgi?id=113266
--- Comment #32 from Mike Kaganski <[email protected]> ---
(In reply to Julien Nabet from comment #31)
> Taking a look at basegfx/source/polygon/b2dtrapezoid.cxx, I noticed this
> comment twice "consume both edges" (lines 714 and 872) but saw this:
> maTrDeEdgeEntries.pop_front();
> maTrDeEdgeEntries.pop_front();
>
> whereas I would have expected:
> maTrDeEdgeEntries.pop_front();
> maTrDeEdgeEntries.pop_back();
No problem there; the code checks if (bSameStartPoint && bSameEndPoint); the
two are comparison of aLeft and aRight; and the latter two are taken from
iterating maTrDeEdgeEntries twice from the beginning.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs