oox/source/drawingml/table/tablecell.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit fd85ae8f154d261c3bc3dfc15b549df0ce4666ae Author: Noel Grandin <[email protected]> AuthorDate: Thu Jan 22 14:51:16 2026 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Fri Jan 23 08:21:00 2026 +0100 reduce log noise otherwise some unit tests will generate a ton of warn: oox:5789:86569751:oox/source/helper/propertyset.cxx:136: PropertySet::implSetPropertyValue - cannot set property "DiagonalBLTR" com.sun.star.beans.UnknownPropertyException message: "DiagonalBLTR at /Volumes/Jenkins/tdf/lode/jenkins/workspace/lo_gerrit/Config/macosx_clang_dbgutil/svx/source/table/cell.cxx:1132" context: N3sdr5table4CellE Change-Id: I49d4475149fba82595f99be68d4d5f6b913b6009 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197809 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx index 0da7c2092eec..34467a1e1bce 100644 --- a/oox/source/drawingml/table/tablecell.cxx +++ b/oox/source/drawingml/table/tablecell.cxx @@ -142,7 +142,8 @@ static void applyLineAttributes(const ::oox::core::XmlFilterBase& rFilterBase, } PropertySet aPropSet( rxPropSet ); - aPropSet.setProperty( nPropId, aBorderLine ); + if (aPropSet.hasProperty(nPropId)) + aPropSet.setProperty( nPropId, aBorderLine ); } static void applyBorder( const ::oox::core::XmlFilterBase& rFilterBase, TableStylePart& rTableStylePart, sal_Int32 nLineType, oox::drawingml::LineProperties& rLineProperties )
