Index: xfa/fxfa/app/xfa_ffwidgetacc.cpp |
diff --git a/xfa/fxfa/app/xfa_ffwidgetacc.cpp b/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
index fc8b38f4584208ceb42662d645686a3fbbfa9978..5c2e6c354b628639a0fb56f9f20c0068c0a62e1d 100644 |
--- a/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
+++ b/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
@@ -1583,7 +1583,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; |
} |
} |
@@ -1599,7 +1599,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; |
} |
} |
@@ -1634,7 +1634,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; |
} |
} |