mmappcomponents/mmmtpdataprovider/src/cmmmtpdpmetadatavideoaccess.cpp
branchRCL_3
changeset 24 6c1dfe4da5dd
parent 23 e42293e811d8
child 25 63223d4fd956
equal deleted inserted replaced
23:e42293e811d8 24:6c1dfe4da5dd
   478     iColSet = NULL;
   478     iColSet = NULL;
   479     iRecordSet.Close();
   479     iRecordSet.Close();
   480     //__ASSERT_DEBUG(!iColSet, _MTP_PANIC(KMtpPrtPncCat, ENullPointer)); // Must have iColSet == NULL
   480     //__ASSERT_DEBUG(!iColSet, _MTP_PANIC(KMtpPrtPncCat, ENullPointer)); // Must have iColSet == NULL
   481 
   481 
   482     // Make sure any quotes in the aMatchCriteria are doubled...
   482     // Make sure any quotes in the aMatchCriteria are doubled...
       
   483     // coverity[incorrect_multiplication]
       
   484     // coverity[buffer_alloc]
   483     HBufC* matchText = HBufC::NewLC( 2 * aMatchCriteria.Length() );
   485     HBufC* matchText = HBufC::NewLC( 2 * aMatchCriteria.Length() );
   484     TPtr pMatchText( matchText->Des() );
   486     TPtr pMatchText( matchText->Des() );
   485     TInt srcLen = aMatchCriteria.Length();
   487     TInt srcLen = aMatchCriteria.Length();
   486     TPtrC ch;
   488     TPtrC ch;
   487 
   489