diff options
Diffstat (limited to 'connectivity/source/drivers/calc/CConnection.cxx')
-rw-r--r-- | connectivity/source/drivers/calc/CConnection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/calc/CConnection.cxx b/connectivity/source/drivers/calc/CConnection.cxx index 6ed3e12d27c4..eb94e10ef6d8 100644 --- a/connectivity/source/drivers/calc/CConnection.cxx +++ b/connectivity/source/drivers/calc/CConnection.cxx @@ -72,13 +72,13 @@ void OCalcConnection::construct(const OUString& url,const Sequence< PropertyValu m_aFileName = aDSN; INetURLObject aURL; - aURL.SetSmartProtocol(INetProtocol::FILE); + aURL.SetSmartProtocol(INetProtocol::File); { SvtPathOptions aPathOptions; m_aFileName = aPathOptions.SubstituteVariable(m_aFileName); } aURL.SetSmartURL(m_aFileName); - if ( aURL.GetProtocol() == INetProtocol::NOT_VALID ) + if ( aURL.GetProtocol() == INetProtocol::NotValid ) { // don't pass invalid URL to loadComponentFromURL throw SQLException(); |