diff options
Diffstat (limited to 'filter/source/msfilter/msoleexp.cxx')
-rw-r--r-- | filter/source/msfilter/msoleexp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/msoleexp.cxx b/filter/source/msfilter/msoleexp.cxx index 61fccc2dba7f..dc3340eb5e8c 100644 --- a/filter/source/msfilter/msoleexp.cxx +++ b/filter/source/msfilter/msoleexp.cxx @@ -224,7 +224,7 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotSt rDestStg.SetClass( aEmbName, SotClipboardFormatId::EMBEDDED_OBJ_OLE, GetStorageType( aEmbName ) ); - SotStorageStreamRef xExtStm = rDestStg.OpenSotStream( + tools::SvRef<SotStorageStream> xExtStm = rDestStg.OpenSotStream( OUString( "properties_stream" ), STREAM_STD_READWRITE); @@ -279,7 +279,7 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotSt if ( bExtentSuccess ) { - SotStorageStreamRef xEmbStm = rDestStg.OpenSotStream( + tools::SvRef<SotStorageStream> xEmbStm = rDestStg.OpenSotStream( OUString( "package_stream" ), STREAM_STD_READWRITE); if( !xEmbStm->GetError() ) |