sfx2/source/doc/objstor.cxx | 3 --- 1 file changed, 3 deletions(-) New commits: commit d7ef7e3e4bc9c6277e5b2d08c2657fea8cf0e639 Author: Guillaume Smaha <gsm...@linagora.com> Date: Thu Apr 14 12:36:52 2016 +0200
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 <c...@libreoffice.org> Reviewed-by: jan iversen <j...@documentfoundation.org> Tested-by: jan iversen <j...@documentfoundation.org> diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 9c198b3..f8c9d4b 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(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits