Index: xfa/fxfa/app/xfa_ffdoc.cpp |
diff --git a/xfa/fxfa/app/xfa_ffdoc.cpp b/xfa/fxfa/app/xfa_ffdoc.cpp |
index 94f035251e31ed79e6ebc488c6aa5eea36c477bd..ed4f94cd77bda941761482b40fb6d1538fd01aa3 100644 |
--- a/xfa/fxfa/app/xfa_ffdoc.cpp |
+++ b/xfa/fxfa/app/xfa_ffdoc.cpp |
@@ -59,7 +59,7 @@ FX_BOOL XFA_GetPDFContentsFromPDFXML(CFDE_XMLNode* pPDFElement, |
CFX_WideString wsTagName; |
CFDE_XMLElement* pXMLElement = static_cast<CFDE_XMLElement*>(pXMLNode); |
pXMLElement->GetTagName(wsTagName); |
- if (wsTagName.Equal(FX_WSTRC(L"document"))) { |
+ if (wsTagName == FX_WSTRC(L"document")) { |
pDocumentElement = pXMLElement; |
break; |
} |
@@ -76,7 +76,7 @@ FX_BOOL XFA_GetPDFContentsFromPDFXML(CFDE_XMLNode* pPDFElement, |
CFX_WideString wsTagName; |
CFDE_XMLElement* pXMLElement = static_cast<CFDE_XMLElement*>(pXMLNode); |
pXMLElement->GetTagName(wsTagName); |
- if (wsTagName.Equal(FX_WSTRC(L"chunk"))) { |
+ if (wsTagName == FX_WSTRC(L"chunk")) { |
pChunkElement = pXMLElement; |
break; |
} |