vcl/skia/salbmp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c49b377798f5abd0e30acc32d562f63481daa287 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Jul 25 10:03:14 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Jul 25 11:10:58 2023 +0200 loplugin:redundantcast after commit 81994cb2b8b32453a92bcb011830fcb884f22ff3 Author: Noel Grandin <noelgran...@gmail.com> Date: Fri Apr 16 20:33:10 2021 +0200 Convert internal vcl bitmap formats transparency->alpha (II) Change-Id: Ia0b29e87696b99459c62275898e1ec47283072b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154883 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/skia/salbmp.cxx b/vcl/skia/salbmp.cxx index 5a514aebb05d..8e07a00ec2d2 100644 --- a/vcl/skia/salbmp.cxx +++ b/vcl/skia/salbmp.cxx @@ -646,7 +646,7 @@ bool SkiaSalBitmap::Invert() SkPaint paint; paint.setBlendMode(SkBlendMode::kDifference); // Drawing the image does not work so create a shader from the image - paint.setShader(GetSkShader(SkSamplingOptions(SkSamplingOptions()))); + paint.setShader(GetSkShader(SkSamplingOptions())); surface->getCanvas()->drawRect(SkRect::MakeXYWH(0, 0, mSize.Width(), mSize.Height()), paint); ResetToSkImage(makeCheckedImageSnapshot(surface));