From a119340ec92412d07e60654b2b22a5a5bea979b0 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 13 Apr 2017 10:42:41 -0700 Subject: Move another opertator<<() prototype into correct .h file. Prototype should be in header for .cpp file actually implementing it. Change-Id: I8f771a4840e09da419cee384e3d6dc2e7bba1cc4 Reviewed-on: https://pdfium-review.googlesource.com/4170 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fpdfapi/parser/fpdf_parser_utility.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/fpdfapi/parser/fpdf_parser_utility.h') diff --git a/core/fpdfapi/parser/fpdf_parser_utility.h b/core/fpdfapi/parser/fpdf_parser_utility.h index 29f54ee853..eb8442ac68 100644 --- a/core/fpdfapi/parser/fpdf_parser_utility.h +++ b/core/fpdfapi/parser/fpdf_parser_utility.h @@ -8,11 +8,11 @@ #define CORE_FPDFAPI_PARSER_FPDF_PARSER_UTILITY_H_ #include "core/fxcrt/cfx_retain_ptr.h" -#include "core/fxcrt/fx_string.h" -#include "core/fxcrt/fx_system.h" +#include "core/fxcrt/fx_basic.h" class IFX_SeekableReadStream; class CPDF_Dictionary; +class CPDF_Object; // Use the accessors below instead of directly accessing PDF_CharType. extern const char PDF_CharType[256]; @@ -37,4 +37,6 @@ inline bool PDFCharIsLineEnding(uint8_t c) { int32_t GetHeaderOffset(const CFX_RetainPtr& pFile); int32_t GetDirectInteger(CPDF_Dictionary* pDict, const CFX_ByteString& key); +CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj); + #endif // CORE_FPDFAPI_PARSER_FPDF_PARSER_UTILITY_H_ -- cgit v1.2.3