summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-25 09:38:09 +0200
committerNoel Grandin <noel@peralex.com>2016-02-25 13:50:25 +0200
commitbf7690bc1b444278bef1e355c7463d27381a8700 (patch)
treecb66315439e0fe3cf7c493b86a6fb290217b910b /connectivity/source/sdbcx
parent761e55d3683845606fcb94cfdf32450051b67a9d (diff)
convert EComposeRule to scoped enum
Change-Id: I5a2e4f6f6f0f353c75dff85e865608b12c2104f9
Diffstat (limited to 'connectivity/source/sdbcx')
-rw-r--r--connectivity/source/sdbcx/VCatalog.cxx2
-rw-r--r--connectivity/source/sdbcx/VTable.cxx2
-rw-r--r--connectivity/source/sdbcx/VView.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/sdbcx/VCatalog.cxx b/connectivity/source/sdbcx/VCatalog.cxx
index 6c4924062a50..4069b3352b68 100644
--- a/connectivity/source/sdbcx/VCatalog.cxx
+++ b/connectivity/source/sdbcx/VCatalog.cxx
@@ -198,7 +198,7 @@ OUString OCatalog::buildName(const Reference< XRow >& _xRow)
sTable.clear();
OUString sComposedName(
- ::dbtools::composeTableName( m_xMetaData, sCatalog, sSchema, sTable, false, ::dbtools::eInDataManipulation ) );
+ ::dbtools::composeTableName( m_xMetaData, sCatalog, sSchema, sTable, false, ::dbtools::EComposeRule::InDataManipulation ) );
return sComposedName;
}
diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx
index 012cd109b5cd..f15de0dff965 100644
--- a/connectivity/source/sdbcx/VTable.cxx
+++ b/connectivity/source/sdbcx/VTable.cxx
@@ -266,7 +266,7 @@ void SAL_CALL OTable::rename( const OUString& newName ) throw(SQLException, Elem
const OUString sOldComposedName = getName();
const Reference< XDatabaseMetaData> xMetaData = getMetaData();
if ( xMetaData.is() )
- ::dbtools::qualifiedNameComponents(xMetaData,newName,m_CatalogName,m_SchemaName,m_Name,::dbtools::eInDataManipulation);
+ ::dbtools::qualifiedNameComponents(xMetaData,newName,m_CatalogName,m_SchemaName,m_Name,::dbtools::EComposeRule::InDataManipulation);
else
m_Name = newName;
diff --git a/connectivity/source/sdbcx/VView.cxx b/connectivity/source/sdbcx/VView.cxx
index fe3b0ff1ebdc..5a42836f6cc7 100644
--- a/connectivity/source/sdbcx/VView.cxx
+++ b/connectivity/source/sdbcx/VView.cxx
@@ -100,7 +100,7 @@ OUString SAL_CALL OView::getName() throw(::com::sun::star::uno::RuntimeException
{
OUString sComposedName;
if(m_xMetaData.is())
- sComposedName = ::dbtools::composeTableName( m_xMetaData, m_CatalogName, m_SchemaName, m_Name, false, ::dbtools::eInDataManipulation );
+ sComposedName = ::dbtools::composeTableName( m_xMetaData, m_CatalogName, m_SchemaName, m_Name, false, ::dbtools::EComposeRule::InDataManipulation );
else
{
Any aValue;