From 96d7d4d16cfae09085d0baa41d5d70b5d33da726 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 22 Oct 2022 20:36:04 +0100 Subject: ofz#52514 OOM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id4f3b3cef27a299e5496276e274406d0720a27fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141672 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- vcl/headless/CairoCommon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/headless') diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx index ec73955f1c0b..8f11fdbd9b6c 100644 --- a/vcl/headless/CairoCommon.cxx +++ b/vcl/headless/CairoCommon.cxx @@ -707,7 +707,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 = 128; + constexpr int MaxNormalLineWidth = 96; if (fLineWidth > MaxNormalLineWidth) { const double fLineWidthPixel -- cgit