summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2010-01-15 11:51:12 +0000
committerOliver Bolte <obo@openoffice.org>2010-01-15 11:51:12 +0000
commit9185059a471beb1a257694cff3f25f01fa999a9a (patch)
tree9f512db16a08793cbdec7000d9c5e1f47e6f942e
parent51d8da865527e217bca900f9022f849323f50427 (diff)
CWS-TOOLING: integrate CWS chart32stopper
2010-01-14 17:15:04 +0100 pl r277909 : #i108325# workaround a form control paint issue 2010-01-14 14:37:50 +0100 iha r277907 : #i108122# data label from categories crashes office when having no categories 2010-01-14 14:36:46 +0100 iha r277906 : #i108313# & #i108281# pie charts without series crashes office
-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 df0e6cbd27..473f0c6608 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -68,6 +68,9 @@
#include <cstdio>
#include <drawinglayer/primitive2d/backgroundcolorprimitive2d.hxx>
+#include <toolkit/helper/vclunohelper.hxx>
+#include <vcl/window.hxx>
+
//////////////////////////////////////////////////////////////////////////////
using namespace com::sun::star;
@@ -369,6 +372,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);