syncmlfw/ds/syncagent/src/nsmldscontent.cpp
branchRCL_3
changeset 12 9e9792ae22e3
parent 11 06f47423ecee
child 25 b183ec05bd8c
--- a/syncmlfw/ds/syncagent/src/nsmldscontent.cpp	Fri Mar 12 15:46:48 2010 +0200
+++ b/syncmlfw/ds/syncagent/src/nsmldscontent.cpp	Mon Mar 15 12:43:15 2010 +0200
@@ -120,7 +120,7 @@
 //
 TBool CNSmlDSContent::ContentIndexIsSet() const
 	{
-	if ( iIndex == -1 )
+	if ( ( iIndex < 0 ) || ( iIndex >= iStores.Count() ) )
 		{
 		return EFalse;
 		}