creator/engine/src/creator_contactelement.cpp
changeset 51 b048e15729d6
parent 31 e7a04a6385be
child 52 36d60d12b4af
--- a/creator/engine/src/creator_contactelement.cpp	Mon Aug 23 15:50:54 2010 +0300
+++ b/creator/engine/src/creator_contactelement.cpp	Fri Sep 03 17:11:21 2010 +0300
@@ -196,23 +196,19 @@
             for( TInt i = 0; i < fieldList.Count(); ++i )
                 {
                 TPtrC fieldName = fieldList[i]->Name();
-                CCreatorContactField* field = 0;
-				field = CCreatorContactField::NewL();
-
                 const CCreatorScriptAttribute* amountAttr = fieldList[i]->FindAttributeByName(KAmount);
                 const CCreatorScriptAttribute* rndLenAttr = fieldList[i]->FindAttributeByName(KRandomLength);
                 const CCreatorScriptAttribute* increaseAttr = fieldList[i]->FindAttributeByName(KIncrease);
-                TBool increase( EFalse );
-                if ( increaseAttr )
-                    {
-                    increase = ConvertStrToBooleanL( increaseAttr->Value() );
-                    }
+                //TBool increase( EFalse );
+                //if ( increaseAttr )
+                //    {
+                //    increase = ConvertStrToBooleanL( increaseAttr->Value() );
+                //    }
                 for( TInt j = 0; j < fieldMappingTblSize; ++j )
                     {
                     const FieldMapping& mapping = fieldMappingTbl[j];
                     if( fieldName == mapping.iElementName )
                         {
-                        TInt rndLen = 0;
                         TPtrC content = fieldList[i]->Content();
                                                                         
 //                        MCreatorRandomDataField::TRandomLengthType randomLenType = MCreatorRandomDataField::ERandomLengthUndefined;