diff -r 00439341df81 -r 13ecdfc9a581 omads/omadsextensions/datamod/src/nsmldatamodbase.cpp --- a/omads/omadsextensions/datamod/src/nsmldatamodbase.cpp Fri Aug 20 09:35:25 2010 +0530 +++ b/omads/omadsextensions/datamod/src/nsmldatamodbase.cpp Fri Sep 03 17:34:04 2010 +0530 @@ -112,7 +112,7 @@ EXPORT_C void CNSmlDataModBase::StripTxL( CBufBase& aItem ) { _DBG_FILE("CNSmlDataModBase::StripTxL(): begin"); - HBufC8* buf = HBufC8::NewLC(aItem.Size() * 2); + HBufC8* buf = HBufC8::NewLC(aItem.Size()); *buf = aItem.Ptr(0); TPtr8 ptrBuf = buf->Des(); @@ -285,7 +285,7 @@ for( TInt i = 0; i < allProps->Count(); ) // Variable i is not increased here because size of count might be changes during loop { const CParserProperty& ownProperty = *allProps->At( i ); - CParserPropertyValue* ownValue = ownProperty.Value(); + TBool removeMe( EFalse ); @@ -458,8 +458,7 @@ for( TInt i = 0; i < allProps->Count(); ) // Variable i is not increased here because size of count might be changes during loop { const CParserProperty& ownProperty = *allProps->At( i ); - CParserPropertyValue* ownValue = ownProperty.Value(); - + TBool removeMe( ETrue ); for( TInt i2 = 0; i2 < iRemoteStoreFormat->MimeFormat( iUsedRemoteMimeType ).PropertyCount(); i2++ )