diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 05ddcfc71b..16062f7b6f 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -1443,8 +1443,8 @@ void CXFA_Node::Script_NodeClass_SaveXML(CFXJSE_Arguments* pArguments) { } std::unique_ptr<IFX_MemoryStream, ReleaseDeleter<IFX_MemoryStream>> pMemoryStream(IFX_MemoryStream::Create(true)); - std::unique_ptr<IFX_Stream, ReleaseDeleter<IFX_Stream>> pStream( - IFX_Stream::CreateStream( + std::unique_ptr<IFGAS_Stream, ReleaseDeleter<IFGAS_Stream>> pStream( + IFGAS_Stream::CreateStream( static_cast<IFX_SeekableWriteStream*>(pMemoryStream.get()), FX_STREAMACCESS_Text | FX_STREAMACCESS_Write | FX_STREAMACCESS_Append)); |