summaryrefslogtreecommitdiff
path: root/canvas/source
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2010-09-15 11:49:33 +0200
committerRadek Doulik <rodo@novell.com>2010-09-15 17:54:14 +0200
commit5edd416e833b294958dca3f7f053636705b3c5d9 (patch)
tree33dd0696ffdf19128b4709fe626b38a4f064f80e /canvas/source
parent2191eefb0ccb75925b37a5dd1e9f7fd1cc0d2837 (diff)
emf+-canvas-vcl-clear.diff: emf+ import - fix vcl canvas clearing
of empty canvas
Diffstat (limited to 'canvas/source')
-rw-r--r--canvas/source/vcl/canvashelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx
index a83b260d52d5..30cb5761066d 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -156,8 +156,8 @@ namespace vclcanvas
tools::OutDevStateKeeper aStateKeeper( mpProtectedOutDev );
rOutDev.EnableMapMode( FALSE );
- rOutDev.SetLineColor( COL_WHITE );
- rOutDev.SetFillColor( COL_WHITE );
+ rOutDev.SetLineColor( COL_TRANSPARENT );
+ rOutDev.SetFillColor( COL_TRANSPARENT );
rOutDev.DrawRect( Rectangle( Point(),
rOutDev.GetOutputSizePixel()) );
@@ -167,8 +167,8 @@ namespace vclcanvas
rOutDev2.SetDrawMode( DRAWMODE_DEFAULT );
rOutDev2.EnableMapMode( FALSE );
- rOutDev2.SetLineColor( COL_WHITE );
- rOutDev2.SetFillColor( COL_WHITE );
+ rOutDev2.SetLineColor( COL_TRANSPARENT );
+ rOutDev2.SetFillColor( COL_TRANSPARENT );
rOutDev2.DrawRect( Rectangle( Point(),
rOutDev2.GetOutputSizePixel()) );
rOutDev2.SetDrawMode( DRAWMODE_BLACKLINE | DRAWMODE_BLACKFILL | DRAWMODE_BLACKTEXT |