summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/impbmp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/impbmp.cxx')
-rw-r--r--vcl/source/gdi/impbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/impbmp.cxx b/vcl/source/gdi/impbmp.cxx
index 13386856ac12..25ebb604d0f1 100644
--- a/vcl/source/gdi/impbmp.cxx
+++ b/vcl/source/gdi/impbmp.cxx
@@ -115,7 +115,7 @@ bool ImpBitmap::ImplReplace( const Color& rSearchColor, const Color& rReplaceCol
bool ImpBitmap::ImplConvert( BmpConversion eConversion )
{
// avoid large chunk of obsolete and hopefully rarely used conversions.
- if (eConversion != BMP_CONVERSION_8BIT_GREYS)
+ if (eConversion != BmpConversion::N8BitGreys)
return false;
// frequently used conversion for creating alpha masks