wrong comparison

regression since ed338bc212725f422f0def21aafc82f05e350646

Change-Id: Ia5dfe7a551abe244c313d3bdb2b90196fc0c6ba2
This commit is contained in:
Caolán McNamara 2013-10-20 15:51:49 +01:00
parent 45e366eadb
commit 3f16ec73e0

View File

@ -2609,7 +2609,7 @@ HtmlSelectModel::importBinaryModel( BinaryInputStream& rInStrm )
displayValue = displayValue.replaceAll( """, "\"" ); displayValue = displayValue.replaceAll( """, "\"" );
displayValue = displayValue.replaceAll( "&", "&" ); displayValue = displayValue.replaceAll( "&", "&" );
listValues.push_back( displayValue ); listValues.push_back( displayValue );
if( sLine.indexOf( sSelected ) != STRING_NOTFOUND ) if( sLine.indexOf( sSelected ) != -1 )
selectedIndices.push_back( static_cast< sal_Int16 >( listValues.size() ) - 1 ); selectedIndices.push_back( static_cast< sal_Int16 >( listValues.size() ) - 1 );
} }
} }