summaryrefslogtreecommitdiff
path: root/vcl/osx
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/osx
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/osx')
-rw-r--r--vcl/osx/salinst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 3bbff247736d..31b1542270d3 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -1052,7 +1052,7 @@ CGImageRef CreateCGImage( const Image& rImage )
else
xImage = pSalBmp->CreateCroppedImage( 0, 0, pSalBmp->mnWidth, pSalBmp->mnHeight );
}
- else if( aBmpEx.GetTransparentType() == TRANSPARENT_BITMAP )
+ else if( aBmpEx.GetTransparentType() == TransparentType::Bitmap )
{
Bitmap aMask( aBmpEx.GetMask() );
QuartzSalBitmap* pMaskBmp = static_cast<QuartzSalBitmap*>(aMask.ImplGetImpBitmap()->ImplGetSalBitmap());
@@ -1061,7 +1061,7 @@ CGImageRef CreateCGImage( const Image& rImage )
else
xImage = pSalBmp->CreateCroppedImage( 0, 0, pSalBmp->mnWidth, pSalBmp->mnHeight );
}
- else if( aBmpEx.GetTransparentType() == TRANSPARENT_COLOR )
+ else if( aBmpEx.GetTransparentType() == TransparentType::Color )
{
Color aTransColor( aBmpEx.GetTransparentColor() );
SalColor nTransColor = MAKE_SALCOLOR( aTransColor.GetRed(), aTransColor.GetGreen(), aTransColor.GetBlue() );