Bug Fixes in Office
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.