2
1
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:
m-holger 2022-06-25 09:20:40 +01:00 committed by Jay Berkenbilt
parent e9c1637353
commit 9eda1fdc41
4 changed files with 0 additions and 14 deletions

View File

@ -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
{

View File

@ -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)
{

View File

@ -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;

View File

@ -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