| Index: xfa/fxfa/app/xfa_ffdoc.cpp
|
| diff --git a/xfa/fxfa/app/xfa_ffdoc.cpp b/xfa/fxfa/app/xfa_ffdoc.cpp
|
| index 01d40ee8ccd61bf4a912a817580741e75483cb85..a89489a9ccb54edbe72573d2f1a014b5704c2d4f 100644
|
| --- a/xfa/fxfa/app/xfa_ffdoc.cpp
|
| +++ b/xfa/fxfa/app/xfa_ffdoc.cpp
|
| @@ -54,7 +54,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;
|
| }
|
| @@ -71,7 +71,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;
|
| }
|
|
|