summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-06-24 09:34:00 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-06-24 10:02:32 +0200
commitf25ee3ce07b942b5b8ec3d24d05ac4037f1cb9d0 (patch)
treee64098f3b7b071c37a928dcddd3c1081992a344d /sw
parente17460ec3961d0181c1c31a3b7c0a3ca27b82f9e (diff)
SwViewShell::Paint: can use render context here directly
Change-Id: I75a532e85ce4caa3fe199669054a9811e3e5144a
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/view/viewsh.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index ea4fc5d21e06..009f6e45c564 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1777,11 +1777,11 @@ void SwViewShell::Paint(vcl::RenderContext& rRenderContext, const Rectangle &rRe
const vcl::Region aDLRegion(rRect);
DLPrePaint2(aDLRegion);
- mpOut->Push( PushFlags::FILLCOLOR|PushFlags::LINECOLOR );
- mpOut->SetFillColor( Imp()->GetRetoucheColor() );
- mpOut->SetLineColor();
- mpOut->DrawRect( rRect );
- mpOut->Pop();
+ rRenderContext.Push( PushFlags::FILLCOLOR|PushFlags::LINECOLOR );
+ rRenderContext.SetFillColor( Imp()->GetRetoucheColor() );
+ rRenderContext.SetLineColor();
+ rRenderContext.DrawRect( rRect );
+ rRenderContext.Pop();
// #i68597#
DLPostPaint2(true);
}