summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2010-01-14 16:15:04 +0000
committerPhilipp Lohmann <pl@openoffice.org>2010-01-14 16:15:04 +0000
commit3d62f771bcf77aaabb236b90474828577f324256 (patch)
treeb4739cdad46f8a42e44f71f89473e9b5f8fb362e /drawinglayer
parent3b3e144c13a85b21b32904f245f44256c63e10e5 (diff)
#i108325# workaround a form control paint issue
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx9
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);