summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/outmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/outmap.cxx')
-rw-r--r--vcl/source/gdi/outmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/outmap.cxx b/vcl/source/gdi/outmap.cxx
index e68140ba1191..ba9fd16d9c06 100644
--- a/vcl/source/gdi/outmap.cxx
+++ b/vcl/source/gdi/outmap.cxx
@@ -684,9 +684,9 @@ Region OutputDevice::ImplPixelToDevicePixel( const Region& rRegion ) const
// -----------------------------------------------------------------------
-void OutputDevice::EnableMapMode( sal_Bool bEnable )
+void OutputDevice::EnableMapMode( bool bEnable )
{
- mbMap = (bEnable != 0);
+ mbMap = bEnable;
if( mpAlphaVDev )
mpAlphaVDev->EnableMapMode( bEnable );