summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-27 08:29:36 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 10:51:08 +0200
commit44790193a74923d42228277ed46723ba9e225136 (patch)
tree625f721df9135f36dc8101ad964a6b2331780d82 /basebmp
parentc4a9241f72e3b7bf84eaadc51dbaa2accc7b920c (diff)
loplugin:staticfunction
Change-Id: I982ba552579019e4902ae59fddf14a6b34ba5954
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 117d8146b804..71a2e85bdeef 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -373,7 +373,7 @@ namespace
damaged( basegfx::B2IBox( rDamagePoint, aEnd ) );
}
- boost::shared_ptr<BitmapRenderer> getCompatibleBitmap( const BitmapDeviceSharedPtr& bmp ) const
+ static boost::shared_ptr<BitmapRenderer> getCompatibleBitmap( const BitmapDeviceSharedPtr& bmp )
{
return boost::dynamic_pointer_cast< BitmapRenderer >( bmp );
}
@@ -405,7 +405,7 @@ namespace
return boost::dynamic_pointer_cast<mask_bitmap_type>( bmp ).get() != NULL;
}
- boost::shared_ptr<alphamask_bitmap_type> getCompatibleAlphaMask( const BitmapDeviceSharedPtr& bmp ) const
+ static boost::shared_ptr<alphamask_bitmap_type> getCompatibleAlphaMask( const BitmapDeviceSharedPtr& bmp )
{
return boost::dynamic_pointer_cast<alphamask_bitmap_type>( bmp );
}