From dbd49cf90b175a3c3d7a4f25ad366f9bc4c716db Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Oct 2021 16:17:38 +0200 Subject: use SfxItemSetFixed in sw Change-Id: I69e188d7599b7fc439f613cec0a0967ccb748b7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123313 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/shells/drawsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/shells/drawsh.cxx') diff --git a/sw/source/uibase/shells/drawsh.cxx b/sw/source/uibase/shells/drawsh.cxx index 52a3b0d02beb..9dc1ad6163c6 100644 --- a/sw/source/uibase/shells/drawsh.cxx +++ b/sw/source/uibase/shells/drawsh.cxx @@ -152,7 +152,7 @@ void SwDrawShell::InsertPictureFromFile(SdrObject& rObject) { pSdrView->AddUndo(std::make_unique(rObject)); - SfxItemSet aSet(pSdrView->GetModel()->GetItemPool(), svl::Items); + SfxItemSetFixed aSet(pSdrView->GetModel()->GetItemPool()); aSet.Put(XFillStyleItem(drawing::FillStyle_BITMAP)); aSet.Put(XFillBitmapItem(OUString(), aGraphic)); -- cgit