From 0ac80267730300f53e2410ffe9c0883f19f656a6 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Wed, 13 May 2015 13:36:14 +0900 Subject: add PostPaint and change PrePaint to include RenderContext param. Change-Id: I26e03159fa6115025c6cf376e6ce71443bc98cec --- sw/source/uibase/docvw/edtwin2.cxx | 2 +- sw/source/uibase/inc/edtwin.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase') diff --git a/sw/source/uibase/docvw/edtwin2.cxx b/sw/source/uibase/docvw/edtwin2.cxx index 1b69c0aebee9..67f85700fff7 100644 --- a/sw/source/uibase/docvw/edtwin2.cxx +++ b/sw/source/uibase/docvw/edtwin2.cxx @@ -434,7 +434,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) Window::RequestHelp( rEvt ); } -void SwEditWin::PrePaint() +void SwEditWin::PrePaint(vcl::RenderContext& /*rRenderContext*/) { SwWrtShell* pWrtShell = GetView().GetWrtShellPtr(); diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx index c4400547ae0e..28ce77407941 100644 --- a/sw/source/uibase/inc/edtwin.hxx +++ b/sw/source/uibase/inc/edtwin.hxx @@ -186,8 +186,8 @@ friend void PageNumNotify( SwViewShell* pVwSh, protected: virtual void DataChanged( const DataChangedEvent& ) SAL_OVERRIDE; - 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 GetFocus() SAL_OVERRIDE; virtual void LoseFocus() SAL_OVERRIDE; -- cgit