summaryrefslogtreecommitdiff
path: root/drawinglayer
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 /drawinglayer
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 'drawinglayer')
-rw-r--r--drawinglayer/source/texture/texture3d.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/texture/texture3d.cxx b/drawinglayer/source/texture/texture3d.cxx
index a3915d5f290d..4e4d19b6dd5f 100644
--- a/drawinglayer/source/texture/texture3d.cxx
+++ b/drawinglayer/source/texture/texture3d.cxx
@@ -117,11 +117,11 @@ namespace drawinglayer
{
switch(maBitmapEx.GetTransparentType())
{
- case TRANSPARENT_NONE:
+ case TransparentType::NONE:
{
break;
}
- case TRANSPARENT_COLOR:
+ case TransparentType::Color:
{
const BitmapColor aBitmapColor(mpReadBitmap->GetColor(rY, rX));
@@ -132,7 +132,7 @@ namespace drawinglayer
break;
}
- case TRANSPARENT_BITMAP:
+ case TransparentType::Bitmap:
{
OSL_ENSURE(mpReadTransparence, "OOps, transparence type Bitmap, but no read access created in the constructor (?)");
const BitmapColor aBitmapColor(mpReadTransparence->GetPixel(rY, rX));