equal
deleted
inserted
replaced
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 ); |