equal
deleted
inserted
replaced
26 #include <XdmSettingsApi.h> |
26 #include <XdmSettingsApi.h> |
27 |
27 |
28 #include "xdmprovitem.h" |
28 #include "xdmprovitem.h" |
29 #include "xdmprovadapter.h" |
29 #include "xdmprovadapter.h" |
30 |
30 |
|
31 // for CleanupResetAndDestroyPushL |
|
32 #include <mmf/common/mmfcontrollerpluginresolver.h> |
31 |
33 |
32 #ifdef _DEBUG |
34 #ifdef _DEBUG |
33 #include <flogger.h> |
35 #include <flogger.h> |
34 #endif |
36 #endif |
35 |
37 |
303 RPointerArray<HBufC8>& aSavingInfo ) |
305 RPointerArray<HBufC8>& aSavingInfo ) |
304 { |
306 { |
305 #ifdef _DEBUG |
307 #ifdef _DEBUG |
306 WriteToLog( _L8( "CXdmProvAdapter::GetSavingInfoL" ) ); |
308 WriteToLog( _L8( "CXdmProvAdapter::GetSavingInfoL" ) ); |
307 #endif |
309 #endif |
|
310 |
|
311 CleanupResetAndDestroyPushL( aSavingInfo ); |
|
312 |
308 if ( aIndex < iProvItems.Count() - 1 ) |
313 if ( aIndex < iProvItems.Count() - 1 ) |
309 { |
314 { |
310 #ifdef _DEBUG |
315 #ifdef _DEBUG |
311 WriteToLog( _L8( "CXdmProvAdapter::GetSavingInfoL leaves with KErrArgument" ) ); |
316 WriteToLog( _L8( "CXdmProvAdapter::GetSavingInfoL leaves with KErrArgument" ) ); |
312 #endif |
317 #endif |
337 id.Num( iProvItems[aIndex]->XdmSettingsId() ); |
342 id.Num( iProvItems[aIndex]->XdmSettingsId() ); |
338 aSavingInfo.AppendL( idBuf ); |
343 aSavingInfo.AppendL( idBuf ); |
339 CleanupStack::Pop( idBuf ); // >> idBuf |
344 CleanupStack::Pop( idBuf ); // >> idBuf |
340 idBuf = NULL; |
345 idBuf = NULL; |
341 } |
346 } |
342 |
347 |
|
348 CleanupStack::Pop( &aSavingInfo ); |
|
349 |
343 #ifdef _DEBUG |
350 #ifdef _DEBUG |
344 WriteToLog( _L8( "CXdmProvAdapter::GetSavingInfoL done" ) ); |
351 WriteToLog( _L8( "CXdmProvAdapter::GetSavingInfoL done" ) ); |
345 #endif |
352 #endif |
346 } |
353 } |
347 |
354 |