This commit is contained in:
troosan 2017-07-07 08:02:31 +02:00
parent 722c81d89d
commit 88cc13dd85
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ class Settings extends AbstractPart
* @param PhpWord $phpWord
* @param \DOMNode $node
*/
protected function setDocumentProtection(XMLReader $xmlReader, PhpWord $phpWord, \DOMNode $node) {
protected function setDocumentProtection(XMLReader $xmlReader, PhpWord $phpWord, \DOMNode $node)
{
$documentProtection = $phpWord->getSettings()->getDocumentProtection();
$edit = $xmlReader->getAttribute('w:edit', $node);