sw/source/uibase/shells/txtnum.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit e0245c22b646ac22de476be0537d694704d56459 Author: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> AuthorDate: Thu Jun 20 08:25:46 2024 +0200 Commit: Justin Luth <jl...@mail.com> CommitDate: Thu Jun 20 16:17:36 2024 +0200 tdf#161653 Fix selecting from numbering dropdown Change-Id: I5ba2133395619ec96b32940a6ceddf0c32615a03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169252 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> (cherry picked from commit 41d26f14fffdb701f6e7ef459a11577725cd0d27) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169145 Tested-by: Justin Luth <jl...@mail.com> Reviewed-by: Justin Luth <jl...@mail.com> diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx index 86aa9a6b224e..0941c702ff55 100644 --- a/sw/source/uibase/shells/txtnum.cxx +++ b/sw/source/uibase/shells/txtnum.cxx @@ -261,6 +261,8 @@ void SwTextShell::ExecSetNumber(SfxRequest const &rReq) case FN_SVX_SET_OUTLINE: { const SfxUInt16Item* pIndexItem = rReq.GetArgs()->GetItem( SID_ATTR_BULLET_INDEX ); + if (!pIndexItem) // tdf#161653 + pIndexItem = rReq.GetArg<SfxUInt16Item>(nSlot); const SfxStringItem* pCharItem = rReq.GetArgs()->GetItem( SID_ATTR_BULLET_CHAR ); const SfxStringItem* pFontItem = rReq.GetArgs()->GetItem( SID_ATTR_BULLET_FONT );