tdf#161653 Fix selecting from numbering dropdown (Impress/Draw)

Change-Id: Ia066a8ff4b7ab4760fec7a4475afbceee084d115
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169995
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
This commit is contained in:
Samuel Mehrbrodt
2024-07-05 03:45:19 +02:00
committed by Thorsten Behrens
parent e142fa40fa
commit ab5d79c90f
+2
View File
@@ -124,6 +124,8 @@ void FuBulletAndPosition::SetCurrentBulletsNumbering(SfxRequest& rReq)
}
const SfxUInt16Item* pItem = rReq.GetArgs()->GetItem(SID_ATTR_BULLET_INDEX);
if (!pItem) // tdf#161653
pItem = rReq.GetArg<SfxUInt16Item>(nSId);
if ( !pItem )
{
rReq.Done();