diff --git a/sw/source/uibase/uiview/formatclipboard.cxx b/sw/source/uibase/uiview/formatclipboard.cxx index 1d5d1f80c39c..335506ac85e9 100644 --- a/sw/source/uibase/uiview/formatclipboard.cxx +++ b/sw/source/uibase/uiview/formatclipboard.cxx @@ -140,7 +140,11 @@ void lcl_getTableAttributes( SfxItemSet& rSet, SwWrtShell &rSh, bool bAllCellAtt if(pSplit) rSet.Put(std::move(pSplit)); } - rSh.GetTableBoxFormulaAttrs(rSet); + + SfxItemSetFixed + aBoxSet(*rSet.GetPool()); + rSh.GetTableBoxFormulaAttrs(aBoxSet); + rSet.Put(aBoxSet); } void lcl_setTableAttributes( const SfxItemSet& rSet, SwWrtShell &rSh )