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

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Thu Mar 11 10:46:34 UTC 2021


 vcl/skia/salbmp.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7d4644f0631d7b88514d9a92def06a463021f283
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Mar 10 13:03:54 2021 +0100
Commit:     Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Thu Mar 11 11:44:58 2021 +0100

    forgotten ComputeScanlineSize() (tdf#140917)
    
    Change-Id: Id139cea52832b7973dfac47d309d5bba8299b4e1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112263
    Reviewed-by: Mark Hung <marklh9 at gmail.com>
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
    Tested-by: Jenkins
    (cherry picked from commit 7ba7a1170a46ad340d06822a03f7196ccef29d84)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112227
    Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>

diff --git a/vcl/skia/salbmp.cxx b/vcl/skia/salbmp.cxx
index eeb528267b0f..e29f84b90b53 100644
--- a/vcl/skia/salbmp.cxx
+++ b/vcl/skia/salbmp.cxx
@@ -320,6 +320,7 @@ bool SkiaSalBitmap::Scale(const double& rScaleX, const double& rScaleY, BmpScale
     if (mEraseColorSet)
     { // Simple.
         mSize = mPixelsSize = newSize;
+        ComputeScanlineSize();
         EraseInternal(mEraseColor);
         return true;
     }


More information about the Libreoffice-commits mailing list