summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 23:40:28 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 23:40:28 +0000
commitfa63b371b0a113ddb8617d64d5c56866c8670567 (patch)
treeba7e38d38cff68567d1147e2bb5716a43ebe7784 /chart2
parentfce7526d534ba5df1e46316132e3f0f26a2c6e9b (diff)
INTEGRATION: CWS aw033 (1.31.16); FILE MERGED
2008/07/10 12:45:10 aw 1.31.16.1: #i39532# XOutputDevice removed, PrepareDelete removed
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx22
1 files changed, 12 insertions, 10 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index fe6f95dd9..f91c3ecde 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ChartController_Window.cxx,v $
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
* This file is part of OpenOffice.org.
*
@@ -81,15 +81,6 @@
#include <rtl/math.hxx>
#include <svtools/acceleratorexecute.hxx>
-/*
-// header for class E3dScene
-#include <svx/scene3d.hxx>
-// header for class XOutputDevice
-#include <svx/xoutx.hxx>
-// header for class ::basegfx::B3DPolygon
-#include <basegfx/polygon/b3dpolygon.hxx>
-*/
-
#define DRGPIX 2 // Drag MinMove in Pixel
using namespace ::com::sun::star;
@@ -414,6 +405,17 @@ const short HITPIX=2; //hit-tolerance in pixel
//-----------------------------------------------------------------
// impl vcl window controller methods
//-----------------------------------------------------------------
+void ChartController::PrePaint()
+{
+ // forward VCLs PrePaint window event to DrawingLayer
+ DrawViewWrapper* pDrawViewWrapper = m_pDrawViewWrapper;
+
+ if(pDrawViewWrapper)
+ {
+ pDrawViewWrapper->PrePaint();
+ }
+}
+
void ChartController::execute_Paint( const Rectangle& rRect )
{
try