| commit | 502a45e112cdc5e296311ef8f3c220b706340e06 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon May 09 10:11:22 2022 +0100 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Mon May 09 19:14:35 2022 +0200 |
| tree | 4e3b4720c05afc4978a379dd4ffb0346063534ea | |
| parent | d314ea8f769b13a0dffa7e1560c70b2b9001c53d [diff] |
Resolves: tdf#148985 crash on searching for non-existing prefix Change-Id: Ib89af12e75910adbd32abab5afceb9013dc51df2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134055 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 5782005..dc86567 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -2108,6 +2108,8 @@ IMPL_LINK_NOARG(CustomAnimationPane, SelectionHandler, Timer*, void) } int nSelected = mxLBAnimation->get_selected_index(); if (nSelected == -1) return; // tdf#99137, the selected entry may also be a subcategory title, so not an effect // just skip it and move to the next one in this case