Commit 9eda1fdc41fcc5a5ede4fdcf8ec355f1fc610699
Committed by
Jay Berkenbilt
1 parent
e9c16373
Remove redundant QPDF_Array::setDescription and QPDF_Dictionary::setDescription
Showing
4 changed files
with
0 additions
and
14 deletions
libqpdf/QPDF_Array.cc
| @@ -56,12 +56,6 @@ QPDF_Array::getTypeName() const | @@ -56,12 +56,6 @@ QPDF_Array::getTypeName() const | ||
| 56 | return "array"; | 56 | return "array"; |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | -void | ||
| 60 | -QPDF_Array::setDescription(QPDF* qpdf, std::string const& description) | ||
| 61 | -{ | ||
| 62 | - this->QPDFObject::setDescription(qpdf, description); | ||
| 63 | -} | ||
| 64 | - | ||
| 65 | int | 59 | int |
| 66 | QPDF_Array::getNItems() const | 60 | QPDF_Array::getNItems() const |
| 67 | { | 61 | { |
libqpdf/QPDF_Dictionary.cc
| @@ -58,12 +58,6 @@ QPDF_Dictionary::getTypeName() const | @@ -58,12 +58,6 @@ QPDF_Dictionary::getTypeName() const | ||
| 58 | return "dictionary"; | 58 | return "dictionary"; |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | -void | ||
| 62 | -QPDF_Dictionary::setDescription(QPDF* qpdf, std::string const& description) | ||
| 63 | -{ | ||
| 64 | - this->QPDFObject::setDescription(qpdf, description); | ||
| 65 | -} | ||
| 66 | - | ||
| 67 | bool | 61 | bool |
| 68 | QPDF_Dictionary::hasKey(std::string const& key) | 62 | QPDF_Dictionary::hasKey(std::string const& key) |
| 69 | { | 63 | { |
libqpdf/qpdf/QPDF_Array.hh
| @@ -17,7 +17,6 @@ class QPDF_Array: public QPDFObject | @@ -17,7 +17,6 @@ class QPDF_Array: public QPDFObject | ||
| 17 | virtual JSON getJSON(int json_version); | 17 | virtual JSON getJSON(int json_version); |
| 18 | virtual QPDFObject::object_type_e getTypeCode() const; | 18 | virtual QPDFObject::object_type_e getTypeCode() const; |
| 19 | virtual char const* getTypeName() const; | 19 | virtual char const* getTypeName() const; |
| 20 | - virtual void setDescription(QPDF*, std::string const&); | ||
| 21 | 20 | ||
| 22 | int getNItems() const; | 21 | int getNItems() const; |
| 23 | QPDFObjectHandle getItem(int n) const; | 22 | QPDFObjectHandle getItem(int n) const; |
libqpdf/qpdf/QPDF_Dictionary.hh
| @@ -17,7 +17,6 @@ class QPDF_Dictionary: public QPDFObject | @@ -17,7 +17,6 @@ class QPDF_Dictionary: public QPDFObject | ||
| 17 | virtual JSON getJSON(int json_version); | 17 | virtual JSON getJSON(int json_version); |
| 18 | virtual QPDFObject::object_type_e getTypeCode() const; | 18 | virtual QPDFObject::object_type_e getTypeCode() const; |
| 19 | virtual char const* getTypeName() const; | 19 | virtual char const* getTypeName() const; |
| 20 | - virtual void setDescription(QPDF*, std::string const&); | ||
| 21 | 20 | ||
| 22 | // hasKey() and getKeys() treat keys with null values as if they | 21 | // hasKey() and getKeys() treat keys with null values as if they |
| 23 | // aren't there. getKey() returns null for the value of a | 22 | // aren't there. getKey() returns null for the value of a |