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 945db7b5d023e2054746b47e4efafc6b7fda4b23
Author: Jim Jagielski <[email protected]>
AuthorDate: Fri Oct 23 13:40:02 2026 -0400

    sw: don't write style:keep-together on table rows in default mode
---
 main/sw/source/filter/xml/xmlexpit.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/sw/source/filter/xml/xmlexpit.cxx 
b/main/sw/source/filter/xml/xmlexpit.cxx
index ac80c42937..f5459c4d68 100644
--- a/main/sw/source/filter/xml/xmlexpit.cxx
+++ b/main/sw/source/filter/xml/xmlexpit.cxx
@@ -138,7 +138,7 @@ void SvXMLExportItemMapper::exportXML( const SvXMLExport& 
rExport,
                        if( rEntry.nNameSpace == XML_NAMESPACE_STYLE )
                        {
                                if( (rExport.getExportFlags() & 
EXPORT_SAVEBACKWARDCOMPATIBLE ) == 0 ||
-                                       rExport.getDefaultVersion() == 
SvtSaveOptions::ODFVER_012 ||
+                                       rExport.getDefaultVersion() >= 
SvtSaveOptions::ODFVER_012 ||
                                        !QueryXMLValue(rItem, aValue,
                                        static_cast< sal_uInt16 >( 
rEntry.nMemberId & MID_SW_FLAG_MASK ),
                                        rUnitConverter ) )

Reply via email to