summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/cjx_node.cpp2
-rw-r--r--fxjs/cjx_node.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp
index b4f480e537..b4d99dd38e 100644
--- a/fxjs/cjx_node.cpp
+++ b/fxjs/cjx_node.cpp
@@ -3236,7 +3236,7 @@ void* CJX_Node::GetObject(XFA_ATTRIBUTE eAttr) {
bool CJX_Node::TryObject(XFA_ATTRIBUTE eAttr, void*& pData) {
void* pKey = GetMapKey_Element(GetXFANode()->GetElementType(), eAttr);
- pData = GetUserData(pKey);
+ pData = GetUserData(pKey, false);
return !!pData;
}
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h
index a492a32f39..1434029def 100644
--- a/fxjs/cjx_node.h
+++ b/fxjs/cjx_node.h
@@ -112,13 +112,13 @@ class CJX_Node : public CJX_Object {
bool SetUserData(void* pKey,
void* pData,
- XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo = nullptr);
- void* GetUserData(void* pKey, bool bProtoAlso = false);
+ XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo);
+ void* GetUserData(void* pKey, bool bProtoAlso);
bool TryObject(XFA_ATTRIBUTE eAttr, void*& pData);
bool SetObject(XFA_ATTRIBUTE eAttr,
void* pData,
- XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo = nullptr);
+ XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo);
void* GetObject(XFA_ATTRIBUTE eAttr);
bool TryNamespace(WideString& wsNamespace);