diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:09:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:19:22 +0200 |
commit | 91dd2db17bd6cb9b357d1d69b187174e31eabef0 (patch) | |
tree | d634de3a1a6820904b5699c2136b79b1a5a807c7 /include/connectivity/sdbcx | |
parent | 6f8ea7e89ea190b9462c945d55a3ad8777b2f3ef (diff) |
loplugin:override: No more need for the "MSVC dtor override" workaround
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark
overriding destructors as 'virtual'" appears to no longer be a problem with
MSVC 2013.
(The little change in the rewriting code of compilerplugins/clang/override.cxx
was necessary to prevent an endless loop when adding "override" to
OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager();
in chart2/source/inc/LifeTime.hxx, getting stuck in the leading
OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that
isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.)
Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
Diffstat (limited to 'include/connectivity/sdbcx')
-rw-r--r-- | include/connectivity/sdbcx/VCatalog.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VColumn.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VDescriptor.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VGroup.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VIndex.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VKey.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VKeyColumn.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VTable.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VUser.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sdbcx/VView.hxx | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/include/connectivity/sdbcx/VCatalog.hxx b/include/connectivity/sdbcx/VCatalog.hxx index 4254fdb2ee78..f7eee9ea6a26 100644 --- a/include/connectivity/sdbcx/VCatalog.hxx +++ b/include/connectivity/sdbcx/VCatalog.hxx @@ -90,7 +90,7 @@ namespace connectivity public: OCatalog(const css::uno::Reference< css::sdbc::XConnection> &_xConnection); - virtual ~OCatalog(); + virtual ~OCatalog() override; DECLARE_SERVICE_INFO(); diff --git a/include/connectivity/sdbcx/VColumn.hxx b/include/connectivity/sdbcx/VColumn.hxx index 1bc671d8f29d..e28b01344d0b 100644 --- a/include/connectivity/sdbcx/VColumn.hxx +++ b/include/connectivity/sdbcx/VColumn.hxx @@ -71,7 +71,7 @@ namespace connectivity virtual ::cppu::IPropertyArrayHelper* createArrayHelper( sal_Int32 _nId) const override; virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override; - virtual ~OColumn(); + virtual ~OColumn() override; public: virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() throw() override; diff --git a/include/connectivity/sdbcx/VDescriptor.hxx b/include/connectivity/sdbcx/VDescriptor.hxx index 6aff71c61e5a..d2470578121e 100644 --- a/include/connectivity/sdbcx/VDescriptor.hxx +++ b/include/connectivity/sdbcx/VDescriptor.hxx @@ -59,7 +59,7 @@ namespace connectivity public: ODescriptor(::cppu::OBroadcastHelper& _rBHelper, bool _bCase, bool _bNew = false); - virtual ~ODescriptor(); + virtual ~ODescriptor() override; bool isNew() const { return m_bNew; } void setNew(bool _bNew); diff --git a/include/connectivity/sdbcx/VGroup.hxx b/include/connectivity/sdbcx/VGroup.hxx index bb985e69c55b..3ab99f5a4721 100644 --- a/include/connectivity/sdbcx/VGroup.hxx +++ b/include/connectivity/sdbcx/VGroup.hxx @@ -66,7 +66,7 @@ namespace connectivity public: OGroup(bool _bCase); OGroup( const OUString& Name, bool _bCase); - virtual ~OGroup(); + virtual ~OGroup() override; DECLARE_SERVICE_INFO(); // XInterface diff --git a/include/connectivity/sdbcx/VIndex.hxx b/include/connectivity/sdbcx/VIndex.hxx index 2f1345f75e42..4cd32c218671 100644 --- a/include/connectivity/sdbcx/VIndex.hxx +++ b/include/connectivity/sdbcx/VIndex.hxx @@ -73,7 +73,7 @@ namespace connectivity bool _isClustered, bool _bCase); - virtual ~OIndex( ); + virtual ~OIndex( ) override; DECLARE_SERVICE_INFO(); diff --git a/include/connectivity/sdbcx/VKey.hxx b/include/connectivity/sdbcx/VKey.hxx index d856e7399af2..2290ed7669e2 100644 --- a/include/connectivity/sdbcx/VKey.hxx +++ b/include/connectivity/sdbcx/VKey.hxx @@ -80,7 +80,7 @@ namespace connectivity OKey(bool _bCase); OKey(const OUString& Name,const std::shared_ptr<KeyProperties>& _rProps,bool _bCase); - virtual ~OKey( ); + virtual ~OKey( ) override; DECLARE_SERVICE_INFO(); //XInterface diff --git a/include/connectivity/sdbcx/VKeyColumn.hxx b/include/connectivity/sdbcx/VKeyColumn.hxx index 0db663491105..b01076093ead 100644 --- a/include/connectivity/sdbcx/VKeyColumn.hxx +++ b/include/connectivity/sdbcx/VKeyColumn.hxx @@ -55,7 +55,7 @@ namespace connectivity const OUString& SchemaName, const OUString& TableName); // just to make it not inline - virtual ~OKeyColumn(); + virtual ~OKeyColumn() override; virtual void construct() override; DECLARE_SERVICE_INFO(); diff --git a/include/connectivity/sdbcx/VTable.hxx b/include/connectivity/sdbcx/VTable.hxx index 00be9f3746a6..83047e6f31f4 100644 --- a/include/connectivity/sdbcx/VTable.hxx +++ b/include/connectivity/sdbcx/VTable.hxx @@ -94,7 +94,7 @@ namespace connectivity const OUString& SchemaName = OUString(), const OUString& CatalogName = OUString()); - virtual ~OTable(); + virtual ~OTable() override; DECLARE_SERVICE_INFO(); //XInterface diff --git a/include/connectivity/sdbcx/VUser.hxx b/include/connectivity/sdbcx/VUser.hxx index 2dcd02fdf755..0bef5e90cb97 100644 --- a/include/connectivity/sdbcx/VUser.hxx +++ b/include/connectivity/sdbcx/VUser.hxx @@ -64,7 +64,7 @@ namespace connectivity OUser(bool _bCase); OUser(const OUString& Name,bool _bCase); - virtual ~OUser( ); + virtual ~OUser( ) override; DECLARE_SERVICE_INFO(); diff --git a/include/connectivity/sdbcx/VView.hxx b/include/connectivity/sdbcx/VView.hxx index 7778ac179667..2cb6e25f8ca2 100644 --- a/include/connectivity/sdbcx/VView.hxx +++ b/include/connectivity/sdbcx/VView.hxx @@ -71,7 +71,7 @@ namespace connectivity const OUString& _rCommand = OUString(), const OUString& _rSchemaName = OUString(), const OUString& _rCatalogName = OUString()); - virtual ~OView(); + virtual ~OView() override; // ODescriptor virtual void construct() override; |