diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-10-02 19:23:28 +0300 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-02 16:36:31 +0000 |
commit | 1cfdb58521aa96f6c0cc39a8e8fa31f2ee6ad4a9 (patch) | |
tree | 24cc7990715938ab9b57d545958cf8492e4d6aef /core/fpdfapi/edit | |
parent | d8169d7607b5084cdeceee3eaffca0ab16d2c14d (diff) | |
download | pdfium-1cfdb58521aa96f6c0cc39a8e8fa31f2ee6ad4a9.tar.xz |
Move CPDF_Parser::ObjectType into protected section
Change-Id: I2a26647359a7d14d7d1269fe2835e0b3184f2ca8
Reviewed-on: https://pdfium-review.googlesource.com/13732
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/edit')
-rw-r--r-- | core/fpdfapi/edit/cpdf_creator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/edit/cpdf_creator.cpp b/core/fpdfapi/edit/cpdf_creator.cpp index 06ffa5a87c..c060f5897b 100644 --- a/core/fpdfapi/edit/cpdf_creator.cpp +++ b/core/fpdfapi/edit/cpdf_creator.cpp @@ -391,7 +391,7 @@ void CPDF_Creator::InitNewObjNumOffsets() { continue; } if (m_pParser && m_pParser->IsValidObjectNumber(objnum) && - m_pParser->GetObjectType(objnum) != CPDF_Parser::ObjectType::kFree) { + !m_pParser->IsObjectFree(objnum)) { continue; } m_NewObjNumArray.insert(std::lower_bound(m_NewObjNumArray.begin(), |