This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch odf-devel in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 58c72c10be0859614e56f8de68556383b83c935c Author: Jim Jagielski <[email protected]> AuthorDate: Fri Oct 23 08:51:37 2026 -0400 sw: don't write style:keep-together on table rows in ODF 1.2 mode The UOF export transforms (odf2uof_text.xsl and uof2/odf2uof.xsl) read only style:keep-together, so UOF export in this mode loses the table-row can't-split flag. Checked by reading the XSLTs; UOF export was not run. --- main/sw/source/filter/xml/xmlexpit.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/main/sw/source/filter/xml/xmlexpit.cxx b/main/sw/source/filter/xml/xmlexpit.cxx index 37142b86a5..5c4986b674 100644 --- a/main/sw/source/filter/xml/xmlexpit.cxx +++ b/main/sw/source/filter/xml/xmlexpit.cxx @@ -137,6 +137,7 @@ void SvXMLExportItemMapper::exportXML( const SvXMLExport& rExport, if( rEntry.nNameSpace == XML_NAMESPACE_STYLE ) { if( (rExport.getExportFlags() & EXPORT_SAVEBACKWARDCOMPATIBLE ) == 0 || + rExport.getDefaultVersion() == SvtSaveOptions::ODFVER_012 || !QueryXMLValue(rItem, aValue, static_cast< sal_uInt16 >( rEntry.nMemberId & MID_SW_FLAG_MASK ), rUnitConverter ) )
