https://bugs.documentfoundation.org/show_bug.cgi?id=93052
Bug ID: 93052
Summary: When save, generate unused list-styles in context.xml
Product: LibreOffice
Version: 5.1.0.0.alpha0+ Master
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Created attachment 117562
--> https://bugs.documentfoundation.org/attachment.cgi?id=117562&action=edit
File for reproduce the bug
The file "TestCalc.ods" have generated with OpenOffice 3.2.1.
But when i load with the LO 5.0 [a5a871bf03b212ce760997b16d764e266207dc55] and
save, then generate the follow
<text:list-style style:name="L1">
<text:list-level-style-number text:level="1" style:num-format="A">
<style:list-level-properties/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="2" style:num-format="A">
<style:list-level-properties text:space-before="8mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="3" style:num-format="A">
<style:list-level-properties text:space-before="16mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="4" style:num-format="A">
<style:list-level-properties text:space-before="24mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="5" style:num-format="A">
<style:list-level-properties text:space-before="32mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="6" style:num-format="A">
<style:list-level-properties text:space-before="40mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="7" style:num-format="A">
<style:list-level-properties text:space-before="48mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="8" style:num-format="A">
<style:list-level-properties text:space-before="56mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="9" style:num-format="A">
<style:list-level-properties text:space-before="64mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
<text:list-level-style-number text:level="10" style:num-format="A">
<style:list-level-properties text:space-before="72mm"/>
<style:text-properties fo:color="#000000" fo:font-size="100%"/>
</text:list-level-style-number>
</text:list-style>
<text:list-style style:name="L2">
.
.
</text:list-style>
This "text:list-style" has no referenz to other object and is not necessary.
I have a document with 1341 comments and then generate 2616 "text:list-styles"
entries for nothing (the context.xml grow to 5 MB).
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs