xml/xmlfw/src/xmlframework/matchdata.cpp
branchRCL_3
changeset 19 243519c5055f
parent 0 e35f40988205
child 32 889504eac4fb
--- a/xml/xmlfw/src/xmlframework/matchdata.cpp	Tue Apr 27 18:31:15 2010 +0300
+++ b/xml/xmlfw/src/xmlframework/matchdata.cpp	Tue May 11 17:54:43 2010 +0300
@@ -800,6 +800,12 @@
 CMatchData& CMatchData::operator=(const CMatchData & aMatchData)
 	{
 
+	 /*If pointing to same. Then return itself*/
+	 if ( &aMatchData ==  this )
+	 {
+		 return *this;
+	 }
+
 	 /*
 	  * SYMBIAN DEF132492 FIX : Added TRAP statements to handle	the case wherein the functions
 	  * called here leave.