diff options
author | Bogdan Buzea <buzea.bogdan@libreoffice.org> | 2024-10-21 16:34:57 +0200 |
---|---|---|
committer | David Gilbert <freedesktop@treblig.org> | 2024-11-12 01:55:53 +0100 |
commit | 645b37039fff84b1ce4c9d603bd44559c5e57ea5 (patch) | |
tree | b6dab3899adb6f1ded87e4135ee8ee52011b8011 | |
parent | f640c0ab087cc358f957aefa72e438c3c915fe4c (diff) |
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 <freedesktop@treblig.org>
-rw-r--r-- | vcl/skia/gdiimpl.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
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; |