Version: unspecified OS: Linux The other day I used a odp file as a base for my presentation for akademy-es, after removing some "trailing sldies" and save the file, I realized that the file was corrupted (because of the saving), and I couldn't open it anymore with any software. This could by reproduced by doing: 1-Download kubuntu-friendly.odp from demo files 2-Open it 3-Remove all slides but the 2 firsts 4-Save the document 5-Try to open it again Thanks! Reproducible: Didn't try
Git commit f4fe4b16111e783dcf554a534d849607e3507d8f by Thorsten Zachmann. Committed on 25/05/2011 at 06:27. Pushed by zachmann into branch 'master'. Make sure to produce valid xml Close the tag that are opened. Always use the same machanism for closing the tags. Therefore also insert empty tags into the stack. This fixes bug 274064 - Corrupted odp file after removing slides. Actually the removing of the slides is not needed th reproduces the problem. Saving the file is enough. BUG: 274064 M +10 -11 libs/kotext/opendocument/KoTextWriter.cpp http://commits.kde.org/calligra/f4fe4b16111e783dcf554a534d849607e3507d8f