diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-07-17 17:58:27 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-07-17 20:29:29 +0200 |
commit | fab7288516d442289a7b6f3a27b9aca8d23f3b5b (patch) | |
tree | 8225544459d93ac8a0d00547fa588499476a9da5 /xmlsecurity/source | |
parent | 7232980be6a4d67ed28a21b74ef3544cacb29d6a (diff) |
This should be a namespace, not an attribute "namespace"
Change-Id: I159db32662679a3194edf942fa6672370e2b8587
Reviewed-on: https://gerrit.libreoffice.org/40072
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r-- | xmlsecurity/source/helper/xsecctl.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index 9902dd1ad24a..abe8bd1760e1 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -749,13 +749,11 @@ void XSecController::exportSignature( } /* Write PGPOwner element */ - pAttributeList = new SvXMLAttributeList(); - pAttributeList->AddAttribute("namespace", "loext"); xDocumentHandler->startElement( - "PGPOwner", - cssu::Reference< cssxs::XAttributeList >(pAttributeList)); + "loext:PGPOwner", + cssu::Reference< cssxs::XAttributeList >(new SvXMLAttributeList())); xDocumentHandler->characters( signatureInfo.ouGpgOwner ); - xDocumentHandler->endElement( "PGPOwner" ); + xDocumentHandler->endElement( "loext:PGPOwner" ); } xDocumentHandler->endElement( "PGPData" ); } |