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 /dbaccess | |
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 'dbaccess')
209 files changed, 263 insertions, 263 deletions
diff --git a/dbaccess/source/core/api/BookmarkSet.hxx b/dbaccess/source/core/api/BookmarkSet.hxx index 6a1c00735d25..824f5acf5ece 100644 --- a/dbaccess/source/core/api/BookmarkSet.hxx +++ b/dbaccess/source/core/api/BookmarkSet.hxx @@ -34,7 +34,7 @@ namespace dbaccess public: explicit OBookmarkSet(sal_Int32 i_nMaxRows) : OCacheSet(i_nMaxRows) {} - virtual ~OBookmarkSet() + virtual ~OBookmarkSet() override { m_xRowLocate = nullptr; } diff --git a/dbaccess/source/core/api/CRowSetDataColumn.hxx b/dbaccess/source/core/api/CRowSetDataColumn.hxx index 2daf42a761cd..76cdcf3018e8 100644 --- a/dbaccess/source/core/api/CRowSetDataColumn.hxx +++ b/dbaccess/source/core/api/CRowSetDataColumn.hxx @@ -43,7 +43,7 @@ namespace dbaccess OUString m_sLabel; OUString m_aDescription; // description - virtual ~ORowSetDataColumn(); + virtual ~ORowSetDataColumn() override; public: ORowSetDataColumn(const css::uno::Reference < css::sdbc::XResultSetMetaData >& _xMetaData, const css::uno::Reference < css::sdbc::XRow >& _xRow, @@ -90,7 +90,7 @@ namespace dbaccess ::osl::Mutex& _rMutex, const ::std::vector< OUString> &_rVector ); - virtual ~ORowSetDataColumns(); + virtual ~ORowSetDataColumns() override; // only the name is identical to ::cppu::OComponentHelper virtual void SAL_CALL disposing() override; void assign(const ::rtl::Reference< ::connectivity::OSQLColumns>& _rColumns,const ::std::vector< OUString> &_rVector); diff --git a/dbaccess/source/core/api/CacheSet.hxx b/dbaccess/source/core/api/CacheSet.hxx index c0dc762db3b7..117454d081f9 100644 --- a/dbaccess/source/core/api/CacheSet.hxx +++ b/dbaccess/source/core/api/CacheSet.hxx @@ -56,7 +56,7 @@ namespace dbaccess OUString m_sRowSetFilter; explicit OCacheSet(sal_Int32 i_nMaxRows); - virtual ~OCacheSet(); + virtual ~OCacheSet() override; static void setParameter(sal_Int32 nPos ,const css::uno::Reference< css::sdbc::XParameters >& _xParameter diff --git a/dbaccess/source/core/api/KeySet.hxx b/dbaccess/source/core/api/KeySet.hxx index 9d559a4f8afd..cd18b333a5a3 100644 --- a/dbaccess/source/core/api/KeySet.hxx +++ b/dbaccess/source/core/api/KeySet.hxx @@ -144,7 +144,7 @@ namespace dbaccess void executeInsert( const ORowSetRow& _rInsertRow, const OUString& i_sSQL, const OUString& i_sTableName, bool bRefetch = false); void executeStatement(OUStringBuffer& io_aFilter, css::uno::Reference< css::sdb::XSingleSelectQueryComposer>& io_xAnalyzer); - virtual ~OKeySet(); + virtual ~OKeySet() override; public: OKeySet(const connectivity::OSQLTable& _xTable, const css::uno::Reference< css::container::XIndexAccess>& _xTableKeys, diff --git a/dbaccess/source/core/api/OptimisticSet.hxx b/dbaccess/source/core/api/OptimisticSet.hxx index 0be1f68c9be2..84f3b23a6f2e 100644 --- a/dbaccess/source/core/api/OptimisticSet.hxx +++ b/dbaccess/source/core/api/OptimisticSet.hxx @@ -47,7 +47,7 @@ namespace dbaccess void fillJoinedColumns_throw(const OUString& i_sLeftColumn,const OUString& i_sRightColumn); protected: virtual void makeNewStatement( ) override; - virtual ~OptimisticSet(); + virtual ~OptimisticSet() override; public: OptimisticSet(const css::uno::Reference< css::uno::XComponentContext>& _rContext, const css::uno::Reference< css::sdbc::XConnection>& i_xConnection, diff --git a/dbaccess/source/core/api/RowSet.hxx b/dbaccess/source/core/api/RowSet.hxx index 205cc194bc42..b190d3c58d8b 100644 --- a/dbaccess/source/core/api/RowSet.hxx +++ b/dbaccess/source/core/api/RowSet.hxx @@ -237,7 +237,7 @@ namespace dbaccess virtual bool isNew( ) override; virtual bool isPropertyChangeNotificationEnabled() const override; - virtual ~ORowSet(); + virtual ~ORowSet() override; public: explicit ORowSet(const css::uno::Reference<css::uno::XComponentContext>&); @@ -466,7 +466,7 @@ namespace dbaccess virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const css::uno::Any& rValue) throw (css::uno::Exception, std::exception) override; public: ORowSetClone( const css::uno::Reference<css::uno::XComponentContext>& _rContext, ORowSet& rParent, ::osl::Mutex* _pMutex ); - virtual ~ORowSetClone(); + virtual ~ORowSetClone() override; // css::lang::XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) override; diff --git a/dbaccess/source/core/api/RowSetBase.hxx b/dbaccess/source/core/api/RowSetBase.hxx index 66851c512072..da0fbb7e6acb 100644 --- a/dbaccess/source/core/api/RowSetBase.hxx +++ b/dbaccess/source/core/api/RowSetBase.hxx @@ -231,7 +231,7 @@ namespace dbaccess bool impl_rowDeleted(); public: - virtual ~ORowSetBase(); + virtual ~ORowSetBase() override; // OComponentHelper virtual void SAL_CALL disposing(); diff --git a/dbaccess/source/core/api/WrappedResultSet.hxx b/dbaccess/source/core/api/WrappedResultSet.hxx index 6cd31f85230c..d855c81faaf3 100644 --- a/dbaccess/source/core/api/WrappedResultSet.hxx +++ b/dbaccess/source/core/api/WrappedResultSet.hxx @@ -37,7 +37,7 @@ namespace dbaccess public: explicit WrappedResultSet(sal_Int32 i_nMaxRows) : OCacheSet(i_nMaxRows) {} - virtual ~WrappedResultSet() + virtual ~WrappedResultSet() override { m_xRowLocate = nullptr; } diff --git a/dbaccess/source/core/api/datacolumn.hxx b/dbaccess/source/core/api/datacolumn.hxx index 86a23dacea3e..f4d32ebc5957 100644 --- a/dbaccess/source/core/api/datacolumn.hxx +++ b/dbaccess/source/core/api/datacolumn.hxx @@ -39,7 +39,7 @@ namespace dbaccess css::uno::Reference < css::sdbc::XRow > m_xRow; css::uno::Reference < css::sdbc::XRowUpdate > m_xRowUpdate; - virtual ~ODataColumn(); + virtual ~ODataColumn() override; public: ODataColumn (const css::uno::Reference < css::sdbc::XResultSetMetaData >& _xMetaData, const css::uno::Reference < css::sdbc::XRow >& _xRow, diff --git a/dbaccess/source/core/api/query.hxx b/dbaccess/source/core/api/query.hxx index 83a6e78f0f62..c7d32d0aa4ca 100644 --- a/dbaccess/source/core/api/query.hxx +++ b/dbaccess/source/core/api/query.hxx @@ -83,7 +83,7 @@ protected: }; protected: - virtual ~OQuery(); + virtual ~OQuery() override; // OPropertyArrayUsageHelper virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override; diff --git a/dbaccess/source/core/api/querydescriptor.hxx b/dbaccess/source/core/api/querydescriptor.hxx index 10d93f1dccea..c069bde240b3 100644 --- a/dbaccess/source/core/api/querydescriptor.hxx +++ b/dbaccess/source/core/api/querydescriptor.hxx @@ -125,7 +125,7 @@ protected: // OPropertySetHelper virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override; - virtual ~OQueryDescriptor(); + virtual ~OQueryDescriptor() override; public: OQueryDescriptor(); explicit OQueryDescriptor(const OQueryDescriptor_Base& _rSource); diff --git a/dbaccess/source/core/api/resultcolumn.hxx b/dbaccess/source/core/api/resultcolumn.hxx index 42515e233252..3bd87d841020 100644 --- a/dbaccess/source/core/api/resultcolumn.hxx +++ b/dbaccess/source/core/api/resultcolumn.hxx @@ -51,7 +51,7 @@ namespace dbaccess mutable ::boost::optional< sal_Int32 > m_nPrecision; mutable ::boost::optional< sal_Int32 > m_nScale; - virtual ~OResultColumn(); + virtual ~OResultColumn() override; public: OResultColumn( const css::uno::Reference < css::sdbc::XResultSetMetaData >& _xMetaData, diff --git a/dbaccess/source/core/api/resultset.hxx b/dbaccess/source/core/api/resultset.hxx index 67a71ccbd856..ecb3c4a4878b 100644 --- a/dbaccess/source/core/api/resultset.hxx +++ b/dbaccess/source/core/api/resultset.hxx @@ -81,7 +81,7 @@ namespace dbaccess OResultSet(const css::uno::Reference< css::sdbc::XResultSet >& _xResultSet, const css::uno::Reference< css::uno::XInterface >& _xStatement, bool _bCaseSensitive); - virtual ~OResultSet(); + virtual ~OResultSet() override; // css::lang::XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) override; diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx index e86b957d141f..ab2072118632 100644 --- a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx +++ b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx @@ -44,7 +44,7 @@ class OColumnPropertyListener: { OComponentDefinition* m_pComponent; protected: - virtual ~OColumnPropertyListener(){} + virtual ~OColumnPropertyListener() override {} public: explicit OColumnPropertyListener(OComponentDefinition* _pComponent) : m_pComponent(_pComponent){} OColumnPropertyListener(const OColumnPropertyListener&) = delete; diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.hxx b/dbaccess/source/core/dataaccess/ComponentDefinition.hxx index f98103a566ed..84825edfc355 100644 --- a/dbaccess/source/core/dataaccess/ComponentDefinition.hxx +++ b/dbaccess/source/core/dataaccess/ComponentDefinition.hxx @@ -59,7 +59,7 @@ namespace dbaccess public: OComponentDefinition_Impl(); - virtual ~OComponentDefinition_Impl(); + virtual ~OComponentDefinition_Impl() override; inline size_t size() const { return m_aColumns.size(); } @@ -90,7 +90,7 @@ protected: rtl::Reference<OColumnPropertyListener> m_xColumnPropertyListener; bool m_bTable; - virtual ~OComponentDefinition(); + virtual ~OComponentDefinition() override; virtual void SAL_CALL disposing() override; const OComponentDefinition_Impl& getDefinition() const { return dynamic_cast< const OComponentDefinition_Impl& >( *m_pImpl.get() ); } diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx index d40a8f5c48a6..ebb7bbd24261 100644 --- a/dbaccess/source/core/dataaccess/ModelImpl.cxx +++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx @@ -130,7 +130,7 @@ public: } protected: - virtual ~DocumentStorageAccess() + virtual ~DocumentStorageAccess() override { } diff --git a/dbaccess/source/core/dataaccess/SharedConnection.hxx b/dbaccess/source/core/dataaccess/SharedConnection.hxx index 4ebe8d053a27..f4ae92491846 100644 --- a/dbaccess/source/core/dataaccess/SharedConnection.hxx +++ b/dbaccess/source/core/dataaccess/SharedConnection.hxx @@ -51,7 +51,7 @@ namespace dbaccess { protected: virtual void SAL_CALL disposing() override; - virtual ~OSharedConnection(); + virtual ~OSharedConnection() override; public: explicit OSharedConnection(css::uno::Reference< css::uno::XAggregation >& _rxProxyConnection); diff --git a/dbaccess/source/core/dataaccess/bookmarkcontainer.hxx b/dbaccess/source/core/dataaccess/bookmarkcontainer.hxx index 63a99c9e91dc..1e3b8646b391 100644 --- a/dbaccess/source/core/dataaccess/bookmarkcontainer.hxx +++ b/dbaccess/source/core/dataaccess/bookmarkcontainer.hxx @@ -81,7 +81,7 @@ public: /** looks like the dtor ... */ - virtual ~OBookmarkContainer(); + virtual ~OBookmarkContainer() override; // css::uno::XInterface virtual void SAL_CALL acquire( ) throw() override; diff --git a/dbaccess/source/core/dataaccess/commandcontainer.hxx b/dbaccess/source/core/dataaccess/commandcontainer.hxx index c7f4cc3f78cb..3ca33c979c82 100644 --- a/dbaccess/source/core/dataaccess/commandcontainer.hxx +++ b/dbaccess/source/core/dataaccess/commandcontainer.hxx @@ -60,7 +60,7 @@ public: virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override; protected: - virtual ~OCommandContainer(); + virtual ~OCommandContainer() override; // ODefinitionContainer virtual css::uno::Reference< css::ucb::XContent > createObject(const OUString& _rName) override; diff --git a/dbaccess/source/core/dataaccess/commanddefinition.hxx b/dbaccess/source/core/dataaccess/commanddefinition.hxx index 60a856337036..09301b0225c8 100644 --- a/dbaccess/source/core/dataaccess/commanddefinition.hxx +++ b/dbaccess/source/core/dataaccess/commanddefinition.hxx @@ -56,7 +56,7 @@ class OCommandDefinition : public OComponentDefinition ,public OCommandDefinition_PROP { protected: - virtual ~OCommandDefinition(); + virtual ~OCommandDefinition() override; inline OCommandDefinition_Impl& getCommandDefinition() { return dynamic_cast< OCommandDefinition_Impl& >( *m_pImpl.get() ); } diff --git a/dbaccess/source/core/dataaccess/connection.hxx b/dbaccess/source/core/dataaccess/connection.hxx index eef6cfc2aa75..30c2ac1a8196 100644 --- a/dbaccess/source/core/dataaccess/connection.hxx +++ b/dbaccess/source/core/dataaccess/connection.hxx @@ -104,7 +104,7 @@ protected: bool m_bSupportsGroups; protected: - virtual ~OConnection(); + virtual ~OConnection() override; public: OConnection(ODatabaseSource& _rDB ,css::uno::Reference< css::sdbc::XConnection >& _rxMaster diff --git a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx index 93b93ccc161a..01330f5f078d 100644 --- a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx +++ b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx @@ -80,7 +80,7 @@ namespace virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException, std::exception) override; protected: - virtual ~DataAccessDescriptor(); + virtual ~DataAccessDescriptor() override; protected: // XPropertySet @@ -211,7 +211,7 @@ namespace virtual Reference< XPropertySet > SAL_CALL createDataAccessDescriptor( ) throw (RuntimeException, std::exception) override; DataAccessDescriptorFactory(); - virtual ~DataAccessDescriptorFactory(); + virtual ~DataAccessDescriptorFactory() override; }; DataAccessDescriptorFactory::DataAccessDescriptorFactory() diff --git a/dbaccess/source/core/dataaccess/databasecontext.hxx b/dbaccess/source/core/dataaccess/databasecontext.hxx index 1eb7233b7821..611ffa80886b 100644 --- a/dbaccess/source/core/dataaccess/databasecontext.hxx +++ b/dbaccess/source/core/dataaccess/databasecontext.hxx @@ -111,7 +111,7 @@ protected: public: explicit ODatabaseContext( const css::uno::Reference< css::uno::XComponentContext >& ); - virtual ~ODatabaseContext(); + virtual ~ODatabaseContext() override; // OComponentHelper virtual void SAL_CALL disposing() override; diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx index dbee460941aa..61452235aad1 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.hxx +++ b/dbaccess/source/core/dataaccess/databasedocument.hxx @@ -281,7 +281,7 @@ private: protected: virtual void SAL_CALL disposing() override; - virtual ~ODatabaseDocument(); + virtual ~ODatabaseDocument() override; public: struct FactoryAccess { friend class ODatabaseModelImpl; private: FactoryAccess() { } }; diff --git a/dbaccess/source/core/dataaccess/databaseregistrations.cxx b/dbaccess/source/core/dataaccess/databaseregistrations.cxx index 210989749751..85f656b1a28f 100644 --- a/dbaccess/source/core/dataaccess/databaseregistrations.cxx +++ b/dbaccess/source/core/dataaccess/databaseregistrations.cxx @@ -70,7 +70,7 @@ namespace dbaccess explicit DatabaseRegistrations( const Reference<XComponentContext>& _rxContext ); protected: - virtual ~DatabaseRegistrations(); + virtual ~DatabaseRegistrations() override; public: virtual sal_Bool SAL_CALL hasRegisteredDatabase( const OUString& Name ) throw (IllegalArgumentException, RuntimeException, std::exception) override; diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx index c7d3b4370735..b55ecbf61405 100644 --- a/dbaccess/source/core/dataaccess/datasource.cxx +++ b/dbaccess/source/core/dataaccess/datasource.cxx @@ -117,7 +117,7 @@ public: protected: FlushNotificationAdapter( const Reference< XFlushable >& _rxBroadcaster, const Reference< XFlushListener >& _rxListener ); - virtual ~FlushNotificationAdapter(); + virtual ~FlushNotificationAdapter() override; void SAL_CALL impl_dispose(); @@ -295,7 +295,7 @@ class OSharedConnectionManager : public ::cppu::WeakImplHelper< XEventListener > Reference< XProxyFactory > m_xProxyFactory; protected: - virtual ~OSharedConnectionManager(); + virtual ~OSharedConnectionManager() override; public: explicit OSharedConnectionManager(const Reference< XComponentContext >& _rxContext); diff --git a/dbaccess/source/core/dataaccess/datasource.hxx b/dbaccess/source/core/dataaccess/datasource.hxx index d9e0b5099b57..93ae46990dc2 100644 --- a/dbaccess/source/core/dataaccess/datasource.hxx +++ b/dbaccess/source/core/dataaccess/datasource.hxx @@ -86,7 +86,7 @@ private: ::comphelper::OInterfaceContainerHelper2 m_aFlushListeners; private: - virtual ~ODatabaseSource(); + virtual ~ODatabaseSource() override; public: explicit ODatabaseSource( const ::rtl::Reference< ODatabaseModelImpl >& _pImpl ); diff --git a/dbaccess/source/core/dataaccess/documentcontainer.cxx b/dbaccess/source/core/dataaccess/documentcontainer.cxx index 9770c41831ab..543091169970 100644 --- a/dbaccess/source/core/dataaccess/documentcontainer.cxx +++ b/dbaccess/source/core/dataaccess/documentcontainer.cxx @@ -69,7 +69,7 @@ public: :m_aErrors( _rxContext ) { } - virtual ~LocalNameApproval() + virtual ~LocalNameApproval() override { } diff --git a/dbaccess/source/core/dataaccess/documentcontainer.hxx b/dbaccess/source/core/dataaccess/documentcontainer.hxx index 7699c2037f34..27edbf3f9fa9 100644 --- a/dbaccess/source/core/dataaccess/documentcontainer.hxx +++ b/dbaccess/source/core/dataaccess/documentcontainer.hxx @@ -115,7 +115,7 @@ public: css::uno::Reference< css::embed::XStorage > getContainerStorage() const; protected: - virtual ~ODocumentContainer(); + virtual ~ODocumentContainer() override; /** OContentHelper */ diff --git a/dbaccess/source/core/dataaccess/documentdefinition.hxx b/dbaccess/source/core/dataaccess/documentdefinition.hxx index de7121613438..d9f12b977bbd 100644 --- a/dbaccess/source/core/dataaccess/documentdefinition.hxx +++ b/dbaccess/source/core/dataaccess/documentdefinition.hxx @@ -72,7 +72,7 @@ class ODocumentDefinition rtl::Reference<OEmbeddedClientHelper> m_pClientHelper; protected: - virtual ~ODocumentDefinition(); + virtual ~ODocumentDefinition() override; public: diff --git a/dbaccess/source/core/dataaccess/documenteventexecutor.hxx b/dbaccess/source/core/dataaccess/documenteventexecutor.hxx index 7e14f77ddcce..ee3574ec023f 100644 --- a/dbaccess/source/core/dataaccess/documenteventexecutor.hxx +++ b/dbaccess/source/core/dataaccess/documenteventexecutor.hxx @@ -46,7 +46,7 @@ namespace dbaccess const css::uno::Reference< css::document::XEventsSupplier >& _rxDocument ); protected: - virtual ~DocumentEventExecutor(); + virtual ~DocumentEventExecutor() override; // css.document.XDocumentEventListener virtual void SAL_CALL documentEventOccured( const css::document::DocumentEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/dbaccess/source/core/dataaccess/documentevents.hxx b/dbaccess/source/core/dataaccess/documentevents.hxx index 8279682f4a50..51ed81b1b406 100644 --- a/dbaccess/source/core/dataaccess/documentevents.hxx +++ b/dbaccess/source/core/dataaccess/documentevents.hxx @@ -44,7 +44,7 @@ namespace dbaccess { public: DocumentEvents( ::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex, DocumentEventsData& _rEventsData ); - virtual ~DocumentEvents(); + virtual ~DocumentEvents() override; DocumentEvents(const DocumentEvents&) = delete; const DocumentEvents& operator=(const DocumentEvents&) = delete; diff --git a/dbaccess/source/core/dataaccess/intercept.hxx b/dbaccess/source/core/dataaccess/intercept.hxx index fb4c4230d2a2..73d8b3c2e6d4 100644 --- a/dbaccess/source/core/dataaccess/intercept.hxx +++ b/dbaccess/source/core/dataaccess/intercept.hxx @@ -39,7 +39,7 @@ class OInterceptor : public ::cppu::WeakImplHelper< css::frame::XDispatchProvide { DECL_LINK_TYPED( OnDispatch, void*, void ); protected: - virtual ~OInterceptor(); + virtual ~OInterceptor() override; public: explicit OInterceptor( ODocumentDefinition* _pContentHolder ); diff --git a/dbaccess/source/core/dataaccess/myucp_datasupplier.hxx b/dbaccess/source/core/dataaccess/myucp_datasupplier.hxx index c7f139e0a9e4..948303594a54 100644 --- a/dbaccess/source/core/dataaccess/myucp_datasupplier.hxx +++ b/dbaccess/source/core/dataaccess/myucp_datasupplier.hxx @@ -35,7 +35,7 @@ class DataSupplier : public ucbhelper::ResultSetDataSupplier public: explicit DataSupplier( const rtl::Reference< ODocumentContainer >& rxContent ); - virtual ~DataSupplier(); + virtual ~DataSupplier() override; virtual OUString queryContentIdentifierString( sal_uInt32 nIndex ) override; virtual css::uno::Reference< css::ucb::XContentIdentifier > diff --git a/dbaccess/source/core/inc/ContainerMediator.hxx b/dbaccess/source/core/inc/ContainerMediator.hxx index ad49d889b232..30124d96cfe8 100644 --- a/dbaccess/source/core/inc/ContainerMediator.hxx +++ b/dbaccess/source/core/inc/ContainerMediator.hxx @@ -46,7 +46,7 @@ namespace dbaccess css::uno::Reference< css::container::XContainer > m_xContainer; // can not be weak protected: - virtual ~OContainerMediator(); + virtual ~OContainerMediator() override; public: OContainerMediator( diff --git a/dbaccess/source/core/inc/DatabaseDataProvider.hxx b/dbaccess/source/core/inc/DatabaseDataProvider.hxx index 0d99c1a6b820..6c57e1cd2dfc 100644 --- a/dbaccess/source/core/inc/DatabaseDataProvider.hxx +++ b/dbaccess/source/core/inc/DatabaseDataProvider.hxx @@ -210,7 +210,7 @@ private: DatabaseDataProvider(DatabaseDataProvider &) = delete; void operator =(DatabaseDataProvider &) = delete; - virtual ~DatabaseDataProvider() {} + virtual ~DatabaseDataProvider() override {} // This function is called upon disposing the component, // if your component needs special work when it becomes diff --git a/dbaccess/source/core/inc/PropertyForward.hxx b/dbaccess/source/core/inc/PropertyForward.hxx index f5756853cce0..8d9c070a9e14 100644 --- a/dbaccess/source/core/inc/PropertyForward.hxx +++ b/dbaccess/source/core/inc/PropertyForward.hxx @@ -46,7 +46,7 @@ namespace dbaccess bool m_bInInsert; protected: - virtual ~OPropertyForward(); + virtual ~OPropertyForward() override; public: OPropertyForward( const css::uno::Reference< css::beans::XPropertySet>& _xSource, diff --git a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx index 8269119ed901..69943a81f363 100644 --- a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx +++ b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx @@ -196,7 +196,7 @@ namespace dbaccess OUString impl_getColumnNameOrderBy_throw(const css::uno::Reference< css::beans::XPropertySet >& column); protected: - virtual ~OSingleSelectQueryComposer(); + virtual ~OSingleSelectQueryComposer() override; public: OSingleSelectQueryComposer( const css::uno::Reference< css::container::XNameAccess>& _xTableSupplier, diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx index 2391d7f7b114..71c45ea356d4 100644 --- a/dbaccess/source/core/inc/TableDeco.hxx +++ b/dbaccess/source/core/inc/TableDeco.hxx @@ -102,7 +102,7 @@ namespace dbaccess throw (css::uno::Exception, std::exception) override; - virtual ~ODBTableDecorator(); + virtual ~ODBTableDecorator() override; public: /** constructs a wrapper supporting the com.sun.star.sdb.Table service. diff --git a/dbaccess/source/core/inc/View.hxx b/dbaccess/source/core/inc/View.hxx index d848fa797f81..bc9739d4b202 100644 --- a/dbaccess/source/core/inc/View.hxx +++ b/dbaccess/source/core/inc/View.hxx @@ -54,7 +54,7 @@ namespace dbaccess virtual void SAL_CALL alterCommand( const OUString& NewCommand ) throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; protected: - virtual ~View(); + virtual ~View() override; protected: // OPropertyContainer diff --git a/dbaccess/source/core/inc/column.hxx b/dbaccess/source/core/inc/column.hxx index cad2ff8e5714..775c2bd14bde 100644 --- a/dbaccess/source/core/inc/column.hxx +++ b/dbaccess/source/core/inc/column.hxx @@ -77,7 +77,7 @@ namespace dbaccess OColumn( const bool _bNameIsReadOnly ); public: - virtual ~OColumn(); + virtual ~OColumn() override; // css::lang::XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) override; @@ -206,7 +206,7 @@ namespace dbaccess bool _bAddColumn = false, bool _bDropColumn = false, bool _bUseHardRef = true); - virtual ~OColumns(); + virtual ~OColumns() override; //XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/dbaccess/source/core/inc/definitioncolumn.hxx b/dbaccess/source/core/inc/definitioncolumn.hxx index 2930d0bd467b..e9ff214a1140 100644 --- a/dbaccess/source/core/inc/definitioncolumn.hxx +++ b/dbaccess/source/core/inc/definitioncolumn.hxx @@ -110,7 +110,7 @@ namespace dbaccess ,public OTableColumn_PBase { protected: - virtual ~OTableColumn(); + virtual ~OTableColumn() override; public: OTableColumn(const OUString& _rName); @@ -145,7 +145,7 @@ namespace dbaccess css::uno::Reference< css::beans::XPropertySet > m_xOriginalTableColumn; protected: - virtual ~OQueryColumn(); + virtual ~OQueryColumn() override; public: OQueryColumn( @@ -190,7 +190,7 @@ namespace dbaccess protected: OColumnWrapper( const css::uno::Reference< css::beans::XPropertySet >& _rCol, const bool _bNameIsReadOnly ); - virtual ~OColumnWrapper(); + virtual ~OColumnWrapper() override; public: virtual void SAL_CALL getFastPropertyValue( @@ -272,7 +272,7 @@ namespace dbaccess ,public ::comphelper::OIdPropertyArrayUsageHelper < OTableColumnWrapper > { protected: - virtual ~OTableColumnWrapper(); + virtual ~OTableColumnWrapper() override; public: OTableColumnWrapper( const css::uno::Reference< css::beans::XPropertySet >& rCol, diff --git a/dbaccess/source/core/inc/definitioncontainer.hxx b/dbaccess/source/core/inc/definitioncontainer.hxx index ff5346edb66d..4d32d2055720 100644 --- a/dbaccess/source/core/inc/definitioncontainer.hxx +++ b/dbaccess/source/core/inc/definitioncontainer.hxx @@ -140,7 +140,7 @@ protected: const PContainerApprove& getElementApproval() const { return m_pElementApproval; } protected: - virtual ~ODefinitionContainer(); + virtual ~ODefinitionContainer() override; inline const ODefinitionContainer_Impl& getDefinitions() const { diff --git a/dbaccess/source/core/inc/objectnameapproval.hxx b/dbaccess/source/core/inc/objectnameapproval.hxx index 6d1207a991fc..45f14dd6434c 100644 --- a/dbaccess/source/core/inc/objectnameapproval.hxx +++ b/dbaccess/source/core/inc/objectnameapproval.hxx @@ -63,7 +63,7 @@ namespace dbaccess const css::uno::Reference< css::sdbc::XConnection >& _rxConnection, ObjectType _eType ); - virtual ~ObjectNameApproval(); + virtual ~ObjectNameApproval() override; // IContainerApprove virtual void SAL_CALL approveElement( const OUString& _rName, const css::uno::Reference< css::uno::XInterface >& _rxElement ) override; diff --git a/dbaccess/source/core/inc/preparedstatement.hxx b/dbaccess/source/core/inc/preparedstatement.hxx index c36b820e3440..fe5397ffcbb7 100644 --- a/dbaccess/source/core/inc/preparedstatement.hxx +++ b/dbaccess/source/core/inc/preparedstatement.hxx @@ -46,7 +46,7 @@ namespace dbaccess public: OPreparedStatement(const css::uno::Reference< css::sdbc::XConnection > & _xConn, const css::uno::Reference< css::uno::XInterface > & _xStatement); - virtual ~OPreparedStatement(); + virtual ~OPreparedStatement() override; // css::lang::XTypeProvider virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw (css::uno::RuntimeException, std::exception) override; diff --git a/dbaccess/source/core/inc/querycomposer.hxx b/dbaccess/source/core/inc/querycomposer.hxx index 32d6087c7662..659f2c951e2c 100644 --- a/dbaccess/source/core/inc/querycomposer.hxx +++ b/dbaccess/source/core/inc/querycomposer.hxx @@ -55,7 +55,7 @@ namespace dbaccess protected: virtual void SAL_CALL disposing() override; - virtual ~OQueryComposer(); + virtual ~OQueryComposer() override; public: OQueryComposer( const css::uno::Reference< css::sdbc::XConnection>& _xConnection ); diff --git a/dbaccess/source/core/inc/querycontainer.hxx b/dbaccess/source/core/inc/querycontainer.hxx index 40bbdf9dd1ae..ff60984f0d79 100644 --- a/dbaccess/source/core/inc/querycontainer.hxx +++ b/dbaccess/source/core/inc/querycontainer.hxx @@ -90,7 +90,7 @@ namespace dbaccess // helper virtual void SAL_CALL disposing() override; - virtual ~OQueryContainer(); + virtual ~OQueryContainer() override; /** ctor of the container. The parent has to support the <type scope="css::sdbc">XConnection</type> interface.<BR> diff --git a/dbaccess/source/core/inc/statement.hxx b/dbaccess/source/core/inc/statement.hxx index 06c7def65cda..a2cb99a393db 100644 --- a/dbaccess/source/core/inc/statement.hxx +++ b/dbaccess/source/core/inc/statement.hxx @@ -59,7 +59,7 @@ protected: bool m_bUseBookmarks; bool m_bEscapeProcessing; - virtual ~OStatementBase(); + virtual ~OStatementBase() override; public: OStatementBase(const css::uno::Reference< css::sdbc::XConnection > & _xConn, diff --git a/dbaccess/source/core/inc/table.hxx b/dbaccess/source/core/inc/table.hxx index c1b1ade2a43e..8ecc53ca5823 100644 --- a/dbaccess/source/core/inc/table.hxx +++ b/dbaccess/source/core/inc/table.hxx @@ -116,7 +116,7 @@ namespace dbaccess ODBTable(connectivity::sdbcx::OCollection* _pTables ,const css::uno::Reference< css::sdbc::XConnection >& _rxConn) throw(css::sdbc::SQLException); - virtual ~ODBTable(); + virtual ~ODBTable() override; // ODescriptor virtual void construct() override; diff --git a/dbaccess/source/core/inc/tablecontainer.hxx b/dbaccess/source/core/inc/tablecontainer.hxx index 10eabbec3910..f413ca467066 100644 --- a/dbaccess/source/core/inc/tablecontainer.hxx +++ b/dbaccess/source/core/inc/tablecontainer.hxx @@ -94,7 +94,7 @@ namespace dbaccess oslInterlockedCount& _nInAppend ); - virtual ~OTableContainer(); + virtual ~OTableContainer() override; }; } #endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLECONTAINER_HXX diff --git a/dbaccess/source/core/inc/veto.hxx b/dbaccess/source/core/inc/veto.hxx index b1e1006d2173..ce6277d24eb6 100644 --- a/dbaccess/source/core/inc/veto.hxx +++ b/dbaccess/source/core/inc/veto.hxx @@ -45,7 +45,7 @@ namespace dbaccess virtual css::uno::Any SAL_CALL getDetails() throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~Veto(); + virtual ~Veto() override; private: Veto( const Veto& ) = delete; diff --git a/dbaccess/source/core/inc/viewcontainer.hxx b/dbaccess/source/core/inc/viewcontainer.hxx index b6d48332bb7d..b8fd46b884c4 100644 --- a/dbaccess/source/core/inc/viewcontainer.hxx +++ b/dbaccess/source/core/inc/viewcontainer.hxx @@ -66,7 +66,7 @@ namespace dbaccess oslInterlockedCount& _nInAppend ); - virtual ~OViewContainer(); + virtual ~OViewContainer() override; protected: // OFilteredContainer overridables diff --git a/dbaccess/source/core/recovery/settingsimport.hxx b/dbaccess/source/core/recovery/settingsimport.hxx index ccbca706fef1..c698263adc8a 100644 --- a/dbaccess/source/core/recovery/settingsimport.hxx +++ b/dbaccess/source/core/recovery/settingsimport.hxx @@ -52,7 +52,7 @@ namespace dbaccess void characters( const OUString& i_rCharacters ); protected: - virtual ~SettingsImport(); + virtual ~SettingsImport() override; protected: static void split( const OUString& i_rElementName, OUString& o_rNamespace, OUString& o_rLocalName ); @@ -85,7 +85,7 @@ namespace dbaccess ) override; private: - virtual ~IgnoringSettingsImport() + virtual ~IgnoringSettingsImport() override { } }; @@ -102,7 +102,7 @@ namespace dbaccess ) override; protected: - virtual ~OfficeSettingsImport(); + virtual ~OfficeSettingsImport() override; private: // the settings collection to which |this| will contribute a single setting @@ -116,7 +116,7 @@ namespace dbaccess explicit ConfigItemImport( ::comphelper::NamedValueCollection& o_rSettings ); protected: - virtual ~ConfigItemImport(); + virtual ~ConfigItemImport() override; public: // SettingsImport overridables @@ -142,7 +142,7 @@ namespace dbaccess explicit ConfigItemSetImport( ::comphelper::NamedValueCollection& o_rSettings ); protected: - virtual ~ConfigItemSetImport(); + virtual ~ConfigItemSetImport() override; public: // SettingsImport overridables diff --git a/dbaccess/source/core/recovery/storagetextstream.hxx b/dbaccess/source/core/recovery/storagetextstream.hxx index 5626c17e43ea..53c689d56633 100644 --- a/dbaccess/source/core/recovery/storagetextstream.hxx +++ b/dbaccess/source/core/recovery/storagetextstream.hxx @@ -37,7 +37,7 @@ namespace dbaccess const css::uno::Reference< css::embed::XStorage >& i_rParentStorage, const OUString& i_rStreamName ); - virtual ~StorageTextOutputStream(); + virtual ~StorageTextOutputStream() override; void writeLine( const OUString& i_rLine ); void writeLine(); diff --git a/dbaccess/source/core/recovery/storagexmlstream.hxx b/dbaccess/source/core/recovery/storagexmlstream.hxx index 9ae07d067e48..519387f0e772 100644 --- a/dbaccess/source/core/recovery/storagexmlstream.hxx +++ b/dbaccess/source/core/recovery/storagexmlstream.hxx @@ -40,7 +40,7 @@ namespace dbaccess const css::uno::Reference< css::embed::XStorage >& i_rParentStorage, const OUString& i_rStreamName ); - virtual ~StorageXMLOutputStream(); + virtual ~StorageXMLOutputStream() override; // StorageOutputStream overridables virtual void close() override; @@ -71,7 +71,7 @@ namespace dbaccess const css::uno::Reference< css::embed::XStorage >& i_rParentStorage, const OUString& i_rStreamName ); - virtual ~StorageXMLInputStream(); + virtual ~StorageXMLInputStream() override; void import( const css::uno::Reference< css::xml::sax::XDocumentHandler >& i_rHandler diff --git a/dbaccess/source/core/recovery/subcomponentloader.hxx b/dbaccess/source/core/recovery/subcomponentloader.hxx index 0d7322302f3b..bce08b477392 100644 --- a/dbaccess/source/core/recovery/subcomponentloader.hxx +++ b/dbaccess/source/core/recovery/subcomponentloader.hxx @@ -62,7 +62,7 @@ namespace dbaccess virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~SubComponentLoader(); + virtual ~SubComponentLoader() override; private: SubComponentLoader_Data* m_pData; diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx index 186a3774713d..a2725117b694 100644 --- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx +++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx @@ -246,7 +246,7 @@ namespace dbaccess } protected: - virtual ~SettingsDocumentHandler() + virtual ~SettingsDocumentHandler() override { } diff --git a/dbaccess/source/ext/macromigration/macromigrationpages.hxx b/dbaccess/source/ext/macromigration/macromigrationpages.hxx index 1eb0b399da4f..9115aa34a0bc 100644 --- a/dbaccess/source/ext/macromigration/macromigrationpages.hxx +++ b/dbaccess/source/ext/macromigration/macromigrationpages.hxx @@ -56,7 +56,7 @@ namespace dbmm { public: explicit PreparationPage(vcl::Window *pParent); - virtual ~PreparationPage(); + virtual ~PreparationPage() override; virtual void dispose() override; static VclPtr<TabPage> Create( ::svt::RoadmapWizard& _rParentDialog ); @@ -73,7 +73,7 @@ namespace dbmm { public: explicit SaveDBDocPage(MacroMigrationDialog& _rParentDialog); - virtual ~SaveDBDocPage(); + virtual ~SaveDBDocPage() override; virtual void dispose() override; static VclPtr<TabPage> Create( ::svt::RoadmapWizard& _rParentDialog ); @@ -103,7 +103,7 @@ namespace dbmm { public: explicit ProgressPage(vcl::Window *pParent); - virtual ~ProgressPage(); + virtual ~ProgressPage() override; virtual void dispose() override; static VclPtr<TabPage> Create( ::svt::RoadmapWizard& _rParentDialog ); @@ -136,7 +136,7 @@ namespace dbmm { public: explicit ResultPage(vcl::Window *pParent); - virtual ~ResultPage(); + virtual ~ResultPage() override; virtual void dispose() override; static VclPtr<TabPage> Create( ::svt::RoadmapWizard& _rParentDialog ); diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx index fa5176b5cb0e..93085c9417dd 100644 --- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx @@ -83,7 +83,7 @@ namespace dbmm static Sequence< OUString > SAL_CALL getSupportedServiceNames_static() throw(RuntimeException); protected: - virtual ~MacroMigrationDialogService(); + virtual ~MacroMigrationDialogService() override; protected: virtual VclPtr<Dialog> createDialog( vcl::Window* _pParent ) override; diff --git a/dbaccess/source/ext/macromigration/progresscapture.hxx b/dbaccess/source/ext/macromigration/progresscapture.hxx index 81b3543b7d1d..e273e1a425b4 100644 --- a/dbaccess/source/ext/macromigration/progresscapture.hxx +++ b/dbaccess/source/ext/macromigration/progresscapture.hxx @@ -52,7 +52,7 @@ namespace dbmm virtual void SAL_CALL reset( ) throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~ProgressCapture(); + virtual ~ProgressCapture() override; private: ::std::unique_ptr< ProgressCapture_Data > m_pData; diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index 54689a16d830..b5135f870371 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -233,7 +233,7 @@ private: DECL_LINK_TYPED( OnStartTableWizard, void*, void ); public: explicit DBContentLoader(const Reference< XComponentContext >&); - virtual ~DBContentLoader(); + virtual ~DBContentLoader() override; // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) override; diff --git a/dbaccess/source/filter/xml/xmlAutoStyle.hxx b/dbaccess/source/filter/xml/xmlAutoStyle.hxx index 248e92fad09d..0445d9abc3cd 100644 --- a/dbaccess/source/filter/xml/xmlAutoStyle.hxx +++ b/dbaccess/source/filter/xml/xmlAutoStyle.hxx @@ -41,7 +41,7 @@ namespace dbaxml public: explicit OXMLAutoStylePoolP(ODBExport& rXMLExport); - virtual ~OXMLAutoStylePoolP(); + virtual ~OXMLAutoStylePoolP() override; }; } // dbaxml #endif // INCLUDED_DBACCESS_SOURCE_FILTER_XML_XMLAUTOSTYLE_HXX diff --git a/dbaccess/source/filter/xml/xmlColumn.hxx b/dbaccess/source/filter/xml/xmlColumn.hxx index 8be91af946ec..7b319fa4766c 100644 --- a/dbaccess/source/filter/xml/xmlColumn.hxx +++ b/dbaccess/source/filter/xml/xmlColumn.hxx @@ -48,7 +48,7 @@ namespace dbaxml ,const css::uno::Reference< css::container::XNameAccess >& _xParentContainer ,const css::uno::Reference< css::beans::XPropertySet >& _xTable ); - virtual ~OXMLColumn(); + virtual ~OXMLColumn() override; virtual void EndElement() override; }; } // namespace dbaxml diff --git a/dbaccess/source/filter/xml/xmlComponent.hxx b/dbaccess/source/filter/xml/xmlComponent.hxx index 5a69ef9a1a70..cd78d501eca7 100644 --- a/dbaccess/source/filter/xml/xmlComponent.hxx +++ b/dbaccess/source/filter/xml/xmlComponent.hxx @@ -40,7 +40,7 @@ namespace dbaxml ,const css::uno::Reference< css::container::XNameAccess >& _xParentContainer ,const OUString& _sComponentServiceName ); - virtual ~OXMLComponent(); + virtual ~OXMLComponent() override; }; } // namespace dbaxml diff --git a/dbaccess/source/filter/xml/xmlConnectionData.hxx b/dbaccess/source/filter/xml/xmlConnectionData.hxx index 24d29eed3080..ccf15831edca 100644 --- a/dbaccess/source/filter/xml/xmlConnectionData.hxx +++ b/dbaccess/source/filter/xml/xmlConnectionData.hxx @@ -35,7 +35,7 @@ namespace dbaxml OXMLConnectionData( ODBFilter& rImport, sal_uInt16 nPrfx, const OUString& rLName); - virtual ~OXMLConnectionData(); + virtual ~OXMLConnectionData() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlConnectionResource.hxx b/dbaccess/source/filter/xml/xmlConnectionResource.hxx index 3fea22e5f20f..d5effa9e65fd 100644 --- a/dbaccess/source/filter/xml/xmlConnectionResource.hxx +++ b/dbaccess/source/filter/xml/xmlConnectionResource.hxx @@ -33,7 +33,7 @@ namespace dbaxml OXMLConnectionResource( ODBFilter& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList); - virtual ~OXMLConnectionResource(); + virtual ~OXMLConnectionResource() override; }; } // namespace dbaxml diff --git a/dbaccess/source/filter/xml/xmlDataSource.hxx b/dbaccess/source/filter/xml/xmlDataSource.hxx index 770d257ecc35..4c863c4d2cde 100644 --- a/dbaccess/source/filter/xml/xmlDataSource.hxx +++ b/dbaccess/source/filter/xml/xmlDataSource.hxx @@ -41,7 +41,7 @@ namespace dbaxml const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, const UsedFor _eUsedFor = eDataSource ); - virtual ~OXMLDataSource(); + virtual ~OXMLDataSource() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlDataSourceInfo.hxx b/dbaccess/source/filter/xml/xmlDataSourceInfo.hxx index 91e6ffcdf39b..1d76aca40017 100644 --- a/dbaccess/source/filter/xml/xmlDataSourceInfo.hxx +++ b/dbaccess/source/filter/xml/xmlDataSourceInfo.hxx @@ -32,7 +32,7 @@ namespace dbaxml const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ,const sal_uInt16 _nToken); - virtual ~OXMLDataSourceInfo(); + virtual ~OXMLDataSourceInfo() override; }; } // namespace dbaxml diff --git a/dbaccess/source/filter/xml/xmlDataSourceSetting.hxx b/dbaccess/source/filter/xml/xmlDataSourceSetting.hxx index f5d684c25027..3f3afb7ada7a 100644 --- a/dbaccess/source/filter/xml/xmlDataSourceSetting.hxx +++ b/dbaccess/source/filter/xml/xmlDataSourceSetting.hxx @@ -42,7 +42,7 @@ namespace dbaxml const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ,OXMLDataSourceSetting* _pContainer = nullptr); - virtual ~OXMLDataSourceSetting(); + virtual ~OXMLDataSourceSetting() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlDataSourceSettings.hxx b/dbaccess/source/filter/xml/xmlDataSourceSettings.hxx index 4e955f6f8e66..86259047b310 100644 --- a/dbaccess/source/filter/xml/xmlDataSourceSettings.hxx +++ b/dbaccess/source/filter/xml/xmlDataSourceSettings.hxx @@ -30,7 +30,7 @@ namespace dbaxml public: OXMLDataSourceSettings( ODBFilter& rImport, sal_uInt16 nPrfx,const OUString& rLName); - virtual ~OXMLDataSourceSettings(); + virtual ~OXMLDataSourceSettings() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlDatabase.hxx b/dbaccess/source/filter/xml/xmlDatabase.hxx index d50853da8efc..93e3167c2501 100644 --- a/dbaccess/source/filter/xml/xmlDatabase.hxx +++ b/dbaccess/source/filter/xml/xmlDatabase.hxx @@ -31,7 +31,7 @@ namespace dbaxml OXMLDatabase( ODBFilter& rImport, sal_uInt16 nPrfx, const OUString& rLName ); - virtual ~OXMLDatabase(); + virtual ~OXMLDatabase() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlDatabaseDescription.hxx b/dbaccess/source/filter/xml/xmlDatabaseDescription.hxx index 5499fce8884b..7004cf1b0c18 100644 --- a/dbaccess/source/filter/xml/xmlDatabaseDescription.hxx +++ b/dbaccess/source/filter/xml/xmlDatabaseDescription.hxx @@ -35,7 +35,7 @@ namespace dbaxml OXMLDatabaseDescription( ODBFilter& rImport, sal_uInt16 nPrfx, const OUString& rLName); - virtual ~OXMLDatabaseDescription(); + virtual ~OXMLDatabaseDescription() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlDocuments.hxx b/dbaccess/source/filter/xml/xmlDocuments.hxx index 6575de4d31c1..6ee6fe85164b 100644 --- a/dbaccess/source/filter/xml/xmlDocuments.hxx +++ b/dbaccess/source/filter/xml/xmlDocuments.hxx @@ -52,7 +52,7 @@ namespace dbaxml ,const OUString& _sCollectionServiceName = OUString() ); - virtual ~OXMLDocuments(); + virtual ~OXMLDocuments() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlExport.hxx b/dbaccess/source/filter/xml/xmlExport.hxx index 3a335e2b4817..f10ca8e236d5 100644 --- a/dbaccess/source/filter/xml/xmlExport.hxx +++ b/dbaccess/source/filter/xml/xmlExport.hxx @@ -169,7 +169,7 @@ protected: virtual void GetViewSettings(css::uno::Sequence<css::beans::PropertyValue>& aProps) override; virtual void GetConfigurationSettings(css::uno::Sequence<css::beans::PropertyValue>& aProps) override; - virtual ~ODBExport(){}; + virtual ~ODBExport() override {}; public: ODBExport(const Reference< XComponentContext >& _rxContext, OUString const & implementationName, SvXMLExportFlags nExportFlag = SvXMLExportFlags::CONTENT | SvXMLExportFlags::AUTOSTYLES | SvXMLExportFlags::PRETTY | SvXMLExportFlags::FONTDECLS | SvXMLExportFlags::SCRIPTS ); diff --git a/dbaccess/source/filter/xml/xmlFileBasedDatabase.hxx b/dbaccess/source/filter/xml/xmlFileBasedDatabase.hxx index 81d46b3814e3..ed8926a96034 100644 --- a/dbaccess/source/filter/xml/xmlFileBasedDatabase.hxx +++ b/dbaccess/source/filter/xml/xmlFileBasedDatabase.hxx @@ -33,7 +33,7 @@ namespace dbaxml OXMLFileBasedDatabase( ODBFilter& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList); - virtual ~OXMLFileBasedDatabase(); + virtual ~OXMLFileBasedDatabase() override; }; } // namespace dbaxml diff --git a/dbaccess/source/filter/xml/xmlHelper.hxx b/dbaccess/source/filter/xml/xmlHelper.hxx index 12dc4374d61c..359647710922 100644 --- a/dbaccess/source/filter/xml/xmlHelper.hxx +++ b/dbaccess/source/filter/xml/xmlHelper.hxx @@ -41,7 +41,7 @@ namespace dbaxml mutable ::std::unique_ptr<XMLConstantsPropertyHandler> m_pDisplayHandler; public: OPropertyHandlerFactory(); - virtual ~OPropertyHandlerFactory(); + virtual ~OPropertyHandlerFactory() override; virtual const XMLPropertyHandler* GetPropertyHandler(sal_Int32 _nType) const override; }; diff --git a/dbaccess/source/filter/xml/xmlHierarchyCollection.hxx b/dbaccess/source/filter/xml/xmlHierarchyCollection.hxx index b56fab477fd5..601d858111aa 100644 --- a/dbaccess/source/filter/xml/xmlHierarchyCollection.hxx +++ b/dbaccess/source/filter/xml/xmlHierarchyCollection.hxx @@ -52,7 +52,7 @@ namespace dbaxml ,const css::uno::Reference< css::container::XNameAccess >& _xContainer ,const css::uno::Reference< css::beans::XPropertySet >& _xTable ); - virtual ~OXMLHierarchyCollection(); + virtual ~OXMLHierarchyCollection() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlLogin.hxx b/dbaccess/source/filter/xml/xmlLogin.hxx index ac13d93246ae..ed47680129fd 100644 --- a/dbaccess/source/filter/xml/xmlLogin.hxx +++ b/dbaccess/source/filter/xml/xmlLogin.hxx @@ -31,7 +31,7 @@ namespace dbaxml OXMLLogin( ODBFilter& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ); - virtual ~OXMLLogin(); + virtual ~OXMLLogin() override; }; } // namespace dbaxml diff --git a/dbaccess/source/filter/xml/xmlQuery.hxx b/dbaccess/source/filter/xml/xmlQuery.hxx index ff98508e1f78..37668d3ec6b5 100644 --- a/dbaccess/source/filter/xml/xmlQuery.hxx +++ b/dbaccess/source/filter/xml/xmlQuery.hxx @@ -40,7 +40,7 @@ namespace dbaxml ,const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ,const css::uno::Reference< css::container::XNameAccess >& _xParentContainer ); - virtual ~OXMLQuery(); + virtual ~OXMLQuery() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlServerDatabase.hxx b/dbaccess/source/filter/xml/xmlServerDatabase.hxx index 3a90bc191cc3..f6576f62dab5 100644 --- a/dbaccess/source/filter/xml/xmlServerDatabase.hxx +++ b/dbaccess/source/filter/xml/xmlServerDatabase.hxx @@ -33,7 +33,7 @@ namespace dbaxml OXMLServerDatabase( ODBFilter& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList); - virtual ~OXMLServerDatabase(); + virtual ~OXMLServerDatabase() override; }; } // namespace dbaxml diff --git a/dbaccess/source/filter/xml/xmlStyleImport.hxx b/dbaccess/source/filter/xml/xmlStyleImport.hxx index 2ff8046b605b..8a150a60b837 100644 --- a/dbaccess/source/filter/xml/xmlStyleImport.hxx +++ b/dbaccess/source/filter/xml/xmlStyleImport.hxx @@ -59,7 +59,7 @@ namespace dbaxml const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, SvXMLStylesContext& rStyles, sal_uInt16 nFamily ); - virtual ~OTableStyleContext(); + virtual ~OTableStyleContext() override; virtual void FillPropertySet(const css::uno::Reference< css::beans::XPropertySet > & rPropSet ) override; @@ -100,7 +100,7 @@ namespace dbaxml const OUString& rLName , const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, const bool bAutoStyles ); - virtual ~OTableStylesContext(); + virtual ~OTableStylesContext() override; virtual void EndElement() override; diff --git a/dbaccess/source/filter/xml/xmlTable.hxx b/dbaccess/source/filter/xml/xmlTable.hxx index badc7efb3624..bb96d14246aa 100644 --- a/dbaccess/source/filter/xml/xmlTable.hxx +++ b/dbaccess/source/filter/xml/xmlTable.hxx @@ -62,7 +62,7 @@ namespace dbaxml ,const css::uno::Reference< css::container::XNameAccess >& _xParentContainer ,const OUString& _sServiceName ); - virtual ~OXMLTable(); + virtual ~OXMLTable() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlTableFilterList.hxx b/dbaccess/source/filter/xml/xmlTableFilterList.hxx index 019c3e9b2b19..1a5f56a6a266 100644 --- a/dbaccess/source/filter/xml/xmlTableFilterList.hxx +++ b/dbaccess/source/filter/xml/xmlTableFilterList.hxx @@ -36,7 +36,7 @@ namespace dbaxml OXMLTableFilterList( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName); - virtual ~OXMLTableFilterList(); + virtual ~OXMLTableFilterList() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/dbaccess/source/filter/xml/xmlTableFilterPattern.hxx b/dbaccess/source/filter/xml/xmlTableFilterPattern.hxx index 74d0bb170d68..e34e1a9674cb 100644 --- a/dbaccess/source/filter/xml/xmlTableFilterPattern.hxx +++ b/dbaccess/source/filter/xml/xmlTableFilterPattern.hxx @@ -35,7 +35,7 @@ namespace dbaxml ,bool _bNameFilter ,OXMLTableFilterList& _rParent); - virtual ~OXMLTableFilterPattern(); + virtual ~OXMLTableFilterPattern() override; virtual void Characters( const OUString& rChars ) override; }; diff --git a/dbaccess/source/filter/xml/xmlfilter.hxx b/dbaccess/source/filter/xml/xmlfilter.hxx index 7e47f458cdd6..0540b49896e1 100644 --- a/dbaccess/source/filter/xml/xmlfilter.hxx +++ b/dbaccess/source/filter/xml/xmlfilter.hxx @@ -103,7 +103,7 @@ protected: const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; - virtual ~ODBFilter() throw(); + virtual ~ODBFilter() throw() override; public: explicit ODBFilter( const Reference< XComponentContext >& _rxContext ); diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx index b6dfd1086f4f..4937a23856e5 100644 --- a/dbaccess/source/inc/apitools.hxx +++ b/dbaccess/source/inc/apitools.hxx @@ -38,7 +38,7 @@ class OSubComponent : public ::cppu::OComponentHelper protected: // the parent must support the tunnel implementation css::uno::Reference< css::uno::XInterface > m_xParent; - virtual ~OSubComponent(); + virtual ~OSubComponent() override; public: OSubComponent(::osl::Mutex& _rMutex, diff --git a/dbaccess/source/sdbtools/connection/connectiontools.hxx b/dbaccess/source/sdbtools/connection/connectiontools.hxx index 1213ca0b26ef..c1f630156232 100644 --- a/dbaccess/source/sdbtools/connection/connectiontools.hxx +++ b/dbaccess/source/sdbtools/connection/connectiontools.hxx @@ -77,7 +77,7 @@ namespace sdbtools virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) override; protected: - virtual ~ConnectionTools(); + virtual ~ConnectionTools() override; private: ConnectionTools( const ConnectionTools& ) = delete; diff --git a/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx b/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx index 6e6635065acb..9ebbb88e1c90 100644 --- a/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx +++ b/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx @@ -58,7 +58,7 @@ namespace sdbtools virtual sal_Bool SAL_CALL supportsQueriesInFrom() throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; protected: - virtual ~DataSourceMetaData(); + virtual ~DataSourceMetaData() override; private: DataSourceMetaData( const DataSourceMetaData& ) = delete; diff --git a/dbaccess/source/sdbtools/connection/objectnames.hxx b/dbaccess/source/sdbtools/connection/objectnames.hxx index 0af21d456e90..09919fc3a0e8 100644 --- a/dbaccess/source/sdbtools/connection/objectnames.hxx +++ b/dbaccess/source/sdbtools/connection/objectnames.hxx @@ -67,7 +67,7 @@ namespace sdbtools virtual void SAL_CALL checkNameForCreate( ::sal_Int32 CommandType, const OUString& Name ) throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; protected: - virtual ~ObjectNames(); + virtual ~ObjectNames() override; private: ObjectNames( const ObjectNames& ) = delete; diff --git a/dbaccess/source/sdbtools/connection/tablename.hxx b/dbaccess/source/sdbtools/connection/tablename.hxx index b2480c63e65b..1087b4ae5749 100644 --- a/dbaccess/source/sdbtools/connection/tablename.hxx +++ b/dbaccess/source/sdbtools/connection/tablename.hxx @@ -73,7 +73,7 @@ namespace sdbtools virtual void SAL_CALL setComposedName( const OUString& ComposedName, ::sal_Int32 Type ) throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~TableName(); + virtual ~TableName() override; private: TableName( const TableName& ) = delete; diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx index f882e3ca89ae..f6f1201c323e 100644 --- a/dbaccess/source/ui/app/AppController.hxx +++ b/dbaccess/source/ui/app/AppController.hxx @@ -401,7 +401,7 @@ namespace dbaui return m_xModel; } - virtual ~OApplicationController(); + virtual ~OApplicationController() override; public: explicit OApplicationController(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.hxx b/dbaccess/source/ui/app/AppDetailPageHelper.hxx index 8f0d7996653d..65426cc027b2 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.hxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.hxx @@ -165,7 +165,7 @@ namespace dbaui public: OAppDetailPageHelper(vcl::Window* _pParent,OAppBorderWindow& _rBorderWin,PreviewMode _ePreviewMode); - virtual ~OAppDetailPageHelper(); + virtual ~OAppDetailPageHelper() override; virtual void dispose() override; // Window overrides diff --git a/dbaccess/source/ui/app/AppDetailView.hxx b/dbaccess/source/ui/app/AppDetailView.hxx index 1a2f430eeb93..2471e05d11d0 100644 --- a/dbaccess/source/ui/app/AppDetailView.hxx +++ b/dbaccess/source/ui/app/AppDetailView.hxx @@ -123,7 +123,7 @@ namespace dbaui virtual void DataChanged(const DataChangedEvent& rDCEvt) override; public: OTasksWindow(vcl::Window* _pParent,OApplicationDetailView* _pDetailView); - virtual ~OTasksWindow(); + virtual ~OTasksWindow() override; virtual void dispose() override; // Window overrides @@ -160,7 +160,7 @@ namespace dbaui public: OApplicationDetailView(OAppBorderWindow& _rParent,PreviewMode _ePreviewMode); - virtual ~OApplicationDetailView(); + virtual ~OApplicationDetailView() override; // Window overrides virtual void dispose() override; diff --git a/dbaccess/source/ui/app/AppIconControl.hxx b/dbaccess/source/ui/app/AppIconControl.hxx index a998345ed301..4cc1105c7a3c 100644 --- a/dbaccess/source/ui/app/AppIconControl.hxx +++ b/dbaccess/source/ui/app/AppIconControl.hxx @@ -33,7 +33,7 @@ namespace dbaui public: explicit OApplicationIconControl(vcl::Window* _pParent); - virtual ~OApplicationIconControl(); + virtual ~OApplicationIconControl() override; virtual void dispose() override; void setControlActionListener( IControlActionListener* _pListener ) { m_pActionListener = _pListener; } diff --git a/dbaccess/source/ui/app/AppSwapWindow.hxx b/dbaccess/source/ui/app/AppSwapWindow.hxx index fc7fadf49e60..0fabc5329020 100644 --- a/dbaccess/source/ui/app/AppSwapWindow.hxx +++ b/dbaccess/source/ui/app/AppSwapWindow.hxx @@ -43,7 +43,7 @@ namespace dbaui virtual void DataChanged(const DataChangedEvent& rDCEvt) override; public: OApplicationSwapWindow( vcl::Window* _pParent, OAppBorderWindow& _rBorderWindow ); - virtual ~OApplicationSwapWindow(); + virtual ~OApplicationSwapWindow() override; // Window overrides virtual void dispose() override; virtual void Resize() override; diff --git a/dbaccess/source/ui/app/AppTitleWindow.hxx b/dbaccess/source/ui/app/AppTitleWindow.hxx index 6df02ac04ed5..305b56fdab25 100644 --- a/dbaccess/source/ui/app/AppTitleWindow.hxx +++ b/dbaccess/source/ui/app/AppTitleWindow.hxx @@ -35,7 +35,7 @@ namespace dbaui virtual void DataChanged(const DataChangedEvent& rDCEvt) override; public: OTitleWindow(vcl::Window* _pParent,sal_uInt16 _nTitleId,WinBits _nBits,bool _bShift = true); - virtual ~OTitleWindow(); + virtual ~OTitleWindow() override; virtual void dispose() override; // Window overrides diff --git a/dbaccess/source/ui/app/AppView.hxx b/dbaccess/source/ui/app/AppView.hxx index 66ff3b86a0cc..d057ea3eb6ff 100644 --- a/dbaccess/source/ui/app/AppView.hxx +++ b/dbaccess/source/ui/app/AppView.hxx @@ -55,7 +55,7 @@ namespace dbaui virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; public: OAppBorderWindow(OApplicationView* _pParent,PreviewMode _ePreviewMode); - virtual ~OAppBorderWindow(); + virtual ~OAppBorderWindow() override; virtual void dispose() override; // Window overrides @@ -104,7 +104,7 @@ namespace dbaui ,OApplicationController& _rAppController ,PreviewMode _ePreviewMode ); - virtual ~OApplicationView(); + virtual ~OApplicationView() override; virtual void dispose() override; /// automatically creates mnemonics for the icon/texts in our left hand side panel diff --git a/dbaccess/source/ui/app/subcomponentmanager.hxx b/dbaccess/source/ui/app/subcomponentmanager.hxx index 3500205f7cb4..788ec907b3ef 100644 --- a/dbaccess/source/ui/app/subcomponentmanager.hxx +++ b/dbaccess/source/ui/app/subcomponentmanager.hxx @@ -43,7 +43,7 @@ namespace dbaui { public: SubComponentManager( OApplicationController& _rController, const ::comphelper::SharedMutex& _rMutex ); - virtual ~SubComponentManager(); + virtual ~SubComponentManager() override; void disposing(); diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index 8c745bb03610..23b613c5cb60 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -239,7 +239,7 @@ public: virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw( css::uno::RuntimeException, std::exception ) override; protected: - virtual ~FormControllerImpl(); + virtual ~FormControllerImpl() override; }; SbaXDataBrowserController::FormControllerImpl::FormControllerImpl(SbaXDataBrowserController* _pOwner) diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx index d8efde54c7f2..04fa47ebff14 100644 --- a/dbaccess/source/ui/browser/dbloader.cxx +++ b/dbaccess/source/ui/browser/dbloader.cxx @@ -71,7 +71,7 @@ private: Reference< XComponentContext > m_xContext; public: explicit DBContentLoader(const Reference< XComponentContext >&); - virtual ~DBContentLoader(); + virtual ~DBContentLoader() override; // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) override; diff --git a/dbaccess/source/ui/browser/dbtreeview.hxx b/dbaccess/source/ui/browser/dbtreeview.hxx index 0e9525ef3e28..40994107f3d9 100644 --- a/dbaccess/source/ui/browser/dbtreeview.hxx +++ b/dbaccess/source/ui/browser/dbtreeview.hxx @@ -41,7 +41,7 @@ namespace dbaui DBTreeView( vcl::Window* pParent, WinBits nBits ); - virtual ~DBTreeView(); + virtual ~DBTreeView() override; virtual void dispose() override; /** sets a handler which is called when an list box entry is to be expanded. diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx index 1a588f4c2e49..e892251ecc3f 100644 --- a/dbaccess/source/ui/control/RelationControl.cxx +++ b/dbaccess/source/ui/control/RelationControl.cxx @@ -100,7 +100,7 @@ namespace dbaui void lateInit(); protected: - virtual ~ORelationControl() { disposeOnce(); } + virtual ~ORelationControl() override { disposeOnce(); } virtual void dispose() override { m_pListCell.disposeAndClear(); ORelationControl_Base::dispose(); } virtual void Resize() override; virtual Size GetOptimalSize() const override; diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index e196a06de816..305383b348aa 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -516,7 +516,7 @@ namespace virtual void SAL_CALL removeSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener ) throw (RuntimeException, std::exception) override; protected: - virtual ~SelectionSupplier() + virtual ~SelectionSupplier() override { } diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx index 72c88019890f..8fa8486c3a38 100644 --- a/dbaccess/source/ui/control/sqledit.cxx +++ b/dbaccess/source/ui/control/sqledit.cxx @@ -46,7 +46,7 @@ public: explicit ChangesListener(OSqlEdit & editor): editor_(editor) {} private: - virtual ~ChangesListener() {} + virtual ~ChangesListener() override {} virtual void SAL_CALL disposing(css::lang::EventObject const &) throw (css::uno::RuntimeException, std::exception) override diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.hxx b/dbaccess/source/ui/dlg/ConnectionHelper.hxx index d6d43925efc6..53afdc9c3e3a 100644 --- a/dbaccess/source/ui/dlg/ConnectionHelper.hxx +++ b/dbaccess/source/ui/dlg/ConnectionHelper.hxx @@ -41,7 +41,7 @@ namespace dbaui public: OConnectionHelper( vcl::Window* pParent, const OString& _rId, const OUString& _rUIXMLDescription, const SfxItemSet& _rCoreAttrs); - virtual ~OConnectionHelper(); + virtual ~OConnectionHelper() override; virtual void dispose() override; VclPtr<FixedText> m_pFT_Connection; VclPtr<OConnectionURLEdit> m_pConnectionURL; diff --git a/dbaccess/source/ui/dlg/ConnectionPage.hxx b/dbaccess/source/ui/dlg/ConnectionPage.hxx index 4f6e1cf8e12f..7ee50279fda3 100644 --- a/dbaccess/source/ui/dlg/ConnectionPage.hxx +++ b/dbaccess/source/ui/dlg/ConnectionPage.hxx @@ -56,7 +56,7 @@ namespace dbaui DECL_LINK_TYPED(OnEditModified, Edit&, void); public: - virtual ~OConnectionTabPage(); + virtual ~OConnectionTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* _rAttrSet ); virtual bool FillItemSet (SfxItemSet* _rCoreAttrs) override; diff --git a/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx b/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx index ebe7330f9818..e2246b3db336 100644 --- a/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx +++ b/dbaccess/source/ui/dlg/ConnectionPageSetup.hxx @@ -46,7 +46,7 @@ namespace dbaui DECL_LINK_TYPED(OnEditModified, Edit&, void); public: - virtual ~OConnectionTabPageSetup(); + virtual ~OConnectionTabPageSetup() override; virtual void dispose() override; static VclPtr<OGenericAdministrationPage> CreateDbaseTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); static VclPtr<OGenericAdministrationPage> CreateMSAccessTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx index 9f23a8e6dfa9..8961cadeaf60 100644 --- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx +++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx @@ -42,7 +42,7 @@ namespace dbaui virtual bool FillItemSet ( SfxItemSet* _rCoreAttrs ) override; static VclPtr<OGenericAdministrationPage> CreateSpreadSheetTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); OSpreadSheetConnectionPageSetup(vcl::Window* pParent, const SfxItemSet& _rCoreAttrs); - virtual ~OSpreadSheetConnectionPageSetup(); + virtual ~OSpreadSheetConnectionPageSetup() override; virtual void dispose() override; protected: @@ -64,7 +64,7 @@ namespace dbaui virtual bool FillItemSet ( SfxItemSet* _rCoreAttrs ) override; static VclPtr<OGenericAdministrationPage> CreateTextTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); OTextConnectionPageSetup( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ); - virtual ~OTextConnectionPageSetup(); + virtual ~OTextConnectionPageSetup() override; virtual void dispose() override; protected: virtual bool prepareLeave() override; @@ -84,7 +84,7 @@ namespace dbaui virtual bool FillItemSet ( SfxItemSet* _rCoreAttrs ) override; static VclPtr<OGenericAdministrationPage> CreateLDAPTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); OLDAPConnectionPageSetup( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ); - virtual ~OLDAPConnectionPageSetup(); + virtual ~OLDAPConnectionPageSetup() override; virtual void dispose() override; virtual void callModifiedHdl(void* pControl = nullptr) override; @@ -114,7 +114,7 @@ namespace dbaui public: MySQLNativeSetupPage( vcl::Window* _pParent, const SfxItemSet& _rCoreAttrs ); - virtual ~MySQLNativeSetupPage(); + virtual ~MySQLNativeSetupPage() override; virtual void dispose() override; static VclPtr<OGenericAdministrationPage> Create( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); @@ -140,7 +140,7 @@ namespace dbaui , sal_uInt16 _nHelpTextResId , sal_uInt16 _nHeaderTextResId , sal_uInt16 _nDriverClassId ); - virtual ~OGeneralSpecialJDBCConnectionPageSetup(); + virtual ~OGeneralSpecialJDBCConnectionPageSetup() override; virtual void dispose() override; static VclPtr<OGenericAdministrationPage> CreateMySQLJDBCTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); static VclPtr<OGenericAdministrationPage> CreateOracleJDBCTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); @@ -176,7 +176,7 @@ namespace dbaui { public: OJDBCConnectionPageSetup( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ); - virtual ~OJDBCConnectionPageSetup(); + virtual ~OJDBCConnectionPageSetup() override; virtual void dispose() override; static VclPtr<OGenericAdministrationPage> CreateJDBCTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); @@ -207,7 +207,7 @@ namespace dbaui }; OMySQLIntroPageSetup( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs); - virtual ~OMySQLIntroPageSetup(); + virtual ~OMySQLIntroPageSetup() override; virtual void dispose() override; static VclPtr<OMySQLIntroPageSetup> CreateMySQLIntroTabPage( vcl::Window* _pParent, const SfxItemSet& _rAttrSet ); @@ -237,7 +237,7 @@ namespace dbaui virtual bool FillItemSet ( SfxItemSet* _rCoreAttrs ) override; static VclPtr<OGenericAdministrationPage> CreateAuthentificationTabPage( vcl::Window* pParent, const SfxItemSet& _rAttrSet ); OAuthentificationPageSetup(vcl::Window* pParent, const SfxItemSet& _rCoreAttrs); - virtual ~OAuthentificationPageSetup(); + virtual ~OAuthentificationPageSetup() override; virtual void dispose() override; protected: @@ -270,7 +270,7 @@ namespace dbaui VclPtr<FixedText> m_pFTFinalText; OFinalDBPageSetup(vcl::Window* pParent, const SfxItemSet& _rCoreAttrs); - virtual ~OFinalDBPageSetup(); + virtual ~OFinalDBPageSetup() override; virtual void dispose() override; bool IsDatabaseDocumentToBeRegistered(); bool IsDatabaseDocumentToBeOpened(); diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.hxx b/dbaccess/source/ui/dlg/TextConnectionHelper.hxx index 294ed1eeb8c9..47f408f25926 100644 --- a/dbaccess/source/ui/dlg/TextConnectionHelper.hxx +++ b/dbaccess/source/ui/dlg/TextConnectionHelper.hxx @@ -44,7 +44,7 @@ namespace dbaui { public: OTextConnectionHelper( vcl::Window* pParent, const short _nAvailableSections ); - virtual ~OTextConnectionHelper(); + virtual ~OTextConnectionHelper() override; virtual void dispose() override; private: diff --git a/dbaccess/source/ui/dlg/UserAdmin.cxx b/dbaccess/source/ui/dlg/UserAdmin.cxx index b1d884d1a799..c1c828c11acd 100644 --- a/dbaccess/source/ui/dlg/UserAdmin.cxx +++ b/dbaccess/source/ui/dlg/UserAdmin.cxx @@ -62,7 +62,7 @@ class OPasswordDialog : public ModalDialog public: OPasswordDialog( vcl::Window* pParent,const OUString& _sUserName); - virtual ~OPasswordDialog() { disposeOnce(); } + virtual ~OPasswordDialog() override { disposeOnce(); } virtual void dispose() override { m_pUser.clear(); diff --git a/dbaccess/source/ui/dlg/UserAdmin.hxx b/dbaccess/source/ui/dlg/UserAdmin.hxx index 599a5b5632dc..2a68deabfaf1 100644 --- a/dbaccess/source/ui/dlg/UserAdmin.hxx +++ b/dbaccess/source/ui/dlg/UserAdmin.hxx @@ -64,7 +64,7 @@ protected: public: static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* _rAttrSet ); - virtual ~OUserAdmin(); + virtual ~OUserAdmin() override; virtual void dispose() override; OUString GetUser(); diff --git a/dbaccess/source/ui/dlg/admincontrols.hxx b/dbaccess/source/ui/dlg/admincontrols.hxx index ea7728ba652c..ae7b7afae1c2 100644 --- a/dbaccess/source/ui/dlg/admincontrols.hxx +++ b/dbaccess/source/ui/dlg/admincontrols.hxx @@ -55,7 +55,7 @@ namespace dbaui public: MySQLNativeSettings( vcl::Window& _rParent, const Link<void*,void>& _rControlModificationLink ); - virtual ~MySQLNativeSettings(); + virtual ~MySQLNativeSettings() override; virtual void dispose() override; void fillControls( ::std::vector< ISaveValueWrapper* >& _rControlList ); void fillWindows( ::std::vector< ISaveValueWrapper* >& _rControlList ); diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx index 91e96fa15522..5d1cdfb6aef8 100644 --- a/dbaccess/source/ui/dlg/adtabdlg.cxx +++ b/dbaccess/source/ui/dlg/adtabdlg.cxx @@ -73,7 +73,7 @@ public: ,m_bAllowViews(true) { } - virtual ~TableListFacade(); + virtual ~TableListFacade() override; private: virtual void updateTableObjectList( bool _bAllowViews ) override; @@ -233,7 +233,7 @@ public: ,m_xConnection( _rxConnection ) { } - virtual ~QueryListFacade(); + virtual ~QueryListFacade() override; private: virtual void updateTableObjectList( bool _bAllowViews ) override; diff --git a/dbaccess/source/ui/dlg/advancedsettings.hxx b/dbaccess/source/ui/dlg/advancedsettings.hxx index 2472f8ff13f3..a9d9d7a5696a 100644 --- a/dbaccess/source/ui/dlg/advancedsettings.hxx +++ b/dbaccess/source/ui/dlg/advancedsettings.hxx @@ -77,7 +77,7 @@ namespace dbaui SpecialSettingsPage(vcl::Window* pParent, const SfxItemSet& _rCoreAttrs, const DataSourceMetaData& _rDSMeta ); protected: - virtual ~SpecialSettingsPage(); + virtual ~SpecialSettingsPage() override; virtual void dispose() override; // OGenericAdministrationPage overridables @@ -116,7 +116,7 @@ namespace dbaui protected: // nControlFlags is a combination of the CBTP_xxx-constants - virtual ~GeneratedValuesPage(); + virtual ~GeneratedValuesPage() override; virtual void dispose() override; // subclasses must override this, but it isn't pure virtual diff --git a/dbaccess/source/ui/dlg/dbfindex.hxx b/dbaccess/source/ui/dlg/dbfindex.hxx index a2991475c683..b58e1529ee38 100644 --- a/dbaccess/source/ui/dlg/dbfindex.hxx +++ b/dbaccess/source/ui/dlg/dbfindex.hxx @@ -110,7 +110,7 @@ protected: public: ODbaseIndexDialog( vcl::Window * pParent, const OUString& aDataSrcName ); - virtual ~ODbaseIndexDialog(); + virtual ~ODbaseIndexDialog() override; virtual void dispose() override; }; diff --git a/dbaccess/source/ui/dlg/detailpages.hxx b/dbaccess/source/ui/dlg/detailpages.hxx index efd3456efc7c..10bcd9607340 100644 --- a/dbaccess/source/ui/dlg/detailpages.hxx +++ b/dbaccess/source/ui/dlg/detailpages.hxx @@ -71,7 +71,7 @@ namespace dbaui OCommonBehaviourTabPage(vcl::Window* pParent, const OString& rId, const OUString& rUIXMLDescription, const SfxItemSet& _rCoreAttrs, sal_uInt32 nControlFlags); protected: - virtual ~OCommonBehaviourTabPage(); + virtual ~OCommonBehaviourTabPage() override; virtual void dispose() override; // subclasses must override this, but it isn't pure virtual @@ -93,7 +93,7 @@ namespace dbaui virtual bool FillItemSet ( SfxItemSet* _rCoreAttrs ) override; ODbaseDetailsPage(vcl::Window* pParent, const SfxItemSet& _rCoreAttrs); - virtual ~ODbaseDetailsPage(); + virtual ~ODbaseDetailsPage() override; virtual void dispose() override; private: VclPtr<CheckBox> m_pShowDeleted; @@ -123,7 +123,7 @@ namespace dbaui virtual bool FillItemSet ( SfxItemSet* _rCoreAttrs ) override; OOdbcDetailsPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ); - virtual ~OOdbcDetailsPage(); + virtual ~OOdbcDetailsPage() override; virtual void dispose() override; protected: virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) override; @@ -138,7 +138,7 @@ namespace dbaui virtual bool FillItemSet ( SfxItemSet* _rCoreAttrs ) override; OUserDriverDetailsPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ); - virtual ~OUserDriverDetailsPage(); + virtual ~OUserDriverDetailsPage() override; virtual void dispose() override; protected: virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) override; @@ -168,7 +168,7 @@ namespace dbaui , sal_uInt16 _nPortId , bool bShowSocket = true ); - virtual ~OGeneralSpecialJDBCDetailsPage(); + virtual ~OGeneralSpecialJDBCDetailsPage() override; virtual void dispose() override; protected: @@ -199,7 +199,7 @@ namespace dbaui public: MySQLNativePage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ); - virtual ~MySQLNativePage(); + virtual ~MySQLNativePage() override; virtual void dispose() override; private: @@ -225,7 +225,7 @@ namespace dbaui virtual bool FillItemSet ( SfxItemSet* _rCoreAttrs ) override; OLDAPDetailsPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ); - virtual ~OLDAPDetailsPage(); + virtual ~OLDAPDetailsPage() override; virtual void dispose() override; protected: virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) override; @@ -250,7 +250,7 @@ namespace dbaui VclPtr<OTextConnectionHelper> m_pTextConnectionHelper; protected: - virtual ~OTextDetailsPage(); + virtual ~OTextDetailsPage() override; virtual void dispose() override; virtual bool prepareLeave() override; diff --git a/dbaccess/source/ui/dlg/dsselect.hxx b/dbaccess/source/ui/dlg/dsselect.hxx index dd391bc40d50..3640938afe25 100644 --- a/dbaccess/source/ui/dlg/dsselect.hxx +++ b/dbaccess/source/ui/dlg/dsselect.hxx @@ -52,7 +52,7 @@ protected: public: ODatasourceSelectDialog( vcl::Window* _pParent, const StringBag& _rDatasources ); - virtual ~ODatasourceSelectDialog(); + virtual ~ODatasourceSelectDialog() override; virtual void dispose() override; OUString GetSelected() const { return m_pDatasource->GetSelectEntry(); diff --git a/dbaccess/source/ui/dlg/finteraction.hxx b/dbaccess/source/ui/dlg/finteraction.hxx index 78f9620af7f6..b022252f56a6 100644 --- a/dbaccess/source/ui/dlg/finteraction.hxx +++ b/dbaccess/source/ui/dlg/finteraction.hxx @@ -48,7 +48,7 @@ namespace dbaui // XInteractionHandler virtual void SAL_CALL handle( const css::uno::Reference< css::task::XInteractionRequest >& _rxRequest ) throw (css::uno::RuntimeException, std::exception) override; - virtual ~OFilePickerInteractionHandler(); + virtual ~OFilePickerInteractionHandler() override; }; } // namespace dbaui diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx index 3ab74d63e4b2..4f02f191b993 100644 --- a/dbaccess/source/ui/dlg/generalpage.hxx +++ b/dbaccess/source/ui/dlg/generalpage.hxx @@ -65,7 +65,7 @@ namespace dbaui m_aURLPrefixes; public: - virtual ~OGeneralPage(); + virtual ~OGeneralPage() override; virtual void dispose() override; /// set a handler which gets called every time the user selects a new type @@ -118,7 +118,7 @@ namespace dbaui { public: OGeneralPageWizard( vcl::Window* pParent, const SfxItemSet& _rItems ); - virtual ~OGeneralPageWizard(); + virtual ~OGeneralPageWizard() override; virtual void dispose() override; public: enum CreationMode diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx index 7e6b29fbdd3b..aa29808b950f 100644 --- a/dbaccess/source/ui/dlg/sqlmessage.cxx +++ b/dbaccess/source/ui/dlg/sqlmessage.cxx @@ -286,7 +286,7 @@ class OExceptionChainDialog : public ModalDialog public: OExceptionChainDialog( vcl::Window* pParent, const ExceptionDisplayChain& _rExceptions ); - virtual ~OExceptionChainDialog() { disposeOnce(); } + virtual ~OExceptionChainDialog() override { disposeOnce(); } virtual void dispose() override { m_pExceptionList.clear(); diff --git a/dbaccess/source/ui/dlg/tablespage.hxx b/dbaccess/source/ui/dlg/tablespage.hxx index 1ff3c602d763..fdedfff8cc9e 100644 --- a/dbaccess/source/ui/dlg/tablespage.hxx +++ b/dbaccess/source/ui/dlg/tablespage.hxx @@ -57,7 +57,7 @@ namespace dbaui virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; OTableSubscriptionPage( vcl::Window* pParent, const SfxItemSet& _rCoreAttrs ,OTableSubscriptionDialog* _pTablesDlg); - virtual ~OTableSubscriptionPage(); + virtual ~OTableSubscriptionPage() override; virtual void dispose() override; protected: diff --git a/dbaccess/source/ui/inc/CollectionView.hxx b/dbaccess/source/ui/inc/CollectionView.hxx index 794c3213807e..f60c345c4383 100644 --- a/dbaccess/source/ui/inc/CollectionView.hxx +++ b/dbaccess/source/ui/inc/CollectionView.hxx @@ -56,7 +56,7 @@ namespace dbaui ,const css::uno::Reference< css::ucb::XContent>& _xContent ,const OUString& _sDefaultName ,const css::uno::Reference< css::uno::XComponentContext >& _rxContext); - virtual ~OCollectionView(); + virtual ~OCollectionView() override; virtual void dispose() override; const css::uno::Reference< css::ucb::XContent>& getSelectedFolder() const { return m_xContent;} OUString getName() const; diff --git a/dbaccess/source/ui/inc/ConnectionLineData.hxx b/dbaccess/source/ui/inc/ConnectionLineData.hxx index 17f463e1fa56..9717c6014878 100644 --- a/dbaccess/source/ui/inc/ConnectionLineData.hxx +++ b/dbaccess/source/ui/inc/ConnectionLineData.hxx @@ -46,7 +46,7 @@ namespace dbaui friend bool operator==(const OConnectionLineData& lhs, const OConnectionLineData& rhs); friend bool operator!=(const OConnectionLineData& lhs, const OConnectionLineData& rhs) { return !(lhs == rhs); } protected: - virtual ~OConnectionLineData(); + virtual ~OConnectionLineData() override; public: OConnectionLineData(); OConnectionLineData( const OUString& rSourceFieldName, const OUString& rDestFieldName ); diff --git a/dbaccess/source/ui/inc/FieldDescControl.hxx b/dbaccess/source/ui/inc/FieldDescControl.hxx index e18d5b1bee08..3607e3e0c207 100644 --- a/dbaccess/source/ui/inc/FieldDescControl.hxx +++ b/dbaccess/source/ui/inc/FieldDescControl.hxx @@ -174,7 +174,7 @@ namespace dbaui public: OFieldDescControl( vcl::Window* pParent, OTableDesignHelpBar* pHelpBar); - virtual ~OFieldDescControl(); + virtual ~OFieldDescControl() override; virtual void dispose() override; void DisplayData(OFieldDescription* pFieldDescr ); diff --git a/dbaccess/source/ui/inc/HtmlReader.hxx b/dbaccess/source/ui/inc/HtmlReader.hxx index 538df2d369d6..2ba3f9e9911a 100644 --- a/dbaccess/source/ui/inc/HtmlReader.hxx +++ b/dbaccess/source/ui/inc/HtmlReader.hxx @@ -49,7 +49,7 @@ namespace dbaui sal_Int16 GetWidthPixel( const HTMLOption& rOption ); void setTextEncoding(); void fetchOptions(); - virtual ~OHTMLReader(); + virtual ~OHTMLReader() override; public: OHTMLReader(SvStream& rIn, diff --git a/dbaccess/source/ui/inc/JoinController.hxx b/dbaccess/source/ui/inc/JoinController.hxx index 797770c09df7..84cca22fc3da 100644 --- a/dbaccess/source/ui/inc/JoinController.hxx +++ b/dbaccess/source/ui/inc/JoinController.hxx @@ -77,7 +77,7 @@ namespace dbaui */ void saveTableWindows( ::comphelper::NamedValueCollection& o_rViewSettings ) const; - virtual ~OJoinController(); + virtual ~OJoinController() override; public: OJoinController(const css::uno::Reference< css::uno::XComponentContext >& _rM); diff --git a/dbaccess/source/ui/inc/JoinDesignView.hxx b/dbaccess/source/ui/inc/JoinDesignView.hxx index fea1c67a7b43..2167cc0a3bcb 100644 --- a/dbaccess/source/ui/inc/JoinDesignView.hxx +++ b/dbaccess/source/ui/inc/JoinDesignView.hxx @@ -43,7 +43,7 @@ namespace dbaui OJoinDesignView(vcl::Window* pParent, OJoinController& _rController, const css::uno::Reference< css::uno::XComponentContext >& ); - virtual ~OJoinDesignView(); + virtual ~OJoinDesignView() override; virtual void dispose() override; // set the view readonly or not diff --git a/dbaccess/source/ui/inc/JoinExchange.hxx b/dbaccess/source/ui/inc/JoinExchange.hxx index 0ec87f2e88f4..450975caa270 100644 --- a/dbaccess/source/ui/inc/JoinExchange.hxx +++ b/dbaccess/source/ui/inc/JoinExchange.hxx @@ -40,7 +40,7 @@ namespace dbaui OJoinExchangeData m_jxdSourceDescription; IDragTransferableListener* m_pDragListener; - virtual ~OJoinExchObj(); + virtual ~OJoinExchObj() override; public: OJoinExchObj(const OJoinExchangeData& jxdSource,bool _bFirstEntry=false); diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx index e4f9361f8359..a25562e7c5e3 100644 --- a/dbaccess/source/ui/inc/JoinTableView.hxx +++ b/dbaccess/source/ui/inc/JoinTableView.hxx @@ -61,7 +61,7 @@ namespace dbaui public: OScrollWindowHelper( vcl::Window* pParent); - virtual ~OScrollWindowHelper(); + virtual ~OScrollWindowHelper() override; virtual void dispose() override; void setTableView(OJoinTableView* _pTableView); @@ -112,7 +112,7 @@ namespace dbaui public: OJoinTableView( vcl::Window* pParent, OJoinDesignView* pView ); - virtual ~OJoinTableView(); + virtual ~OJoinTableView() override; virtual void dispose() override; // window override diff --git a/dbaccess/source/ui/inc/QueryDesignView.hxx b/dbaccess/source/ui/inc/QueryDesignView.hxx index eb1b06285e15..52e0a51e3132 100644 --- a/dbaccess/source/ui/inc/QueryDesignView.hxx +++ b/dbaccess/source/ui/inc/QueryDesignView.hxx @@ -76,7 +76,7 @@ namespace dbaui public: OQueryDesignView(OQueryContainerWindow* pParent, OQueryController& _rController, const css::uno::Reference< css::uno::XComponentContext >& ); - virtual ~OQueryDesignView(); + virtual ~OQueryDesignView() override; virtual void dispose() override; bool isCutAllowed(); diff --git a/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx b/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx index 59e45656cbad..1f1107fe7af2 100644 --- a/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx +++ b/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx @@ -29,7 +29,7 @@ public: QueryPropertiesDialog( vcl::Window* pParent, const bool bDistinct, const sal_Int64 nLimit ); - virtual ~QueryPropertiesDialog(); + virtual ~QueryPropertiesDialog() override; virtual void dispose() override; bool getDistinct() const; sal_Int64 getLimit() const; diff --git a/dbaccess/source/ui/inc/QueryTextView.hxx b/dbaccess/source/ui/inc/QueryTextView.hxx index bf9cb97f1c8a..0179c4d76ae6 100644 --- a/dbaccess/source/ui/inc/QueryTextView.hxx +++ b/dbaccess/source/ui/inc/QueryTextView.hxx @@ -30,7 +30,7 @@ namespace dbaui VclPtr<OSqlEdit> m_pEdit; public: OQueryTextView( OQueryContainerWindow* pParent ); - virtual ~OQueryTextView(); + virtual ~OQueryTextView() override; virtual void dispose() override; virtual void GetFocus() override; diff --git a/dbaccess/source/ui/inc/RTableConnectionData.hxx b/dbaccess/source/ui/inc/RTableConnectionData.hxx index 16ad3d2736ce..ccd644bd0541 100644 --- a/dbaccess/source/ui/inc/RTableConnectionData.hxx +++ b/dbaccess/source/ui/inc/RTableConnectionData.hxx @@ -57,7 +57,7 @@ namespace dbaui ORelationTableConnectionData( const TTableWindowData::value_type& _pReferencingTable, const TTableWindowData::value_type& _pReferencedTable, const OUString& rConnName = OUString() ); - virtual ~ORelationTableConnectionData(); + virtual ~ORelationTableConnectionData() override; virtual void CopyFrom(const OTableConnectionData& rSource) override; virtual OTableConnectionData* NewInstance() const override { return new ORelationTableConnectionData(); } diff --git a/dbaccess/source/ui/inc/RelationController.hxx b/dbaccess/source/ui/inc/RelationController.hxx index 05e5d37b9351..ee2a5e86918d 100644 --- a/dbaccess/source/ui/inc/RelationController.hxx +++ b/dbaccess/source/ui/inc/RelationController.hxx @@ -48,7 +48,7 @@ namespace dbaui public: ORelationController(const css::uno::Reference< css::uno::XComponentContext >& _rM); - virtual ~ORelationController(); + virtual ~ORelationController() override; void mergeData(const TTableConnectionData& _aConnectionData); diff --git a/dbaccess/source/ui/inc/RelationDlg.hxx b/dbaccess/source/ui/inc/RelationDlg.hxx index 5173eb78ef7f..109915570a85 100644 --- a/dbaccess/source/ui/inc/RelationDlg.hxx +++ b/dbaccess/source/ui/inc/RelationDlg.hxx @@ -60,7 +60,7 @@ namespace dbaui ORelationDialog(OJoinTableView* pParent, const TTableConnectionData::value_type& pConnectionData, bool bAllowTableSelect = false ); - virtual ~ORelationDialog(); + virtual ~ORelationDialog() override; virtual void dispose() override; virtual short Execute() override; diff --git a/dbaccess/source/ui/inc/RelationTableView.hxx b/dbaccess/source/ui/inc/RelationTableView.hxx index 28f45f6e0000..5e3ddc946317 100644 --- a/dbaccess/source/ui/inc/RelationTableView.hxx +++ b/dbaccess/source/ui/inc/RelationTableView.hxx @@ -53,7 +53,7 @@ namespace dbaui public: ORelationTableView( vcl::Window* pParent, ORelationDesignView* pView ); - virtual ~ORelationTableView(); + virtual ~ORelationTableView() override; virtual void dispose() override; virtual void RemoveTabWin( OTableWindow* pTabWin ) override; diff --git a/dbaccess/source/ui/inc/RtfReader.hxx b/dbaccess/source/ui/inc/RtfReader.hxx index 5070de338048..61ad0883df9a 100644 --- a/dbaccess/source/ui/inc/RtfReader.hxx +++ b/dbaccess/source/ui/inc/RtfReader.hxx @@ -37,7 +37,7 @@ namespace dbaui virtual TypeSelectionPageFactory getTypeSelectionPageFactory() override; - virtual ~ORTFReader(); + virtual ~ORTFReader() override; public: ORTFReader( SvStream& rIn, diff --git a/dbaccess/source/ui/inc/TableConnection.hxx b/dbaccess/source/ui/inc/TableConnection.hxx index 964c9bdad711..6682edb3a5b7 100644 --- a/dbaccess/source/ui/inc/TableConnection.hxx +++ b/dbaccess/source/ui/inc/TableConnection.hxx @@ -63,7 +63,7 @@ namespace dbaui responsible to check and save the data for deleting it eventually. */ - virtual ~OTableConnection(); + virtual ~OTableConnection() override; virtual void dispose() override; OTableConnection& operator=( const OTableConnection& rConn ); diff --git a/dbaccess/source/ui/inc/TableController.hxx b/dbaccess/source/ui/inc/TableController.hxx index 4788fb8997f3..fb12a172219e 100644 --- a/dbaccess/source/ui/inc/TableController.hxx +++ b/dbaccess/source/ui/inc/TableController.hxx @@ -83,7 +83,7 @@ namespace dbaui void doEditIndexes(); bool doSaveDoc(bool _bSaveAs); - virtual ~OTableController(); + virtual ~OTableController() override; public: OTableController(const css::uno::Reference< css::uno::XComponentContext >& _rM); diff --git a/dbaccess/source/ui/inc/TableDesignHelpBar.hxx b/dbaccess/source/ui/inc/TableDesignHelpBar.hxx index 65308c3881aa..f1e5ef7f84a2 100644 --- a/dbaccess/source/ui/inc/TableDesignHelpBar.hxx +++ b/dbaccess/source/ui/inc/TableDesignHelpBar.hxx @@ -39,7 +39,7 @@ namespace dbaui public: OTableDesignHelpBar( vcl::Window* pParent ); - virtual ~OTableDesignHelpBar(); + virtual ~OTableDesignHelpBar() override; virtual void dispose() override; void SetHelpText( const OUString& rText ); diff --git a/dbaccess/source/ui/inc/TableDesignView.hxx b/dbaccess/source/ui/inc/TableDesignView.hxx index 3ad829b4eac9..9a8dee39c4ae 100644 --- a/dbaccess/source/ui/inc/TableDesignView.hxx +++ b/dbaccess/source/ui/inc/TableDesignView.hxx @@ -42,7 +42,7 @@ namespace dbaui virtual void DataChanged(const DataChangedEvent& rDCEvt) override; public: OTableBorderWindow(vcl::Window* pParent); - virtual ~OTableBorderWindow(); + virtual ~OTableBorderWindow() override; // Window overrides virtual void dispose() override; virtual void Resize() override; @@ -76,7 +76,7 @@ namespace dbaui OTableDesignView( vcl::Window* pParent, const css::uno::Reference< css::uno::XComponentContext >&, OTableController& _rController); - virtual ~OTableDesignView(); + virtual ~OTableDesignView() override; virtual void dispose() override; // Window overrides diff --git a/dbaccess/source/ui/inc/TableFieldDescription.hxx b/dbaccess/source/ui/inc/TableFieldDescription.hxx index 0650119acb7b..f701f4b1519e 100644 --- a/dbaccess/source/ui/inc/TableFieldDescription.hxx +++ b/dbaccess/source/ui/inc/TableFieldDescription.hxx @@ -68,7 +68,7 @@ namespace dbaui OTableFieldDesc(); OTableFieldDesc(const OUString& rTable, const OUString& rField ); OTableFieldDesc(const OTableFieldDesc& rRS); - virtual ~OTableFieldDesc(); + virtual ~OTableFieldDesc() override; inline bool IsEmpty() const; diff --git a/dbaccess/source/ui/inc/TableGrantCtrl.hxx b/dbaccess/source/ui/inc/TableGrantCtrl.hxx index 244eb61aedcb..00071512a6f9 100644 --- a/dbaccess/source/ui/inc/TableGrantCtrl.hxx +++ b/dbaccess/source/ui/inc/TableGrantCtrl.hxx @@ -60,7 +60,7 @@ class OTableGrantControl : public ::svt::EditBrowseBox public: OTableGrantControl( vcl::Window* pParent, WinBits nBits); - virtual ~OTableGrantControl(); + virtual ~OTableGrantControl() override; virtual void dispose() override; void UpdateTables(); void setUserName(const OUString& _sUserName); diff --git a/dbaccess/source/ui/inc/TableWindow.hxx b/dbaccess/source/ui/inc/TableWindow.hxx index 10e47b4e6d49..181cd66c4be9 100644 --- a/dbaccess/source/ui/inc/TableWindow.hxx +++ b/dbaccess/source/ui/inc/TableWindow.hxx @@ -122,7 +122,7 @@ namespace dbaui OTableWindow( vcl::Window* pParent, const TTableWindowData::value_type& pTabWinData ); public: - virtual ~OTableWindow(); + virtual ~OTableWindow() override; virtual void dispose() override; // late Constructor, see also CreateListbox and FillListbox diff --git a/dbaccess/source/ui/inc/TableWindowData.hxx b/dbaccess/source/ui/inc/TableWindowData.hxx index a598c0285f5c..382df250e725 100644 --- a/dbaccess/source/ui/inc/TableWindowData.hxx +++ b/dbaccess/source/ui/inc/TableWindowData.hxx @@ -55,7 +55,7 @@ namespace dbaui ,const OUString& _rComposedName ,const OUString& strTableName ,const OUString& rWinName = OUString() ); - virtual ~OTableWindowData(); + virtual ~OTableWindowData() override; /** late constructor * diff --git a/dbaccess/source/ui/inc/TableWindowListBox.hxx b/dbaccess/source/ui/inc/TableWindowListBox.hxx index f921e7e6cd90..1629afd4378a 100644 --- a/dbaccess/source/ui/inc/TableWindowListBox.hxx +++ b/dbaccess/source/ui/inc/TableWindowListBox.hxx @@ -76,7 +76,7 @@ namespace dbaui public: OTableWindowListBox(OTableWindow* pParent); - virtual ~OTableWindowListBox(); + virtual ~OTableWindowListBox() override; virtual void dispose() override; // DnD stuff diff --git a/dbaccess/source/ui/inc/TableWindowTitle.hxx b/dbaccess/source/ui/inc/TableWindowTitle.hxx index e38a65bf007c..50f5dda8a8b2 100644 --- a/dbaccess/source/ui/inc/TableWindowTitle.hxx +++ b/dbaccess/source/ui/inc/TableWindowTitle.hxx @@ -37,7 +37,7 @@ namespace dbaui public: OTableWindowTitle( OTableWindow* pParent ); - virtual ~OTableWindowTitle(); + virtual ~OTableWindowTitle() override; virtual void dispose() override; virtual void LoseFocus() override; virtual void GetFocus() override; diff --git a/dbaccess/source/ui/inc/TablesSingleDlg.hxx b/dbaccess/source/ui/inc/TablesSingleDlg.hxx index 9b728079f90f..de5082fde84c 100644 --- a/dbaccess/source/ui/inc/TablesSingleDlg.hxx +++ b/dbaccess/source/ui/inc/TablesSingleDlg.hxx @@ -53,7 +53,7 @@ class ODbDataSourceAdministrationHelper; ,const css::uno::Reference< css::uno::XComponentContext >& _rxORB ,const css::uno::Any& _aDataSourceName ); - virtual ~OTableSubscriptionDialog(); + virtual ~OTableSubscriptionDialog() override; virtual void dispose() override; // forwards from ODbDataSourceAdministrationHelper diff --git a/dbaccess/source/ui/inc/TokenWriter.hxx b/dbaccess/source/ui/inc/TokenWriter.hxx index db45468ffc88..496baf7e76f6 100644 --- a/dbaccess/source/ui/inc/TokenWriter.hxx +++ b/dbaccess/source/ui/inc/TokenWriter.hxx @@ -97,7 +97,7 @@ namespace dbaui const css::uno::Reference< css::util::XNumberFormatter >& _rxNumberF, const css::uno::Reference< css::uno::XComponentContext >& _rM); - virtual ~ODatabaseImportExport(); + virtual ~ODatabaseImportExport() override; virtual void initialize(); public: diff --git a/dbaccess/source/ui/inc/UserAdminDlg.hxx b/dbaccess/source/ui/inc/UserAdminDlg.hxx index e6e5949264b6..3c13172a4692 100644 --- a/dbaccess/source/ui/inc/UserAdminDlg.hxx +++ b/dbaccess/source/ui/inc/UserAdminDlg.hxx @@ -59,7 +59,7 @@ namespace dbaui ,const css::uno::Any& _aDataSourceName ,const css::uno::Reference< css::sdbc::XConnection>& _xConnection); - virtual ~OUserAdminDlg(); + virtual ~OUserAdminDlg() override; virtual void dispose() override; virtual const SfxItemSet* getOutputSet() const override; diff --git a/dbaccess/source/ui/inc/VertSplitView.hxx b/dbaccess/source/ui/inc/VertSplitView.hxx index a7bf3fc886c6..572625357365 100644 --- a/dbaccess/source/ui/inc/VertSplitView.hxx +++ b/dbaccess/source/ui/inc/VertSplitView.hxx @@ -37,7 +37,7 @@ namespace dbaui virtual void DataChanged(const DataChangedEvent& rDCEvt) override; public: OSplitterView(vcl::Window* _pParent); - virtual ~OSplitterView(); + virtual ~OSplitterView() override; // Window overrides virtual void dispose() override; virtual void GetFocus() override; diff --git a/dbaccess/source/ui/inc/WCPage.hxx b/dbaccess/source/ui/inc/WCPage.hxx index 5bd246238378..e9969b45358e 100644 --- a/dbaccess/source/ui/inc/WCPage.hxx +++ b/dbaccess/source/ui/inc/WCPage.hxx @@ -65,7 +65,7 @@ namespace dbaui virtual OUString GetTitle() const override ; OCopyTable( vcl::Window * pParent ); - virtual ~OCopyTable(); + virtual ~OCopyTable() override; virtual void dispose() override; bool IsOptionDefData() const { return m_pRB_DefData->IsChecked(); } diff --git a/dbaccess/source/ui/inc/WColumnSelect.hxx b/dbaccess/source/ui/inc/WColumnSelect.hxx index 8346438e1c0e..5d87bf140f42 100644 --- a/dbaccess/source/ui/inc/WColumnSelect.hxx +++ b/dbaccess/source/ui/inc/WColumnSelect.hxx @@ -79,7 +79,7 @@ namespace dbaui virtual OUString GetTitle() const override ; OWizColumnSelect(vcl::Window* pParent); - virtual ~OWizColumnSelect(); + virtual ~OWizColumnSelect() override; virtual void dispose() override; }; } diff --git a/dbaccess/source/ui/inc/WCopyTable.hxx b/dbaccess/source/ui/inc/WCopyTable.hxx index dd8c38c5ae9c..8214e43445e2 100644 --- a/dbaccess/source/ui/inc/WCopyTable.hxx +++ b/dbaccess/source/ui/inc/WCopyTable.hxx @@ -323,7 +323,7 @@ namespace dbaui const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~OCopyTableWizard(); + virtual ~OCopyTableWizard() override; virtual void dispose() override; virtual bool DeactivatePage() override; diff --git a/dbaccess/source/ui/inc/WNameMatch.hxx b/dbaccess/source/ui/inc/WNameMatch.hxx index 00d7aa10dd9a..baac1a0eee5a 100644 --- a/dbaccess/source/ui/inc/WNameMatch.hxx +++ b/dbaccess/source/ui/inc/WNameMatch.hxx @@ -78,7 +78,7 @@ namespace dbaui virtual OUString GetTitle() const override ; OWizNameMatching(vcl::Window* pParent); - virtual ~OWizNameMatching(); + virtual ~OWizNameMatching() override; virtual void dispose() override; }; } diff --git a/dbaccess/source/ui/inc/WTabPage.hxx b/dbaccess/source/ui/inc/WTabPage.hxx index f90ccc0c9666..b3e77bc958c4 100644 --- a/dbaccess/source/ui/inc/WTabPage.hxx +++ b/dbaccess/source/ui/inc/WTabPage.hxx @@ -35,7 +35,7 @@ namespace dbaui OWizardPage( vcl::Window *pParent, const OString& rID, const OUString& rUIXMLDescription ); public: - virtual ~OWizardPage(); + virtual ~OWizardPage() override; virtual void dispose() override; virtual void Reset ( ) = 0; virtual bool LeavePage() = 0; diff --git a/dbaccess/source/ui/inc/WTypeSelect.hxx b/dbaccess/source/ui/inc/WTypeSelect.hxx index bf2d3a4aecb8..ff5f266402a0 100644 --- a/dbaccess/source/ui/inc/WTypeSelect.hxx +++ b/dbaccess/source/ui/inc/WTypeSelect.hxx @@ -52,7 +52,7 @@ namespace dbaui public: OWizTypeSelectControl(vcl::Window* pParent, vcl::Window* pParentTabPage); - virtual ~OWizTypeSelectControl(); + virtual ~OWizTypeSelectControl() override; virtual void dispose() override; virtual css::uno::Reference< css::sdbc::XDatabaseMetaData> getMetaData() override; @@ -77,7 +77,7 @@ namespace dbaui , m_bPKey(false) , m_pParentTabPage(nullptr) {} - virtual ~OWizTypeSelectList(); + virtual ~OWizTypeSelectList() override; virtual void dispose() override; void SetPKey(bool bPKey) { m_bPKey = bPKey; } void SetParentTabPage(vcl::Window* pParentTabPage) { m_pParentTabPage = pParentTabPage; } @@ -120,7 +120,7 @@ namespace dbaui virtual OUString GetTitle() const override; OWizTypeSelect(vcl::Window* pParent, SvStream* _pStream = nullptr ); - virtual ~OWizTypeSelect(); + virtual ~OWizTypeSelect() override; virtual void dispose() override; inline void setDisplayRow(sal_Int32 _nRow) { m_nDisplayRow = _nRow - 1; } diff --git a/dbaccess/source/ui/inc/adtabdlg.hxx b/dbaccess/source/ui/inc/adtabdlg.hxx index 82df080702ff..69dbae8eb41f 100644 --- a/dbaccess/source/ui/inc/adtabdlg.hxx +++ b/dbaccess/source/ui/inc/adtabdlg.hxx @@ -80,7 +80,7 @@ namespace dbaui OAddTableDlg( vcl::Window* _pParent, IAddTableDialogContext& _rContext ); - virtual ~OAddTableDlg(); + virtual ~OAddTableDlg() override; virtual void dispose() override; void Update(); diff --git a/dbaccess/source/ui/inc/advancedsettingsdlg.hxx b/dbaccess/source/ui/inc/advancedsettingsdlg.hxx index 6043660aa660..2674cb4f9069 100644 --- a/dbaccess/source/ui/inc/advancedsettingsdlg.hxx +++ b/dbaccess/source/ui/inc/advancedsettingsdlg.hxx @@ -50,7 +50,7 @@ namespace dbaui ,const css::uno::Reference< css::uno::XComponentContext >& _rxORB ,const css::uno::Any& _aDataSourceName); - virtual ~AdvancedSettingsDialog(); + virtual ~AdvancedSettingsDialog() override; virtual void dispose() override; /// determines whether or not the given data source type has any advanced setting diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx index 5c160fb5e2c0..8cf693d5389e 100644 --- a/dbaccess/source/ui/inc/brwctrlr.hxx +++ b/dbaccess/source/ui/inc/brwctrlr.hxx @@ -216,7 +216,7 @@ namespace dbaui public: protected: - virtual ~SbaXDataBrowserController(); + virtual ~SbaXDataBrowserController() override; // all the features which should be handled by this class virtual void describeSupportedFeatures() override; diff --git a/dbaccess/source/ui/inc/brwview.hxx b/dbaccess/source/ui/inc/brwview.hxx index d20d90231b08..8a8ec11a11c4 100644 --- a/dbaccess/source/ui/inc/brwview.hxx +++ b/dbaccess/source/ui/inc/brwview.hxx @@ -61,7 +61,7 @@ namespace dbaui UnoDataBrowserView( vcl::Window* pParent, IController& _rController, const css::uno::Reference< css::uno::XComponentContext >& ); - virtual ~UnoDataBrowserView(); + virtual ~UnoDataBrowserView() override; virtual void dispose() override; /// late construction diff --git a/dbaccess/source/ui/inc/curledit.hxx b/dbaccess/source/ui/inc/curledit.hxx index 7487246903b3..cb7353fbd704 100644 --- a/dbaccess/source/ui/inc/curledit.hxx +++ b/dbaccess/source/ui/inc/curledit.hxx @@ -42,7 +42,7 @@ class OConnectionURLEdit : public Edit public: OConnectionURLEdit(vcl::Window* pParent, WinBits _nBits,bool _bShowPrefix = false); - virtual ~OConnectionURLEdit(); + virtual ~OConnectionURLEdit() override; virtual void dispose() override; public: diff --git a/dbaccess/source/ui/inc/dbadmin.hxx b/dbaccess/source/ui/inc/dbadmin.hxx index 5ab342ea7e61..af843dd34fbd 100644 --- a/dbaccess/source/ui/inc/dbadmin.hxx +++ b/dbaccess/source/ui/inc/dbadmin.hxx @@ -65,7 +65,7 @@ public: SfxItemSet* _pItems, const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); - virtual ~ODbAdminDialog(); + virtual ~ODbAdminDialog() override; virtual void dispose() override; /** create and return an item set for use with the dialog. diff --git a/dbaccess/source/ui/inc/dbtreelistbox.hxx b/dbaccess/source/ui/inc/dbtreelistbox.hxx index 0e57fcf40b4a..51cc5f1677fb 100644 --- a/dbaccess/source/ui/inc/dbtreelistbox.hxx +++ b/dbaccess/source/ui/inc/dbtreelistbox.hxx @@ -77,7 +77,7 @@ namespace dbaui public: DBTreeListBox( vcl::Window* pParent, WinBits nWinStyle=0); - virtual ~DBTreeListBox(); + virtual ~DBTreeListBox() override; virtual void dispose() override; void setControlActionListener( IControlActionListener* _pListener ) { m_pActionListener = _pListener; } diff --git a/dbaccess/source/ui/inc/dbwiz.hxx b/dbaccess/source/ui/inc/dbwiz.hxx index 93046dd5b02a..ba68b45a0870 100644 --- a/dbaccess/source/ui/inc/dbwiz.hxx +++ b/dbaccess/source/ui/inc/dbwiz.hxx @@ -71,7 +71,7 @@ public: ,const css::uno::Reference< css::uno::XComponentContext >& _rxORB ,const css::uno::Any& _aDataSourceName ); - virtual ~ODbTypeWizDialog(); + virtual ~ODbTypeWizDialog() override; virtual void dispose() override; virtual const SfxItemSet* getOutputSet() const override; diff --git a/dbaccess/source/ui/inc/dbwizsetup.hxx b/dbaccess/source/ui/inc/dbwizsetup.hxx index a3fa96436633..7828e5901866 100644 --- a/dbaccess/source/ui/inc/dbwizsetup.hxx +++ b/dbaccess/source/ui/inc/dbwizsetup.hxx @@ -98,7 +98,7 @@ public: ,const css::uno::Reference< css::uno::XComponentContext >& _rxORB ,const css::uno::Any& _aDataSourceName ); - virtual ~ODbTypeWizDialogSetup(); + virtual ~ODbTypeWizDialogSetup() override; virtual void dispose() override; virtual const SfxItemSet* getOutputSet() const override; diff --git a/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx b/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx index 6db7319fd6b5..64d36b02fff1 100644 --- a/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx +++ b/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx @@ -56,7 +56,7 @@ namespace dbaui const OUString& _rRelativeRoot ); - virtual ~HierarchicalNameCheck(); + virtual ~HierarchicalNameCheck() override; HierarchicalNameCheck(const HierarchicalNameCheck&) = delete; const HierarchicalNameCheck& operator=(const HierarchicalNameCheck&) = delete; @@ -105,7 +105,7 @@ namespace dbaui sal_Int32 _nCommandType ); - virtual ~DynamicTableOrQueryNameCheck(); + virtual ~DynamicTableOrQueryNameCheck() override; DynamicTableOrQueryNameCheck(const DynamicTableOrQueryNameCheck&) = delete; const DynamicTableOrQueryNameCheck& operator=(const DynamicTableOrQueryNameCheck&) = delete; diff --git a/dbaccess/source/ui/inc/directsql.hxx b/dbaccess/source/ui/inc/directsql.hxx index aba8f30d7e67..4d081adf2365 100644 --- a/dbaccess/source/ui/inc/directsql.hxx +++ b/dbaccess/source/ui/inc/directsql.hxx @@ -71,7 +71,7 @@ namespace dbaui DirectSQLDialog( vcl::Window* _pParent, const css::uno::Reference< css::sdbc::XConnection >& _rxConn); - virtual ~DirectSQLDialog(); + virtual ~DirectSQLDialog() override; virtual void dispose() override; /// number of history entries diff --git a/dbaccess/source/ui/inc/dlgattr.hxx b/dbaccess/source/ui/inc/dlgattr.hxx index 2017654875ce..d5b5c20b4102 100644 --- a/dbaccess/source/ui/inc/dlgattr.hxx +++ b/dbaccess/source/ui/inc/dlgattr.hxx @@ -34,7 +34,7 @@ namespace dbaui public: SbaSbAttrDlg(vcl::Window * pParent, const SfxItemSet*, SvNumberFormatter*, bool bHasFormat); - virtual ~SbaSbAttrDlg(); + virtual ~SbaSbAttrDlg() override; virtual void dispose() override; virtual void PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage ) override; diff --git a/dbaccess/source/ui/inc/dlgsave.hxx b/dbaccess/source/ui/inc/dlgsave.hxx index f8cbcc819cb1..9866fd99fdcb 100644 --- a/dbaccess/source/ui/inc/dlgsave.hxx +++ b/dbaccess/source/ui/inc/dlgsave.hxx @@ -66,7 +66,7 @@ namespace dbaui const OUString& _sLabel, const IObjectNameCheck& _rObjectNameCheck, sal_Int32 _nFlags = SAD_DEFAULT | SAD_TITLE_STORE_AS); - virtual ~OSaveAsDlg(); + virtual ~OSaveAsDlg() override; virtual void dispose() override; const OUString& getName() const; diff --git a/dbaccess/source/ui/inc/dlgsize.hxx b/dbaccess/source/ui/inc/dlgsize.hxx index 82e3a2a0bc1c..1c2be2a8a3b9 100644 --- a/dbaccess/source/ui/inc/dlgsize.hxx +++ b/dbaccess/source/ui/inc/dlgsize.hxx @@ -44,7 +44,7 @@ namespace dbaui public: DlgSize( vcl::Window * pParent, sal_Int32 nVal, bool bRow, sal_Int32 _nAlternativeStandard = -1 ); - virtual ~DlgSize(); + virtual ~DlgSize() override; virtual void dispose() override; sal_Int32 GetValue(); }; diff --git a/dbaccess/source/ui/inc/exsrcbrw.hxx b/dbaccess/source/ui/inc/exsrcbrw.hxx index 53a10bb54967..f43c749519f8 100644 --- a/dbaccess/source/ui/inc/exsrcbrw.hxx +++ b/dbaccess/source/ui/inc/exsrcbrw.hxx @@ -83,7 +83,7 @@ namespace dbaui virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override; protected: - virtual ~SbaExternalSourceBrowser(); + virtual ~SbaExternalSourceBrowser() override; virtual css::uno::Reference< css::sdbc::XRowSet > CreateForm() override; virtual bool InitializeForm( const css::uno::Reference< css::beans::XPropertySet >& i_formProperties ) override; diff --git a/dbaccess/source/ui/inc/formadapter.hxx b/dbaccess/source/ui/inc/formadapter.hxx index 5468a19a5a39..10680b3c1d95 100644 --- a/dbaccess/source/ui/inc/formadapter.hxx +++ b/dbaccess/source/ui/inc/formadapter.hxx @@ -153,7 +153,7 @@ namespace dbaui public: SbaXFormAdapter(); - virtual ~SbaXFormAdapter(); + virtual ~SbaXFormAdapter() override; // css::uno::Reference< css::reflection::XIdlClass > getIdlClass(); // css::uno::Sequence<css::uno::Reference< css::reflection::XIdlClass > > getIdlClasses(); diff --git a/dbaccess/source/ui/inc/indexdialog.hxx b/dbaccess/source/ui/inc/indexdialog.hxx index ee1534573e9f..badb6bc235f9 100644 --- a/dbaccess/source/ui/inc/indexdialog.hxx +++ b/dbaccess/source/ui/inc/indexdialog.hxx @@ -107,7 +107,7 @@ namespace dbaui const css::uno::Reference< css::uno::XComponentContext >& _rxContext, sal_Int32 _nMaxColumnsInIndex ); - virtual ~DbaIndexDialog(); + virtual ~DbaIndexDialog() override; virtual void dispose() override; virtual void StateChanged( StateChangedType nStateChange ) override; diff --git a/dbaccess/source/ui/inc/indexfieldscontrol.hxx b/dbaccess/source/ui/inc/indexfieldscontrol.hxx index 892a32cdbbee..7ea0ef629538 100644 --- a/dbaccess/source/ui/inc/indexfieldscontrol.hxx +++ b/dbaccess/source/ui/inc/indexfieldscontrol.hxx @@ -53,7 +53,7 @@ namespace dbaui public: IndexFieldsControl( vcl::Window* _pParent, WinBits nWinStyle); - virtual ~IndexFieldsControl(); + virtual ~IndexFieldsControl() override; virtual void dispose() override; void Init(const css::uno::Sequence< OUString >& _rAvailableFields, sal_Int32 _nMaxColumnsInIndex,bool _bAddIndexAppendix); diff --git a/dbaccess/source/ui/inc/marktree.hxx b/dbaccess/source/ui/inc/marktree.hxx index 17ef28b6199c..d10e461de4a1 100644 --- a/dbaccess/source/ui/inc/marktree.hxx +++ b/dbaccess/source/ui/inc/marktree.hxx @@ -39,7 +39,7 @@ class OMarkableTreeListBox : public DBTreeListBox public: OMarkableTreeListBox( vcl::Window* pParent, WinBits nWinStyle=0 ); - virtual ~OMarkableTreeListBox(); + virtual ~OMarkableTreeListBox() override; virtual void dispose() override; virtual void KeyInput( const KeyEvent& rKEvt ) override; diff --git a/dbaccess/source/ui/inc/paramdialog.hxx b/dbaccess/source/ui/inc/paramdialog.hxx index dd7fd7654ea9..8e29c278225d 100644 --- a/dbaccess/source/ui/inc/paramdialog.hxx +++ b/dbaccess/source/ui/inc/paramdialog.hxx @@ -83,7 +83,7 @@ namespace dbaui const css::uno::Reference< css::container::XIndexAccess > & _rParamContainer, const css::uno::Reference< css::sdbc::XConnection > & _rxConnection, const css::uno::Reference< css::uno::XComponentContext >& rxContext); - virtual ~OParameterDialog(); + virtual ~OParameterDialog() override; virtual void dispose() override; const css::uno::Sequence< css::beans::PropertyValue >& diff --git a/dbaccess/source/ui/inc/querycontainerwindow.hxx b/dbaccess/source/ui/inc/querycontainerwindow.hxx index 0a55f4f77cac..3b112a98cd4f 100644 --- a/dbaccess/source/ui/inc/querycontainerwindow.hxx +++ b/dbaccess/source/ui/inc/querycontainerwindow.hxx @@ -49,7 +49,7 @@ namespace dbaui DECL_LINK_TYPED( SplitHdl, Splitter*, void ); public: OQueryContainerWindow(vcl::Window* pParent, OQueryController& _rController,const css::uno::Reference< css::uno::XComponentContext >&); - virtual ~OQueryContainerWindow(); + virtual ~OQueryContainerWindow() override; virtual void dispose() override; virtual void Construct() override; diff --git a/dbaccess/source/ui/inc/querycontroller.hxx b/dbaccess/source/ui/inc/querycontroller.hxx index af1c79c0c946..edad899131f3 100644 --- a/dbaccess/source/ui/inc/querycontroller.hxx +++ b/dbaccess/source/ui/inc/querycontroller.hxx @@ -128,7 +128,7 @@ namespace dbaui public: OQueryController(const css::uno::Reference< css::uno::XComponentContext >& _rM); - virtual ~OQueryController(); + virtual ~OQueryController() override; OTableFields& getTableFieldDesc() { return m_vTableFieldDesc; } OTableFields& getUnUsedFields() { return m_vUnUsedFieldsDesc; } diff --git a/dbaccess/source/ui/inc/queryfilter.hxx b/dbaccess/source/ui/inc/queryfilter.hxx index 1b7a2ed960b1..6990b5c028ed 100644 --- a/dbaccess/source/ui/inc/queryfilter.hxx +++ b/dbaccess/source/ui/inc/queryfilter.hxx @@ -112,7 +112,7 @@ namespace dbaui const css::uno::Reference< css::sdb::XSingleSelectQueryComposer>& _rxComposer, const css::uno::Reference< css::container::XNameAccess>& _rxCols ); - virtual ~DlgFilterCrit(); + virtual ~DlgFilterCrit() override; virtual void dispose() override; void BuildWherePart(); diff --git a/dbaccess/source/ui/inc/queryorder.hxx b/dbaccess/source/ui/inc/queryorder.hxx index 2f9a44dca551..e4b885a1496c 100644 --- a/dbaccess/source/ui/inc/queryorder.hxx +++ b/dbaccess/source/ui/inc/queryorder.hxx @@ -83,7 +83,7 @@ namespace dbaui const css::uno::Reference< css::sdbc::XConnection>& _rxConnection, const css::uno::Reference< css::sdb::XSingleSelectQueryComposer>& _rxComposer, const css::uno::Reference< css::container::XNameAccess>& _rxCols); - virtual ~DlgOrderCrit(); + virtual ~DlgOrderCrit() override; virtual void dispose() override; void BuildOrderPart(); diff --git a/dbaccess/source/ui/inc/sbagrid.hxx b/dbaccess/source/ui/inc/sbagrid.hxx index 3f5093f322f4..f410c1d7f1ca 100644 --- a/dbaccess/source/ui/inc/sbagrid.hxx +++ b/dbaccess/source/ui/inc/sbagrid.hxx @@ -58,7 +58,7 @@ namespace dbaui public: SbaXGridControl(const css::uno::Reference< css::uno::XComponentContext >&); - virtual ~SbaXGridControl(); + virtual ~SbaXGridControl() override; // UNO DECLARE_UNO3_DEFAULTS(SbaXGridControl, FmXGridControl) @@ -102,7 +102,7 @@ namespace dbaui public: SbaXGridPeer(const css::uno::Reference< css::uno::XComponentContext >&); - virtual ~SbaXGridPeer(); + virtual ~SbaXGridPeer() override; // UNO virtual void SAL_CALL acquire() throw() override { FmXGridPeer::acquire(); } @@ -171,7 +171,7 @@ namespace dbaui public: SbaGridHeader(BrowseBox* pParent); virtual void dispose() override; - virtual ~SbaGridHeader(); + virtual ~SbaGridHeader() override; protected: // FmGridHeader overridables @@ -224,7 +224,7 @@ namespace dbaui public: SbaGridControl(css::uno::Reference< css::uno::XComponentContext > const & _rM, Window* pParent, FmXGridPeer* _pPeer, WinBits nBits = WB_TABSTOP); - virtual ~SbaGridControl(); + virtual ~SbaGridControl() override; virtual void dispose() override; virtual void Select() override; diff --git a/dbaccess/source/ui/inc/singledoccontroller.hxx b/dbaccess/source/ui/inc/singledoccontroller.hxx index 984e6c45d2af..8be66336e397 100644 --- a/dbaccess/source/ui/inc/singledoccontroller.hxx +++ b/dbaccess/source/ui/inc/singledoccontroller.hxx @@ -41,7 +41,7 @@ namespace dbaui { protected: OSingleDocumentController( const css::uno::Reference< css::uno::XComponentContext>& _rxORB ); - virtual ~OSingleDocumentController(); + virtual ~OSingleDocumentController() override; // OComponentHelper virtual void SAL_CALL disposing() override; diff --git a/dbaccess/source/ui/inc/sqledit.hxx b/dbaccess/source/ui/inc/sqledit.hxx index b91efb11dff4..8bfb22c1664b 100644 --- a/dbaccess/source/ui/inc/sqledit.hxx +++ b/dbaccess/source/ui/inc/sqledit.hxx @@ -65,7 +65,7 @@ namespace dbaui public: OSqlEdit( OQueryTextView* pParent); - virtual ~OSqlEdit(); + virtual ~OSqlEdit() override; virtual void dispose() override; // Edit overridables diff --git a/dbaccess/source/ui/inc/sqlmessage.hxx b/dbaccess/source/ui/inc/sqlmessage.hxx index d7cad2de79be..55426f57f07a 100644 --- a/dbaccess/source/ui/inc/sqlmessage.hxx +++ b/dbaccess/source/ui/inc/sqlmessage.hxx @@ -89,7 +89,7 @@ public: MessageType _eType = Info, const ::dbtools::SQLExceptionInfo* _pAdditionalErrorInfo = nullptr ); - virtual ~OSQLMessageBox(); + virtual ~OSQLMessageBox() override; virtual void dispose() override; private: diff --git a/dbaccess/source/ui/inc/textconnectionsettings.hxx b/dbaccess/source/ui/inc/textconnectionsettings.hxx index eb57f1a442c7..8d3f538e0416 100644 --- a/dbaccess/source/ui/inc/textconnectionsettings.hxx +++ b/dbaccess/source/ui/inc/textconnectionsettings.hxx @@ -38,7 +38,7 @@ namespace dbaui { public: TextConnectionSettingsDialog( vcl::Window* _pParent, SfxItemSet& _rItems ); - virtual ~TextConnectionSettingsDialog(); + virtual ~TextConnectionSettingsDialog() override; virtual void dispose() override; /** initializes a set of PropertyStorage instances, which are bound to diff --git a/dbaccess/source/ui/inc/unoadmin.hxx b/dbaccess/source/ui/inc/unoadmin.hxx index b30de4afe0f3..ba952dbd8ddd 100644 --- a/dbaccess/source/ui/inc/unoadmin.hxx +++ b/dbaccess/source/ui/inc/unoadmin.hxx @@ -50,7 +50,7 @@ protected: protected: ODatabaseAdministrationDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); - virtual ~ODatabaseAdministrationDialog(); + virtual ~ODatabaseAdministrationDialog() override; protected: // OGenericUnoDialog overridables virtual void destroyDialog() override; diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index ad7d51951039..29146bd6a54d 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -117,7 +117,7 @@ namespace dbaui // attribute access public: SbaTableQueryBrowser(const css::uno::Reference< css::uno::XComponentContext >& _rM); - virtual ~SbaTableQueryBrowser(); + virtual ~SbaTableQueryBrowser() override; enum EntryType { diff --git a/dbaccess/source/ui/misc/controllerframe.cxx b/dbaccess/source/ui/misc/controllerframe.cxx index a69e3abace30..10402728abdb 100644 --- a/dbaccess/source/ui/misc/controllerframe.cxx +++ b/dbaccess/source/ui/misc/controllerframe.cxx @@ -72,7 +72,7 @@ namespace dbaui void dispose(); protected: - virtual ~FrameWindowActivationListener(); + virtual ~FrameWindowActivationListener() override; // XTopWindowListener virtual void SAL_CALL windowOpened( const css::lang::EventObject& e ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/dbaccess/source/ui/querydesign/QTableConnectionData.hxx b/dbaccess/source/ui/querydesign/QTableConnectionData.hxx index 878455f82190..8f46c5459663 100644 --- a/dbaccess/source/ui/querydesign/QTableConnectionData.hxx +++ b/dbaccess/source/ui/querydesign/QTableConnectionData.hxx @@ -45,7 +45,7 @@ namespace dbaui OQueryTableConnectionData( const OQueryTableConnectionData& rConnData ); OQueryTableConnectionData( const TTableWindowData::value_type& _pReferencingTable,const TTableWindowData::value_type& _pReferencedTable, const OUString& rConnName=OUString()); - virtual ~OQueryTableConnectionData(); + virtual ~OQueryTableConnectionData() override; virtual void CopyFrom(const OTableConnectionData& rSource) override; virtual OTableConnectionData* NewInstance() const override; diff --git a/dbaccess/source/ui/querydesign/QTableWindowData.hxx b/dbaccess/source/ui/querydesign/QTableWindowData.hxx index 83875fcd3ed7..9fa4de2fdd67 100644 --- a/dbaccess/source/ui/querydesign/QTableWindowData.hxx +++ b/dbaccess/source/ui/querydesign/QTableWindowData.hxx @@ -31,7 +31,7 @@ namespace dbaui { public: explicit OQueryTableWindowData(const OUString& _rComposedName, const OUString& rTableName, const OUString& rTableAlias); - virtual ~OQueryTableWindowData(); + virtual ~OQueryTableWindowData() override; OUString GetAliasName() { return GetWinName(); } void SetAliasName(const OUString& rNewAlias) { SetWinName(rNewAlias); } diff --git a/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx index 31552c173e85..cc6d316a26c0 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx +++ b/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx @@ -38,7 +38,7 @@ namespace dbaui public: OQueryDesignFieldUndoAct(OSelectionBrowseBox* pSelBrwBox, sal_uInt16 nCommentID); - virtual ~OQueryDesignFieldUndoAct(); + virtual ~OQueryDesignFieldUndoAct() override; inline void SetColumnPosition(sal_uInt16 _nColumnPostion) { diff --git a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx index 8aa978482c7e..729153968588 100644 --- a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx +++ b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx @@ -34,7 +34,7 @@ namespace dbaui public: OQueryTabConnUndoAction(OQueryTableView* pOwner, sal_uInt16 nCommentID); - virtual ~OQueryTabConnUndoAction(); + virtual ~OQueryTabConnUndoAction() override; virtual void Undo() override = 0; virtual void Redo() override = 0; diff --git a/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx index 85b8a39d514c..748ca7c38110 100644 --- a/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx +++ b/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx @@ -30,7 +30,7 @@ namespace dbaui { public: explicit OQueryTabWinShowUndoAct(OQueryTableView* pOwner); - virtual ~OQueryTabWinShowUndoAct(); + virtual ~OQueryTabWinShowUndoAct() override; virtual void Undo() override; virtual void Redo() override; @@ -42,7 +42,7 @@ namespace dbaui { public: explicit OQueryTabWinDelUndoAct(OQueryTableView* pOwner); - virtual ~OQueryTabWinDelUndoAct(); + virtual ~OQueryTabWinDelUndoAct() override; virtual void Undo() override; virtual void Redo() override; diff --git a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx index 1b67e46af85d..30257e9a9f6f 100644 --- a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx +++ b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx @@ -40,7 +40,7 @@ namespace dbaui public: OQueryTabWinUndoAct(OQueryTableView* pOwner, sal_uInt16 nCommentID); - virtual ~OQueryTabWinUndoAct(); + virtual ~OQueryTabWinUndoAct() override; void SetOwnership(bool bTakeIt) { m_bOwnerOfObjects = bTakeIt; } diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 971e821ae097..fc93f451aa14 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -250,7 +250,7 @@ namespace virtual void Select() override; public: explicit OSelectionBrwBoxHeader(OSelectionBrowseBox* pParent); - virtual ~OSelectionBrwBoxHeader() { disposeOnce(); } + virtual ~OSelectionBrwBoxHeader() override { disposeOnce(); } virtual void dispose() override { m_pBrowseBox.clear(); ::svt::EditBrowserHeader::dispose(); } }; OSelectionBrwBoxHeader::OSelectionBrwBoxHeader(OSelectionBrowseBox* pParent) diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx index ea2e827cdd2b..c6be5d504e13 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx @@ -78,7 +78,7 @@ namespace dbaui DECL_LINK_TYPED(OnInvalidateTimer, Timer*, void); public: explicit OSelectionBrowseBox( vcl::Window* pParent ); - virtual ~OSelectionBrowseBox(); + virtual ~OSelectionBrowseBox() override; virtual void dispose() override; void initialize(); diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.hxx b/dbaccess/source/ui/querydesign/limitboxcontroller.hxx index 5a2ad947c08a..a7bcd7cabdf5 100644 --- a/dbaccess/source/ui/querydesign/limitboxcontroller.hxx +++ b/dbaccess/source/ui/querydesign/limitboxcontroller.hxx @@ -33,7 +33,7 @@ class LimitBoxController: public svt::ToolboxController, public: explicit LimitBoxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~LimitBoxController(); + virtual ~LimitBoxController() override; /// XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/dbaccess/source/ui/querydesign/querydlg.hxx b/dbaccess/source/ui/querydesign/querydlg.hxx index 92136919ad99..82b318efc164 100644 --- a/dbaccess/source/ui/querydesign/querydlg.hxx +++ b/dbaccess/source/ui/querydesign/querydlg.hxx @@ -68,7 +68,7 @@ namespace dbaui OJoinTableView::OTableWindowMap* _pTableMap, const css::uno::Reference< css::sdbc::XConnection >& _xConnection, bool _bAllowTableSelect); - virtual ~DlgQryJoin(); + virtual ~DlgQryJoin() override; virtual void dispose() override; EJoinType GetJoinType() const { return eJoinType; }; diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx index 8f51f9a4babd..67690fb4f2cb 100644 --- a/dbaccess/source/ui/relationdesign/RelationController.cxx +++ b/dbaccess/source/ui/relationdesign/RelationController.cxx @@ -305,7 +305,7 @@ namespace virtual void SAL_CALL run() override; virtual void SAL_CALL onTerminated() override; protected: - virtual ~RelationLoader(){} + virtual ~RelationLoader() override {} void loadTableData(const Any& _aTable); }; diff --git a/dbaccess/source/ui/tabledesign/FieldDescGenWin.hxx b/dbaccess/source/ui/tabledesign/FieldDescGenWin.hxx index 440a7ad859ab..41c518388944 100644 --- a/dbaccess/source/ui/tabledesign/FieldDescGenWin.hxx +++ b/dbaccess/source/ui/tabledesign/FieldDescGenWin.hxx @@ -38,7 +38,7 @@ namespace dbaui public: OFieldDescGenWin( vcl::Window* pParent, OTableDesignHelpBar* pHelpBar ); - virtual ~OFieldDescGenWin(); + virtual ~OFieldDescGenWin() override; virtual void dispose() override; virtual void GetFocus() override; diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx index 51cb83be5a07..9953a6b3b4e9 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.hxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx @@ -119,7 +119,7 @@ namespace dbaui public: explicit OTableEditorCtrl(vcl::Window* pParentWin); - virtual ~OTableEditorCtrl(); + virtual ~OTableEditorCtrl() override; virtual void dispose() override; virtual bool CursorMoving(long nNewRow, sal_uInt16 nNewCol) override; SfxUndoManager& GetUndoManager() const; diff --git a/dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx b/dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx index 07634d3aaa95..066a6c7dad91 100644 --- a/dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx +++ b/dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx @@ -54,7 +54,7 @@ namespace dbaui public: explicit OTableFieldDescWin( vcl::Window* pParent); - virtual ~OTableFieldDescWin(); + virtual ~OTableFieldDescWin() override; virtual void dispose() override; void Init(); diff --git a/dbaccess/source/ui/tabledesign/TableUndo.hxx b/dbaccess/source/ui/tabledesign/TableUndo.hxx index a0b7df224127..afb75c6419c2 100644 --- a/dbaccess/source/ui/tabledesign/TableUndo.hxx +++ b/dbaccess/source/ui/tabledesign/TableUndo.hxx @@ -41,7 +41,7 @@ namespace dbaui virtual void Redo() override; public: OTableDesignUndoAct( OTableRowView* pOwner ,sal_uInt16 nCommentID); - virtual ~OTableDesignUndoAct(); + virtual ~OTableDesignUndoAct() override; }; class OTableEditorCtrl; @@ -52,7 +52,7 @@ namespace dbaui public: OTableEditorUndoAct( OTableEditorCtrl* pOwner,sal_uInt16 nCommentID ); - virtual ~OTableEditorUndoAct(); + virtual ~OTableEditorUndoAct() override; }; class OTableDesignCellUndoAct : public OTableDesignUndoAct @@ -67,7 +67,7 @@ namespace dbaui virtual void Redo() override; public: OTableDesignCellUndoAct( OTableRowView* pOwner, long nRowID, sal_uInt16 nColumn ); - virtual ~OTableDesignCellUndoAct(); + virtual ~OTableDesignCellUndoAct() override; }; class OTableEditorTypeSelUndoAct : public OTableEditorUndoAct @@ -82,7 +82,7 @@ namespace dbaui virtual void Redo() override; public: OTableEditorTypeSelUndoAct( OTableEditorCtrl* pOwner, long nRowID, sal_uInt16 nColumn, const TOTypeInfoSP& _pOldType ); - virtual ~OTableEditorTypeSelUndoAct(); + virtual ~OTableEditorTypeSelUndoAct() override; }; class OTableEditorDelUndoAct : public OTableEditorUndoAct @@ -94,7 +94,7 @@ namespace dbaui virtual void Redo() override; public: explicit OTableEditorDelUndoAct( OTableEditorCtrl* pOwner ); - virtual ~OTableEditorDelUndoAct(); + virtual ~OTableEditorDelUndoAct() override; }; class OTableEditorInsUndoAct : public OTableEditorUndoAct @@ -109,7 +109,7 @@ namespace dbaui OTableEditorInsUndoAct( OTableEditorCtrl* pOwner, long nInsertPosition, const ::std::vector< std::shared_ptr<OTableRow> >& _vInsertedRows); - virtual ~OTableEditorInsUndoAct(); + virtual ~OTableEditorInsUndoAct() override; }; class OTableEditorInsNewUndoAct : public OTableEditorUndoAct @@ -122,7 +122,7 @@ namespace dbaui virtual void Redo() override; public: OTableEditorInsNewUndoAct( OTableEditorCtrl* pOwner, long nInsertPosition, long nInsertedRows ); - virtual ~OTableEditorInsNewUndoAct(); + virtual ~OTableEditorInsNewUndoAct() override; }; class OPrimKeyUndoAct : public OTableEditorUndoAct @@ -136,7 +136,7 @@ namespace dbaui virtual void Redo() override; public: OPrimKeyUndoAct( OTableEditorCtrl* pOwner, const MultiSelection& aDeletedKeys, const MultiSelection& aInsertedKeys ); - virtual ~OPrimKeyUndoAct(); + virtual ~OPrimKeyUndoAct() override; }; } #endif // INCLUDED_DBACCESS_SOURCE_UI_TABLEDESIGN_TABLEUNDO_HXX diff --git a/dbaccess/source/ui/uno/ColumnModel.hxx b/dbaccess/source/ui/uno/ColumnModel.hxx index f4d2470f433f..9a48fc7246d5 100644 --- a/dbaccess/source/ui/uno/ColumnModel.hxx +++ b/dbaccess/source/ui/uno/ColumnModel.hxx @@ -64,7 +64,7 @@ class OColumnControlModel : public ::comphelper::OMutexAndBroadcastHelper void registerProperties(); protected: - virtual ~OColumnControlModel(); + virtual ~OColumnControlModel() override; OColumnControlModel(const OColumnControlModel* _pSource ,const css::uno::Reference< css::lang::XMultiServiceFactory>& _rxFactory); public: diff --git a/dbaccess/source/ui/uno/composerdialogs.hxx b/dbaccess/source/ui/uno/composerdialogs.hxx index dafe18a81e96..f3bfc920ede2 100644 --- a/dbaccess/source/ui/uno/composerdialogs.hxx +++ b/dbaccess/source/ui/uno/composerdialogs.hxx @@ -52,7 +52,7 @@ namespace dbaui protected: explicit ComposerDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); - virtual ~ComposerDialog(); + virtual ~ComposerDialog() override; public: virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 08f714a5b1a4..033e1f7f4f62 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -186,7 +186,7 @@ namespace dbaui protected: explicit CopyTableWizard( const Reference< XComponentContext >& _rxORB ); - virtual ~CopyTableWizard(); + virtual ~CopyTableWizard() override; // OGenericUnoDialog overridables virtual VclPtr<Dialog> createDialog( vcl::Window* _pParent ) override; diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx index 0632c0ca9daf..746c16ad8176 100644 --- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx +++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx @@ -68,7 +68,7 @@ namespace dbaui protected: explicit OTextConnectionSettingsDialog( const Reference<XComponentContext>& _rContext ); - virtual ~OTextConnectionSettingsDialog(); + virtual ~OTextConnectionSettingsDialog() override; public: virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() diff --git a/dbaccess/source/ui/uno/unoDirectSql.hxx b/dbaccess/source/ui/uno/unoDirectSql.hxx index ae9c22ac227a..89e29463824c 100644 --- a/dbaccess/source/ui/uno/unoDirectSql.hxx +++ b/dbaccess/source/ui/uno/unoDirectSql.hxx @@ -45,7 +45,7 @@ namespace dbaui css::uno::Reference< css::sdbc::XConnection > m_xActiveConnection; protected: explicit ODirectSQLDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxORB); - virtual ~ODirectSQLDialog(); + virtual ~ODirectSQLDialog() override; public: virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() |