diff options
Diffstat (limited to 'vcl/unx/generic/window/salframe.cxx')
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 061abbf9dff7..c6d728dfc1a4 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -216,16 +216,16 @@ static void CreateNetWmAppIcon( sal_uInt16 nIcon, NetWmIconData& netwm_icon ) AlphaMask mask; switch( aIcon.GetTransparentType()) { - case TRANSPARENT_NONE: + case TransparentType::NONE: { sal_uInt8 nTrans = 0; mask = AlphaMask( icon.GetSizePixel(), &nTrans ); } break; - case TRANSPARENT_COLOR: + case TransparentType::Color: mask = AlphaMask( icon.CreateMask( aIcon.GetTransparentColor() ) ); break; - case TRANSPARENT_BITMAP: + case TransparentType::Bitmap: mask = aIcon.GetAlpha(); break; } @@ -294,7 +294,7 @@ static bool lcl_SelectAppIconPixmap( SalDisplay *pDisplay, SalX11Screen nXScreen icon_mask = None; - if( TRANSPARENT_BITMAP == aIcon.GetTransparentType() ) + if( TransparentType::Bitmap == aIcon.GetTransparentType() ) { icon_mask = XCreatePixmap( pDisplay->GetDisplay(), pDisplay->GetRootWindow( pDisplay->GetDefaultXScreen() ), |