equal
deleted
inserted
replaced
928 // Read buffer |
928 // Read buffer |
929 // --------------------------------------------------------------------------- |
929 // --------------------------------------------------------------------------- |
930 // |
930 // |
931 void RPeninputServerImpl::ReadIntArrayFromBufL(const TDesC8& aBuf, RArray<TInt>& aResult) |
931 void RPeninputServerImpl::ReadIntArrayFromBufL(const TDesC8& aBuf, RArray<TInt>& aResult) |
932 { |
932 { |
|
933 CleanupClosePushL( aResult ); |
933 RDesReadStream readStream; |
934 RDesReadStream readStream; |
934 readStream.Open(aBuf); |
935 readStream.Open(aBuf); |
935 CleanupClosePushL(readStream); |
936 CleanupClosePushL(readStream); |
936 const TInt entryCount = readStream.ReadInt32L(); |
937 const TInt entryCount = readStream.ReadInt32L(); |
937 |
938 |
939 { |
940 { |
940 aResult.AppendL(readStream.ReadInt32L()); |
941 aResult.AppendL(readStream.ReadInt32L()); |
941 } |
942 } |
942 |
943 |
943 CleanupStack::PopAndDestroy(&readStream); |
944 CleanupStack::PopAndDestroy(&readStream); |
|
945 CleanupStack::Pop( &aResult ); |
944 } |
946 } |
945 |
947 |
946 // --------------------------------------------------------------------------- |
948 // --------------------------------------------------------------------------- |
947 // RPeninputServerImpl::SetForeground |
949 // RPeninputServerImpl::SetForeground |
948 // Set current session to be foreground application session |
950 // Set current session to be foreground application session |