pimappservices/calendarvcalplugin/src/agmvcalx.cpp
branchRCL_3
changeset 30 bd7edf625bdd
parent 29 12af337248b1
child 31 97232defd20e
--- a/pimappservices/calendarvcalplugin/src/agmvcalx.cpp	Tue Aug 31 15:13:43 2010 +0300
+++ b/pimappservices/calendarvcalplugin/src/agmvcalx.cpp	Wed Sep 01 12:32:31 2010 +0100
@@ -405,11 +405,6 @@
 			AddDesPropertyL(aParser, KVCalToken8ENTRYTYPE, KVCalTokenTypeTODO);
 			break;
 			}
-		case CCalEntry::ENote:
-			{
-			AddDesPropertyL(aParser,KVCalToken8ENTRYTYPE, KVCalTokenTypeNOTE);
-			break;
-			}
 		default: break;
 		}
 
@@ -437,10 +432,9 @@
 
 	// DTSTAMP
 	TCalTime dTStamp = aEntry->DTStampL();
-
-	if ( dTStamp.TimeUtcL() != Time::NullTTime() &&
-		CCalEntry::ENote != aEntry->EntryTypeL() )
-		{
+		
+   	if ( dTStamp.TimeUtcL() != Time::NullTTime() )
+      	{	
 		AddDateTimePropertyL(aParser, KVersitTokenXDTSTAMP, dTStamp.TimeUtcL(), TVersitDateTime::EIsUTC, iTimeFlag);
       	}
 	
@@ -671,16 +665,6 @@
 		CCalAttachment* attach = aEntry->AttachmentL(ii);
 		AddAttachmentPropertyL(aParser, *attach);
 		}
-		
-	// Add the X-FAVOURITE property. Versit only exports signed ints but
-	// can't handle the '-' sign when importing. Therefore it must be exported
-	// as a string to ensure there is no '-' sign. When importing the value
-	// would incorrectly become 0.
-	//AddIntegerPropertyL( aParser, KVCalTokenXFavourite, aEntry->FavouriteL());
-	TBuf<10> favouriteString;  
-	TUint32 favourite = aEntry->FavouriteL();
-	favouriteString.Num( favourite );
-	AddDesPropertyL( aParser, KVCalTokenXFavourite, favouriteString );
 	}