textinput/ptienginev2/src/PtiKeyboardDatabase.cpp
branchRCL_3
changeset 20 ebd48d2de13c
parent 9 e6a39382bb9c
child 21 ecbabf52600f
--- a/textinput/ptienginev2/src/PtiKeyboardDatabase.cpp	Thu Aug 19 10:15:25 2010 +0300
+++ b/textinput/ptienginev2/src/PtiKeyboardDatabase.cpp	Tue Aug 31 15:31:50 2010 +0300
@@ -88,7 +88,6 @@
 EXPORT_C TInt CPtiKeyboardDatabaseFactory::CreateMappingTableWithOpaqueL(TInt aInterfaceUid,
                                                   RArray<TPtiKeyboardDatabaseMappingOpaque>& aResult)
     {
-	CleanupClosePushL( aResult );
 	TInt res = 0;
 	TPtiKeyboardDatabaseMappingOpaque map;	
 	RImplInfoPtrArray infoArray;
@@ -107,7 +106,6 @@
 		
 	CleanupStack::PopAndDestroy(); // infoArray    
 
-    CleanupStack::Pop();
 	return res;    
     }
 		
@@ -136,7 +134,6 @@
 EXPORT_C void CPtiKeyboardDatabaseFactory::ListImplementationsL(TInt aCoreUid, 
                                                                 RArray<TInt>& aResult)
     {
-	CleanupClosePushL( aResult );
 	RImplInfoPtrArray infoArray;
 	TInt i;
 
@@ -149,7 +146,6 @@
 		}
 
 	CleanupStack::PopAndDestroy(); // infoArray     
-    CleanupStack::Pop();
     }
         
 // ---------------------------------------------------------------------------