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

Noel Grandin noel at peralex.com
Fri Jul 17 01:56:44 PDT 2015


 xmlsecurity/inc/xmlsecurity/certificateviewer.hxx             |    4 ----
 xmlsecurity/inc/xmlsecurity/macrosecurity.hxx                 |    5 -----
 xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx        |    3 ---
 xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx |    5 -----
 xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx |    1 -
 5 files changed, 18 deletions(-)

New commits:
commit 64fe684368bd54f54f6838c7d8a59c9efeaa0965
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Jul 17 10:41:19 2015 +0200

    loplugin:unusedmethods xmlsecurity
    
    Change-Id: I7b0a6521168dab13e87fc39920fdaef70943961e

diff --git a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx
index 3f61891..2a0134a 100644
--- a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx
+++ b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx
@@ -71,10 +71,6 @@ public:
         const OUString& rUIXMLDescription, CertificateViewer* _pDlg );
     virtual ~CertificateViewerTP();
     virtual void dispose() SAL_OVERRIDE;
-    void SetTabDlg( CertificateViewer* _pTabDlg )
-    {
-        mpDlg = _pTabDlg;
-    }
 };
 
 class CertificateViewerGeneralTP : public CertificateViewerTP
diff --git a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx
index 8f0edfd..1d0b18a 100644
--- a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx
+++ b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx
@@ -85,11 +85,6 @@ public:
     virtual ~MacroSecurityTP();
     virtual void dispose() SAL_OVERRIDE;
 
-    void SetTabDlg(MacroSecurity* pTabDlg)
-    {
-        mpDlg = pTabDlg;
-    }
-
     virtual void        ClosePage() = 0;
 };
 
diff --git a/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx
index 463b524..7ccfb64 100644
--- a/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx
+++ b/xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx
@@ -55,9 +55,6 @@ class SanExtensionImpl : public ::cppu::WeakImplHelper1<
         //Methods from XSanExtension
 
         virtual ::com::sun::star::uno::Sequence< com::sun::star::security::CertAltNameEntry > SAL_CALL getAlternativeNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
-
-        //Helper method
-        void setCertExtn( unsigned char* value, unsigned int vlen, unsigned char* id, unsigned int idlen, bool critical ) ;
 } ;
 
 #endif // INCLUDED_XMLSECURITY_SOURCE_XMLSEC_NSS_SANEXTENSION_NSSIMPL_HXX
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
index bf0eb19..349874d 100644
--- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
@@ -480,11 +480,6 @@ Reference< XCertificate > SecurityEnvironment_NssImpl :: getCertificate( const O
     return xcert ;
 }
 
-Reference< XCertificate > SecurityEnvironment_NssImpl :: getCertificate( const OUString& issuerName, const OUString& serialNumber ) throw( SecurityException , RuntimeException ) {
-    Sequence< sal_Int8 > serial = numericStringToBigInteger( serialNumber ) ;
-    return getCertificate( issuerName, serial ) ;
-}
-
 Sequence< Reference < XCertificate > > SecurityEnvironment_NssImpl :: buildCertificatePath( const Reference< XCertificate >& begin ) throw( SecurityException , RuntimeException, std::exception ) {
     const X509Certificate_NssImpl* xcert ;
     const CERTCertificate* cert ;
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx
index dd294fb..b35661b 100644
--- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx
+++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx
@@ -121,7 +121,6 @@ private :
         virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::security::XCertificate > > SAL_CALL getPersonalCertificates() throw(  ::com::sun::star::uno::SecurityException , ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
 
         virtual ::com::sun::star::uno::Reference< ::com::sun::star::security::XCertificate > SAL_CALL getCertificate( const OUString& issuerName, const ::com::sun::star::uno::Sequence< sal_Int8 >& serialNumber ) throw( ::com::sun::star::uno::SecurityException , ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
-        ::com::sun::star::uno::Reference< ::com::sun::star::security::XCertificate > SAL_CALL getCertificate( const OUString& issuerName, const OUString& serialNumber ) throw( ::com::sun::star::uno::SecurityException , ::com::sun::star::uno::RuntimeException ) ;
 
         virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::security::XCertificate > > SAL_CALL buildCertificatePath( const ::com::sun::star::uno::Reference< ::com::sun::star::security::XCertificate >& beginCert ) throw(  ::com::sun::star::uno::SecurityException , ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
 


More information about the Libreoffice-commits mailing list