datasourcemodules/bluetoothgpspositioningmodule/btgpsconfig/src/lbsbtgpsconfigimpl.cpp
equal
deleted
inserted
replaced
321 TLbsBtGpsDeviceInfo* devInfo = new (ELeave) TLbsBtGpsDeviceInfo(); |
321 TLbsBtGpsDeviceInfo* devInfo = new (ELeave) TLbsBtGpsDeviceInfo(); |
322 CleanupStack::PushL(devInfo); |
322 CleanupStack::PushL(devInfo); |
323 devInfo->SetKey(devRecord.Key()); |
323 devInfo->SetKey(devRecord.Key()); |
324 devInfo->SetAddress(devRecord.SocketAddress().BTAddr()); |
324 devInfo->SetAddress(devRecord.SocketAddress().BTAddr()); |
325 devInfo->SetType(devRecord.Type()); |
325 devInfo->SetType(devRecord.Type()); |
326 aList.Append(devInfo); |
326 aList.AppendL(devInfo); |
327 CleanupStack::Pop(devInfo); |
327 CleanupStack::Pop(devInfo); |
328 } |
328 } |
329 |
329 |
330 } |
330 } |
331 |
331 |
418 |
418 |
419 // Read the record into the container |
419 // Read the record into the container |
420 User::LeaveIfError(ReadDeviceRecord(index, *devRecord)); |
420 User::LeaveIfError(ReadDeviceRecord(index, *devRecord)); |
421 |
421 |
422 // Add to the passes list |
422 // Add to the passes list |
423 aRecordList.Append(devRecord); |
423 aRecordList.AppendL(devRecord); |
424 |
424 |
425 CleanupStack::Pop(devRecord); |
425 CleanupStack::Pop(devRecord); |
426 } |
426 } |
427 |
427 |
428 // End central repository transaction |
428 // End central repository transaction |