webengine/widgetregistry/Client/src/WidgetRegistryClient.cpp
branchRCL_3
changeset 35 1f3c3f2f5b0a
parent 26 cb62a4f66ebe
child 48 79859ed3eea9
equal deleted inserted replaced
34:220a17280356 35:1f3c3f2f5b0a
   623 // ============================================================================
   623 // ============================================================================
   624 //
   624 //
   625 CBufFlat* RWidgetRegistryClientSession::MarshalPropertyValuesL(
   625 CBufFlat* RWidgetRegistryClientSession::MarshalPropertyValuesL(
   626     const RPointerArray<CWidgetPropertyValue>&  aPropertyValues ) const
   626     const RPointerArray<CWidgetPropertyValue>&  aPropertyValues ) const
   627     {
   627     {
   628     CBufFlat* buf = CBufFlat::NewL( 512 );
   628     CBufFlat* buf = CBufFlat::NewL( 4096 );
   629     CleanupStack::PushL( buf );
   629     CleanupStack::PushL( buf );
   630 
   630 
   631     RBufWriteStream stream( *buf );
   631     RBufWriteStream stream( *buf );
   632     CleanupClosePushL( stream );
   632     CleanupClosePushL( stream );
   633 
   633 
   634     TInt i = 0;
   634     TInt i = 0;
   635     for ( ; i < EWidgetPropertyIdCount; ++i )
   635     for ( ; i < aPropertyValues.Count(); ++i )
   636         {
   636         {
   637         aPropertyValues[i]->SerializeL( stream );
   637         aPropertyValues[i]->SerializeL( stream );
   638         }
   638         }
   639 
   639 
   640     CleanupStack::PopAndDestroy( &stream );
   640     CleanupStack::PopAndDestroy( &stream );