https://bugs.documentfoundation.org/show_bug.cgi?id=174377

            Bug ID: 174377
           Summary: Don't create office:scripts and office:script elements
                    if the document has no scripts
           Product: LibreOffice
           Version: 25.2.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Reproduction:

1. Create a new Writer document
2. Save it as a flat ODT
3. Inspect the FODT, looking for a <office:scripts> element

Expected Results:

You won't find one, as your document has no scripts

Actual Results:

We find a dummy/empty script element:

 <office:scripts>
  <office:script script:language="ooo:Basic">
   <ooo:libraries xmlns:ooo="http://openoffice.org/2004/office";
xmlns:xlink="http://www.w3.org/1999/xlink"/>
  </office:script>
 </office:scripts>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to