summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_exdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_exdata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_exdata.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_exdata.cpp b/xfa/fxfa/parser/cxfa_exdata.cpp
index 2c4571d101..cf57796ccc 100644
--- a/xfa/fxfa/parser/cxfa_exdata.cpp
+++ b/xfa/fxfa/parser/cxfa_exdata.cpp
@@ -40,3 +40,7 @@ CXFA_ExData::CXFA_ExData(CXFA_Document* doc, XFA_PacketType packet)
pdfium::MakeUnique<CJX_ExData>(this)) {}
CXFA_ExData::~CXFA_ExData() {}
+
+void CXFA_ExData::SetContentType(const WideString& wsContentType) {
+ JSObject()->SetCData(XFA_Attribute::ContentType, wsContentType, false, false);
+}