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.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp
index 4cebf44cd7..59ddab5db0 100644
--- a/fxjs/cjx_node.cpp
+++ b/fxjs/cjx_node.cpp
@@ -3396,7 +3396,7 @@ bool CJX_Node::SetScriptContent(const WideString& wsContent,
pValueNode; pValueNode = pValueNode->GetNodeItem(
XFA_NODEITEM_NextSibling)) {
pValueNode->JSNode()->SetAttributeValue(
- wsSaveTextArray[i], wsSaveTextArray[i], false);
+ wsSaveTextArray[i], wsSaveTextArray[i], false, false);
i++;
}
}
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h
index 442e0d57e3..1b8ad5c079 100644
--- a/fxjs/cjx_node.h
+++ b/fxjs/cjx_node.h
@@ -65,8 +65,8 @@ class CJX_Node : public CJX_Object {
bool GetAttribute(XFA_ATTRIBUTE eAttr, WideString& wsValue, bool bUseDefault);
bool SetAttributeValue(const WideString& wsValue,
const WideString& wsXMLValue,
- bool bNotify = false,
- bool bScriptModify = false);
+ bool bNotify,
+ bool bScriptModify);
bool RemoveAttribute(const WideStringView& wsAttr);
CXFA_Node* GetProperty(int32_t index,