diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-01-25 13:37:42 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-01-25 13:37:42 -0800 |
commit | 0f68785be6af2b15109bb8a8f3bb7ebc040500d5 (patch) | |
tree | 3e76a6b83d0bebb44f3a37c4599838a179fc68c2 /core/src/fpdfapi/fpdf_edit | |
parent | 02056fae83c8136195c8eb2a00c3606f600a8b6a (diff) | |
download | pdfium-0f68785be6af2b15109bb8a8f3bb7ebc040500d5.tar.xz |
Remove struct PARSE_OPTIONS.
Its members are assigned to, but never used in any calculations
(besides for other members).
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1630973002 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_edit')
-rw-r--r-- | core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp b/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp index 1ffcfbf0a3..f8e7cb86c3 100644 --- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp +++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp @@ -1290,7 +1290,7 @@ int32_t CPDF_Creator::WriteOldIndirectObject(FX_DWORD objnum) { (m_pParser->m_V5Type[objnum] == 2) && m_pEncryptDict && !m_pXRefStream; if (m_pParser->m_bVersionUpdated || m_bSecurityChanged || bExistInMap || bObjStm) { - CPDF_Object* pObj = m_pDocument->GetIndirectObject(objnum, nullptr); + CPDF_Object* pObj = m_pDocument->GetIndirectObject(objnum); if (!pObj) { m_ObjectOffset[objnum] = 0; return 0; |