From 44b3e56bb4a4df59f53447c4ca4d8e02fe926206 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 Apr 2015 15:58:06 +0200 Subject: Change INetProtocol to scoped enumeration ...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b --- connectivity/source/drivers/calc/CConnection.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity/source/drivers/calc') diff --git a/connectivity/source/drivers/calc/CConnection.cxx b/connectivity/source/drivers/calc/CConnection.cxx index 35967f25c159..6ed3e12d27c4 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(INET_PROT_FILE); + aURL.SetSmartProtocol(INetProtocol::FILE); { SvtPathOptions aPathOptions; m_aFileName = aPathOptions.SubstituteVariable(m_aFileName); } aURL.SetSmartURL(m_aFileName); - if ( aURL.GetProtocol() == INET_PROT_NOT_VALID ) + if ( aURL.GetProtocol() == INetProtocol::NOT_VALID ) { // don't pass invalid URL to loadComponentFromURL throw SQLException(); -- cgit