summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
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 /svx/source/svdraw
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 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdfmtf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx
index 31d488b6611a..f2f186ecebe9 100644
--- a/svx/source/svdraw/svdfmtf.cxx
+++ b/svx/source/svdraw/svdfmtf.cxx
@@ -1586,11 +1586,11 @@ void ImpSdrGDIMetaFileImport::DoAction(MetaFloatTransparentAction& rAct)
{
aOldMask = aBitmapEx.GetAlpha();
}
- else if(TRANSPARENT_BITMAP == aBitmapEx.GetTransparentType())
+ else if(TransparentType::Bitmap == aBitmapEx.GetTransparentType())
{
aOldMask = aBitmapEx.GetMask();
}
- else if(TRANSPARENT_COLOR == aBitmapEx.GetTransparentType())
+ else if(TransparentType::Color == aBitmapEx.GetTransparentType())
{
aOldMask = aBitmapEx.GetBitmap().CreateMask(aBitmapEx.GetTransparentColor());
}