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

New commits:
commit 26edb7447e9f90d3cace16e31316a71148db80fe
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sun Nov 6 15:58:01 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sun Nov 6 17:56:46 2022 +0100

    ofz#52723 Out-of-memory
    
    Change-Id: Id563d2d7629c88d443360ec6a1086b1079f7f48b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142356
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx
index a25c508f39ce..d93ef1f2e5b7 100644
--- a/vcl/headless/CairoCommon.cxx
+++ b/vcl/headless/CairoCommon.cxx
@@ -715,7 +715,7 @@ bool CairoCommon::drawPolyLine(cairo_t* cr, 
basegfx::B2DRange* pExtents, const C
 
     cairo_set_line_join(cr, eCairoLineJoin);
     cairo_set_line_cap(cr, eCairoLineCap);
-    constexpr int MaxNormalLineWidth = 96;
+    constexpr int MaxNormalLineWidth = 94;
     if (fLineWidth > MaxNormalLineWidth)
     {
         const double fLineWidthPixel

Reply via email to