diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-09-22 07:29:34 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-09-23 10:55:09 +0200 |
commit | 8679bf3ec608aec277fd677082aa5c38e63a65ce (patch) | |
tree | 71b81c214dc189c3e1c942de88484a3a81279b11 /hardened_runtime.xcent.in | |
parent | 2e1a1054a4a98415057e72269ace9db075d3b191 (diff) |
docx export: Use checksum as key to cache graphic, not Graphic*
The problem is when we have multiple identical images in the
document and try to export. Without this change, the images will
be duplicated because the cache is using Graphic*, for which the
instance changes all the time (is not unique). Using the checksum
will make sure that all the images with the same content will be
saved as one image into the document.
Change-Id: I980af2dba51060ce4320571aca14d21e26ed8976
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103132
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'hardened_runtime.xcent.in')
0 files changed, 0 insertions, 0 deletions