diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-09-30 21:36:56 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-10-01 09:03:20 +0200 |
commit | 12273af6f18edade1bdda828fe270fa37960e14f (patch) | |
tree | d817427bc3cb5b7d55805119548df7d77decb13d /odk/Executable_unoapploader.mk | |
parent | 97bb94979b032eb93d6de5c36831dde39f36fb74 (diff) |
tdf#127446 vcl image lazy-load: fix custom size handling of metafiles
This is a regression from commit
acb803b730f2c6bd82e39beab58949ec14f85eb0 (tdf#125591 DOC import:
lazy-load metafiles with explicit size, 2019-06-11), which assumed that
once maSwapInfo.maPrefSize stores the preferred size, it'll be set on
the Graphic when it's loaded later.
It seems there was no support for that, it was just an accident that the
guessed size of the metafile was about right.
Handle this explicitly in ImpGraphic::loadPrepared(), so that the bugdoc
(which has a custom preferred size) aspect ratio is correct.
Change-Id: Ic7c4009ad6723a2e16129d27600c904311ff3daf
Reviewed-on: https://gerrit.libreoffice.org/79899
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'odk/Executable_unoapploader.mk')
0 files changed, 0 insertions, 0 deletions