vcl/headless/CairoCommon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f518928c322d45cdec4163c0182b0008da0da729 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Oct 11 20:18:20 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Oct 12 00:15:27 2022 +0200 only interested in genuinely bizarely thick lines Change-Id: I107a46cc11127910f28977b88152c41e8b6c6467 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141239 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx index fb6888bc91c9..b0f93c1eaf41 100644 --- a/vcl/headless/CairoCommon.cxx +++ b/vcl/headless/CairoCommon.cxx @@ -708,7 +708,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; - if (fLineWidth > MaxNormalLineWidth) + if (bObjectToDeviceIsIdentity && fLineWidth > MaxNormalLineWidth) { SAL_WARN("vcl.gdi", "drawPolyLine, suspicious line width of: " << fLineWidth); static const bool bFuzzing = utl::ConfigManager::IsFuzzing();