summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-13 13:36:14 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-13 13:57:46 +0900
commit0ac80267730300f53e2410ffe9c0883f19f656a6 (patch)
treef3d4c58a5d434d5c436e62c132f5f0cbca366ac2 /sd
parent822ee8a3395588d2022d3d560ed4e1ed34c369a5 (diff)
add PostPaint and change PrePaint to include RenderContext param.
Change-Id: I26e03159fa6115025c6cf376e6ce71443bc98cec
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/Window.hxx2
-rw-r--r--sd/source/ui/view/sdwindow.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/inc/Window.hxx b/sd/source/ui/inc/Window.hxx
index b26917e89d7c..c1cc2143d858 100644
--- a/sd/source/ui/inc/Window.hxx
+++ b/sd/source/ui/inc/Window.hxx
@@ -171,7 +171,7 @@ protected:
bool mbUseDropScroll;
virtual void Resize() SAL_OVERRIDE;
- virtual void PrePaint() SAL_OVERRIDE;
+ virtual void PrePaint(vcl::RenderContext& rRenderContext) SAL_OVERRIDE;
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) SAL_OVERRIDE;
virtual void MouseMove(const MouseEvent& rMEvt) SAL_OVERRIDE;
virtual void MouseButtonUp(const MouseEvent& rMEvt) SAL_OVERRIDE;
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index 84da41d0cd6e..2cacce07f01b 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -207,7 +207,7 @@ void Window::Resize()
mpViewShell->GetViewFrame()->GetBindings().Invalidate( SID_ATTR_ZOOMSLIDER );
}
-void Window::PrePaint()
+void Window::PrePaint(vcl::RenderContext& /*rRenderContext*/)
{
if ( mpViewShell )
mpViewShell->PrePaint();