From 645b37039fff84b1ce4c9d603bd44559c5e57ea5 Mon Sep 17 00:00:00 2001 From: Bogdan Buzea Date: Mon, 21 Oct 2024 16:34:57 +0200 Subject: tdf#163486: PVS: Identical branches V1037 Two or more case-branches perform the same actions. Check lines: 697, 700 V1037 Two or more case-branches perform the same actions. Check lines: 714, 717 Change-Id: Icb62ded0f40561215abb2bbe571f94c72409916b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175341 Tested-by: Jenkins Reviewed-by: David Gilbert --- vcl/skia/gdiimpl.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vcl') diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx index 1324e6585303..25af7f76603d 100644 --- a/vcl/skia/gdiimpl.cxx +++ b/vcl/skia/gdiimpl.cxx @@ -688,8 +688,6 @@ void SkiaSalGraphicsImpl::SetROPLineColor(SalROPColor nROPColor) moLineColor = Color(0, 0, 0); break; case SalROPColor::N1: - moLineColor = Color(0xff, 0xff, 0xff); - break; case SalROPColor::Invert: moLineColor = Color(0xff, 0xff, 0xff); break; @@ -705,8 +703,6 @@ void SkiaSalGraphicsImpl::SetROPFillColor(SalROPColor nROPColor) moFillColor = Color(0, 0, 0); break; case SalROPColor::N1: - moFillColor = Color(0xff, 0xff, 0xff); - break; case SalROPColor::Invert: moFillColor = Color(0xff, 0xff, 0xff); break; -- cgit v1.2.3