Index: xfa/fxfa/parser/xfa_document_imp.cpp |
diff --git a/xfa/fxfa/parser/xfa_document_imp.cpp b/xfa/fxfa/parser/xfa_document_imp.cpp |
index 083fe24a7ee09894b4a0676f954d07ebda959404..3601c5b621a0895e9da06dafde800c57c5a35179 100644 |
--- a/xfa/fxfa/parser/xfa_document_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_document_imp.cpp |
@@ -198,7 +198,7 @@ void CXFA_Document::SetFlag(uint32_t dwFlag, FX_BOOL bOn) { |
} |
FX_BOOL CXFA_Document::IsInteractive() { |
if (m_dwDocFlags & XFA_DOCFLAG_HasInteractive) { |
- return m_dwDocFlags & XFA_DOCFLAG_Interactive; |
+ return !!(m_dwDocFlags & XFA_DOCFLAG_Interactive); |
} |
CXFA_Node* pConfig = ToNode(GetXFAObject(XFA_HASHCODE_Config)); |
if (!pConfig) { |