summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-10-22 20:36:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-10-22 22:26:26 +0200
commit96d7d4d16cfae09085d0baa41d5d70b5d33da726 (patch)
treea46606afa208a407c98b461ac491e72035fca7b0 /vcl/headless
parent9a2f193706278eef4c59df4b7028531a599dff8b (diff)
ofz#52514 OOM
Change-Id: Id4f3b3cef27a299e5496276e274406d0720a27fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141672 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/CairoCommon.cxx2
1 files changed, 1 insertions, 1 deletions
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