From 9f7cbc3a5358620f94fd175dbd494e6d5c01f3de Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 2 Mar 2022 10:12:37 +0200 Subject: use SfxItemSet::GetItemIfSet in sd Change-Id: I198b6101c1d62e81a70bac6a57faa2adc2dd36f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130820 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/view/drviewsf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/view/drviewsf.cxx') diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx index d54b43fd908a..471d549cb12a 100644 --- a/sd/source/ui/view/drviewsf.cxx +++ b/sd/source/ui/view/drviewsf.cxx @@ -617,7 +617,7 @@ void DrawViewShell::GetAttrState( SfxItemSet& rSet ) std::unique_ptr pNumRule; const SfxPoolItem* pTmpItem=nullptr; - sal_uInt16 nNumItemId = SID_ATTR_NUMBERING_RULE; + TypedWhichId nNumItemId = SID_ATTR_NUMBERING_RULE; sal_uInt16 nActNumLvl = mpDrawView->GetSelectionLevel(); pTmpItem=GetNumBulletItem(aNewAttr, nNumItemId); -- cgit