diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-08-31 15:01:28 +0300 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-31 20:11:26 +0000 |
commit | 3c6b72f79fce629c903ce31f07092df23f870bb6 (patch) | |
tree | fd0b1f710bdaaed13523ceb3580df71a5d9d8977 /core/fpdfapi/parser/cfdf_document.cpp | |
parent | 0872b04ea41ba6706e42b28f632ab190bc77dede (diff) | |
download | pdfium-3c6b72f79fce629c903ce31f07092df23f870bb6.tar.xz |
Disable objects decryption if it is useless.
Change-Id: I6a588b4af4cfede922bc3756be749e9e30e3e8e5
Reviewed-on: https://pdfium-review.googlesource.com/12370
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Diffstat (limited to 'core/fpdfapi/parser/cfdf_document.cpp')
-rw-r--r-- | core/fpdfapi/parser/cfdf_document.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cfdf_document.cpp b/core/fpdfapi/parser/cfdf_document.cpp index b00806967b..41827db0d9 100644 --- a/core/fpdfapi/parser/cfdf_document.cpp +++ b/core/fpdfapi/parser/cfdf_document.cpp @@ -67,7 +67,7 @@ void CFDF_Document::ParseStream( break; std::unique_ptr<CPDF_Object> pObj = - parser.GetObject(this, objnum, 0, true); + parser.GetObject(this, objnum, 0, false); if (!pObj) break; @@ -80,7 +80,7 @@ void CFDF_Document::ParseStream( break; std::unique_ptr<CPDF_Dictionary> pMainDict = - ToDictionary(parser.GetObject(this, 0, 0, true)); + ToDictionary(parser.GetObject(this, 0, 0, false)); if (pMainDict) m_pRootDict = pMainDict->GetDictFor("Root"); |