mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-28 16:00:53 +00:00
Add missing virtual destructors to all helper classes
This commit is contained in:
parent
cc500eda91
commit
d2f3975948
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -37,6 +37,10 @@ class QPDFFormFieldObjectHelper: public QPDFObjectHelper
|
|||
QPDFFormFieldObjectHelper();
|
||||
QPDF_DLL
|
||||
QPDFFormFieldObjectHelper(QPDFObjectHandle);
|
||||
QPDF_DLL
|
||||
virtual ~QPDFFormFieldObjectHelper()
|
||||
{
|
||||
}
|
||||
|
||||
QPDF_DLL
|
||||
bool isNull();
|
||||
|
|
|
@ -41,6 +41,10 @@ class QPDFNumberTreeObjectHelper: public QPDFObjectHelper
|
|||
public:
|
||||
QPDF_DLL
|
||||
QPDFNumberTreeObjectHelper(QPDFObjectHandle);
|
||||
QPDF_DLL
|
||||
virtual ~QPDFNumberTreeObjectHelper()
|
||||
{
|
||||
}
|
||||
|
||||
typedef long long int numtree_number;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -49,6 +49,10 @@ class QPDFPageLabelDocumentHelper: public QPDFDocumentHelper
|
|||
public:
|
||||
QPDF_DLL
|
||||
QPDFPageLabelDocumentHelper(QPDF&);
|
||||
QPDF_DLL
|
||||
virtual ~QPDFPageLabelDocumentHelper()
|
||||
{
|
||||
}
|
||||
|
||||
QPDF_DLL
|
||||
bool hasPageLabels();
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user