sc/source/ui/cctrl/checklistmenu.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 79171b26b427d211e2077eea5af2e8b1d6428140 Author: Eike Rathke <[email protected]> Date: Fri Jun 2 19:13:17 2017 +0200 bPartialMatch can't be true here Change-Id: I14c7540e39a70ac9b73b1af91742c1e3aa82c110 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; commit 3a80d9868123eecffbd1b3eb57d5c7ac813f10ee Author: Eike Rathke <[email protected]> Date: Fri Jun 2 19:11:09 2017 +0200 Fix some horrible source code formatting Change-Id: Ic438b776ebd623915a000980b3c739d6a73bbd8d diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index ee51abb9f8a8..38e63b4f6397 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1237,8 +1237,8 @@ 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( maMembers[i].maRealName + maMembers[i].maDateParts[1] ) ) - .indexOf( aSearchText ) != -1 ); + bPartialMatch = bPartialMatch || (ScGlobal::pCharClass->lowercase( OUString( + maMembers[i].maRealName + maMembers[i].maDateParts[1] )).indexOf( aSearchText ) != -1); else continue; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
