[Libreoffice-bugs] [Bug 113266] LO (UI) slow on opening specific 6 MB XLS with packed 45 MB drawing

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 2 14:55:19 UTC 2019


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

--- Comment #32 from Mike Kaganski <mikekaganski at hotmail.com> ---
(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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190502/7a63b0f6/attachment.html>


More information about the Libreoffice-bugs mailing list