diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-02 10:12:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-02 11:48:43 +0100 |
commit | 9f7cbc3a5358620f94fd175dbd494e6d5c01f3de (patch) | |
tree | fdf17ff608430b7d80d655983144fa33e6b29894 /sd/source/ui/view/drviewsf.cxx | |
parent | 615f72e74c9ac2202bce4dd95d98b6558b178f19 (diff) |
use SfxItemSet::GetItemIfSet in sd
Change-Id: I198b6101c1d62e81a70bac6a57faa2adc2dd36f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130820
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/drviewsf.cxx')
-rw-r--r-- | sd/source/ui/view/drviewsf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<SvxNumRule> pNumRule; const SfxPoolItem* pTmpItem=nullptr; - sal_uInt16 nNumItemId = SID_ATTR_NUMBERING_RULE; + TypedWhichId<SvxNumBulletItem> nNumItemId = SID_ATTR_NUMBERING_RULE; sal_uInt16 nActNumLvl = mpDrawView->GetSelectionLevel(); pTmpItem=GetNumBulletItem(aNewAttr, nNumItemId); |