summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/doc/objstor.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 9c198b31b186..f8c9d4b43ec0 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1587,8 +1587,6 @@ bool SfxObjectShell::SaveTo_Impl
if ( !aScriptSignName.isEmpty() )
{
- pMedium->Close();
-
// target medium is still not committed, it should not be closed
// commit the package storage and close it, but leave the streams open
rMedium.StorageCommit_Impl();
@@ -1646,7 +1644,6 @@ bool SfxObjectShell::SaveTo_Impl
{
}
- pMedium->Close();
rMedium.CloseZipStorage_Impl();
}