From 2f62d36bfac781428f3896b443177e033be4c554 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 22 Oct 2018 19:17:02 +0000 Subject: Rename CPDF_Object::Type enumerators with k prefixes This was originally motivated by Clang's newly enhanced -Wshadow warning, which complained about BOOLEAN shadowing a BOOLEAN typedef in winnt.h. The warning has since been changed to not fire on enums shadowing types, but it was suggested that this kind of naming change was desirable anyway. Bug: chromium:895475 Change-Id: I278ce9dbbd88f802fe5bc77fca28b082aa5e684d Reviewed-on: https://pdfium-review.googlesource.com/c/44330 Commit-Queue: Tom Sepez Reviewed-by: Tom Sepez --- core/fpdfapi/parser/cpdf_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/parser/cpdf_stream.cpp') diff --git a/core/fpdfapi/parser/cpdf_stream.cpp b/core/fpdfapi/parser/cpdf_stream.cpp index 81d0e840c0..38374626ac 100644 --- a/core/fpdfapi/parser/cpdf_stream.cpp +++ b/core/fpdfapi/parser/cpdf_stream.cpp @@ -46,7 +46,7 @@ CPDF_Stream::~CPDF_Stream() { } CPDF_Object::Type CPDF_Stream::GetType() const { - return STREAM; + return kStream; } CPDF_Dictionary* CPDF_Stream::GetDict() { -- cgit v1.2.3