diff options
author | jaepark <jaepark@google.com> | 2016-07-15 19:25:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-15 19:25:28 -0700 |
commit | 8d5315004400be520bd988c1789e3b0a800fb100 (patch) | |
tree | 3e60e3f2b8f0ecc2a8726f8a3b58f821ea1de7f3 /core/fpdfapi/fpdf_parser/include | |
parent | 40faa79da0bc902d7f1f5cc43464b94e6dfa5d22 (diff) | |
download | pdfium-8d5315004400be520bd988c1789e3b0a800fb100.tar.xz |
Use CPDF_Dictionary::SetAtReference instead of CPDF_Dictionary::AddReference.
The definitions of CPDF_Dictionary::SetAtReference and
CPDF_Dictionary::AddReference are identical, and AddReference is only used
once. So remove CPDF_Dictionary::AddReference method and use
CPDF_Dictionary::SetAtReference instead.
Review-Url: https://codereview.chromium.org/2161453002
Diffstat (limited to 'core/fpdfapi/fpdf_parser/include')
-rw-r--r-- | core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h b/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h index 41cec0cda2..29846366d9 100644 --- a/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h +++ b/core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h @@ -71,10 +71,6 @@ class CPDF_Dictionary : public CPDF_Object { void SetAtMatrix(const CFX_ByteString& key, const CFX_Matrix& matrix); void SetAtBoolean(const CFX_ByteString& key, bool bValue); - void AddReference(const CFX_ByteString& key, - CPDF_IndirectObjectHolder* pDoc, - uint32_t objnum); - // Invalidates iterators for the element with the key |key|. void RemoveAt(const CFX_ByteString& key); |