branch | RCL_3 |
changeset 14 | 9e9792ae22e3 |
parent 13 | 06f47423ecee |
child 61 | 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; }