simpleengine/xdmrlspres/src/prescondvalidity.cpp
branchRCL_3
changeset 17 2669f8761a99
parent 11 52d91a16fec3
child 18 fbd2e7cec7ef
--- a/simpleengine/xdmrlspres/src/prescondvalidity.cpp	Thu Aug 19 10:19:02 2010 +0300
+++ b/simpleengine/xdmrlspres/src/prescondvalidity.cpp	Tue Aug 31 15:35:50 2010 +0300
@@ -61,8 +61,6 @@
     OPENG_DP(D_OPENG_LIT( "TPresCondValidity::GetValidity()" ) );
     OPENG_DP(D_OPENG_LIT( "     aRuleID = %S"),&aRuleID);
 
-    CleanupClosePushL (aValidTimes);
-    
 	CXdmDocumentNode* validityNode = GetValidityNodeL(aRuleID, EFalse);
 	if(validityNode==NULL)
 	    return KErrNotFound;
@@ -101,7 +99,7 @@
 
 	for(TInt i=0; i<nodeCount; i++)
 	    {
-        aValidTimes.AppendL(myTimePeriod);
+        aValidTimes.Append(myTimePeriod);
 
 	    // processing from
 	    (fromNodes[i])->SetLeafNode(ETrue);
@@ -136,8 +134,6 @@
 	    
     fromNodes.Close();
     untilNodes.Close();
-    
-    CleanupStack::Pop();
 	return KErrNone;
 	}