diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-06-28 17:02:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-06-28 20:36:21 +0200 |
commit | eb9ba4cdff002b95597fd1bdf6c89b9fd4d10ef9 (patch) | |
tree | 22e89ceeaaf083336bb94d79d0bb33aa7da8d293 /vcl/headless | |
parent | 0b1e5f239bede5002f410a7e48c6b9092fe7ec2b (diff) |
ofz: Out-of-memory
Change-Id: Iac52602b0c5f808b384896963c42c4f9dd31519e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136582
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/CairoCommon.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx index 1888989b130b..df4dae90778f 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 = 4096; + constexpr int MaxNormalLineWidth = 2048; if (fLineWidth > MaxNormalLineWidth) { SAL_WARN("vcl.gdi", "drawPolyLine, suspicious line width of: " << fLineWidth); |