--- a/menufw/hierarchynavigator/hnmetadatamodel/src/hnmdmodel.cpp Wed Sep 01 12:32:46 2010 +0100
+++ b/menufw/hierarchynavigator/hnmetadatamodel/src/hnmdmodel.cpp Tue Sep 14 20:58:58 2010 +0300
@@ -247,9 +247,9 @@
// ---------------------------------------------------------------------------
//
EXPORT_C TBool CHnMdModel::IsForegroundQueued() const
- {
- return iForegroundQueued;
- }
+ {
+ return iForegroundQueued;
+ }
// ---------------------------------------------------------------------------
//
@@ -264,13 +264,13 @@
if ( IsForegroundQueued() && ( !iForegroundTriggeringSuite ||
iForegroundTriggeringSuite == aJustEvaluatedSuite ) )
- {
- CLiwGenericParamList* pl = CLiwGenericParamList::NewL();
- CleanupStack::PushL( pl );
- iCmnPtrs.iModelEventObserver->HandleModelEventL( KAppGainForeground, *pl );
- CleanupStack::PopAndDestroy( pl );
- QueueForeground( ENever );
- }
+ {
+ CLiwGenericParamList* pl = CLiwGenericParamList::NewL();
+ CleanupStack::PushL( pl );
+ iCmnPtrs.iModelEventObserver->HandleModelEventL( KAppGainForeground, *pl );
+ CleanupStack::PopAndDestroy( pl );
+ QueueForeground( ENever );
+ }
}
// ---------------------------------------------------------------------------
@@ -316,11 +316,11 @@
{
TInt err( KErrNone );
- RXmlEngDocument xmlDoc;
- // Xml model provider takes ownership of xmlDoc.
- TRAP( err, iXmlModelProvider->GetModelL( aGenre, xmlDoc ) );
+ RXmlEngDocument xmlDoc;
+ // Xml model provider takes ownership of xmlDoc.
+ TRAP( err, iXmlModelProvider->GetModelL( aGenre, xmlDoc ) );
- TXmlEngElement element;
+ TXmlEngElement element;
if ( !err )
{
element = xmlDoc.DocumentElement().AsElement();
@@ -342,10 +342,10 @@
TInt pos( 0 );
newSuite->GetSuiteParameters().FindFirst( pos, KSuiteName8);
if ( pos == KErrNotFound )
- {
- newSuite->GetSuiteParameters().AppendL(
- TLiwGenericParam(KSuiteName8, TLiwVariant( aGenre ) ) );
- }
+ {
+ newSuite->GetSuiteParameters().AppendL(
+ TLiwGenericParam(KSuiteName8, TLiwVariant( aGenre ) ) );
+ }
iCmnPtrs.iContainer->PushNewSuiteModelL( newSuite->SuiteName() );
iCmnPtrs.iContainer->GetLastSuiteModel()->GetItemsOrder()->
@@ -355,9 +355,9 @@
iLoadedSuites.AppendL( newSuite );
}
else
- {
- MMPERF(("CHnMdModel::LoadSuiteL - Error TRAPPED!"));
- }
+ {
+ MMPERF(("CHnMdModel::LoadSuiteL - Error TRAPPED!"));
+ }
return err;
}
@@ -395,8 +395,8 @@
// ---------------------------------------------------------------------------
//
TInt CHnMdModel::LoadedSuitesCount()
- {
- return iLoadedSuites.Count();
- }
+ {
+ return iLoadedSuites.Count();
+ }