Kaydet (Commit) 3f16ec73 authored tarafından Caolán McNamara's avatar Caolán McNamara

wrong comparison

regression since ed338bc2

Change-Id: Ia5dfe7a551abe244c313d3bdb2b90196fc0c6ba2
üst 45e366ea
......@@ -2609,7 +2609,7 @@ HtmlSelectModel::importBinaryModel( BinaryInputStream& rInStrm )
displayValue = displayValue.replaceAll( """, "\"" );
displayValue = displayValue.replaceAll( "&", "&" );
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 );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment