sw/source/uibase/uiview/formatclipboard.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 3a121c57e546515eb5459651b1f3d10c3594214a Author: Oliver Specht <oliver.spe...@cib.de> AuthorDate: Thu Feb 13 15:28:23 2025 +0100 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Mon Feb 24 21:13:07 2025 +0100 tdf#164949 regression fixed Fixes regression introduced with 3e4aa127416a5947882e6644409468aa1ca039ae Change-Id: I065c626358b19f74d1838ae79717b0b630532dc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181624 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> Tested-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> (cherry picked from commit 9ceac9e0c4297b62fc8570bb915e35972a136e71) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182100 Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de> 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<RES_BOXATR_FORMAT, RES_BOXATR_FORMAT, RES_BOXATR_VALUE, RES_BOXATR_VALUE> + aBoxSet(*rSet.GetPool()); + rSh.GetTableBoxFormulaAttrs(aBoxSet); + rSet.Put(aBoxSet); } void lcl_setTableAttributes( const SfxItemSet& rSet, SwWrtShell &rSh )