diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-29 14:04:49 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-29 14:04:49 +0100 |
commit | d1fc940995d8c0735e1ac817a6ee3a097ea3c4d8 (patch) | |
tree | 59d60616e854c39fcea22df008e0c7dff111a214 | |
parent | 3f23038efa54b7a776d58fb1ca591a5c1cdb943b (diff) | |
parent | 3d62f771bcf77aaabb236b90474828577f324256 (diff) |
CWS-TOOLING: integrate CWS chart32stopper_DEV300
-rw-r--r-- | drawinglayer/source/processor2d/vclpixelprocessor2d.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx index 5a74b0471b7f..92420fb6da3a 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx @@ -70,6 +70,9 @@ #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <drawinglayer/primitive2d/epsprimitive2d.hxx> +#include <toolkit/helper/vclunohelper.hxx> +#include <vcl/window.hxx> + ////////////////////////////////////////////////////////////////////////////// using namespace com::sun::star; @@ -370,6 +373,12 @@ namespace drawinglayer aOrigin.X() + basegfx::fround(aTopLeftPixel.getX()), aOrigin.Y() + basegfx::fround(aTopLeftPixel.getY())); } + else if( xControlWindow.is() ) + { + Window* pWin = VCLUnoHelper::GetWindow( rXControl->getPeer() ); + if( pWin ) + pWin->Invalidate(); + } // restore original graphics xControlView->setGraphics(xOriginalGraphics); |