diff options
-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); |