summaryrefslogtreecommitdiff
path: root/vcl/source/app/weldutils.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-08-09 16:16:35 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-08-09 20:10:41 +0200
commit82a444eabc38b74d762debb6f1af50e93e5b74f1 (patch)
tree2a70d09b61ed5a283dcc25fc988eacd907590dfb /vcl/source/app/weldutils.cxx
parent233286df08aeedb4e228fd523365b94543b16fca (diff)
sw HTML export: avoid writing EMF data with JPG extension
Regression from commit f3b2fc2276ee8a7f64e73d9975d0143d1696362c (sw XHTML import, improved <object> handling for images: support more formats, 2021-07-20), the problem was that now an EMF image was written with the JPG extension in the HTML export. Solve the problem by making the "use emf as-is" check more strict in XOutBitmap::WriteGraphic(): that will be still true in the XHTML case when the source image is EMF, but the filter name will be JPG in the HTML case, so that will avoid the unwanted EMF data in the HTML case. Change-Id: I7bced482d677cf121be1ed494a3aaeb319e1c5b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120209 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'vcl/source/app/weldutils.cxx')
0 files changed, 0 insertions, 0 deletions