diff -r 875f413e6ce9 -r ef2733361cdb omads/omadsextensions/datamod/src/nsmldatamodbase.cpp --- a/omads/omadsextensions/datamod/src/nsmldatamodbase.cpp Thu Sep 02 20:16:30 2010 +0300 +++ b/omads/omadsextensions/datamod/src/nsmldatamodbase.cpp Fri Sep 17 08:27:35 2010 +0300 @@ -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++ )