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
commitcffd2aa3032fe6e4b7d4936550579e51ad72d977 (patch)
treee9ef6be4df3ec857e8059fb2d560dea78f299bcd /chart2
parent59283c57aa60218fce85ef912c43a49b6eba040c (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 f9889f8c4dc2..ef3c5678c795 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