diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-10-11 20:18:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-10-12 00:15:27 +0200 |
commit | f518928c322d45cdec4163c0182b0008da0da729 (patch) | |
tree | 690b6a01774882bad63af8c953189b7fd7e89db8 /vcl | |
parent | 8815ae462f32915209c838688b7cc86f57e280d4 (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-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 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(); |