summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/impltools.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/impltools.hxx')
-rw-r--r--canvas/source/vcl/impltools.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/impltools.hxx b/canvas/source/vcl/impltools.hxx
index ab1391bc2b0e..8f80939a2294 100644
--- a/canvas/source/vcl/impltools.hxx
+++ b/canvas/source/vcl/impltools.hxx
@@ -130,7 +130,7 @@ namespace vclcanvas
explicit OutDevStateKeeper( const OutDevProviderSharedPtr& rOutDev ) :
mpOutDev( rOutDev.get() ? &(rOutDev->getOutDev()) : NULL ),
- mbMappingWasEnabled( mpOutDev ? mpOutDev->IsMapModeEnabled() : false ),
+ mbMappingWasEnabled( mpOutDev && mpOutDev->IsMapModeEnabled() ),
mnAntiAliasing( mpOutDev ? mpOutDev->GetAntialiasing() : 0 )
{
init();