diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-08-30 14:21:07 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-08-30 14:21:07 +0000 |
commit | 798ca1b60f8925dbe2bd3c753be7eeb32df1ac7d (patch) | |
tree | 2d3689758e6d20e240b1c77189e6a5711bb401f1 | |
parent | 1beb9324a1d4b20609c28d214f4ceb2e62a74d1e (diff) |
INTEGRATION: CWS thbpp8d_SRC680 (1.12.8); FILE MERGED
2007/08/30 10:44:46 thb 1.12.8.1: #i80779# Also repainting bitmaps to 2nd outdev
-rw-r--r-- | canvas/source/vcl/canvashelper.cxx | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx index e3860eb62a41..21814f73a60c 100644 --- a/canvas/source/vcl/canvashelper.cxx +++ b/canvas/source/vcl/canvashelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: canvashelper.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: hr $ $Date: 2007-08-03 11:49:55 $ + * last change: $Author: vg $ $Date: 2007-08-30 15:21:07 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1369,7 +1369,16 @@ namespace vclcanvas if( !mpOutDev ) return false; // disposed else - return rGrf->Draw( &mpOutDev->getOutDev(), rPt, rSz, &rAttr ); + { + if( !rGrf->Draw( &mpOutDev->getOutDev(), rPt, rSz, &rAttr ) ) + return false; + + // #i80779# Redraw also into mask outdev + if( mp2ndOutDev ) + return rGrf->Draw( &mp2ndOutDev->getOutDev(), rPt, rSz, &rAttr ); + + return true; + } } void CanvasHelper::flush() const |