contextframework/cfwplugins/ApplicationStateSourcePlugIn/src/cfapplicationstatesettings.cpp
branchRCL_3
changeset 19 924385140d98
parent 17 5e7d68cc22e0
child 20 c2c61fdca848
--- a/contextframework/cfwplugins/ApplicationStateSourcePlugIn/src/cfapplicationstatesettings.cpp	Thu Aug 19 10:05:08 2010 +0300
+++ b/contextframework/cfwplugins/ApplicationStateSourcePlugIn/src/cfapplicationstatesettings.cpp	Tue Aug 31 15:24:25 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -99,18 +99,15 @@
 // CCFApplicationStateSettings::AddViewSettingsL
 //-----------------------------------------------------------------------------
 //
-TBool CCFApplicationStateSettings::GetViewName( const TUid& aUid, 
+void CCFApplicationStateSettings::GetViewName( const TUid& aUid, 
     TPtrC& aName ) const
     {
-    TBool matchFound = EFalse;
     for ( TInt i = 0; i < iViewInfo.Count(); ++i )
         {
         if ( aUid == iViewInfo[ i ]->Uid() )
             {
             aName.Set( iViewInfo[ i ]->Name() );
-            matchFound = ETrue;
             break;
             }
         }
-    return matchFound;
     }