From 049d9a81614eebce118da489f431144ed2e71c05 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 25 Feb 2016 10:48:03 +0200 Subject: convert ParameterClassification to scoped enum Change-Id: Iab3d2db50acc1f70b352dd0fd5f1270693a8e991 --- connectivity/source/commontools/parameters.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'connectivity/source/commontools') 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) -- cgit