summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuparagr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-09-28 19:39:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-29 09:41:13 +0200
commit00f77b86df915e675f6b0e4aa5d762fda14d9c32 (patch)
tree2dada332d379136d155dbf48da735c0e9e9a328d /sd/source/ui/func/fuparagr.cxx
parent22483334bf897160494a7223992c5f4a301c82f8 (diff)
use SfxItemSetFixed in sd
Change-Id: Ia28372dbb82fdaaa282756118e0eeb207cfd5146 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122789 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/func/fuparagr.cxx')
-rw-r--r--sd/source/ui/func/fuparagr.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/func/fuparagr.cxx b/sd/source/ui/func/fuparagr.cxx
index bd0d5c75c1fb..0caaa83647f9 100644
--- a/sd/source/ui/func/fuparagr.cxx
+++ b/sd/source/ui/func/fuparagr.cxx
@@ -67,10 +67,9 @@ void FuParagraph::DoExecute( SfxRequest& rReq )
SfxItemSet aEditAttr( mpDoc->GetPool() );
mpView->GetAttributes( aEditAttr );
SfxItemPool *pPool = aEditAttr.GetPool();
- SfxItemSet aNewAttr( *pPool,
- svl::Items<EE_ITEMS_START, EE_ITEMS_END,
- SID_ATTR_TABSTOP_OFFSET, SID_ATTR_TABSTOP_OFFSET,
- ATTR_PARANUMBERING_START, ATTR_PARANUMBERING_END> );
+ SfxItemSetFixed<EE_ITEMS_START, EE_ITEMS_END,
+ SID_ATTR_TABSTOP_OFFSET, SID_ATTR_TABSTOP_OFFSET,
+ ATTR_PARANUMBERING_START, ATTR_PARANUMBERING_END> aNewAttr( *pPool );
aNewAttr.Put( aEditAttr );