phoneuis/BubbleManager/Src/BMBubbleOutlookOneLined.cpp
branchRCL_3
changeset 3 8871b09be73b
parent 0 5f000ab63145
equal deleted inserted replaced
2:c84cf270c54f 3:8871b09be73b
   196 // ---------------------------------------------------------------------------
   196 // ---------------------------------------------------------------------------
   197 //
   197 //
   198 CCoeControl* CBubbleOutlookOneLined::ComponentControl( TInt aIndex ) const
   198 CCoeControl* CBubbleOutlookOneLined::ComponentControl( TInt aIndex ) const
   199     {
   199     {
   200     TInt amount = -1;
   200     TInt amount = -1;
       
   201     // coverity[var_compare_op]
   201     if ( iSmallCallIndication )
   202     if ( iSmallCallIndication )
   202         {
   203         {
   203         amount++;
   204         amount++;
   204         }
   205         }
   205 
   206 
   206     if ( aIndex == amount )
   207     if ( aIndex == amount )
   207         {
   208         {
       
   209         // coverity[var_deref_model]
   208         return iSmallCallIndication->Control();
   210         return iSmallCallIndication->Control();
   209         }
   211         }
   210 
   212 
   211     if ( iTypeIndication1 )
   213     if ( iTypeIndication1 )
   212         {
   214         {