diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 18:32:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 18:33:37 +0200 |
commit | 54e87df11faf697d3b2666198a3d20b3ee091419 (patch) | |
tree | 8cfe316f012a4969ca6980fa6ac2fdb3a9424118 /connectivity/source/drivers/dbase | |
parent | 3aac11a1233f679ea813fee8b8de134553d7db60 (diff) |
Change INetProtocol enumerators to CamelCase
...to avoid clashes with macros and poor warnings about hiding global FILE
Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
Diffstat (limited to 'connectivity/source/drivers/dbase')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index b47a00f90983..d0c8d0205392 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -628,7 +628,7 @@ OUString ODbaseTable::getEntry(OConnection* _pConnection,const OUString& _sName while(xDir->next()) { sName = xRow->getString(1); - aURL.SetSmartProtocol(INetProtocol::FILE); + aURL.SetSmartProtocol(INetProtocol::File); OUString sUrl = _pConnection->getURL() + s_sSeparator + sName; aURL.SetSmartURL( sUrl ); @@ -1038,7 +1038,7 @@ bool ODbaseTable::CreateImpl() } INetURLObject aURL; - aURL.SetSmartProtocol(INetProtocol::FILE); + aURL.SetSmartProtocol(INetProtocol::File); OUString aName = getEntry(m_pConnection, m_Name); if(aName.isEmpty()) { @@ -2523,7 +2523,7 @@ OUString ODbaseTable::createTempFile() getConnection()->throwGenericSQLException(STR_COULD_NOT_ALTER_TABLE, *this); INetURLObject aURL; - aURL.SetSmartProtocol(INetProtocol::FILE); + aURL.SetSmartProtocol(INetProtocol::File); aURL.SetURL(aTempFile.GetURL()); OUString sNewName(aURL.getName().copy(0, aURL.getName().getLength() - sExt.getLength())); |