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

--- Comment #2 from Telesto <tele...@surfxs.nl> ---
Created attachment 161223
  --> https://bugs.documentfoundation.org/attachment.cgi?id=161223&action=edit
Bibisect log

Bisected to
author  Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> 2018-04-14 15:13:05
+0900
committer       Tomaž Vajngerl <qui...@gmail.com>       2018-04-20 09:15:22
+0200
commit  7b355669c6ddeab2e6cec692d6afdff41c61d0fb (patch)
tree    46c55326bccfa68a2bb5fad6d637e0f4576c8d68
parent  663fd3d6e1f93ec989dc289e688d5dbfe434cbca (diff)
Function to load graphic swapped out (loaded on demand)
When a document is loaded it takes a lot of time and memory to
load the graphic that are in the documet, so avoid that and just
store the compressed graphic into a temporary file (handeled by
GfxLink) and load when we really need to show the graphic.

GraphicObject cached some attributes from Graphic, but this
attributes now aren't available immediately so this attributes
are removed form GraphicObject and now delegate to the Graphic
itself. GetSizeBytes attribute however was removed as it is
only used in some tests.

GfxLink initial values were moved to the constructor and are
not set in the header file anymore (as it is the recommended
way to do it).

The SdImportTest::testDocumentLayout failed as it looks like the
dump sometimes didn't include the width and height of the null
bitmap (which is set to 32x32) of the FillBitmap in some
situations, but then in other situations it did include this
attributes. With this change the width and height are always
included for the FillBitmap which looks like it is more correct

https://cgit.freedesktop.org/libreoffice/core/commit/?id=7b355669c6ddeab2e6cec692d6afdff41c61d0fb

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to