Skip to content

Commit 3de958f

Browse files
committed
Fix copy-assignment of PDFDocumentReference
the new member popplerDocument_ was not yet copied, breaking the function to reload the pdf when it changes on-disk.
1 parent b581255 commit 3de958f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pdfdocumentreference.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ PDFDocumentReference& PDFDocumentReference::operator=(const PDFDocumentReference
7474
throw std::runtime_error("This PDFDocumentReference has a different cache setting");
7575
}
7676
fileContents_=rhs.fileContents_;
77+
popplerDocument_=rhs.popplerDocument_;
7778
return *this;
7879
}
7980

0 commit comments

Comments
 (0)