diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-10 08:06:06 +0100 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:25:49 -0400 |
commit | 5e94b28f3392f544d52a72836521be9168db2768 (patch) | |
tree | f0e152e0e42128543958487e8e3e81d94a58a750 /basebmp | |
parent | 9eef06f0db88461e9efa92c8cac6107200f7b942 (diff) |
loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
(cherry picked from commit fb8a3fac5d448451794804a7470be45fa14da453)
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 ) |