vcl/headless/CairoCommon.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cb7e6003ad06d71a27baeb435366b91f87bdeb2f
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sun Nov 27 15:12:37 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sun Nov 27 20:33:10 2022 +0100

    cid#1517054 Logically dead code
    
    Change-Id: I0ea48d79d32920cf5f5ab2b11a5b4f53ddae0dc7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143345
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx
index 401571a7625c..322b1e838463 100644
--- a/vcl/headless/CairoCommon.cxx
+++ b/vcl/headless/CairoCommon.cxx
@@ -630,8 +630,8 @@ bool CairoCommon::drawPolyLine(cairo_t* cr, 
basegfx::B2DRange* pExtents, const C
         {
             SAL_WARN("vcl.gdi", "drawPolyLine, skipping suspicious range of: "
                                     << aRange << " for fuzzing performance");
+            return true;
         }
-        return true;
     }
 
     // need to check/handle LineWidth when ObjectToDevice transformation is 
used

Reply via email to