diff options
Diffstat (limited to 'sot/source/sdstor/storage.cxx')
-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 ac672efd1b1f..0bd242585578 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -305,7 +305,7 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, StreamMode nMode ) OUString aURL; osl::FileBase::getFileURLFromSystemPath( m_aName, aURL ); aObj.SetURL( aURL ); - m_aName = aObj.GetMainURL( INetURLObject::NO_DECODE ); + m_aName = aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ); } // check the stream @@ -488,7 +488,7 @@ bool SotStorage::IsStorageFile( const OUString & rFileName ) OUString aURL; osl::FileBase::getFileURLFromSystemPath( aName, aURL ); aObj.SetURL( aURL ); - aName = aObj.GetMainURL( INetURLObject::NO_DECODE ); + aName = aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ); } std::unique_ptr<SvStream> pStm(::utl::UcbStreamHelper::CreateStream( aName, StreamMode::STD_READ )); |