summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/transparent.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-11-27 12:47:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-11-28 20:32:29 +0100
commit0820920e994cd2281cda34afa2235ee9aa1dd2c2 (patch)
tree711a08ebf8d8b32c3fb3164083bc44e2d79099e5 /vcl/source/outdev/transparent.cxx
parentfc011ac027da7574baa4b431ac800020170ba8b0 (diff)
drawOutDevDirect always passed a non-null OutputDevice*
likewise: DrawOutDevDirectProcess ImplDrawWavePixel DrawOutDevDirectCheck and various members of SalGraphics dropping redundant nullptr checks Change-Id: Iaa1ab7c8a605361a7c9cce0aeee974eec9ff246e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106788 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/outdev/transparent.cxx')
-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 55423fdb6385..08cb57e06505 100644
--- a/vcl/source/outdev/transparent.cxx
+++ b/vcl/source/outdev/transparent.cxx
@@ -470,7 +470,7 @@ void OutputDevice::EmulateDrawTransparent ( const tools::PolyPolygon& rPolyPoly,
// rectangle, too.
aPixelRect.getWidth(), aPixelRect.getHeight(),
sal::static_int_cast<sal_uInt8>(nTransparencePercent),
- this );
+ *this );
}
else
{