[ooo-build-commit] Branch 'ooo/OOO320' - drawinglayer/source

Jan Holesovsky kendy at kemper.freedesktop.org
Fri Jan 15 18:35:30 PST 2010


 drawinglayer/source/processor2d/vclpixelprocessor2d.cxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 9185059a471beb1a257694cff3f25f01fa999a9a
Author: Oliver Bolte <obo at openoffice.org>
Date:   Fri Jan 15 11:51:12 2010 +0000

    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

diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index df0e6cb..473f0c6 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);


More information about the ooo-build-commit mailing list