From 6d7366c80bee15c8d00168efa30c731cead566cb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 6 Apr 2016 08:33:45 +0200 Subject: [PATCH] -Werror,-Winconsistent-missing-override Change-Id: I9e6a44fb54484aebc3f223b3c71d2de18bb5d553 --- .../mscrypt/x509certificate_mscryptimpl.hxx | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx index e05408c41a7a..09fd6b3826ae 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx @@ -50,33 +50,33 @@ class X509Certificate_MSCryptImpl : public ::cppu::WeakImplHelper< virtual ~X509Certificate_MSCryptImpl() ; //Methods from XCertificate - virtual sal_Int16 SAL_CALL getVersion() throw ( css::uno::RuntimeException) ; + virtual sal_Int16 SAL_CALL getVersion() throw ( css::uno::RuntimeException) override; - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSerialNumber() throw ( css::uno::RuntimeException) ; - virtual OUString SAL_CALL getIssuerName() throw ( css::uno::RuntimeException) ; - virtual OUString SAL_CALL getSubjectName() throw ( css::uno::RuntimeException) ; - virtual css::util::DateTime SAL_CALL getNotValidBefore() throw ( css::uno::RuntimeException) ; - virtual css::util::DateTime SAL_CALL getNotValidAfter() throw ( css::uno::RuntimeException) ; - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getIssuerUniqueID() throw ( css::uno::RuntimeException) ; - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSubjectUniqueID() throw ( css::uno::RuntimeException) ; - virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificateExtension > > SAL_CALL getExtensions() throw ( css::uno::RuntimeException) ; - virtual css::uno::Reference< css::security::XCertificateExtension > SAL_CALL findCertificateExtension( const css::uno::Sequence< sal_Int8 >& oid ) throw (css::uno::RuntimeException) ; - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getEncoded() throw ( css::uno::RuntimeException) ; + virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSerialNumber() throw ( css::uno::RuntimeException) override; + virtual OUString SAL_CALL getIssuerName() throw ( css::uno::RuntimeException) override; + virtual OUString SAL_CALL getSubjectName() throw ( css::uno::RuntimeException) override; + virtual css::util::DateTime SAL_CALL getNotValidBefore() throw ( css::uno::RuntimeException) override; + virtual css::util::DateTime SAL_CALL getNotValidAfter() throw ( css::uno::RuntimeException) override; + virtual css::uno::Sequence< sal_Int8 > SAL_CALL getIssuerUniqueID() throw ( css::uno::RuntimeException) override; + virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSubjectUniqueID() throw ( css::uno::RuntimeException) override; + virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificateExtension > > SAL_CALL getExtensions() throw ( css::uno::RuntimeException) override; + virtual css::uno::Reference< css::security::XCertificateExtension > SAL_CALL findCertificateExtension( const css::uno::Sequence< sal_Int8 >& oid ) throw (css::uno::RuntimeException) override; + virtual css::uno::Sequence< sal_Int8 > SAL_CALL getEncoded() throw ( css::uno::RuntimeException) override; virtual OUString SAL_CALL getSubjectPublicKeyAlgorithm() - throw ( css::uno::RuntimeException) ; + throw ( css::uno::RuntimeException) override; virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSubjectPublicKeyValue() - throw ( css::uno::RuntimeException) ; + throw ( css::uno::RuntimeException) override; virtual OUString SAL_CALL getSignatureAlgorithm() - throw ( css::uno::RuntimeException) ; + throw ( css::uno::RuntimeException) override; virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSHA1Thumbprint() - throw ( css::uno::RuntimeException) ; + throw ( css::uno::RuntimeException) override; virtual css::uno::Sequence< sal_Int8 > SAL_CALL getMD5Thumbprint() - throw ( css::uno::RuntimeException) ; + throw ( css::uno::RuntimeException) override; - virtual sal_Int32 SAL_CALL getCertificateUsage( ) throw ( css::uno::RuntimeException) ; + virtual sal_Int32 SAL_CALL getCertificateUsage( ) throw ( css::uno::RuntimeException) override; //Methods from XUnoTunnel - virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw (css::uno::RuntimeException); + virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw (css::uno::RuntimeException) override; /// @see xmlsecurity::Certificate::getSHA256Thumbprint(). virtual css::uno::Sequence getSHA256Thumbprint() throw (css::uno::RuntimeException, std::exception) override;