Kaydet (Commit) 61025420 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt Kaydeden (comit) Michael Stahl

Move namespace declaration to header file

Change-Id: I5388d649ff3c8da0ff055f4aed6036647a123939
Reviewed-on: https://gerrit.libreoffice.org/40130Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 615c2a2c
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#define NS_DC "http://purl.org/dc/elements/1.1/" #define NS_DC "http://purl.org/dc/elements/1.1/"
#define NS_XD "http://uri.etsi.org/01903/v1.3.2#" #define NS_XD "http://uri.etsi.org/01903/v1.3.2#"
#define NS_MDSSI "http://schemas.openxmlformats.org/package/2006/digital-signature" #define NS_MDSSI "http://schemas.openxmlformats.org/package/2006/digital-signature"
#define NS_LOEXT "urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
#define ALGO_C14N "http://www.w3.org/TR/2001/REC-xml-c14n-20010315" #define ALGO_C14N "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
#define ALGO_RSASHA1 "http://www.w3.org/2000/09/xmldsig#rsa-sha1" #define ALGO_RSASHA1 "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
......
...@@ -727,8 +727,7 @@ void XSecController::exportSignature( ...@@ -727,8 +727,7 @@ void XSecController::exportSignature(
if (!signatureInfo.ouGpgCertificate.isEmpty()) if (!signatureInfo.ouGpgCertificate.isEmpty())
{ {
pAttributeList = new SvXMLAttributeList(); pAttributeList = new SvXMLAttributeList();
pAttributeList->AddAttribute("xmlns:loext", pAttributeList->AddAttribute("xmlns:loext", NS_LOEXT);
"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0");
/* Write PGPData element */ /* Write PGPData element */
xDocumentHandler->startElement( xDocumentHandler->startElement(
"PGPData", "PGPData",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment