summaryrefslogtreecommitdiff
path: root/vcl/source/outdev
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-29 12:35:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-30 06:37:52 +0000
commit6a5a2350c1c4924dd3fe92c8a3016c8c8ca1c275 (patch)
treea814662ee815cbc7ee4d06235fecca0ead2f09b8 /vcl/source/outdev
parent06cb2df4dba489d83c44babc2b36f91ec9fde5c9 (diff)
convert TransparentType to scoped enum
Change-Id: I25ec59fd41b5aa8741a9e864b5204481a84c3ba6 Reviewed-on: https://gerrit.libreoffice.org/25601 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r--vcl/source/outdev/bitmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index a07b32cfa054..1c54f0e5877b 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -246,7 +246,7 @@ void OutputDevice::DrawBitmapEx( const Point& rDestPt,
if( ImplIsRecordLayout() )
return;
- if( TRANSPARENT_NONE == rBitmapEx.GetTransparentType() )
+ if( TransparentType::NONE == rBitmapEx.GetTransparentType() )
{
DrawBitmap( rDestPt, rBitmapEx.GetBitmap() );
}
@@ -265,7 +265,7 @@ void OutputDevice::DrawBitmapEx( const Point& rDestPt, const Size& rDestSize,
if( ImplIsRecordLayout() )
return;
- if ( TRANSPARENT_NONE == rBitmapEx.GetTransparentType() )
+ if ( TransparentType::NONE == rBitmapEx.GetTransparentType() )
{
DrawBitmap( rDestPt, rDestSize, rBitmapEx.GetBitmap() );
}
@@ -285,7 +285,7 @@ void OutputDevice::DrawBitmapEx( const Point& rDestPt, const Size& rDestSize,
if( ImplIsRecordLayout() )
return;
- if( TRANSPARENT_NONE == rBitmapEx.GetTransparentType() )
+ if( TransparentType::NONE == rBitmapEx.GetTransparentType() )
{
DrawBitmap( rDestPt, rDestSize, rSrcPtPixel, rSrcSizePixel, rBitmapEx.GetBitmap() );
}