https://bugs.documentfoundation.org/show_bug.cgi?id=156842
--- Comment #10 from Patrick Luby <[email protected]> --- For future debugging, disabling extended PDF data completely (see patch below) stops this bug. But, it will cause the CppunitTest_vcl_pdfexport to go into an infinite loop. TL;DR this bug is caused by i_pOutDevData->PlaySyncPageAct( m_rOuterFace, i, aMtf ) returning true for several EnsureStruct/InitStruct/StartStruct/EndStruct cycles despite InitStruct hitting an OSL_FAIL each time. diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index 37583d0b01d1..88ee7f1fd60f 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -282,7 +282,7 @@ void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevDa for( sal_uInt32 i = 0, nCount = aMtf.GetActionSize(); i < nCount; ) { - if ( !i_pOutDevData || !i_pOutDevData->PlaySyncPageAct( m_rOuterFace, i, aMtf ) ) + // if ( !i_pOutDevData || !i_pOutDevData->PlaySyncPageAct( m_rOuterFace, i, aMtf ) ) { const MetaAction* pAction = aMtf.GetAction( i ); const MetaActionType nType = pAction->GetType(); -- You are receiving this mail because: You are the assignee for the bug.
