diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-09 18:08:21 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-09 18:08:21 +0000 |
commit | 6169c37cb94e78d05641a9b7a920912460cd20da (patch) | |
tree | 15358ca753aead4452e772c9bf72f7e449b8a9c8 /core/fpdfapi | |
parent | 33b1cebbc5e079589f370b6a8a6a9eff9268f465 (diff) | |
download | pdfium-6169c37cb94e78d05641a9b7a920912460cd20da.tar.xz |
Remove unused CPDF_Dictionary::IsSignatureDict().
Change-Id: I21320f89cc3d5e487506d6383d11ff688ad6b887
Reviewed-on: https://pdfium-review.googlesource.com/c/43607
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi')
-rw-r--r-- | core/fpdfapi/parser/cpdf_dictionary.cpp | 4 | ||||
-rw-r--r-- | core/fpdfapi/parser/cpdf_dictionary.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/core/fpdfapi/parser/cpdf_dictionary.cpp b/core/fpdfapi/parser/cpdf_dictionary.cpp index 585930427c..4357efaff3 100644 --- a/core/fpdfapi/parser/cpdf_dictionary.cpp +++ b/core/fpdfapi/parser/cpdf_dictionary.cpp @@ -194,10 +194,6 @@ bool CPDF_Dictionary::KeyExist(const ByteString& key) const { return pdfium::ContainsKey(m_Map, key); } -bool CPDF_Dictionary::IsSignatureDict() const { - return CPDF_CryptoHandler::IsSignatureDictionary(this); -} - CPDF_Object* CPDF_Dictionary::SetFor(const ByteString& key, std::unique_ptr<CPDF_Object> pObj) { if (!pObj) { diff --git a/core/fpdfapi/parser/cpdf_dictionary.h b/core/fpdfapi/parser/cpdf_dictionary.h index 1876a610a2..7b839975a1 100644 --- a/core/fpdfapi/parser/cpdf_dictionary.h +++ b/core/fpdfapi/parser/cpdf_dictionary.h @@ -65,7 +65,6 @@ class CPDF_Dictionary final : public CPDF_Object { float GetFloatFor(const ByteString& key) const { return GetNumberFor(key); } bool KeyExist(const ByteString& key) const; - bool IsSignatureDict() const; // Set* functions invalidate iterators for the element with the key |key|. // Takes ownership of |pObj|, returns an unowned pointer to it. |