diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 5fec05ddf83a..7f3582ca2124 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -464,7 +464,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq ) const SfxStringItem* pStringItem = rReq.GetArg(SID_CONFIG); - SfxItemSetFixed aSet( GetPool() ); + SfxItemSet aSet(SfxItemSet::makeFixedSfxItemSet( GetPool() )); // SID_CONFIG property will determine the default page shown if ( pStringItem ) @@ -1966,7 +1966,7 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq ) case SID_AUTO_CORRECT_DLG: { SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); - SfxItemSetFixed aSet(GetPool()); + SfxItemSet aSet(SfxItemSet::makeFixedSfxItemSet(GetPool())); const SfxPoolItem* pItem=nullptr; const SfxItemSet* pSet = rReq.GetArgs(); if ( pSet && pSet->GetItemState( SID_AUTO_CORRECT_DLG, false, &pItem ) == SfxItemState::SET ) diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index fd33efdccc9b..c22b3dbca934 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -737,9 +737,9 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) // templates not supported aDocInfoItem.SetTemplate(false); - SfxItemSetFixed - aSet(GetPool()); + (GetPool())); aSet.Put( aDocInfoItem ); aSet.Put( SfxBoolItem( SID_DOC_READONLY, bReadOnly ) ); aSet.Put( SfxStringItem( SID_EXPLORER_PROPS_START, GetTitle() ) ); diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index ab9090d987fb..4c8ac282912a 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -2050,8 +2050,8 @@ IMPL_LINK_NOARG(SfxViewFrame, DontShowAgainHdl, weld::Button&, void) IMPL_LINK_NOARG(SfxViewFrame, ChangeOptionsHdl, weld::Button&, void) { SfxApplication* pApp = SfxGetpApp(); - SfxItemSetFixed - aSet(pApp->GetPool()); + SfxItemSet aSet(SfxItemSet::makeFixedSfxItemSet + (pApp->GetPool())); // show dialog with same tabs as opened via SID_AUTO_CORRECT_DLG SfxBoolItem aDlg(SID_AUTO_CORRECT_DLG, true); aSet.Put(aDlg);