diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index dd038048986e..60bcb6dc8bd6 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -530,10 +530,10 @@ bool SotStorage::Commit() return ERRCODE_NONE == GetError(); } -SotStorageStream * SotStorage::OpenSotStream( const OUString & rEleName, +tools::SvRef<SotStorageStream> SotStorage::OpenSotStream( const OUString & rEleName, StreamMode nMode ) { - SotStorageStream * pStm = nullptr; + tools::SvRef<SotStorageStream> pStm; if( m_pOwnStg ) { // enable full Ole patches, |