diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-13 13:36:14 +0900 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-05-13 13:57:46 +0900 |
commit | 0ac80267730300f53e2410ffe9c0883f19f656a6 (patch) | |
tree | f3d4c58a5d434d5c436e62c132f5f0cbca366ac2 /chart2 | |
parent | 822ee8a3395588d2022d3d560ed4e1ed34c369a5 (diff) |
add PostPaint and change PrePaint to include RenderContext param.
Change-Id: I26e03159fa6115025c6cf376e6ce71443bc98cec
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartWindow.cxx | 6 | ||||
-rw-r--r-- | chart2/source/controller/main/ChartWindow.hxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx index c050b5a2330a..57a306691164 100644 --- a/chart2/source/controller/main/ChartWindow.cxx +++ b/chart2/source/controller/main/ChartWindow.cxx @@ -93,12 +93,12 @@ void ChartWindow::clear() this->ReleaseMouse(); } -void ChartWindow::PrePaint() +void ChartWindow::PrePaint(vcl::RenderContext& /*rRenderContext*/) { // forward VCLs PrePaint window event to DrawingLayer - if( m_pWindowController ) + if (m_pWindowController) { - m_pWindowController->PrePaint(); + m_pWindowController->PrePaint(); } } diff --git a/chart2/source/controller/main/ChartWindow.hxx b/chart2/source/controller/main/ChartWindow.hxx index d00c2f6a44be..99a0c5fb6038 100644 --- a/chart2/source/controller/main/ChartWindow.hxx +++ b/chart2/source/controller/main/ChartWindow.hxx @@ -42,8 +42,8 @@ public: void clear(); //from base class Window: - virtual void PrePaint() SAL_OVERRIDE; - virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) SAL_OVERRIDE; + virtual void PrePaint(vcl::RenderContext& rRenderContext) SAL_OVERRIDE; + virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void Tracking( const TrackingEvent& rTEvt ) SAL_OVERRIDE; |