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

SwLayoutFrm::Paint: use vcl::RenderContext

Change-Id: Ibc36078313a9ee2482e392de18abfe77f3d0df48
(cherry picked from commit f640893b)
üst 3261bebe
...@@ -3587,11 +3587,9 @@ SwShortCut::SwShortCut( const SwFrm& rFrm, const SwRect& rRect ) ...@@ -3587,11 +3587,9 @@ SwShortCut::SwShortCut( const SwFrm& rFrm, const SwRect& rRect )
void SwLayoutFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, SwPrintData const*const) const void SwLayoutFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, SwPrintData const*const) const
{ {
SwViewShell *pSh = getRootFrm()->GetCurrShell();
// #i16816# tagged pdf support // #i16816# tagged pdf support
Frm_Info aFrmInfo( *this ); Frm_Info aFrmInfo( *this );
SwTaggedPDFHelper aTaggedPDFHelper( 0, &aFrmInfo, 0, *pSh->GetOut() ); SwTaggedPDFHelper aTaggedPDFHelper( 0, &aFrmInfo, 0, rRenderContext );
const SwFrm *pFrm = Lower(); const SwFrm *pFrm = Lower();
if ( !pFrm ) if ( !pFrm )
......
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