summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-25 10:48:03 +0200
committerNoel Grandin <noel@peralex.com>2016-02-25 13:50:25 +0200
commit049d9a81614eebce118da489f431144ed2e71c05 (patch)
tree3f63fba459147f891100fb61818056c9332b3287 /connectivity
parentccb8b8307079fe3f57d4d745ed331fba0466998e (diff)
convert ParameterClassification to scoped enum
Change-Id: Iab3d2db50acc1f70b352dd0fd5f1270693a8e991
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/parameters.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx
index 559483e9c3ef..73619e837db8 100644
--- a/connectivity/source/commontools/parameters.cxx
+++ b/connectivity/source/commontools/parameters.cxx
@@ -281,7 +281,7 @@ namespace dbtools
ParameterInformation::iterator aPos = m_aParameterInformation.find( *pDetailFields );
if ( aPos != m_aParameterInformation.end() )
{ // there is an inner parameter with this name
- aPos->second.eType = eLinkedByParamName;
+ aPos->second.eType = ParameterClassification::LinkedByParamName;
aStrippedDetailFields.push_back( *pDetailFields );
}
else
@@ -302,7 +302,7 @@ namespace dbtools
ParameterInformation::value_type( sNewParamName, ParameterMetaData( nullptr ) )
);
OSL_ENSURE( aInsertionPos.second, "ParameterManager::classifyLinks: there already was a parameter with this name!" );
- aInsertionPos.first->second.eType = eLinkedByColumnName;
+ aInsertionPos.first->second.eType = ParameterClassification::LinkedByColumnName;
// remember the filter component
_out_rAdditionalFilterComponents.push_back( sFilterCondition );
@@ -431,7 +431,7 @@ namespace dbtools
#if OSL_DEBUG_LEVEL > 0
if ( aParam->second.aInnerIndexes.size() )
{
- if ( aParam->second.eType == eLinkedByColumnName )
+ if ( aParam->second.eType == ParameterClassification::LinkedByColumnName )
{
if ( nSmallestIndexLinkedByColumnName == -1 )
nSmallestIndexLinkedByColumnName = aParam->second.aInnerIndexes[ 0 ];
@@ -442,7 +442,7 @@ namespace dbtools
}
}
#endif
- if ( aParam->second.eType != eFilledExternally )
+ if ( aParam->second.eType != ParameterClassification::FilledExternally )
continue;
// check which of the parameters have already been visited (e.g. filled via XParameters)