Kaydet (Commit) cfa21cc3 authored tarafından Miklos Vajna's avatar Miklos Vajna

SwTabFrm::Paint: use vcl::RenderContext

Change-Id: Iccadf6cd95a0ed9f9ba365d117d819f065193e60
(cherry picked from commit 5cfc0e38)
üst 5f33669d
...@@ -4385,7 +4385,7 @@ void SwTabFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, Sw ...@@ -4385,7 +4385,7 @@ void SwTabFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, Sw
} }
SwTabFrmPainter aHelper(*this); SwTabFrmPainter aHelper(*this);
aHelper.PaintLines(*gProp.pSGlobalShell->GetOut(), rRect); aHelper.PaintLines(rRenderContext, rRect);
} }
SwLayoutFrm::Paint( rRenderContext, rRect ); SwLayoutFrm::Paint( rRenderContext, rRect );
...@@ -4398,7 +4398,7 @@ void SwTabFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, Sw ...@@ -4398,7 +4398,7 @@ void SwTabFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, Sw
aTabRect.Pos() += Frm().Pos(); aTabRect.Pos() += Frm().Pos();
SwRect aTabOutRect( rRect ); SwRect aTabOutRect( rRect );
aTabOutRect.Intersection( aTabRect ); aTabOutRect.Intersection( aTabRect );
SwViewOption::DrawRect( gProp.pSGlobalShell->GetOut(), aTabOutRect, COL_LIGHTGRAY ); SwViewOption::DrawRect( &rRenderContext, aTabOutRect, COL_LIGHTGRAY );
} }
const_cast<SwTabFrm*>(this)->ResetComplete(); const_cast<SwTabFrm*>(this)->ResetComplete();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment