summaryrefslogtreecommitdiff
path: root/vcl/skia
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-06-19 11:36:34 +0200
committerLuboš Luňák <l.lunak@collabora.com>2020-06-19 12:58:24 +0200
commit7d70eb43f3a301750a7bc1c0afa06d423a7eca69 (patch)
treee5ea2854df8f8de9bbc491910b00d19ab48dfaa2 /vcl/skia
parent6bbc740b72f1629c82440b3b4f09849d3d49c01a (diff)
fix coordinate typo in Skia drawTransformedBitmap() (tdf#134129)
Change-Id: I562aae9f55701477acd6b5d2cc8a556f3449ecb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96688 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/skia')
-rw-r--r--vcl/skia/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx
index c9e420057fd4..47f857235f4f 100644
--- a/vcl/skia/gdiimpl.cxx
+++ b/vcl/skia/gdiimpl.cxx
@@ -1400,7 +1400,7 @@ bool SkiaSalGraphicsImpl::drawTransformedBitmap(const basegfx::B2DPoint& rNull,
SAL_INFO("vcl.skia.trace", "drawtransformedbitmap(" << this << "): " << aSize << " " << rNull
<< ":" << rX << ":" << rY);
- const Size imageSize(aXRel.getLength(), aXRel.getLength());
+ const Size imageSize(aXRel.getLength(), aYRel.getLength());
sk_sp<SkImage> imageToDraw = mergeBitmaps(rSkiaBitmap, pSkiaAlphaBitmap, imageSize);
if (!imageToDraw)
return false;