diff --git a/0001-Resolves-tdf-101165-crash-on-deselecting-all-filters.patch b/0001-Resolves-tdf-101165-crash-on-deselecting-all-filters.patch new file mode 100644 index 0000000..60c158d --- /dev/null +++ b/0001-Resolves-tdf-101165-crash-on-deselecting-all-filters.patch @@ -0,0 +1,37 @@ +From b101ff56e874824fa9f0d37a8468b07dbf3d002c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= +Date: Tue, 16 Aug 2016 11:54:38 +0100 +Subject: [PATCH] Resolves: tdf#101165 crash on deselecting all filters + +this affects 5-1, but not master because of + +7967e5e51e5210b8c3d3dc63502bd7d875eb36b7 which changed +the trigger in ScCheckListMenuWindow::setAllMemberState +but lets fix it in master anyway in case there's another +route in here + +Change-Id: I49162bb73bf6dbef5cff68d35d10da2c47d9f2b5 +--- + sc/source/ui/cctrl/checklistmenu.cxx | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx +index 93f9aef..a017cda 100644 +--- a/sc/source/ui/cctrl/checklistmenu.cxx ++++ b/sc/source/ui/cctrl/checklistmenu.cxx +@@ -1714,8 +1714,11 @@ SvTreeListEntry* ScCheckListBox::ShowCheckEntry( const OUString& sName, ScCheckL + { + if ( !pEntry ) + { +- if ( rMember.mbDate ) ++ if (rMember.mbDate) + { ++ if (rMember.maDateParts.empty()) ++ return nullptr; ++ + SvTreeListEntry* pYearEntry = FindEntry( nullptr, rMember.maDateParts[0] ); + if ( !pYearEntry ) + pYearEntry = InsertEntry( rMember.maDateParts[0], nullptr, true ); +-- +2.7.4 + diff --git a/libreoffice.spec b/libreoffice.spec index 7da8d45..a1d0ffc 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -241,6 +241,7 @@ Patch11: 0001-Resolves-rhbz-1352965-gtk3-infinite-clipboard-recurs.patch Patch12: 0001-Related-rhbz-1351369-gtk3-clipboards-have-to-live-to.patch Patch13: 0001-gtk3-style-combobox-never-becomes-sensitive-if-it-st.patch Patch14: 0001-Resolves-tdf-91533-rhbz-1364335-Tooltips-are-truncat.patch +Patch15: 0001-Resolves-tdf-101165-crash-on-deselecting-all-filters.patch %if 0%{?rhel} # not upstreamed