sw/source/uibase/uiview/formatclipboard.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 781d16dc43022b5c43f01355280b4b5a49b2d37b
Author:     Oliver Specht <oliver.spe...@cib.de>
AuthorDate: Thu Feb 13 15:28:23 2025 +0100
Commit:     Thorsten Behrens <thorsten.behr...@allotropia.de>
CommitDate: Sat Feb 22 14:16:14 2025 +0100

    tdf#164949 regression fixed
    
    Fixes regression introduced with 3e4aa127416a5947882e6644409468aa1ca039ae
    
    Change-Id: I065c626358b19f74d1838ae79717b0b630532dc1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181626
    Tested-by: allotropia jenkins <jenk...@allotropia.de>
    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..eab98a842b5e 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 )

Reply via email to