summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-03-10 13:03:54 +0100
committerLuboš Luňák <l.lunak@collabora.com>2021-03-10 15:32:02 +0100
commit7ba7a1170a46ad340d06822a03f7196ccef29d84 (patch)
treeaa1166b5d24402a8fdb91460808580b64870657b
parenta561cc4a3de175daddab03b70369ad8ccd5d417f (diff)
forgotten ComputeScanlineSize() (tdf#140917)
Change-Id: Id139cea52832b7973dfac47d309d5bba8299b4e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112263 Reviewed-by: Mark Hung <marklh9@gmail.com> Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Jenkins
-rw-r--r--vcl/skia/salbmp.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/skia/salbmp.cxx b/vcl/skia/salbmp.cxx
index 68d2f9a76964..b94debcb7d3a 100644
--- a/vcl/skia/salbmp.cxx
+++ b/vcl/skia/salbmp.cxx
@@ -388,6 +388,7 @@ bool SkiaSalBitmap::Scale(const double& rScaleX, const double& rScaleY, BmpScale
if (mEraseColorSet)
{ // Simple.
mSize = mPixelsSize = newSize;
+ ComputeScanlineSize();
EraseInternal(mEraseColor);
return true;
}