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

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 24 13:29:58 UTC 2021


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

New commits:
commit febc5c7e7b15e84019e308d695372472a9baedf5
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Mar 10 13:03:54 2021 +0100
Commit:     Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
CommitDate: Wed Mar 24 14:29:21 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>
    (cherry picked from commit 7d4644f0631d7b88514d9a92def06a463021f283)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112297
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

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