summaryrefslogtreecommitdiff
path: root/extensions/source
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 /extensions/source
parent761e55d3683845606fcb94cfdf32450051b67a9d (diff)
convert EComposeRule to scoped enum
Change-Id: I5a2e4f6f6f0f353c75dff85e865608b12c2104f9
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/bibliography/datman.cxx6
-rw-r--r--extensions/source/dbpilots/listcombowizard.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index fb24272e7bb5..b9de5b26cd5b 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -833,7 +833,7 @@ Reference< XForm > BibDataManager::createDatabaseForm(BibDBDescriptor& rDesc)
OUString aString("SELECT * FROM ");
OUString sCatalog, sSchema, sName;
- ::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtools::eInDataManipulation );
+ ::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtools::EComposeRule::InDataManipulation );
aString += ::dbtools::composeTableNameForSelect( xConnection, sCatalog, sSchema, sName );
m_xParser->setElementaryQuery(aString);
@@ -1012,7 +1012,7 @@ void BibDataManager::setActiveDataSource(const OUString& rURL)
aQuoteChar = xMetaData->getIdentifierQuoteString();
OUString sCatalog, sSchema, sName;
- ::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtools::eInDataManipulation );
+ ::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtools::EComposeRule::InDataManipulation );
aString += ::dbtools::composeTableNameForSelect( xConnection, sCatalog, sSchema, sName );
m_xParser->setElementaryQuery(aString);
@@ -1082,7 +1082,7 @@ void BibDataManager::setActiveDataTable(const OUString& rTable)
OUString aString("SELECT * FROM ");
OUString sCatalog, sSchema, sName;
- ::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtools::eInDataManipulation );
+ ::dbtools::qualifiedNameComponents( xMetaData, aActiveDataTable, sCatalog, sSchema, sName, ::dbtools::EComposeRule::InDataManipulation );
aString += ::dbtools::composeTableNameForSelect( xConnection, sCatalog, sSchema, sName );
m_xParser->setElementaryQuery(aString);
diff --git a/extensions/source/dbpilots/listcombowizard.cxx b/extensions/source/dbpilots/listcombowizard.cxx
index 3f23ca06d487..0de84f5b5e63 100644
--- a/extensions/source/dbpilots/listcombowizard.cxx
+++ b/extensions/source/dbpilots/listcombowizard.cxx
@@ -165,7 +165,7 @@ namespace dbp
getSettings().sLinkedListField = quoteName(sQuoteString, getSettings().sLinkedListField);
OUString sCatalog, sSchema, sName;
- ::dbtools::qualifiedNameComponents( xMetaData, getSettings().sListContentTable, sCatalog, sSchema, sName, ::dbtools::eInDataManipulation );
+ ::dbtools::qualifiedNameComponents( xMetaData, getSettings().sListContentTable, sCatalog, sSchema, sName, ::dbtools::EComposeRule::InDataManipulation );
getSettings().sListContentTable = ::dbtools::composeTableNameForSelect( xConn, sCatalog, sSchema, sName );
getSettings().sListContentField = quoteName(sQuoteString, getSettings().sListContentField);