sw/source/uibase/shells/txtnum.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit f7402d54c96a3945e3df3f042cedc8ddec3185ea Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Thu Jun 20 08:25:46 2024 +0200 Commit: Thorsten Behrens <[email protected]> CommitDate: Thu Jun 20 21:43:33 2024 +0200 tdf#161653 Fix selecting from numbering dropdown Change-Id: I5ba2133395619ec96b32940a6ceddf0c32615a03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169253 Tested-by: Thorsten Behrens <[email protected]> Reviewed-by: Thorsten Behrens <[email protected]> diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx index 43c1b8d1aedd..e5d2089c1933 100644 --- a/sw/source/uibase/shells/txtnum.cxx +++ b/sw/source/uibase/shells/txtnum.cxx @@ -262,6 +262,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 );
