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

SwViewShell::Paint: can use render context here directly

Change-Id: I75a532e85ce4caa3fe199669054a9811e3e5144a
üst e17460ec
......@@ -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);
}
......
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