summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2018-01-03 19:09:49 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2018-01-04 07:47:06 +0100
commit93f8172ffb783da95391ac53ab6402f5a055aa44 (patch)
tree149017fbb5f41b49a41c8728dd3267ddc2d00365 /svx
parent71604ca2ecebb78af6b8bb6b3ec1d9deae19dd1b (diff)
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 Reviewed-on: https://gerrit.libreoffice.org/47338 (cherry picked from commit d2c9b749503ef0763a6140a7b509f73adb6015d2) Reviewed-on: https://gerrit.libreoffice.org/47357 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/filtnav.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index 989019e0a702..393c23ff9cbf 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -1144,7 +1144,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;
}