diff options
author | Eike Rathke <erack@redhat.com> | 2017-06-02 19:13:17 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-06-02 19:18:05 +0200 |
commit | 79171b26b427d211e2077eea5af2e8b1d6428140 (patch) | |
tree | 5e671b7d1e31625cca8674aee87b9c2bd08cb289 | |
parent | 3a80d9868123eecffbd1b3eb57d5c7ac813f10ee (diff) |
bPartialMatch can't be true here
Change-Id: I14c7540e39a70ac9b73b1af91742c1e3aa82c110
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 38e63b4f6397..6625101788d6 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1237,7 +1237,7 @@ IMPL_LINK_NOARG(ScCheckListMenuWindow, EdModifyHdl, Edit&, void) if ( !bIsDate ) bPartialMatch = ( ScGlobal::pCharClass->lowercase( aLabelDisp ).indexOf( aSearchText ) != -1 ); else if ( maMembers[i].meDatePartType == ScCheckListMember::DAY ) // Match with both numerical and text version of month - bPartialMatch = bPartialMatch || (ScGlobal::pCharClass->lowercase( OUString( + bPartialMatch = (ScGlobal::pCharClass->lowercase( OUString( maMembers[i].maRealName + maMembers[i].maDateParts[1] )).indexOf( aSearchText ) != -1); else continue; |