summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-12 16:15:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-13 17:29:16 +0100
commite56479ee8a88f538c2163ddd58c5dc49a8744500 (patch)
tree927ddae07605ef6236869ad3432d5c3e13a5ea8e /vcl
parentdffeb48f25123b16e60aed5aa4abaeefa92f83a1 (diff)
ofz#53338 Abrt
we're turning "false" to indicate nothing was drawn, but nothing was drawn because the entire output would have been clipped out, so there's no point drawing anyway, so return true instead to indicate the draw was successfully short-circuited to give a correct no-op result probably went wrong with: commit 9153a36b59f2efc2bfb2c9256c39eb5687808deb Date: Fri Mar 28 23:30:02 2014 +1100 fdo#74702 Refactor OutputDevice::DrawTransparent() Change-Id: I989ebffff267f57c036560cda59eb7abe14d405a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142635 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/transparent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx
index d19f2cfc18bd..58e12457f9e9 100644
--- a/vcl/source/outdev/transparent.cxx
+++ b/vcl/source/outdev/transparent.cxx
@@ -213,7 +213,7 @@ bool OutputDevice::DrawTransparentNatively ( const tools::PolyPolygon& rPolyPoly
InitClipRegion();
if( mbOutputClipped )
- return false;
+ return true;
if( mbInitLineColor )
InitLineColor();