summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-10 08:06:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-10 08:06:06 +0100
commitfb8a3fac5d448451794804a7470be45fa14da453 (patch)
tree110395d7cf3b7ad304e34a007ea597263adcfad8 /basebmp
parentb8ecfd83bac98ea58a435c59856da8fd94f5c6d9 (diff)
loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/source/bitmapdevice.cxx4
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 )