svx/source/form/filtnav.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3877cd896236b604d0d195260f6c5119f0913c3e Author: Julien Nabet <serval2...@yahoo.fr> Date: Wed Jan 3 19:09:49 2018 +0100 tdf#114788: fix crash in form-based filter regression from https://cgit.freedesktop.org/libreoffice/core/diff/svx/source/form/filtnav.cxx?id=85f93697defd9a812a0cda0bc4e9364e28c0339e Change-Id: If6f248b460a55aa1e30902d5edeb807dabb37d7b (cherry picked from commit 93f8172ffb783da95391ac53ab6402f5a055aa44) Reviewed-on: https://gerrit.libreoffice.org/47370 Reviewed-by: Michael Stahl <mst...@redhat.com> Tested-by: Michael Stahl <mst...@redhat.com> diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 50c7f557e6ce..dd566a26a9ce 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -1147,7 +1147,7 @@ bool FmFilterNavigator::EditingEntry( SvTreeListEntry* pEntry, Selection& rSelec if (!SvTreeListBox::EditingEntry( pEntry, rSelection )) return false; - return pEntry && dynamic_cast<const FmFilterItem*>(static_cast<FmFilterData*>(pEntry->GetUserData())) == nullptr; + return pEntry && dynamic_cast<const FmFilterItem*>(static_cast<FmFilterData*>(pEntry->GetUserData())) != nullptr; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits