[Libreoffice-commits] core.git: vcl/skia

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 19 10:59:02 UTC 2020


 vcl/skia/gdiimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d70eb43f3a301750a7bc1c0afa06d423a7eca69
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Fri Jun 19 11:36:34 2020 +0200
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Fri Jun 19 12:58:24 2020 +0200

    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 at collabora.com>

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;


More information about the Libreoffice-commits mailing list