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_string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/parser/cpdf_string.cpp') diff --git a/core/fpdfapi/parser/cpdf_string.cpp b/core/fpdfapi/parser/cpdf_string.cpp index e7f2a9dcd6..08f3db30d8 100644 --- a/core/fpdfapi/parser/cpdf_string.cpp +++ b/core/fpdfapi/parser/cpdf_string.cpp @@ -33,7 +33,7 @@ CPDF_String::CPDF_String(WeakPtr pPool, const WideString& str) CPDF_String::~CPDF_String() {} CPDF_Object::Type CPDF_String::GetType() const { - return STRING; + return kString; } std::unique_ptr CPDF_String::Clone() const { -- cgit v1.2.3