summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-06-25 09:52:35 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-06-25 10:52:35 +0200
commit5cfc0e3899b51fd2751141d7f1f523803f46c8d1 (patch)
tree556b0e127a52e5ae541df2e908159316f9a9b6ae /sw
parent74768909b7aad4ac0f23e3210ea97f9dcd1fc93d (diff)
SwTabFrm::Paint: use vcl::RenderContext
Change-Id: Iccadf6cd95a0ed9f9ba365d117d819f065193e60
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/paintfrm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 28158c271c59..33b61875de2c 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -4386,7 +4386,7 @@ void SwTabFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, Sw
}
SwTabFrmPainter aHelper(*this);
- aHelper.PaintLines(*gProp.pSGlobalShell->GetOut(), rRect);
+ aHelper.PaintLines(rRenderContext, rRect);
}
SwLayoutFrm::Paint( rRenderContext, rRect );
@@ -4399,7 +4399,7 @@ void SwTabFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, Sw
aTabRect.Pos() += Frm().Pos();
SwRect aTabOutRect( rRect );
aTabOutRect.Intersection( aTabRect );
- SwViewOption::DrawRect( gProp.pSGlobalShell->GetOut(), aTabOutRect, COL_LIGHTGRAY );
+ SwViewOption::DrawRect( &rRenderContext, aTabOutRect, COL_LIGHTGRAY );
}
const_cast<SwTabFrm*>(this)->ResetComplete();
}