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 1028eb24a1e120dc25b3833ab743d96e420d5da6
Author: Jim Jagielski <[email protected]>
AuthorDate: Fri Oct 23 09:34:03 2026 -0400

    xmloff: don't write form:xforms-list-source on comboboxes in ODF 1.2 mode
---
 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 3092bb275b..e86b2c106d 100644
--- a/main/xmloff/source/forms/elementexport.cxx
+++ b/main/xmloff/source/forms/elementexport.cxx
@@ -1766,7 +1766,8 @@ namespace xmloff
         }
 
         // is (list-)control bound to XForms list?
-        if( getXFormsListBindName( m_xProps ).getLength() > 0 )
+        if( getXFormsListBindName( m_xProps ).getLength() > 0 &&
+            ( m_eType != COMBOBOX || 
m_rContext.getGlobalContext().getDefaultVersion() != SvtSaveOptions::ODFVER_012 
) )
         {
             m_nIncludeBindings |= BA_XFORMS_LISTBIND;
         }

Reply via email to