diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-20 15:51:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-20 19:00:37 +0100 |
commit | 3f16ec73e07b7c187200656cfa969d71b4bea7b3 (patch) | |
tree | eaf2341c9e2b27662d4756223294b771d9d6a495 /oox/source/ole | |
parent | 45e366eadbba69140214a8e745a1d3ce3e4e8337 (diff) |
wrong comparison
regression since ed338bc212725f422f0def21aafc82f05e350646
Change-Id: Ia5dfe7a551abe244c313d3bdb2b90196fc0c6ba2
Diffstat (limited to 'oox/source/ole')
-rw-r--r-- | oox/source/ole/axcontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index 43d7fc6e2a9b..a2c4190e40a8 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -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 ); } } |