summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/api/viewcontainer.cxx
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 /dbaccess/source/core/api/viewcontainer.cxx
parent761e55d3683845606fcb94cfdf32450051b67a9d (diff)
convert EComposeRule to scoped enum
Change-Id: I5a2e4f6f6f0f353c75dff85e865608b12c2104f9
Diffstat (limited to 'dbaccess/source/core/api/viewcontainer.cxx')
-rw-r--r--dbaccess/source/core/api/viewcontainer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/core/api/viewcontainer.cxx b/dbaccess/source/core/api/viewcontainer.cxx
index f17f8d7df909..0832b2b9f395 100644
--- a/dbaccess/source/core/api/viewcontainer.cxx
+++ b/dbaccess/source/core/api/viewcontainer.cxx
@@ -91,7 +91,7 @@ ObjectType OViewContainer::createObject(const OUString& _rName)
sCatalog,
sSchema,
sTable,
- ::dbtools::eInDataManipulation);
+ ::dbtools::EComposeRule::InDataManipulation);
return new View(m_xConnection,
isCaseSensitive(),
sCatalog,
@@ -136,7 +136,7 @@ ObjectType OViewContainer::appendObject( const OUString& _rForName, const Refere
}
else
{
- OUString sComposedName = ::dbtools::composeTableName( m_xMetaData, descriptor, ::dbtools::eInTableDefinitions, false, false, true );
+ OUString sComposedName = ::dbtools::composeTableName( m_xMetaData, descriptor, ::dbtools::EComposeRule::InTableDefinitions, false, false, true );
if(sComposedName.isEmpty())
::dbtools::throwFunctionSequenceException(static_cast<XTypeProvider*>(static_cast<OFilteredContainer*>(this)));
@@ -181,7 +181,7 @@ void OViewContainer::dropObject(sal_Int32 _nPos, const OUString& _sElementName)
xTable->getPropertyValue(PROPERTY_SCHEMANAME) >>= sSchema;
xTable->getPropertyValue(PROPERTY_NAME) >>= sTable;
- sComposedName = ::dbtools::composeTableName( m_xMetaData, sCatalog, sSchema, sTable, true, ::dbtools::eInTableDefinitions );
+ sComposedName = ::dbtools::composeTableName( m_xMetaData, sCatalog, sSchema, sTable, true, ::dbtools::EComposeRule::InTableDefinitions );
}
if(sComposedName.isEmpty())