Index: xfa/fxfa/parser/xfa_objectacc_imp.cpp |
diff --git a/xfa/fxfa/parser/xfa_objectacc_imp.cpp b/xfa/fxfa/parser/xfa_objectacc_imp.cpp |
index 8c438c5634921c0e17d8de1f5a821dd676a53583..94657c6e50ba00dc694e5e339e26b4fedff2ef15 100644 |
--- a/xfa/fxfa/parser/xfa_objectacc_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_objectacc_imp.cpp |
@@ -24,7 +24,7 @@ static FX_ARGB XFA_WStringToColor(const CFX_WideStringC& wsValue) { |
return 0xff000000; |
} |
int cc = 0; |
- const FX_WCHAR* str = wsValue.GetPtr(); |
+ const FX_WCHAR* str = wsValue.raw_str(); |
int len = wsValue.GetLength(); |
while (XFA_IsSpace(str[cc]) && cc < len) { |
cc++; |
@@ -1238,7 +1238,7 @@ CXFA_Node* CXFA_WidgetData::SetSelectedMember(const CFX_WideStringC& wsName, |
FX_BOOL bNotify) { |
CXFA_Node* pSelectedMember = NULL; |
uint32_t nameHash = |
- FX_HashCode_String_GetW(wsName.GetPtr(), wsName.GetLength()); |
+ FX_HashCode_String_GetW(wsName.raw_str(), wsName.GetLength()); |
for (CXFA_Node* pNode = ToNode(m_pNode->GetNodeItem(XFA_NODEITEM_FirstChild)); |
pNode; pNode = pNode->GetNodeItem(XFA_NODEITEM_NextSibling)) { |
if (pNode->GetNameHash() == nameHash) { |