Merge pull request #1060 from Mord1n/patch-1

ODT Writer automatic-styles should be closed before opening master-styles.
This commit is contained in:
troosan 2017-11-16 23:08:13 +01:00 committed by GitHub
commit bc4750dd7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,8 +52,8 @@ class Styles extends AbstractPart
// Automatic styles
$xmlWriter->startElement('office:automatic-styles');
$this->writePageLayout($xmlWriter);
$this->writeMaster($xmlWriter);
$xmlWriter->endElement();
$this->writeMaster($xmlWriter);
$xmlWriter->endElement(); // office:document-styles