summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/doc/objcont.cxx2
-rw-r--r--sfx2/source/doc/objserv.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index ecc131177fb9..8837e9fb82a7 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -404,7 +404,7 @@ void SfxObjectShell::UpdateFromTemplate_Impl( )
// tdf#113935 - do not remove this line - somehow, it makes the process
// of switching from viewing a read-only document to opening it in writable
// mode much faster.
- uno::Reference< embed::XStorage > xDocStor = pFile->GetStorage();
+ uno::Reference< embed::XStorage > xDocStor = pFile->GetStorage(false);
// only for own storage formats
if ( !pFile->GetFilter() || !pFile->GetFilter()->IsOwnFormat() )
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 5e04a0c09c34..afcbfe14e14a 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -1608,7 +1608,7 @@ uno::Sequence< security::DocumentSignatureInformation > SfxObjectShell::GetDocum
uno::Reference< io::XInputStream >() );
else
{
- if (GetMedium()->GetStorage().is())
+ if (GetMedium()->GetStorage(false).is())
{
// Something ZIP-based.
// Only call into xmlsecurity if we see a signature stream,