summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2000-10-12 16:15:55 +0000
committerMathias Bauer <mba@openoffice.org>2000-10-12 16:15:55 +0000
commit06d1eaedf1c9bff81a74f15c043c2d8495181d2e (patch)
tree9869e75b501b8bfe1e957fb57b26f94c7320f52d
parent2427651a1d2588418dfed538d34137828852192a (diff)
#79440#: make sure that Storage for alien formats is available
-rw-r--r--sfx2/source/doc/objstor.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 7eda353fd913..ae2111f194b9 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: objstor.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: mba $ $Date: 2000-09-28 11:45:41 $
+ * last change: $Author: mba $ $Date: 2000-10-12 17:15:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -537,6 +537,8 @@ sal_Bool SfxObjectShell::DoLoad( SfxMedium *pMed )
if( aBaseURL.Len() ) INetURLObject::SetBaseURL( aBaseURL );
if( !pMedium->GetFilter()->UsesStorage() )
pMedium->GetInStream();
+ else
+ pMedium->GetStorage();
pImp->nLoadedFlags = 0;
if ( pMedium->GetFilter() && ( pMedium->GetFilter()->GetFilterFlags() & SFX_FILTER_STARONEFILTER ) )