vcl/skia/gdiimpl.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 645b37039fff84b1ce4c9d603bd44559c5e57ea5
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Mon Oct 21 16:34:57 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Tue Nov 12 01:55:53 2024 +0100

    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 <freedesk...@treblig.org>

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;

Reply via email to