summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/edtwin2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/edtwin2.cxx')
-rw-r--r--sw/source/uibase/docvw/edtwin2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin2.cxx b/sw/source/uibase/docvw/edtwin2.cxx
index 47ef3ef52195..fc38db6172b4 100644
--- a/sw/source/uibase/docvw/edtwin2.cxx
+++ b/sw/source/uibase/docvw/edtwin2.cxx
@@ -441,7 +441,7 @@ void SwEditWin::PrePaint(vcl::RenderContext& /*rRenderContext*/)
}
}
-void SwEditWin::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect)
+void SwEditWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
{
SwWrtShell* pWrtShell = GetView().GetWrtShellPtr();
if(!pWrtShell)
@@ -467,7 +467,7 @@ void SwEditWin::Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle&
GetView().GetVisArea().GetHeight() <= 0 )
Invalidate( rRect );
else
- pWrtShell->Paint( rRect );
+ pWrtShell->Paint(rRenderContext, rRect);
if( bPaintShadowCrsr )
m_pShadCrsr->Paint();