summaryrefslogtreecommitdiff
path: root/vcl/source/control/quickselectionengine.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/quickselectionengine.cxx')
-rw-r--r--vcl/source/control/quickselectionengine.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/quickselectionengine.cxx b/vcl/source/control/quickselectionengine.cxx
index 14bbac1a2e25..d0b72391261f 100644
--- a/vcl/source/control/quickselectionengine.cxx
+++ b/vcl/source/control/quickselectionengine.cxx
@@ -85,7 +85,7 @@ namespace vcl
StringEntryIdentifier pStartedWith = pSearchEntry;
while ( pSearchEntry )
{
- if ( rI18nHelper.MatchString( _searchString, sEntryText ) != 0 )
+ if ( rI18nHelper.MatchString( _searchString, sEntryText ) )
break;
pSearchEntry = _engineData.rEntryList.NextEntry( pSearchEntry, sEntryText );