contextframework/cfwplugins/PSStateSourcePlugIn/src/psstatesourceplugin.cpp
branchRCL_3
changeset 18 0818dd463d41
parent 0 2e3d3ce01487
child 19 924385140d98
--- a/contextframework/cfwplugins/PSStateSourcePlugIn/src/psstatesourceplugin.cpp	Thu Jul 15 18:49:38 2010 +0300
+++ b/contextframework/cfwplugins/PSStateSourcePlugIn/src/psstatesourceplugin.cpp	Thu Aug 19 10:05:08 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2006-2010 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"
@@ -247,7 +247,7 @@
 		TInt psValue;
 		
 		TLex lex( psValueDesc );
-		lex.Val(psValue);
+		User::LeaveIfError( lex.Val(psValue) );
 
 		intmapper->AddMappingL(psValue, contextValue);
         }