Index: xfa/fxfa/app/xfa_ffwidgetacc.cpp |
diff --git a/xfa/fxfa/app/xfa_ffwidgetacc.cpp b/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
index c50786a3dcc497706321744cd2d49bf8737a84f5..d8422f953a3940a6d3f9a5444a161bf055e5ca25 100644 |
--- a/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
+++ b/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
@@ -1581,7 +1581,7 @@ CXFA_Node* CXFA_TextProvider::GetTextNode(FX_BOOL& bRichText) { |
CFX_WideString wsContentType; |
m_pTextNode->GetAttribute(XFA_ATTRIBUTE_ContentType, wsContentType, |
FALSE); |
- if (wsContentType.Equal(FX_WSTRC(L"text/html"))) { |
+ if (wsContentType == FX_WSTRC(L"text/html")) { |
bRichText = TRUE; |
} |
} |
@@ -1597,7 +1597,7 @@ CXFA_Node* CXFA_TextProvider::GetTextNode(FX_BOOL& bRichText) { |
if (pChildNode && pChildNode->GetClassID() == XFA_ELEMENT_ExData) { |
CFX_WideString wsContentType; |
pChildNode->GetAttribute(XFA_ATTRIBUTE_ContentType, wsContentType, FALSE); |
- if (wsContentType.Equal(FX_WSTRC(L"text/html"))) { |
+ if (wsContentType == FX_WSTRC(L"text/html")) { |
bRichText = TRUE; |
} |
} |
@@ -1632,7 +1632,7 @@ CXFA_Node* CXFA_TextProvider::GetTextNode(FX_BOOL& bRichText) { |
if (pChildNode && pChildNode->GetClassID() == XFA_ELEMENT_ExData) { |
CFX_WideString wsContentType; |
pChildNode->GetAttribute(XFA_ATTRIBUTE_ContentType, wsContentType, FALSE); |
- if (wsContentType.Equal(FX_WSTRC(L"text/html"))) { |
+ if (wsContentType == FX_WSTRC(L"text/html")) { |
bRichText = TRUE; |
} |
} |