Annotation popup window implementation

This commit is contained in:
Jakub Melka
2020-04-13 15:18:27 +02:00
parent 6c746ba901
commit 643c85ed35
3 changed files with 268 additions and 29 deletions

View File

@ -736,7 +736,7 @@ std::array<PDFReal, 4> PDFDocumentBuilder::getAnnotationReductionRectangle(const
void PDFDocumentBuilder::updateAnnotationAppearanceStreams(PDFObjectReference annotationReference)
{
PDFAnnotationPtr annotation = PDFAnnotation::parse(&m_storage, m_storage.getObject(annotationReference));
PDFAnnotationPtr annotation = PDFAnnotation::parse(&m_storage, annotationReference);
if (!annotation)
{
return;