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 /sw/source/uibase | |
parent | 822ee8a3395588d2022d3d560ed4e1ed34c369a5 (diff) |
add PostPaint and change PrePaint to include RenderContext param.
Change-Id: I26e03159fa6115025c6cf376e6ce71443bc98cec
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/docvw/edtwin2.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/edtwin.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
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; |