metadataengine/client/src/mdeobjectdef.cpp
branchRCL_3
changeset 7 3cebc1a84278
parent 6 646a02f170b9
equal deleted inserted replaced
6:646a02f170b9 7:3cebc1a84278
   172             {
   172             {
   173             linearSearchRequired = ETrue;
   173             linearSearchRequired = ETrue;
   174             break;
   174             break;
   175             }
   175             }
   176         
   176         
   177         TInt compare( aId - iPropertyDefs[mid]->Id() );
   177         const TInt compare( aId - iPropertyDefs[mid]->Id() );
   178         if( compare == 0 )
   178         if( compare == 0 )
   179             {
   179             {
   180             return iPropertyDefs[mid];
   180             return iPropertyDefs[mid];
   181             }
   181             }
   182         else if( compare > 0 )
   182         else if( compare > 0 )