xml/xmlfw/src/xmlframework/matchdata.cpp
branchRCL_3
changeset 14 243519c5055f
parent 0 e35f40988205
child 20 889504eac4fb
equal deleted inserted replaced
12:d10d750052f0 14:243519c5055f
   798 @internalComponent
   798 @internalComponent
   799 */
   799 */
   800 CMatchData& CMatchData::operator=(const CMatchData & aMatchData)
   800 CMatchData& CMatchData::operator=(const CMatchData & aMatchData)
   801 	{
   801 	{
   802 
   802 
       
   803 	 /*If pointing to same. Then return itself*/
       
   804 	 if ( &aMatchData ==  this )
       
   805 	 {
       
   806 		 return *this;
       
   807 	 }
       
   808 
   803 	 /*
   809 	 /*
   804 	  * SYMBIAN DEF132492 FIX : Added TRAP statements to handle	the case wherein the functions
   810 	  * SYMBIAN DEF132492 FIX : Added TRAP statements to handle	the case wherein the functions
   805 	  * called here leave.
   811 	  * called here leave.
   806 	  */
   812 	  */
   807      TRAPD( err, SetMimeTypeL(aMatchData.MimeType()) ) ; 
   813      TRAPD( err, SetMimeTypeL(aMatchData.MimeType()) ) ;