diff options
Diffstat (limited to 'vcl/source/gdi/alpha.cxx')
-rw-r--r-- | vcl/source/gdi/alpha.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/alpha.cxx b/vcl/source/gdi/alpha.cxx index 614eb404705f..01a57f61e0ed 100644 --- a/vcl/source/gdi/alpha.cxx +++ b/vcl/source/gdi/alpha.cxx @@ -115,7 +115,7 @@ bool AlphaMask::Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransp { const long nWidth = pAcc->Width(), nHeight = pAcc->Height(); - if( pAcc->GetScanlineFormat() == BMP_FORMAT_8BIT_PAL ) + if( pAcc->GetScanlineFormat() == ScanlineFormat::N8BitPal ) { for( long nY = 0L; nY < nHeight; nY++ ) { |