summaryrefslogtreecommitdiff
path: root/vcl/source/image/Image.cxx
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/image/Image.cxx
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/image/Image.cxx')
-rw-r--r--vcl/source/image/Image.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx
index 417c3fe3433d..20c37772210c 100644
--- a/vcl/source/image/Image.cxx
+++ b/vcl/source/image/Image.cxx
@@ -67,7 +67,7 @@ Image::Image( const ResId& rResId ) :
if( nObjMask & RscImageFlags::MaskColor )
{
- if( !aBmpEx.IsEmpty() && aBmpEx.GetTransparentType() == TRANSPARENT_NONE )
+ if( !aBmpEx.IsEmpty() && aBmpEx.GetTransparentType() == TransparentType::NONE )
{
const Color aMaskColor( ResId( static_cast<RSHEADER_TYPE*>(pResMgr->GetClass()), *pResMgr ) );
aBmpEx = BitmapEx( aBmpEx.GetBitmap(), aMaskColor );