diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 08:06:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 08:06:06 +0100 |
commit | fb8a3fac5d448451794804a7470be45fa14da453 (patch) | |
tree | 110395d7cf3b7ad304e34a007ea597263adcfad8 /basebmp | |
parent | b8ecfd83bac98ea58a435c59856da8fd94f5c6d9 (diff) |
loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
Diffstat (limited to 'basebmp')
-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 ) |