diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-06-16 18:21:10 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-06-17 06:16:28 +0200 |
commit | 8a5beccc19b4fdffb7b82ba5fd26f4cf316d9811 (patch) | |
tree | 8c394005bd0374d1af9e419aa9cda80e7e606d63 /sc | |
parent | 9ace7e3a6c2ebb8311a8277e05564953480aa3bc (diff) |
handle GC* pixmap functions on Mac reading past pixmap (tdf#145843)
The code passes adjusted position for pixel data in order to create
a sub-rect of the pixmap without copying, but at least on Intel Mac
the GC* functions then try to read the entire pixel row even though
it shouldn't be necessary. Since that may cause reading past the
pixmap data if the last line is involved, use entire pixmap width
to avoid that.
Change-Id: Ia08059b363d39dd465b2cadde5138ee045628f59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136003
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc')
0 files changed, 0 insertions, 0 deletions