summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xfa/fxfa/parser/cxfa_binditemsdata.cpp11
-rw-r--r--xfa/fxfa/parser/cxfa_binditemsdata.h8
2 files changed, 6 insertions, 13 deletions
diff --git a/xfa/fxfa/parser/cxfa_binditemsdata.cpp b/xfa/fxfa/parser/cxfa_binditemsdata.cpp
index 7640314f06..46ee0d5c15 100644
--- a/xfa/fxfa/parser/cxfa_binditemsdata.cpp
+++ b/xfa/fxfa/parser/cxfa_binditemsdata.cpp
@@ -11,19 +11,14 @@
CXFA_BindItemsData::CXFA_BindItemsData(CXFA_Node* pNode)
: CXFA_DataData(pNode) {}
-WideString CXFA_BindItemsData::GetLabelRef() {
+WideString CXFA_BindItemsData::GetLabelRef() const {
return m_pNode->JSNode()->GetCData(XFA_Attribute::LabelRef);
}
-WideString CXFA_BindItemsData::GetValueRef() {
+WideString CXFA_BindItemsData::GetValueRef() const {
return m_pNode->JSNode()->GetCData(XFA_Attribute::ValueRef);
}
-WideString CXFA_BindItemsData::GetRef() {
+WideString CXFA_BindItemsData::GetRef() const {
return m_pNode->JSNode()->GetCData(XFA_Attribute::Ref);
}
-
-bool CXFA_BindItemsData::SetConnection(const WideString& wsConnection) {
- return m_pNode->JSNode()->SetCData(XFA_Attribute::Connection, wsConnection,
- false, false);
-}
diff --git a/xfa/fxfa/parser/cxfa_binditemsdata.h b/xfa/fxfa/parser/cxfa_binditemsdata.h
index 4e59fa1657..ab4cac1836 100644
--- a/xfa/fxfa/parser/cxfa_binditemsdata.h
+++ b/xfa/fxfa/parser/cxfa_binditemsdata.h
@@ -16,11 +16,9 @@ class CXFA_BindItemsData : public CXFA_DataData {
public:
explicit CXFA_BindItemsData(CXFA_Node* pNode);
- WideString GetLabelRef();
- WideString GetValueRef();
- WideString GetRef();
-
- bool SetConnection(const WideString& wsConnection);
+ WideString GetLabelRef() const;
+ WideString GetValueRef() const;
+ WideString GetRef() const;
};
#endif // XFA_FXFA_PARSER_CXFA_BINDITEMSDATA_H_