idlehomescreen/xmluirendering/dom/src/xndomstringpooloptimizer.cpp
branchRCL_3
changeset 9 f966699dea19
parent 2 08c6ee43b396
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    80         {
    80         {
    81         return KErrNotFound;
    81         return KErrNotFound;
    82         }    
    82         }    
    83     
    83     
    84     TInt index = FindEntry( aString, 0, iEntries.Count() - 1 );
    84     TInt index = FindEntry( aString, 0, iEntries.Count() - 1 );
    85     if( index > 0 && index < iEntries.Count() )
    85     if( index >= 0 && index < iEntries.Count() )
    86         {
    86         {
    87         return iEntries[index].iIndex;
    87         return iEntries[index].iIndex;
    88         }
    88         }
    89     else
    89     else
    90         {
    90         {