Index: xfa/fxfa/parser/cxfa_node.cpp |
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp |
index bf5b6bf96402a93699ba95ee807c516e7e6d42c7..9c209b23b75a2f5332af0a89a9d9fd9a801e1c74 100644 |
--- a/xfa/fxfa/parser/cxfa_node.cpp |
+++ b/xfa/fxfa/parser/cxfa_node.cpp |
@@ -1444,7 +1444,7 @@ void CXFA_Node::Script_NodeClass_SaveXML(CFXJSE_Arguments* pArguments) { |
pMemoryStream(FX_CreateMemoryStream(TRUE)); |
std::unique_ptr<IFX_Stream, ReleaseDeleter<IFX_Stream>> pStream( |
IFX_Stream::CreateStream( |
- static_cast<IFX_FileWrite*>(pMemoryStream.get()), |
+ static_cast<IFX_SeekableWriteStream*>(pMemoryStream.get()), |
FX_STREAMACCESS_Text | FX_STREAMACCESS_Write | |
FX_STREAMACCESS_Append)); |
if (!pStream) { |