smsprotocols/smsstack/gsmu/src/Gsmumsg.cpp
changeset 23 6b1d113cdff3
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
child 42 3adadc800673
child 44 8b72faa1200f
equal deleted inserted replaced
20:244d7c5f118e 23:6b1d113cdff3
  1454 				ie = aCorrectedFormatingIEArray[0];
  1454 				ie = aCorrectedFormatingIEArray[0];
  1455 				startPosition=ie->StartPosition();
  1455 				startPosition=ie->StartPosition();
  1456 			}
  1456 			}
  1457 		}
  1457 		}
  1458 
  1458 
  1459 		__ASSERT_DEBUG(ie !=NULL, User::Leave(KErrCorrupt));
  1459 		__ASSERT_ALWAYS(ie !=NULL, User::Leave(KErrCorrupt));
  1460 
  1460 
  1461 		if(startPosition <= msgLen)
  1461 		if(startPosition <= msgLen)
  1462 			{
  1462 			{
  1463 			__ASSERT_DEBUG(startPosition>=aCharsAlreadyAdded, User::Leave(KErrUnderflow));
  1463 			__ASSERT_DEBUG(startPosition>=aCharsAlreadyAdded, User::Leave(KErrUnderflow));
  1464 			startPosition -= aCharsAlreadyAdded; // startPosition now relative to current PDU.
  1464 			startPosition -= aCharsAlreadyAdded; // startPosition now relative to current PDU.