[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - vcl/skia

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


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

New commits:
commit 17c7cff57d574a041e7cc574ebf9bb59be4b2395
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 14:56:46 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>
    (cherry picked from commit 18a7ecf78fcbee8101313f81bea8fbd5449a2482)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96695

diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx
index 7acb0f35d07f..b632f6369363 100644
--- a/vcl/skia/gdiimpl.cxx
+++ b/vcl/skia/gdiimpl.cxx
@@ -1407,7 +1407,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