[Libreoffice-commits] core.git: 2 commits - include/ucbhelper include/unoidl

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 31 06:03:31 UTC 2019


 include/ucbhelper/activedatasink.hxx                     |    2 -
 include/ucbhelper/activedatastreamer.hxx                 |    2 -
 include/ucbhelper/authenticationfallback.hxx             |    2 -
 include/ucbhelper/commandenvironment.hxx                 |    2 -
 include/ucbhelper/contentidentifier.hxx                  |    2 -
 include/ucbhelper/fd_inputstream.hxx                     |    2 -
 include/ucbhelper/interactionrequest.hxx                 |   14 ++++----
 include/ucbhelper/propertyvalueset.hxx                   |    2 -
 include/ucbhelper/resultset.hxx                          |    2 -
 include/ucbhelper/simpleauthenticationrequest.hxx        |    2 -
 include/ucbhelper/simplecertificatevalidationrequest.hxx |    2 -
 include/ucbhelper/simpleinteractionrequest.hxx           |    2 -
 include/ucbhelper/simpleioerrorrequest.hxx               |    2 -
 include/ucbhelper/simplenameclashresolverequest.hxx      |    2 -
 include/unoidl/unoidl.hxx                                |   24 +++++++--------
 15 files changed, 32 insertions(+), 32 deletions(-)

New commits:
commit bbed261b8c12f19d2d81005a529fc68b57f56617
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Oct 30 15:16:18 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Oct 31 07:02:54 2019 +0100

    loplugin:finalclasses in unoidl
    
    Change-Id: I7babf3734530917ef535edb389b601bf116bfc2a
    Reviewed-on: https://gerrit.libreoffice.org/81768
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/unoidl/unoidl.hxx b/include/unoidl/unoidl.hxx
index 27f2071fc4b1..033e23b94657 100644
--- a/include/unoidl/unoidl.hxx
+++ b/include/unoidl/unoidl.hxx
@@ -145,7 +145,7 @@ private:
     std::vector< OUString > const annotations_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL EnumTypeEntity: public PublishableEntity {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL EnumTypeEntity final : public PublishableEntity {
 public:
     struct Member {
         Member(
@@ -176,7 +176,7 @@ private:
     std::vector< Member > const members_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL PlainStructTypeEntity: public PublishableEntity {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL PlainStructTypeEntity final : public PublishableEntity {
 public:
     struct Member {
         Member(OUString const & theName, OUString const & theType,
@@ -211,7 +211,7 @@ private:
     std::vector< Member > const directMembers_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL PolymorphicStructTypeTemplateEntity:
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL PolymorphicStructTypeTemplateEntity final :
     public PublishableEntity
 {
 public:
@@ -254,7 +254,7 @@ private:
     std::vector< Member > const members_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ExceptionTypeEntity: public PublishableEntity {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ExceptionTypeEntity final : public PublishableEntity {
 public:
     struct Member {
         Member(
@@ -290,7 +290,7 @@ private:
     std::vector< Member > const directMembers_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL InterfaceTypeEntity: public PublishableEntity {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL InterfaceTypeEntity final : public PublishableEntity {
 public:
     struct Attribute {
         Attribute(
@@ -390,7 +390,7 @@ private:
     std::vector< Method > const directMethods_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL TypedefEntity: public PublishableEntity {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL TypedefEntity final : public PublishableEntity {
 public:
     SAL_DLLPRIVATE TypedefEntity(
         bool published, OUString const & type,
@@ -454,7 +454,7 @@ struct SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ConstantValue {
     };
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ConstantGroupEntity: public PublishableEntity {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ConstantGroupEntity final : public PublishableEntity {
 public:
     struct Member {
         Member(
@@ -485,7 +485,7 @@ private:
     std::vector< Member > const members_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL SingleInterfaceBasedServiceEntity:
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL SingleInterfaceBasedServiceEntity final :
     public PublishableEntity
 {
 public:
@@ -548,7 +548,7 @@ private:
     std::vector< Constructor > const constructors_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL AccumulationBasedServiceEntity:
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL AccumulationBasedServiceEntity final :
     public PublishableEntity
 {
 public:
@@ -628,7 +628,7 @@ private:
     std::vector< Property > const directProperties_;
 };
 
-class LO_DLLPUBLIC_UNOIDL InterfaceBasedSingletonEntity:
+class LO_DLLPUBLIC_UNOIDL InterfaceBasedSingletonEntity final :
     public PublishableEntity
 {
 public:
@@ -648,7 +648,7 @@ private:
     OUString const base_;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ServiceBasedSingletonEntity: public PublishableEntity
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL ServiceBasedSingletonEntity final : public PublishableEntity
 {
 public:
     SAL_DLLPRIVATE ServiceBasedSingletonEntity(
@@ -681,7 +681,7 @@ protected:
     virtual SAL_DLLPRIVATE ~Provider() throw () override;
 };
 
-class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL Manager: public salhelper::SimpleReferenceObject {
+class SAL_WARN_UNUSED LO_DLLPUBLIC_UNOIDL Manager final : public salhelper::SimpleReferenceObject {
 public:
     Manager() {}
 
commit 4b795d15cd5b6feca73712b9ead9b4eee744dc2f
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Oct 30 15:00:30 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Oct 31 07:02:41 2019 +0100

    loplugin:finalclasses in ucbhelper
    
    Change-Id: I52140333b274952d71afa13ba2d8edfcdf2b1425
    Reviewed-on: https://gerrit.libreoffice.org/81767
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/ucbhelper/activedatasink.hxx b/include/ucbhelper/activedatasink.hxx
index 7e2cbcc8274c..35446a023a66 100644
--- a/include/ucbhelper/activedatasink.hxx
+++ b/include/ucbhelper/activedatasink.hxx
@@ -35,7 +35,7 @@ class SAL_DLLPUBLIC_TEMPLATE ActiveDataSink_Base : public cppu::WeakImplHelper<
   * Instances of this class can be passed with the parameters of an
   * "open" command.
   */
-class UCBHELPER_DLLPUBLIC ActiveDataSink : public ActiveDataSink_Base
+class UCBHELPER_DLLPUBLIC ActiveDataSink final : public ActiveDataSink_Base
 {
     css::uno::Reference< css::io::XInputStream > m_xStream;
 
diff --git a/include/ucbhelper/activedatastreamer.hxx b/include/ucbhelper/activedatastreamer.hxx
index aa00f361d854..8e9faf0328d4 100644
--- a/include/ucbhelper/activedatastreamer.hxx
+++ b/include/ucbhelper/activedatastreamer.hxx
@@ -33,7 +33,7 @@ namespace ucbhelper
   * "open" command.
   */
 
-class ActiveDataStreamer :
+class ActiveDataStreamer final :
         public cppu::WeakImplHelper< css::io::XActiveDataStreamer >
 {
     css::uno::Reference< css::io::XStream > m_xStream;
diff --git a/include/ucbhelper/authenticationfallback.hxx b/include/ucbhelper/authenticationfallback.hxx
index 10280441a05e..171ebb7fe15f 100644
--- a/include/ucbhelper/authenticationfallback.hxx
+++ b/include/ucbhelper/authenticationfallback.hxx
@@ -24,7 +24,7 @@ namespace ucbhelper {
   * Read-only values : instructions, url
   * Read-write values: code
   */
-class UCBHELPER_DLLPUBLIC AuthenticationFallbackRequest : public ucbhelper::InteractionRequest
+class UCBHELPER_DLLPUBLIC AuthenticationFallbackRequest final : public ucbhelper::InteractionRequest
 {
 private:
     rtl::Reference< ucbhelper::InteractionAuthFallback > m_xAuthFallback;
diff --git a/include/ucbhelper/commandenvironment.hxx b/include/ucbhelper/commandenvironment.hxx
index 1819d8328b5b..a91fd9587c59 100644
--- a/include/ucbhelper/commandenvironment.hxx
+++ b/include/ucbhelper/commandenvironment.hxx
@@ -37,7 +37,7 @@ class SAL_DLLPUBLIC_TEMPLATE CommandEnvironment_Base : public cppu::WeakImplHelp
   * css::ucb::XCommandEnvironment. Instances of this class can
   * be used to supply environments to commands executed by UCB contents.
   */
-class UCBHELPER_DLLPUBLIC CommandEnvironment : public CommandEnvironment_Base
+class UCBHELPER_DLLPUBLIC CommandEnvironment final : public CommandEnvironment_Base
 {
     std::unique_ptr<CommandEnvironment_Impl> m_pImpl;
 
diff --git a/include/ucbhelper/contentidentifier.hxx b/include/ucbhelper/contentidentifier.hxx
index 85ba76570032..1ee01b5a9df1 100644
--- a/include/ucbhelper/contentidentifier.hxx
+++ b/include/ucbhelper/contentidentifier.hxx
@@ -39,7 +39,7 @@ struct ContentIdentifier_Impl;
   * The only difference is that the URL scheme will be lower cased. This can
   * be done, because URL schemes are never case sensitive.
   */
-class UCBHELPER_DLLPUBLIC ContentIdentifier :
+class UCBHELPER_DLLPUBLIC ContentIdentifier final :
                 public cppu::WeakImplHelper<css::ucb::XContentIdentifier>
 {
 public:
diff --git a/include/ucbhelper/fd_inputstream.hxx b/include/ucbhelper/fd_inputstream.hxx
index 8c259cf26be4..ebef7dae7869 100644
--- a/include/ucbhelper/fd_inputstream.hxx
+++ b/include/ucbhelper/fd_inputstream.hxx
@@ -37,7 +37,7 @@ namespace ucbhelper
     /** Implements a seekable InputStream
      *  working on a buffer.
      */
-    class UCBHELPER_DLLPUBLIC FdInputStream
+    class UCBHELPER_DLLPUBLIC FdInputStream final
         : protected cppu::BaseMutex,
           public FdInputStream_Base
     {
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx
index 137f75434093..e7f56c7ffcf6 100644
--- a/include/ucbhelper/interactionrequest.hxx
+++ b/include/ucbhelper/interactionrequest.hxx
@@ -155,7 +155,7 @@ public:
   * along with an interaction request to indicate the possibility to abort
   * the operation that caused the request.
   */
-class UCBHELPER_DLLPUBLIC InteractionAbort : public InteractionContinuation,
+class UCBHELPER_DLLPUBLIC InteractionAbort final : public InteractionContinuation,
                          public css::lang::XTypeProvider,
                          public css::task::XInteractionAbort
 {
@@ -188,7 +188,7 @@ public:
   * along with an interaction request to indicate the possibility to retry
   * the operation that caused the request.
   */
-class UCBHELPER_DLLPUBLIC InteractionRetry : public InteractionContinuation,
+class UCBHELPER_DLLPUBLIC InteractionRetry final : public InteractionContinuation,
                          public css::lang::XTypeProvider,
                          public css::task::XInteractionRetry
 {
@@ -221,7 +221,7 @@ public:
   * along with an interaction request to indicate the possibility to approve
   * the request.
   */
-class UCBHELPER_DLLPUBLIC InteractionApprove : public InteractionContinuation,
+class UCBHELPER_DLLPUBLIC InteractionApprove final : public InteractionContinuation,
                            public css::lang::XTypeProvider,
                            public css::task::XInteractionApprove
 {
@@ -254,7 +254,7 @@ public:
   * along with an interaction request to indicate the possibility to disapprove
   * the request.
   */
-class UCBHELPER_DLLPUBLIC InteractionDisapprove : public InteractionContinuation,
+class UCBHELPER_DLLPUBLIC InteractionDisapprove final : public InteractionContinuation,
                               public css::lang::XTypeProvider,
                               public css::task::XInteractionDisapprove
 {
@@ -287,7 +287,7 @@ public:
   * passed along with an authentication interaction request to enable the
   * interaction handler to supply the missing authentication data.
   */
-class UCBHELPER_DLLPUBLIC InteractionSupplyAuthentication :
+class UCBHELPER_DLLPUBLIC InteractionSupplyAuthentication final :
                   public InteractionContinuation,
                   public css::lang::XTypeProvider,
                   public css::ucb::XInteractionSupplyAuthentication2
@@ -482,7 +482,7 @@ inline InteractionSupplyAuthentication::InteractionSupplyAuthentication(
   * passed along with an interaction request to indicate the possibility to
   * replace existing data.
   */
-class InteractionReplaceExistingData :
+class InteractionReplaceExistingData final :
                   public InteractionContinuation,
                   public css::lang::XTypeProvider,
                   public css::ucb::XInteractionReplaceExistingData
@@ -509,7 +509,7 @@ public:
     virtual void SAL_CALL select() override;
 };
 
-class UCBHELPER_DLLPUBLIC InteractionAuthFallback:
+class UCBHELPER_DLLPUBLIC InteractionAuthFallback final :
                   public InteractionContinuation,
                   public css::ucb::XInteractionAuthFallback
 {
diff --git a/include/ucbhelper/propertyvalueset.hxx b/include/ucbhelper/propertyvalueset.hxx
index d1276fdb3ef5..ed3cd4671d12 100644
--- a/include/ucbhelper/propertyvalueset.hxx
+++ b/include/ucbhelper/propertyvalueset.hxx
@@ -55,7 +55,7 @@ class PropertyValues;
   * values to return can easily appended to a valueset object. That object can
   * directly be returned by the implementation of the command.
   */
-class UCBHELPER_DLLPUBLIC PropertyValueSet :
+class UCBHELPER_DLLPUBLIC PropertyValueSet final :
                 public cppu::WeakImplHelper<
                     css::sdbc::XRow,
                     css::sdbc::XColumnLocate>
diff --git a/include/ucbhelper/resultset.hxx b/include/ucbhelper/resultset.hxx
index 2c5e99bdc2a9..2b3afd5e961f 100644
--- a/include/ucbhelper/resultset.hxx
+++ b/include/ucbhelper/resultset.hxx
@@ -57,7 +57,7 @@ struct ResultSet_Impl;
  *
  * @see ResultSetDataSupplier
  */
-class UCBHELPER_DLLPUBLIC ResultSet :
+class UCBHELPER_DLLPUBLIC ResultSet final :
                 public cppu::WeakImplHelper<
                     css::lang::XServiceInfo,
                     css::lang::XComponent,
diff --git a/include/ucbhelper/simpleauthenticationrequest.hxx b/include/ucbhelper/simpleauthenticationrequest.hxx
index 59d22b3da440..bcde380d284a 100644
--- a/include/ucbhelper/simpleauthenticationrequest.hxx
+++ b/include/ucbhelper/simpleauthenticationrequest.hxx
@@ -49,7 +49,7 @@ namespace ucbhelper {
   * @see InteractionRetry
   * @see InteractionSupplyAuthentication
   */
-class UCBHELPER_DLLPUBLIC SimpleAuthenticationRequest : public ucbhelper::InteractionRequest
+class UCBHELPER_DLLPUBLIC SimpleAuthenticationRequest final : public ucbhelper::InteractionRequest
 {
     rtl::Reference<
         ucbhelper::InteractionSupplyAuthentication > m_xAuthSupplier;
diff --git a/include/ucbhelper/simplecertificatevalidationrequest.hxx b/include/ucbhelper/simplecertificatevalidationrequest.hxx
index 691162935b03..8ed4733c3dc1 100644
--- a/include/ucbhelper/simplecertificatevalidationrequest.hxx
+++ b/include/ucbhelper/simplecertificatevalidationrequest.hxx
@@ -43,7 +43,7 @@ namespace ucbhelper {
   * @see InteractionApproved
   * @see InteractionRetry
   */
-class UCBHELPER_DLLPUBLIC SimpleCertificateValidationRequest : public ucbhelper::InteractionRequest
+class UCBHELPER_DLLPUBLIC SimpleCertificateValidationRequest final : public ucbhelper::InteractionRequest
 {
 public:
     /**
diff --git a/include/ucbhelper/simpleinteractionrequest.hxx b/include/ucbhelper/simpleinteractionrequest.hxx
index 64b892ae801d..eb09bcce8051 100644
--- a/include/ucbhelper/simpleinteractionrequest.hxx
+++ b/include/ucbhelper/simpleinteractionrequest.hxx
@@ -62,7 +62,7 @@ namespace ucbhelper {
   * @see InteractionApprove
   * @see InteractionDisapprove
   */
-class UCBHELPER_DLLPUBLIC SimpleInteractionRequest : public ucbhelper::InteractionRequest
+class UCBHELPER_DLLPUBLIC SimpleInteractionRequest final : public ucbhelper::InteractionRequest
 {
 public:
     /**
diff --git a/include/ucbhelper/simpleioerrorrequest.hxx b/include/ucbhelper/simpleioerrorrequest.hxx
index 764b57bce2d9..9c0846e7dc05 100644
--- a/include/ucbhelper/simpleioerrorrequest.hxx
+++ b/include/ucbhelper/simpleioerrorrequest.hxx
@@ -38,7 +38,7 @@ namespace ucbhelper {
   * @see css::ucb::InteractiveIOException
   * @see InteractionAbort
   */
-class SimpleIOErrorRequest : public ucbhelper::InteractionRequest
+class SimpleIOErrorRequest final : public ucbhelper::InteractionRequest
 {
 public:
     /**
diff --git a/include/ucbhelper/simplenameclashresolverequest.hxx b/include/ucbhelper/simplenameclashresolverequest.hxx
index 0453cd721be6..04a00e7479aa 100644
--- a/include/ucbhelper/simplenameclashresolverequest.hxx
+++ b/include/ucbhelper/simplenameclashresolverequest.hxx
@@ -39,7 +39,7 @@ class InteractionSupplyName;
   * @see InteractionAbort
   * @see InteractioneplaceExistingData
   */
-class UCBHELPER_DLLPUBLIC SimpleNameClashResolveRequest : public ucbhelper::InteractionRequest
+class UCBHELPER_DLLPUBLIC SimpleNameClashResolveRequest final : public ucbhelper::InteractionRequest
 {
     rtl::Reference< InteractionSupplyName > m_xNameSupplier;
 


More information about the Libreoffice-commits mailing list