diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2018-07-23 19:54:34 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-23 19:54:34 +0000 |
commit | 2bfa78540c375916ec9973f0ae11271b098180bd (patch) | |
tree | 4ec0b11e0014c95acda8a2e0b54e1bacd9f349d1 /core/fpdfapi/parser/cpdf_number.h | |
parent | 9f53dc093a9d00342ea76ecc0b4c8c84357ffd6e (diff) | |
download | pdfium-2bfa78540c375916ec9973f0ae11271b098180bd.tar.xz |
Rework of CPDF_Object writing.
Move writing logic into implementation of related clases.
Change-Id: If70dc418b352b562ee681ea34fa6595d6f52eee3
Reviewed-on: https://pdfium-review.googlesource.com/36350
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_number.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_number.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_number.h b/core/fpdfapi/parser/cpdf_number.h index 661177363b..4681bb216a 100644 --- a/core/fpdfapi/parser/cpdf_number.h +++ b/core/fpdfapi/parser/cpdf_number.h @@ -31,7 +31,8 @@ class CPDF_Number : public CPDF_Object { bool IsNumber() const override; CPDF_Number* AsNumber() override; const CPDF_Number* AsNumber() const override; - bool WriteTo(IFX_ArchiveStream* archive) const override; + bool WriteTo(IFX_ArchiveStream* archive, + const CPDF_Encryptor* encryptor) const override; bool IsInteger() const { return m_bInteger; } |