xmlsecurity/source/helper/xmlsignaturehelper.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit e333d386ce68ced452bda2ffadac900ba8259861 Author: Tor Lillqvist <t...@collabora.com> Date: Fri Oct 28 08:40:01 2016 +0300 Bin one more pointless TAG_ macro Change-Id: I78e85923e2c5da366c0bec0812c8fe0240310b67 diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx b/xmlsecurity/source/helper/xmlsignaturehelper.cxx index 2a43bb1..a944f6f 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx @@ -51,7 +51,6 @@ #include <comphelper/ofopxmlhelper.hxx> #include <comphelper/sequence.hxx> -#define TAG_DOCUMENTSIGNATURES "document-signatures" #define NS_DOCUMENTSIGNATURES "http://openoffice.org/2004/documentsignatures" #define NS_DOCUMENTSIGNATURES_ODF_1_2 "urn:oasis:names:tc:opendocument:xmlns:digitalsignature:1.0" #define OOXML_SIGNATURE_ORIGIN "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/origin" @@ -182,7 +181,7 @@ uno::Reference<xml::sax::XWriter> XMLSignatureHelper::CreateDocumentHandlerWithH xSaxWriter->startDocument(); xSaxWriter->startElement( - TAG_DOCUMENTSIGNATURES, + "document-signatures", uno::Reference< css::xml::sax::XAttributeList > (pAttributeList)); return xSaxWriter; @@ -190,7 +189,7 @@ uno::Reference<xml::sax::XWriter> XMLSignatureHelper::CreateDocumentHandlerWithH void XMLSignatureHelper::CloseDocumentHandler( const uno::Reference<xml::sax::XDocumentHandler>& xDocumentHandler ) { - xDocumentHandler->endElement( TAG_DOCUMENTSIGNATURES ); + xDocumentHandler->endElement( "document-signatures" ); xDocumentHandler->endDocument(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits