diff options
Diffstat (limited to 'canvas/source/vcl/impltools.cxx')
-rw-r--r-- | canvas/source/vcl/impltools.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/vcl/impltools.cxx b/canvas/source/vcl/impltools.cxx index e930b9ff0b3b..be277286fafc 100644 --- a/canvas/source/vcl/impltools.cxx +++ b/canvas/source/vcl/impltools.cxx @@ -257,8 +257,8 @@ namespace vclcanvas nullptr, aSrcAlpha ); - if( pReadAccess.get() == NULL || - (pAlphaReadAccess.get() == NULL && rBitmap.IsTransparent()) ) + if( pReadAccess.get() == nullptr || + (pAlphaReadAccess.get() == nullptr && rBitmap.IsTransparent()) ) { // TODO(E2): Error handling! ENSURE_OR_THROW( false, @@ -315,8 +315,8 @@ namespace vclcanvas Bitmap::ScopedWriteAccess pAlphaWriteAccess( aDstAlpha ); - if( pWriteAccess.get() != NULL && - pAlphaWriteAccess.get() != NULL && + if( pWriteAccess.get() != nullptr && + pAlphaWriteAccess.get() != nullptr && rTransform.isInvertible() ) { // we're doing inverse mapping here, i.e. mapping |