summaryrefslogtreecommitdiff
path: root/sw/source/ui/chrdlg
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-10-06 16:17:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 11:33:38 +0200
commitdbd49cf90b175a3c3d7a4f25ad366f9bc4c716db (patch)
tree1c9ee40dc72d468f4b35dd83f62966844aabcf62 /sw/source/ui/chrdlg
parentb972aa8727da6eb2d5d9740b18450d8706df0874 (diff)
use SfxItemSetFixed in sw
Change-Id: I69e188d7599b7fc439f613cec0a0967ccb748b7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123313 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/chrdlg')
-rw-r--r--sw/source/ui/chrdlg/pardlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx
index 5e66599ddb38..232b9f8154df 100644
--- a/sw/source/ui/chrdlg/pardlg.cxx
+++ b/sw/source/ui/chrdlg/pardlg.cxx
@@ -227,9 +227,9 @@ void SwParaDlg::PageCreated(const OString& rId, SfxTabPage& rPage)
// demand, but could also be directly added from the DrawModel.
else if (rId == "area")
{
- SfxItemSet aNew(*aSet.GetPool(),
- svl::Items<SID_COLOR_TABLE, SID_PATTERN_LIST,
- SID_OFFER_IMPORT, SID_OFFER_IMPORT>);
+ SfxItemSetFixed
+ <SID_COLOR_TABLE, SID_PATTERN_LIST,
+ SID_OFFER_IMPORT, SID_OFFER_IMPORT> aNew(*aSet.GetPool());
aNew.Put(*GetInputSetImpl());