xmlsecurity/source/helper/xsecctl.cxx |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit fab7288516d442289a7b6f3a27b9aca8d23f3b5b
Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
Date:   Mon Jul 17 17:58:27 2017 +0200

    This should be a namespace, not an attribute "namespace"
    
    Change-Id: I159db32662679a3194edf942fa6672370e2b8587
    Reviewed-on: https://gerrit.libreoffice.org/40072
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

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" );
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to