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