diff options
Diffstat (limited to 'basebmp/source/bitmapdevice.cxx')
-rw-r--r-- | basebmp/source/bitmapdevice.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx index 37ebf9136686..9469d5691668 100644 --- a/basebmp/source/bitmapdevice.cxx +++ b/basebmp/source/bitmapdevice.cxx @@ -383,7 +383,7 @@ namespace { // TODO(P1): dynamic_cast usually called twice for // compatible formats - return getCompatibleBitmap(bmp).get() != NULL; + return getCompatibleBitmap(bmp).get() != nullptr; } std::shared_ptr<mask_bitmap_type> getCompatibleClipMask( const BitmapDeviceSharedPtr& bmp ) const @@ -403,7 +403,7 @@ namespace { // TODO(P1): dynamic_cast usually called twice for // compatible formats - return std::dynamic_pointer_cast<mask_bitmap_type>( bmp ).get() != NULL; + return std::dynamic_pointer_cast<mask_bitmap_type>( bmp ).get() != nullptr; } static std::shared_ptr<alphamask_bitmap_type> getCompatibleAlphaMask( const BitmapDeviceSharedPtr& bmp ) |