ximpfw/core/srcutils/ximpobjecthelpers.cpp
branchRCL_3
changeset 21 cfd5c2994f10
parent 14 7797b2f86d2b
child 22 113b91e0a2ad
equal deleted inserted replaced
20:eedf17a17c27 21:cfd5c2994f10
    57 // TXIMPHBuf8Packer::UnPackArrayL()
    57 // TXIMPHBuf8Packer::UnPackArrayL()
    58 // -----------------------------------------------------------------------------
    58 // -----------------------------------------------------------------------------
    59 //
    59 //
    60 EXPORT_C void TXIMPHBuf8Packer::UnPackArrayL( RPointerArray< HBufC8 >& aBufferArray, const TDesC8& aPack  )
    60 EXPORT_C void TXIMPHBuf8Packer::UnPackArrayL( RPointerArray< HBufC8 >& aBufferArray, const TDesC8& aPack  )
    61     {
    61     {
    62 	CleanupClosePushL( aBufferArray );
       
    63 	// No reset
    62 	// No reset
    64     if ( ! aPack.Length() )
    63     if ( ! aPack.Length() )
    65         {
    64         {
    66         // empty, don't attempt to unpack
    65         // empty, don't attempt to unpack
    67         return;
    66         return;
    82         
    81         
    83         rs.ReadL( theObjectPtr, length );
    82         rs.ReadL( theObjectPtr, length );
    84         aBufferArray.AppendL( theObject );
    83         aBufferArray.AppendL( theObject );
    85 		}
    84 		}
    86     CleanupStack::Pop( objCount ); // all the objects
    85     CleanupStack::Pop( objCount ); // all the objects
    87     CleanupStack::PopAndDestroy(); // rs   
    86     CleanupStack::PopAndDestroy(); // rs    
    88     CleanupStack::Pop( &aBufferArray );
       
    89     }
    87     }
    90 // End of file
    88 // End of file