diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-14 15:04:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-14 18:26:09 +0200 |
commit | 53e4e87d4bccdc12f6b87166b9123de627b844f9 (patch) | |
tree | b9010df663f1cfb21b4bd4de90c6584be358cd3c /vcl/headless | |
parent | 9eaaf97ab32068a619b5c36772619b7e66268800 (diff) |
ImageTree::getImageStream may sub a req for a .png with svg data
so we can't rely on the input path name as to its data format.
its going to be either png or data, so select which based on the first
byte, so presumably keeping the startup optimization of
commit 9e5cbcf90f15f46f84900a58bcaee437b98587f6
Date: Wed Dec 18 15:35:19 2019 +0200
load images by explicit type
Change-Id: I0b2b743c138075f651d376767984be88745327a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104287
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/headless')
0 files changed, 0 insertions, 0 deletions