summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/backbuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/backbuffer.cxx')
-rw-r--r--canvas/source/vcl/backbuffer.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/canvas/source/vcl/backbuffer.cxx b/canvas/source/vcl/backbuffer.cxx
index 6a9024ebf9c0..ec92a1d1b812 100644
--- a/canvas/source/vcl/backbuffer.cxx
+++ b/canvas/source/vcl/backbuffer.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: backbuffer.cxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
* This file is part of OpenOffice.org.
*
@@ -41,6 +41,8 @@ namespace vclcanvas
maVDev( new VirtualDevice( rRefDevice,
bMonochromeBuffer ) )
{
+ if( !bMonochromeBuffer )
+ maVDev->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW | maVDev->GetAntialiasing() );
}
OutputDevice& BackBuffer::getOutDev()