equal
deleted
inserted
replaced
2154 #if defined(_DEBUG) |
2154 #if defined(_DEBUG) |
2155 void RCntModel::GetDefinitionsOfExistingViewsL(const TDesC& aDbName, RPointerArray<CContactDefaultViewDefinition>& aViewDefs) |
2155 void RCntModel::GetDefinitionsOfExistingViewsL(const TDesC& aDbName, RPointerArray<CContactDefaultViewDefinition>& aViewDefs) |
2156 { |
2156 { |
2157 RBuf8 buf; |
2157 RBuf8 buf; |
2158 CleanupClosePushL(buf); |
2158 CleanupClosePushL(buf); |
2159 buf.Create(256); |
2159 buf.CreateL(256); |
2160 TIpcArgs args(&aDbName, &buf); |
2160 TIpcArgs args(&aDbName, &buf); |
2161 |
2161 |
2162 TInt newBufSize; |
2162 TInt newBufSize; |
2163 User::LeaveIfError(newBufSize = SendReceive(ECntGetDefinitionsForExistingView, args)); |
2163 User::LeaveIfError(newBufSize = SendReceive(ECntGetDefinitionsForExistingView, args)); |
2164 if (newBufSize > 0) |
2164 if (newBufSize > 0) |