summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/alpha.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/alpha.cxx')
-rw-r--r--vcl/source/gdi/alpha.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/alpha.cxx b/vcl/source/gdi/alpha.cxx
index 899795675405..05207c39256f 100644
--- a/vcl/source/gdi/alpha.cxx
+++ b/vcl/source/gdi/alpha.cxx
@@ -95,7 +95,7 @@ bool AlphaMask::Replace( const Bitmap& rMask, sal_uInt8 cReplaceTransparency )
const BitmapColor aReplace( cReplaceTransparency );
const long nWidth = std::min( pMaskAcc->Width(), pAcc->Width() );
const long nHeight = std::min( pMaskAcc->Height(), pAcc->Height() );
- const BitmapColor aMaskWhite( pMaskAcc->GetBestMatchingColor( Color(COL_WHITE) ) );
+ const BitmapColor aMaskWhite( pMaskAcc->GetBestMatchingColor( COL_WHITE ) );
for( long nY = 0; nY < nHeight; nY++ )
{