summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_binddata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_binddata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_binddata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_binddata.cpp b/xfa/fxfa/parser/cxfa_binddata.cpp
index 79f375fa6a..19c4c96c87 100644
--- a/xfa/fxfa/parser/cxfa_binddata.cpp
+++ b/xfa/fxfa/parser/cxfa_binddata.cpp
@@ -10,9 +10,9 @@
CXFA_BindData::CXFA_BindData(CXFA_Node* pNode) : CXFA_DataData(pNode) {}
-void CXFA_BindData::GetPicture(WideString& wsPicture) {
+WideString CXFA_BindData::GetPicture() {
CXFA_Node* pPicture = m_pNode->GetChild(0, XFA_Element::Picture, false);
if (!pPicture)
- return;
- wsPicture = pPicture->JSNode()->GetContent(false);
+ return L"";
+ return pPicture->JSNode()->GetContent(false);
}