diff options
author | Peter Burow <pb@openoffice.org> | 2000-10-17 12:25:21 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2000-10-17 12:25:21 +0000 |
commit | 12a49cc9a2376cbb9288ecfb50ca9bd416759f13 (patch) | |
tree | 7bacfd359c7c237ded363d84206ea6d35debf5c0 /sfx2 | |
parent | 477750d9cfb200d731fcebcf5c83bab608cb9fb2 (diff) |
chg: SfxMedium() without bDownload
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 036248644174..8a5f76f22201 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -2,9 +2,9 @@ * * $RCSfile: appopen.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: mba $ $Date: 2000-10-09 10:41:29 $ + * last change: $Author: pb $ $Date: 2000-10-17 13:25:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -460,7 +460,7 @@ ULONG SfxApplication::LoadTemplate( SfxObjectShellLock& xDoc, const String &rFil if ( !xDoc.Is() ) xDoc = ((SfxFactoryFilterContainer*)pFilter->GetFilterContainer())->GetFactory().CreateObject(); - SfxMedium *pMedium = new SfxMedium( rFileName, STREAM_STD_READ, FALSE, TRUE, pFilter, pSet ); + SfxMedium *pMedium = new SfxMedium( rFileName, STREAM_STD_READ, FALSE, pFilter, pSet ); if(!xDoc->DoLoad(pMedium)) { ErrCode nErr = xDoc->GetErrorCode(); @@ -556,7 +556,7 @@ SfxMedium* SfxApplication::InsertDocumentDialog DBG_ASSERT( pURLList->Count() == 1, "invalid URLList count" ); String aURL = *(pURLList->GetObject(0)); pMedium = new SfxMedium( - aURL, SFX_STREAM_READONLY, FALSE, TRUE, + aURL, SFX_STREAM_READONLY, FALSE, GetFilterMatcher().GetFilter( aFilter ), pSet ); LoadEnvironment_ImplRef xLoader = new LoadEnvironment_Impl( pMedium ); |