Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / xfa / src / fxfa / src / parser / xfa_script_nodehelper.cpp
index 0c793b2..a1562a0 100644 (file)
@@ -27,7 +27,7 @@ CXFA_NodeHelper::CXFA_NodeHelper(void)
 CXFA_NodeHelper::~CXFA_NodeHelper(void)\r
 {\r
 }\r
-CXFA_Node*  CXFA_NodeHelper::XFA_ResolveNodes_GetOneChild(CXFA_Node* parent, FX_LPCWSTR pwsName, FX_BOOL bIsClassName)\r
+CXFA_Node*  CXFA_NodeHelper::XFA_ResolveNodes_GetOneChild(CXFA_Node* parent, const FX_WCHAR* pwsName, FX_BOOL bIsClassName)\r
 {\r
     if(parent == NULL) {\r
         return NULL;\r
@@ -252,12 +252,12 @@ void CXFA_NodeHelper::XFA_GetNameExpression(CXFA_Node* refNode, CFX_WideString &
         if (refNode->IsUnnamed() || (bIsProperty && refNode->GetClassID() != XFA_ELEMENT_PageSet)) {\r
             refNode->GetClassName(wsTagName);\r
             ws = wsTagName;\r
-            wsName.Format(L"#%s[%d]", (FX_LPCWSTR)ws, XFA_GetIndex(refNode, eLogicType, bIsProperty, TRUE));\r
+            wsName.Format(L"#%s[%d]", (const FX_WCHAR*)ws, XFA_GetIndex(refNode, eLogicType, bIsProperty, TRUE));\r
             return;\r
         }\r
         ws = refNode->GetCData(XFA_ATTRIBUTE_Name);\r
         ws.Replace(L".", L"\\.");\r
-        wsName.Format(L"%s[%d]", (FX_LPCWSTR)ws, XFA_GetIndex(refNode, eLogicType, bIsProperty, FALSE));\r
+        wsName.Format(L"%s[%d]", (const FX_WCHAR*)ws, XFA_GetIndex(refNode, eLogicType, bIsProperty, FALSE));\r
     }\r
 }\r
 FX_BOOL        CXFA_NodeHelper::XFA_NodeIsTransparent(CXFA_Node* refNode)\r