diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-01-03 19:09:49 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-01-03 23:22:51 +0100 |
commit | d2c9b749503ef0763a6140a7b509f73adb6015d2 (patch) | |
tree | eefb99426d38c0b74fe769bf10cd2115b22f09b7 /svx | |
parent | d8efc393bff9c0ed38eac00f48ce1d525e1d08ce (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
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.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 37a91bf0d4e3..8dd28703a9d9 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; } |