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

New commits:
commit 7d4644f0631d7b88514d9a92def06a463021f283
Author:     Luboš Luňák <[email protected]>
AuthorDate: Wed Mar 10 13:03:54 2021 +0100
Commit:     Michael Stahl <[email protected]>
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 <[email protected]>
    Reviewed-by: Luboš Luňák <[email protected]>
    Tested-by: Jenkins
    (cherry picked from commit 7ba7a1170a46ad340d06822a03f7196ccef29d84)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112227
    Reviewed-by: Michael Stahl <[email protected]>

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;
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to