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

SwTextFrm::Paint: use vcl::RenderContext

Change-Id: Iede5ae0269a2bb2e4f2e6cef4af50d57e200938d
(cherry picked from commit c4270080)
üst 048ad22d
...@@ -575,7 +575,7 @@ bool SwTextFrm::PaintEmpty( const SwRect &rRect, bool bCheck ) const ...@@ -575,7 +575,7 @@ bool SwTextFrm::PaintEmpty( const SwRect &rRect, bool bCheck ) const
return false; return false;
} }
void SwTextFrm::Paint(vcl::RenderContext& /*rRenderContext*/, SwRect const& rRect, SwPrintData const*const) const void SwTextFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, SwPrintData const*const) const
{ {
ResetRepaint(); ResetRepaint();
...@@ -583,10 +583,10 @@ void SwTextFrm::Paint(vcl::RenderContext& /*rRenderContext*/, SwRect const& rRec ...@@ -583,10 +583,10 @@ void SwTextFrm::Paint(vcl::RenderContext& /*rRenderContext*/, SwRect const& rRec
SwViewShell *pSh = getRootFrm()->GetCurrShell(); SwViewShell *pSh = getRootFrm()->GetCurrShell();
Num_Info aNumInfo( *this ); Num_Info aNumInfo( *this );
SwTaggedPDFHelper aTaggedPDFHelperNumbering( &aNumInfo, 0, 0, *pSh->GetOut() ); SwTaggedPDFHelper aTaggedPDFHelperNumbering( &aNumInfo, 0, 0, rRenderContext );
Frm_Info aFrmInfo( *this ); Frm_Info aFrmInfo( *this );
SwTaggedPDFHelper aTaggedPDFHelperParagraph( 0, &aFrmInfo, 0, *pSh->GetOut() ); SwTaggedPDFHelper aTaggedPDFHelperParagraph( 0, &aFrmInfo, 0, rRenderContext );
if( !IsEmpty() || !PaintEmpty( rRect, true ) ) if( !IsEmpty() || !PaintEmpty( rRect, 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