summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorGuillaume Smaha <gsmaha@linagora.com>2016-04-14 12:36:52 +0200
committerjan iversen <jani@documentfoundation.org>2016-04-28 06:20:32 +0000
commitd7ef7e3e4bc9c6277e5b2d08c2657fea8cf0e639 (patch)
treea67cbc94f63da47306b4eb35b9dbf40f0cab020f /sfx2
parent45217f70ff14e905e5757f5abfdcf00553d6bdb7 (diff)
tdf#96097: Can't save a doc with signed macro after autosave/save a copy
Change-Id: Icc886a8d228cb786c6f318cfa2556ef113c553eb Reviewed-on: https://gerrit.libreoffice.org/24081 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sfx2')
-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();
}