[Libreoffice-commits] core.git: xmlsecurity/source

Miklos Vajna vmiklos at collabora.co.uk
Thu Jun 22 07:08:18 UTC 2017


 xmlsecurity/source/helper/documentsignaturemanager.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6115b109322dc497f569366d3fe7d2a41dc41140
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jun 22 09:07:20 2017 +0200

    xmlsecurity: remove newly introduced redundant namespace alias, used only once
    
    Change-Id: Ia93ec62863d16d3cc60878968b79ed0ccc5fba9b

diff --git a/xmlsecurity/source/helper/documentsignaturemanager.cxx b/xmlsecurity/source/helper/documentsignaturemanager.cxx
index 21c55c687125..ee863e4c2530 100644
--- a/xmlsecurity/source/helper/documentsignaturemanager.cxx
+++ b/xmlsecurity/source/helper/documentsignaturemanager.cxx
@@ -41,7 +41,6 @@
 #include <xmlsec/xmlsec_init.hxx>
 
 using namespace css;
-namespace cssu = com::sun::star::uno;
 
 DocumentSignatureManager::DocumentSignatureManager(const uno::Reference<uno::XComponentContext>& xContext, DocumentSignatureMode eMode)
     : mxContext(xContext),
@@ -266,7 +265,7 @@ bool DocumentSignatureManager::add(const uno::Reference<security::XCertificate>&
     }
 
     // GPG or X509 key?
-    uno::Reference< lang::XServiceInfo > xServiceInfo( xSecurityContext, cssu::UNO_QUERY );
+    uno::Reference< lang::XServiceInfo > xServiceInfo(xSecurityContext, uno::UNO_QUERY);
     if (xServiceInfo->getImplementationName() == "com.sun.star.xml.security.gpg.XMLSecurityContext_GpgImpl")
     {
         // GPG keys only really have PGPKeyId and PGPKeyPacket


More information about the Libreoffice-commits mailing list