vcl/headless/CairoCommon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f8afeb0e026ba70a4c8544ce7443caca601552f1 Author: Caolán McNamara <[email protected]> AuthorDate: Sat Oct 8 21:01:19 2022 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Sun Oct 9 09:48:53 2022 +0200 ofz#51852 Out-of-memory Change-Id: I945bb7d7ed90e8f5f4c085b4527f1ec7a4c08eae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141126 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx index aa10f4ed3b49..fb6888bc91c9 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 = 512; + constexpr int MaxNormalLineWidth = 128; if (fLineWidth > MaxNormalLineWidth) { SAL_WARN("vcl.gdi", "drawPolyLine, suspicious line width of: " << fLineWidth);
