diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-10-03 21:54:20 +0300 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-03 19:06:57 +0000 |
commit | df3d229b592d1ebc7019797e0015dd2219fa3d0c (patch) | |
tree | 64f115616de39a3f7e422e21125b3554cf20d377 /core/fpdfapi/edit | |
parent | a081931e2b00e3aadff2050f7d253e17c124c69f (diff) | |
download | pdfium-df3d229b592d1ebc7019797e0015dd2219fa3d0c.tar.xz |
Simplify CPDF_Parser::GetIDArray
Change-Id: Idbd205edcf7400ffc46edf4d9f09be6ace6d0e7f
Reviewed-on: https://pdfium-review.googlesource.com/13734
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 eecf37b981..9064854779 100644 --- a/core/fpdfapi/edit/cpdf_creator.cpp +++ b/core/fpdfapi/edit/cpdf_creator.cpp @@ -770,7 +770,7 @@ bool CPDF_Creator::Create(uint32_t flags) { } void CPDF_Creator::InitID() { - CPDF_Array* pOldIDArray = m_pParser ? m_pParser->GetIDArray() : nullptr; + const CPDF_Array* pOldIDArray = m_pParser ? m_pParser->GetIDArray() : nullptr; bool idArrayPreExisting = !!m_pIDArray; if (!idArrayPreExisting) { |