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
commitb9f2f0186c845d054363a82cce24717b3a5acb6f (patch)
treede3a4656ede1a1d10a35b23ce448f63a80079f1f /drawinglayer
parentf60d8940366b3b7da6761c07d6c9186699225da6 (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 ec09bef696..2da1645c66 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);