summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r--vcl/source/gdi/bitmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx
index a2187f3eceaf..e9461d1e5f6a 100644
--- a/vcl/source/gdi/bitmap.cxx
+++ b/vcl/source/gdi/bitmap.cxx
@@ -55,7 +55,7 @@ Bitmap::Bitmap(const Bitmap& rBitmap)
Bitmap::Bitmap(SalBitmap* pSalBitmap)
: mxImpBmp(new ImpBitmap(pSalBitmap))
- , maPrefMapMode(MapMode(MAP_PIXEL))
+ , maPrefMapMode(MapMode(MapUnit::MapPixel))
, maPrefSize(mxImpBmp->ImplGetSize())
{
}
@@ -1531,7 +1531,7 @@ bool Bitmap::Replace( const Color& rSearchColor, const Color& rReplaceColor, sal
if (xImpBmp->ImplCreate(*mxImpBmp) && xImpBmp->ImplReplace(rSearchColor, rReplaceColor, nTol))
{
ImplSetImpBitmap(xImpBmp);
- maPrefMapMode = MapMode( MAP_PIXEL );
+ maPrefMapMode = MapMode( MapUnit::MapPixel );
maPrefSize = xImpBmp->ImplGetSize();
return true;
}