equal
deleted
inserted
replaced
143 const TInt maxMatchPriority = |
143 const TInt maxMatchPriority = |
144 aFilterType->VersitProperties().Count() - 1; |
144 aFilterType->VersitProperties().Count() - 1; |
145 for ( TInt matchPriority = 0; |
145 for ( TInt matchPriority = 0; |
146 matchPriority <= maxMatchPriority; ++matchPriority ) |
146 matchPriority <= maxMatchPriority; ++matchPriority ) |
147 { |
147 { |
148 TBool versitIsMatched = matchingProperty->Matches( |
148 if ( matchingProperty->Matches( |
149 aFilterType->VersitProperties()[matchPriority]); |
149 aFilterType->VersitProperties()[matchPriority]) ) |
150 TBool excludedParmaterIsMatched = |
|
151 aFilterType->ExcludedParameters(). |
|
152 ContainsAll(aFieldType.ExcludedParameters()); |
|
153 // if the FilterType is matched the Versit Property and |
|
154 // the excludeParameter of FiledType, it needn't custom filter. |
|
155 if ( versitIsMatched && excludedParmaterIsMatched ) |
|
156 { |
150 { |
157 ret = EFalse; |
151 ret = EFalse; |
158 break; |
152 break; |
159 } |
153 } |
160 } |
154 } |