From 96f482c9cd3c99425fd3422251903b1218253c66 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 11 Jan 2017 16:31:27 -0500 Subject: Convert FDE CSS enums to enum classes. This CL updates the possible FDE CSS enums to enum classes and fixes up any instances of incorrect values being used. A few other cleanups and changes were needed to complete the conversion. Change-Id: Ibcca5229a9ca8de1f4beb6462535f61705fd4f8c Reviewed-on: https://pdfium-review.googlesource.com/2170 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fde/css/fde_csssyntax.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fde/css/fde_csssyntax.h') diff --git a/xfa/fde/css/fde_csssyntax.h b/xfa/fde/css/fde_csssyntax.h index 993eb4c7dc..c7578e170b 100644 --- a/xfa/fde/css/fde_csssyntax.h +++ b/xfa/fde/css/fde_csssyntax.h @@ -88,7 +88,7 @@ class CFDE_CSSSyntaxParser { int32_t iBufferSize, int32_t iTextDatSize = 32, bool bOnlyDeclaration = false); - FDE_CSSSYNTAXSTATUS DoSyntaxParse(); + FDE_CSSSyntaxStatus DoSyntaxParse(); const FX_WCHAR* GetCurrentString(int32_t& iLength) const; protected: @@ -114,7 +114,7 @@ class CFDE_CSSSyntaxParser { int32_t m_iTextDatLen; uint32_t m_dwCheck; FDE_CSSSYNTAXMODE m_eMode; - FDE_CSSSYNTAXSTATUS m_eStatus; + FDE_CSSSyntaxStatus m_eStatus; CFX_StackTemplate m_ModeStack; }; -- cgit v1.2.3