diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 15:58:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 16:30:34 +0200 |
commit | 44b3e56bb4a4df59f53447c4ca4d8e02fe926206 (patch) | |
tree | 71a9efde3a6a2a00688e8feb8e3086cb32eceb4f /sot | |
parent | 0b4965bcd7ec911951e7ca3a4cd48062843b2634 (diff) |
Change INetProtocol to scoped enumeration
...and fix o3tl::enumarray::operator [] const overload
Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
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 03a7a9f8c50c..bfb57d52fc16 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() == INET_PROT_NOT_VALID ) + if ( aObj.GetProtocol() == INetProtocol::NOT_VALID ) { 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() == INET_PROT_NOT_VALID ) + if ( aObj.GetProtocol() == INetProtocol::NOT_VALID ) { OUString aURL; ::utl::LocalFileHelper::ConvertPhysicalNameToURL( aName, aURL ); |