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 bfb57d52fc16..46fa4e53deae 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -359,7 +359,7 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, StreamMode nMode, Storage ::utl::UCBContentHelper::Kill( m_aName ); INetURLObject aObj( m_aName ); - if ( aObj.GetProtocol() == INetProtocol::NOT_VALID ) + if ( aObj.GetProtocol() == INetProtocol::NotValid ) { OUString aURL; ::utl::LocalFileHelper::ConvertPhysicalNameToURL( m_aName, aURL ); @@ -565,7 +565,7 @@ bool SotStorage::IsStorageFile( const OUString & rFileName ) { OUString aName( rFileName ); INetURLObject aObj( aName ); - if ( aObj.GetProtocol() == INetProtocol::NOT_VALID ) + if ( aObj.GetProtocol() == INetProtocol::NotValid ) { OUString aURL; ::utl::LocalFileHelper::ConvertPhysicalNameToURL( aName, aURL ); |