summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-16 20:32:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-17 10:31:49 +0100
commit783bc24136929f1dc7b3d49b01794df627cc0bdb (patch)
treeb89aee4597140c5c92a48c8d0dfb2a58a9bf17d1 /vcl
parentb7badb551990addaa10960a3557c8f83732a560e (diff)
ofz#53434 Out-of-memory
Change-Id: Ia148869905cb54f57136fe0e0c2572434a7d37cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142816 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-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 be0e6919f99e..96b119adcb6b 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 = 92;
+ constexpr int MaxNormalLineWidth = 64;
if (fLineWidth > MaxNormalLineWidth)
{
const double fLineWidthPixel