View Issue Details

IDProjectCategoryView StatusLast Update
0016536ScribusPDFpublic2021-04-15 20:37
Reporterfoutrelis Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.5.7.svn 
Fixed in Version1.5.7.svn 
Summary0016536: Page::getFormWidgets() returns unique_ptr in poppler 21.04.0
DescriptionChanging the type of m_formWidgets to "std::unique_ptr<FormPageWidgets>" in scribus/plugins/import/pdf/slaoutput.h allows it to build, but I'm not sure if any other changes are needed.

Upstream change (shipped in 21.04.0):
Additional InformationCompilation error:

scribus- In member function ‘virtual void SlaOutputDev::startPage(int, GfxState*, XRef*)’:
scribus- error: cannot convert ‘std::unique_ptr<FormPageWidgets>’ to ‘FormPageWidgets*’ in assignment
 1345 | m_formWidgets = pdfDoc->getPage(pageNum)->getFormWidgets();
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-04-02 21:23 foutrelis New Issue
2021-04-04 21:37 jghali Assigned To => jghali
2021-04-04 21:37 jghali Status new => resolved
2021-04-04 21:37 jghali Resolution open => fixed
2021-04-04 21:37 jghali Fixed in Version => 1.5.7.svn
2021-04-15 20:37 cbradney Status resolved => closed