Lines 3030-3035
Link Here
|
3030 |
GetItemSet()->Put( *p ); |
3030 |
GetItemSet()->Put( *p ); |
3031 |
} |
3031 |
} |
3032 |
|
3032 |
|
|
|
3033 |
SfxMedium::SfxMedium( const uno::Reference < embed::XStorage >& rStor, const String& rBaseURL, const String& rTypeName, const SfxItemSet* p, sal_Bool bRootP ) |
3034 |
: IMPL_CTOR( bRootP, 0 ), // bRoot, pURLObj |
3035 |
pSet(0), |
3036 |
pImp( new SfxMedium_Impl( this )) |
3037 |
{ |
3038 |
pFilter = SFX_APP()->GetFilterMatcher().GetFilter4EA( rTypeName ); |
3039 |
DBG_ASSERT( pFilter, "No Filter for storage found!" ); |
3040 |
|
3041 |
Init_Impl(); |
3042 |
pImp->xStorage = rStor; |
3043 |
pImp->bDisposeStorage = sal_False; |
3044 |
|
3045 |
// always take BaseURL first, could be overwritten by ItemSet |
3046 |
GetItemSet()->Put( SfxStringItem( SID_DOC_BASEURL, rBaseURL ) ); |
3047 |
if ( p ) |
3048 |
GetItemSet()->Put( *p ); |
3049 |
} |
3050 |
|
3033 |
//------------------------------------------------------------------ |
3051 |
//------------------------------------------------------------------ |
3034 |
|
3052 |
|
3035 |
SfxMedium::~SfxMedium() |
3053 |
SfxMedium::~SfxMedium() |