diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-12-21 14:19:52 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-12-22 00:34:56 +0100 |
commit | d2f397594803fa5729fab83684ce74184dd4fe38 (patch) | |
tree | b4802b57dbc2908627b5f73b1644c8c7b1817c7a /include | |
parent | cc500eda9198b3c19ff05f00bfb0eb7c1907e1d4 (diff) | |
download | qpdf-d2f397594803fa5729fab83684ce74184dd4fe38.tar.zst |
Add missing virtual destructors to all helper classes
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFAcroFormDocumentHelper.hh | 4 | ||||
-rw-r--r-- | include/qpdf/QPDFAnnotationObjectHelper.hh | 4 | ||||
-rw-r--r-- | include/qpdf/QPDFFormFieldObjectHelper.hh | 4 | ||||
-rw-r--r-- | include/qpdf/QPDFNumberTreeObjectHelper.hh | 4 | ||||
-rw-r--r-- | include/qpdf/QPDFPageDocumentHelper.hh | 4 | ||||
-rw-r--r-- | include/qpdf/QPDFPageLabelDocumentHelper.hh | 4 | ||||
-rw-r--r-- | include/qpdf/QPDFPageObjectHelper.hh | 4 |
7 files changed, 28 insertions, 0 deletions
diff --git a/include/qpdf/QPDFAcroFormDocumentHelper.hh b/include/qpdf/QPDFAcroFormDocumentHelper.hh index 3297ebb3..3a308467 100644 --- a/include/qpdf/QPDFAcroFormDocumentHelper.hh +++ b/include/qpdf/QPDFAcroFormDocumentHelper.hh @@ -85,6 +85,10 @@ class QPDFAcroFormDocumentHelper: public QPDFDocumentHelper public: QPDF_DLL QPDFAcroFormDocumentHelper(QPDF&); + QPDF_DLL + virtual ~QPDFAcroFormDocumentHelper() + { + } // This class lazily creates an internal cache of the mapping // among form fields, annotations, and pages. Methods within this diff --git a/include/qpdf/QPDFAnnotationObjectHelper.hh b/include/qpdf/QPDFAnnotationObjectHelper.hh index 094d4129..e7e1a372 100644 --- a/include/qpdf/QPDFAnnotationObjectHelper.hh +++ b/include/qpdf/QPDFAnnotationObjectHelper.hh @@ -31,6 +31,10 @@ class QPDFAnnotationObjectHelper: public QPDFObjectHelper public: QPDF_DLL QPDFAnnotationObjectHelper(QPDFObjectHandle); + QPDF_DLL + virtual ~QPDFAnnotationObjectHelper() + { + } // This class provides helper methods for certain types of // annotations. At its introduction, it only supports Widget diff --git a/include/qpdf/QPDFFormFieldObjectHelper.hh b/include/qpdf/QPDFFormFieldObjectHelper.hh index 90afaad2..ec2c1f55 100644 --- a/include/qpdf/QPDFFormFieldObjectHelper.hh +++ b/include/qpdf/QPDFFormFieldObjectHelper.hh @@ -37,6 +37,10 @@ class QPDFFormFieldObjectHelper: public QPDFObjectHelper QPDFFormFieldObjectHelper(); QPDF_DLL QPDFFormFieldObjectHelper(QPDFObjectHandle); + QPDF_DLL + virtual ~QPDFFormFieldObjectHelper() + { + } QPDF_DLL bool isNull(); diff --git a/include/qpdf/QPDFNumberTreeObjectHelper.hh b/include/qpdf/QPDFNumberTreeObjectHelper.hh index be67c887..194cfbcb 100644 --- a/include/qpdf/QPDFNumberTreeObjectHelper.hh +++ b/include/qpdf/QPDFNumberTreeObjectHelper.hh @@ -41,6 +41,10 @@ class QPDFNumberTreeObjectHelper: public QPDFObjectHelper public: QPDF_DLL QPDFNumberTreeObjectHelper(QPDFObjectHandle); + QPDF_DLL + virtual ~QPDFNumberTreeObjectHelper() + { + } typedef long long int numtree_number; diff --git a/include/qpdf/QPDFPageDocumentHelper.hh b/include/qpdf/QPDFPageDocumentHelper.hh index 82ab71fa..52e03be8 100644 --- a/include/qpdf/QPDFPageDocumentHelper.hh +++ b/include/qpdf/QPDFPageDocumentHelper.hh @@ -36,6 +36,10 @@ class QPDFPageDocumentHelper: public QPDFDocumentHelper public: QPDF_DLL QPDFPageDocumentHelper(QPDF&); + QPDF_DLL + virtual ~QPDFPageDocumentHelper() + { + } // Traverse page tree, and return all /Page objects wrapped in // QPDFPageObjectHelper objects. Unlike with diff --git a/include/qpdf/QPDFPageLabelDocumentHelper.hh b/include/qpdf/QPDFPageLabelDocumentHelper.hh index a5a13ff2..9165506e 100644 --- a/include/qpdf/QPDFPageLabelDocumentHelper.hh +++ b/include/qpdf/QPDFPageLabelDocumentHelper.hh @@ -49,6 +49,10 @@ class QPDFPageLabelDocumentHelper: public QPDFDocumentHelper public: QPDF_DLL QPDFPageLabelDocumentHelper(QPDF&); + QPDF_DLL + virtual ~QPDFPageLabelDocumentHelper() + { + } QPDF_DLL bool hasPageLabels(); diff --git a/include/qpdf/QPDFPageObjectHelper.hh b/include/qpdf/QPDFPageObjectHelper.hh index 26c1566f..aa6d8ae9 100644 --- a/include/qpdf/QPDFPageObjectHelper.hh +++ b/include/qpdf/QPDFPageObjectHelper.hh @@ -34,6 +34,10 @@ class QPDFPageObjectHelper: public QPDFObjectHelper public: QPDF_DLL QPDFPageObjectHelper(QPDFObjectHandle); + QPDF_DLL + virtual ~QPDFPageObjectHelper() + { + } // Returns an empty map if there are no images or no resources. // This function does not presently support inherited resources. |