mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-31 17:30:54 +00:00
Remove redundant QPDF_Array::setDescription and QPDF_Dictionary::setDescription
This commit is contained in:
parent
e9c1637353
commit
9eda1fdc41
|
@ -56,12 +56,6 @@ QPDF_Array::getTypeName() const
|
|||
return "array";
|
||||
}
|
||||
|
||||
void
|
||||
QPDF_Array::setDescription(QPDF* qpdf, std::string const& description)
|
||||
{
|
||||
this->QPDFObject::setDescription(qpdf, description);
|
||||
}
|
||||
|
||||
int
|
||||
QPDF_Array::getNItems() const
|
||||
{
|
||||
|
|
|
@ -58,12 +58,6 @@ QPDF_Dictionary::getTypeName() const
|
|||
return "dictionary";
|
||||
}
|
||||
|
||||
void
|
||||
QPDF_Dictionary::setDescription(QPDF* qpdf, std::string const& description)
|
||||
{
|
||||
this->QPDFObject::setDescription(qpdf, description);
|
||||
}
|
||||
|
||||
bool
|
||||
QPDF_Dictionary::hasKey(std::string const& key)
|
||||
{
|
||||
|
|
|
@ -17,7 +17,6 @@ class QPDF_Array: public QPDFObject
|
|||
virtual JSON getJSON(int json_version);
|
||||
virtual QPDFObject::object_type_e getTypeCode() const;
|
||||
virtual char const* getTypeName() const;
|
||||
virtual void setDescription(QPDF*, std::string const&);
|
||||
|
||||
int getNItems() const;
|
||||
QPDFObjectHandle getItem(int n) const;
|
||||
|
|
|
@ -17,7 +17,6 @@ class QPDF_Dictionary: public QPDFObject
|
|||
virtual JSON getJSON(int json_version);
|
||||
virtual QPDFObject::object_type_e getTypeCode() const;
|
||||
virtual char const* getTypeName() const;
|
||||
virtual void setDescription(QPDF*, std::string const&);
|
||||
|
||||
// hasKey() and getKeys() treat keys with null values as if they
|
||||
// aren't there. getKey() returns null for the value of a
|
||||
|
|
Loading…
Reference in New Issue
Block a user