From 2bfa78540c375916ec9973f0ae11271b098180bd Mon Sep 17 00:00:00 2001 From: Artem Strygin Date: Mon, 23 Jul 2018 19:54:34 +0000 Subject: 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 Reviewed-by: Tom Sepez --- core/fpdfapi/parser/cpdf_string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/fpdfapi/parser/cpdf_string.h') diff --git a/core/fpdfapi/parser/cpdf_string.h b/core/fpdfapi/parser/cpdf_string.h index b6aaacb043..144fe64cba 100644 --- a/core/fpdfapi/parser/cpdf_string.h +++ b/core/fpdfapi/parser/cpdf_string.h @@ -31,7 +31,8 @@ class CPDF_String : public CPDF_Object { bool IsString() const override; CPDF_String* AsString() override; const CPDF_String* AsString() const override; - bool WriteTo(IFX_ArchiveStream* archive) const override; + bool WriteTo(IFX_ArchiveStream* archive, + const CPDF_Encryptor* encryptor) const override; bool IsHex() const { return m_bHex; } -- cgit v1.2.3