mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Update actions accordin to PDF 2.0 specification
This commit is contained in:
@ -319,7 +319,7 @@ PDFAnnotationPtr PDFAnnotation::parse(const PDFObjectStorage* storage, PDFObject
|
||||
if (!linkAnnotation->m_action)
|
||||
{
|
||||
PDFDestination destination = PDFDestination::parse(storage, dictionary->get("Dest"));
|
||||
linkAnnotation->m_action.reset(new PDFActionGoTo(destination));
|
||||
linkAnnotation->m_action.reset(new PDFActionGoTo(destination, PDFDestination()));
|
||||
}
|
||||
linkAnnotation->m_previousAction = PDFAction::parse(storage, dictionary->get("PA"));
|
||||
|
||||
|
Reference in New Issue
Block a user