diff options
Diffstat (limited to 'xfa/fxfa')
-rw-r--r-- | xfa/fxfa/cxfa_widgetacc.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_widgetacc.cpp b/xfa/fxfa/cxfa_widgetacc.cpp index d7fa3ccde9..5a925da833 100644 --- a/xfa/fxfa/cxfa_widgetacc.cpp +++ b/xfa/fxfa/cxfa_widgetacc.cpp @@ -2313,7 +2313,7 @@ WideString CXFA_WidgetAcc::GetPictureContent(XFA_VALUEPICTURE ePicture) { } } case XFA_VALUEPICTURE_DataBind: { - CXFA_Bind* bind = m_pNode->GetBind(); + CXFA_Bind* bind = m_pNode->GetBindIfExists(); if (bind) return bind->GetPicture(); break; diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 9c28668c16..2cf521f44b 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -1617,7 +1617,7 @@ CXFA_Validate* CXFA_Node::GetOrCreateValidateIfPossible() { XFA_Element::Validate); } -CXFA_Bind* CXFA_Node::GetBind() const { +CXFA_Bind* CXFA_Node::GetBindIfExists() const { return JSObject()->GetProperty<CXFA_Bind>(0, XFA_Element::Bind); } diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index 8a0a3610a6..f6021bd8b0 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -257,7 +257,7 @@ class CXFA_Node : public CXFA_Object { WideString GetRawValue(); int32_t GetRotate(); - CXFA_Bind* GetBind() const; + CXFA_Bind* GetBindIfExists() const; Optional<float> TryWidth(); Optional<float> TryHeight(); |