summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffdoc.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffdoc.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp
index d53f1b2ad7..02f852f0d8 100644
--- a/xfa/fxfa/cxfa_ffdoc.cpp
+++ b/xfa/fxfa/cxfa_ffdoc.cpp
@@ -263,11 +263,9 @@ void CXFA_FFDoc::StopLoad() {
if (!pDynamicRender)
return;
- WideString wsType;
- if (pDynamicRender->JSNode()->TryContent(wsType, false, true) &&
- wsType == L"required") {
+ WideString wsType = pDynamicRender->JSNode()->GetContent(false);
+ if (wsType == L"required")
m_FormType = FormType::kXFAFull;
- }
}
CXFA_FFDocView* CXFA_FFDoc::CreateDocView() {