Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1323)

Unified Diff: xfa/fxfa/parser/cxfa_value.cpp

Issue 2089443002: Convert XFA_ELEMENT to an enum class (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: More unknown checks Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxfa/parser/cxfa_value.h ('k') | xfa/fxfa/parser/cxfa_widgetdata.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/cxfa_value.cpp
diff --git a/xfa/fxfa/parser/cxfa_value.cpp b/xfa/fxfa/parser/cxfa_value.cpp
index 1e41ab27d325421bab7a0436c46b73d5de41781d..eac146be8a81aac1f6e5e70fb4214343c304333c 100644
--- a/xfa/fxfa/parser/cxfa_value.cpp
+++ b/xfa/fxfa/parser/cxfa_value.cpp
@@ -8,12 +8,12 @@
#include "xfa/fxfa/parser/xfa_object.h"
-XFA_ELEMENT CXFA_Value::GetChildValueClassID() {
+XFA_Element CXFA_Value::GetChildValueClassID() {
if (!m_pNode)
- return XFA_ELEMENT_UNKNOWN;
+ return XFA_Element::Unknown;
if (CXFA_Node* pNode = m_pNode->GetNodeItem(XFA_NODEITEM_FirstChild))
return pNode->GetClassID();
- return XFA_ELEMENT_UNKNOWN;
+ return XFA_Element::Unknown;
}
FX_BOOL CXFA_Value::GetChildValueContent(CFX_WideString& wsContent) {
« no previous file with comments | « xfa/fxfa/parser/cxfa_value.h ('k') | xfa/fxfa/parser/cxfa_widgetdata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698