--- a/webengine/widgetregistry/Client/src/WidgetRegistryClient.cpp Fri Mar 12 15:48:51 2010 +0200
+++ b/webengine/widgetregistry/Client/src/WidgetRegistryClient.cpp Mon Mar 15 12:44:50 2010 +0200
@@ -625,14 +625,14 @@
CBufFlat* RWidgetRegistryClientSession::MarshalPropertyValuesL(
const RPointerArray<CWidgetPropertyValue>& aPropertyValues ) const
{
- CBufFlat* buf = CBufFlat::NewL( 512 );
+ CBufFlat* buf = CBufFlat::NewL( 4096 );
CleanupStack::PushL( buf );
RBufWriteStream stream( *buf );
CleanupClosePushL( stream );
TInt i = 0;
- for ( ; i < EWidgetPropertyIdCount; ++i )
+ for ( ; i < aPropertyValues.Count(); ++i )
{
aPropertyValues[i]->SerializeL( stream );
}