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 ecd4ad9ffe653398391c655948169f269bc8201b
Author: Jim Jagielski <[email protected]>
AuthorDate: Fri Oct 23 10:26:48 2026 -0400

    xmloff: don't write form:xforms-list-source on comboboxes in ODF 1.0 and 
1.1 modes
---
 main/xmloff/source/forms/elementexport.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/xmloff/source/forms/elementexport.cxx 
b/main/xmloff/source/forms/elementexport.cxx
index e86b2c106d..f213b0db04 100644
--- a/main/xmloff/source/forms/elementexport.cxx
+++ b/main/xmloff/source/forms/elementexport.cxx
@@ -1767,7 +1767,8 @@ namespace xmloff
 
         // is (list-)control bound to XForms list?
         if( getXFormsListBindName( m_xProps ).getLength() > 0 &&
-            ( m_eType != COMBOBOX || 
m_rContext.getGlobalContext().getDefaultVersion() != SvtSaveOptions::ODFVER_012 
) )
+            ( m_eType != COMBOBOX || 
m_rContext.getGlobalContext().getDefaultVersion() < SvtSaveOptions::ODFVER_010 
||
+              m_rContext.getGlobalContext().getDefaultVersion() > 
SvtSaveOptions::ODFVER_012 ) )
         {
             m_nIncludeBindings |= BA_XFORMS_LISTBIND;
         }

Reply via email to