summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Smaha <gsmaha@linagora.com>2016-04-14 12:36:52 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-05-31 22:16:32 +0000
commit127c56b0501b90283c0bb2f0a06ba242186bc1ca (patch)
tree89c6c664b3cc9bcbd37e9748cfead5f93251b76b
parent2f6059b8713bb5da943bb7a70a742bfbab0e4566 (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> (cherry picked from commit d7ef7e3e4bc9c6277e5b2d08c2657fea8cf0e639) Reviewed-on: https://gerrit.libreoffice.org/24461 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-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 cbb3c8cef664..f8116d7f9605 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1594,8 +1594,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();
@@ -1653,7 +1651,6 @@ bool SfxObjectShell::SaveTo_Impl
{
}
- pMedium->Close();
rMedium.CloseZipStorage_Impl();
}