diff --git a/UnoControls/inc/basecontainercontrol.hxx b/UnoControls/inc/basecontainercontrol.hxx index e62b9af8b0ad..908b8a2873b5 100644 --- a/UnoControls/inc/basecontainercontrol.hxx +++ b/UnoControls/inc/basecontainercontrol.hxx @@ -55,7 +55,7 @@ public: BaseContainerControl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~BaseContainerControl(); + virtual ~BaseContainerControl() override; // XInterface diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx index 3970e75a925c..2be5cb5e68f9 100644 --- a/UnoControls/inc/basecontrol.hxx +++ b/UnoControls/inc/basecontrol.hxx @@ -119,7 +119,7 @@ public: BaseControl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~BaseControl(); + virtual ~BaseControl() override; // XInterface diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx index d82f073419ac..f238293444f1 100644 --- a/UnoControls/inc/multiplexer.hxx +++ b/UnoControls/inc/multiplexer.hxx @@ -83,7 +83,7 @@ public: OMRCListenerMultiplexerHelper( const OMRCListenerMultiplexerHelper& aCopyInstance ); - virtual ~OMRCListenerMultiplexerHelper(); + virtual ~OMRCListenerMultiplexerHelper() override; // XInterface diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx index 698c5102552c..31a95f5e42a4 100644 --- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx @@ -39,7 +39,7 @@ public: OConnectionPointContainerHelper( ::osl::Mutex& aMutex ); - virtual ~OConnectionPointContainerHelper(); + virtual ~OConnectionPointContainerHelper() override; // XInterface diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx index f686ef8e6409..371b70facdfa 100644 --- a/UnoControls/source/inc/OConnectionPointHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointHelper.hxx @@ -44,7 +44,7 @@ public: OConnectionPointContainerHelper* pContainerImplementation , css::uno::Type aType ); - virtual ~OConnectionPointHelper(); + virtual ~OConnectionPointHelper() override; // XInterface diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx index e98fdecc8fa9..ff28dadcf858 100644 --- a/UnoControls/source/inc/framecontrol.hxx +++ b/UnoControls/source/inc/framecontrol.hxx @@ -65,7 +65,7 @@ public: FrameControl( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~FrameControl(); + virtual ~FrameControl() override; // XInterface diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx index 5e2046376174..e7523d778fba 100644 --- a/UnoControls/source/inc/progressbar.hxx +++ b/UnoControls/source/inc/progressbar.hxx @@ -52,7 +52,7 @@ public: ProgressBar( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~ProgressBar(); + virtual ~ProgressBar() override; // XInterface diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index 2879b920d67c..04044cc50fe2 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -104,7 +104,7 @@ public: ProgressMonitor( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~ProgressMonitor(); + virtual ~ProgressMonitor() override; // XInterface diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx index a2a6c6d1bee9..b1e377c46f4d 100644 --- a/UnoControls/source/inc/statusindicator.hxx +++ b/UnoControls/source/inc/statusindicator.hxx @@ -61,7 +61,7 @@ class StatusIndicator : public css::awt::XLayoutConstrains StatusIndicator( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~StatusIndicator(); + virtual ~StatusIndicator() override; // XInterface diff --git a/accessibility/inc/extended/AccessibleBrowseBox.hxx b/accessibility/inc/extended/AccessibleBrowseBox.hxx index fe43d19ad2f0..12948bcb2d9a 100644 --- a/accessibility/inc/extended/AccessibleBrowseBox.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBox.hxx @@ -45,7 +45,7 @@ protected: ::svt::IAccessibleTableProvider& _rBrowseBox ); - virtual ~AccessibleBrowseBox(); + virtual ~AccessibleBrowseBox() override; /** sets the XAccessible which created the context @@ -218,7 +218,7 @@ public: inline AccessibleBrowseBox* getContext() { return m_pContext; } protected: - virtual ~AccessibleBrowseBoxAccess(); + virtual ~AccessibleBrowseBoxAccess() override; // XAccessible virtual css::uno::Reference< css::accessibility::XAccessibleContext > diff --git a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx index 1bdaaabf828a..d87b04f1eb10 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxBase.hxx @@ -105,7 +105,7 @@ public: const OUString& rDescription ); protected: - virtual ~AccessibleBrowseBoxBase(); + virtual ~AccessibleBrowseBoxBase() override; /** Commits DeFunc event to listeners and cleans up members. */ virtual void SAL_CALL disposing() override; @@ -394,7 +394,7 @@ public: DECLARE_XTYPEPROVIDER( ) protected: - virtual ~BrowseBoxAccessibleElement(); + virtual ~BrowseBoxAccessibleElement() override; protected: // XAccessible diff --git a/accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx b/accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx index 2533ded30224..df7f6a4f2c2f 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxCheckBoxCell.hxx @@ -41,7 +41,7 @@ namespace accessibility bool m_bIsTriState; protected: - virtual ~AccessibleCheckBoxCell() {} + virtual ~AccessibleCheckBoxCell() override {} virtual ::utl::AccessibleStateSetHelper* implCreateStateSetHelper() override; diff --git a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx index d9ea755396f8..c529875a7238 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxHeaderBar.hxx @@ -51,7 +51,7 @@ public: ::svt::AccessibleBrowseBoxObjType eObjType ); protected: - virtual ~AccessibleBrowseBoxHeaderBar(); + virtual ~AccessibleBrowseBoxHeaderBar() override; public: // XAccessibleContext diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx index 5cbe7df5e703..2a2a74128e71 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxTable.hxx @@ -38,7 +38,7 @@ public: ::svt::IAccessibleTableProvider& rBrowseBox ); protected: - virtual ~AccessibleBrowseBoxTable(); + virtual ~AccessibleBrowseBoxTable() override; public: // XAccessibleContext diff --git a/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx b/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx index 9ea46eb27fa8..70cab0dfb080 100644 --- a/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBoxTableBase.hxx @@ -54,7 +54,7 @@ public: ::svt::AccessibleBrowseBoxObjType eObjType ); protected: - virtual ~AccessibleBrowseBoxTableBase(); + virtual ~AccessibleBrowseBoxTableBase() override; public: // XAccessibleContext diff --git a/accessibility/inc/extended/AccessibleGridControl.hxx b/accessibility/inc/extended/AccessibleGridControl.hxx index a2f19e5de343..fed499099583 100644 --- a/accessibility/inc/extended/AccessibleGridControl.hxx +++ b/accessibility/inc/extended/AccessibleGridControl.hxx @@ -44,7 +44,7 @@ protected: ::svt::table::IAccessibleTable& _rTable ); - virtual ~AccessibleGridControl(); + virtual ~AccessibleGridControl() override; /** Cleans up members. */ using AccessibleGridControlBase::disposing; @@ -186,7 +186,7 @@ public: inline AccessibleGridControl* getContext() { return m_pContext; } protected: - virtual ~AccessibleGridControlAccess(); + virtual ~AccessibleGridControlAccess() override; // XAccessible virtual css::uno::Reference< css::accessibility::XAccessibleContext > diff --git a/accessibility/inc/extended/AccessibleGridControlBase.hxx b/accessibility/inc/extended/AccessibleGridControlBase.hxx index 45e771397bbd..dccf44464b47 100644 --- a/accessibility/inc/extended/AccessibleGridControlBase.hxx +++ b/accessibility/inc/extended/AccessibleGridControlBase.hxx @@ -76,7 +76,7 @@ public: ::svt::table::AccessibleTableControlObjType eObjType ); protected: - virtual ~AccessibleGridControlBase(); + virtual ~AccessibleGridControlBase() override; /** Commits DeFunc event to listeners and cleans up members. */ virtual void SAL_CALL disposing() override; @@ -319,7 +319,7 @@ public: DECLARE_XTYPEPROVIDER( ) protected: - virtual ~GridControlAccessibleElement(); + virtual ~GridControlAccessibleElement() override; protected: // XAccessible diff --git a/accessibility/inc/extended/AccessibleGridControlHeader.hxx b/accessibility/inc/extended/AccessibleGridControlHeader.hxx index 882f87a95401..49641b60dab0 100644 --- a/accessibility/inc/extended/AccessibleGridControlHeader.hxx +++ b/accessibility/inc/extended/AccessibleGridControlHeader.hxx @@ -44,7 +44,7 @@ public: ::svt::table::AccessibleTableControlObjType eObjType ); protected: - virtual ~AccessibleGridControlHeader(); + virtual ~AccessibleGridControlHeader() override; public: // XAccessibleContext diff --git a/accessibility/inc/extended/AccessibleGridControlTable.hxx b/accessibility/inc/extended/AccessibleGridControlTable.hxx index df255599c8f6..a2faeb045284 100644 --- a/accessibility/inc/extended/AccessibleGridControlTable.hxx +++ b/accessibility/inc/extended/AccessibleGridControlTable.hxx @@ -43,7 +43,7 @@ public: ::svt::table::IAccessibleTable& rTable); protected: - virtual ~AccessibleGridControlTable(); + virtual ~AccessibleGridControlTable() override; private: std::vector< AccessibleGridControlTableCell* > m_pCellVector; std::vector< css::uno::Reference< css::accessibility::XAccessible> > m_pAccessCellVector; diff --git a/accessibility/inc/extended/AccessibleGridControlTableBase.hxx b/accessibility/inc/extended/AccessibleGridControlTableBase.hxx index e818cdd9db5a..8a4d981b21c0 100644 --- a/accessibility/inc/extended/AccessibleGridControlTableBase.hxx +++ b/accessibility/inc/extended/AccessibleGridControlTableBase.hxx @@ -50,7 +50,7 @@ public: ::svt::table::AccessibleTableControlObjType eObjType ); protected: - virtual ~AccessibleGridControlTableBase(); + virtual ~AccessibleGridControlTableBase() override; public: // XAccessibleContext diff --git a/accessibility/inc/extended/AccessibleGridControlTableCell.hxx b/accessibility/inc/extended/AccessibleGridControlTableCell.hxx index 489f695635f8..7b3bba66b427 100644 --- a/accessibility/inc/extended/AccessibleGridControlTableCell.hxx +++ b/accessibility/inc/extended/AccessibleGridControlTableCell.hxx @@ -49,7 +49,7 @@ namespace accessibility ::svt::table::AccessibleTableControlObjType _eType ); - virtual ~AccessibleGridControlCell(); + virtual ~AccessibleGridControlCell() override; private: AccessibleGridControlCell( const AccessibleGridControlCell& ) = delete; diff --git a/accessibility/inc/extended/accessiblebrowseboxcell.hxx b/accessibility/inc/extended/accessiblebrowseboxcell.hxx index e39739e10cc6..53415c1dcc80 100644 --- a/accessibility/inc/extended/accessiblebrowseboxcell.hxx +++ b/accessibility/inc/extended/accessiblebrowseboxcell.hxx @@ -61,7 +61,7 @@ namespace accessibility ::svt::AccessibleBrowseBoxObjType _eType = ::svt::BBTYPE_TABLECELL ); - virtual ~AccessibleBrowseBoxCell(); + virtual ~AccessibleBrowseBoxCell() override; private: AccessibleBrowseBoxCell( const AccessibleBrowseBoxCell& ) = delete; diff --git a/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx b/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx index 04dcd7c0dc30..7082ee06c0d4 100644 --- a/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx +++ b/accessibility/inc/extended/accessibleeditbrowseboxcell.hxx @@ -48,7 +48,7 @@ namespace accessibility ); protected: - virtual ~EditBrowseBoxTableCell(); + virtual ~EditBrowseBoxTableCell() override; protected: // XAccessibleComponent @@ -123,7 +123,7 @@ namespace accessibility ); protected: - virtual ~EditBrowseBoxTableCellAccess(); + virtual ~EditBrowseBoxTableCellAccess() override; // XAccessible virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/accessibility/inc/extended/accessibleiconchoicectrl.hxx b/accessibility/inc/extended/accessibleiconchoicectrl.hxx index 837ee7f7d033..feb66df68ed2 100644 --- a/accessibility/inc/extended/accessibleiconchoicectrl.hxx +++ b/accessibility/inc/extended/accessibleiconchoicectrl.hxx @@ -44,7 +44,7 @@ namespace accessibility css::uno::Reference< css::accessibility::XAccessible > m_xParent; protected: - virtual ~AccessibleIconChoiceCtrl(); + virtual ~AccessibleIconChoiceCtrl() override; /** this function is called upon disposing the component */ virtual void SAL_CALL disposing() override; diff --git a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx index b900acfdcaa3..680aade8a4ed 100644 --- a/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx +++ b/accessibility/inc/extended/accessibleiconchoicectrlentry.hxx @@ -87,7 +87,7 @@ namespace accessibility void EnsureIsAlive() const throw ( css::lang::DisposedException ); protected: - virtual ~AccessibleIconChoiceCtrlEntry(); + virtual ~AccessibleIconChoiceCtrlEntry() override; /** this function is called upon disposing the component */ virtual void SAL_CALL disposing() override; diff --git a/accessibility/inc/extended/accessiblelistbox.hxx b/accessibility/inc/extended/accessiblelistbox.hxx index fbdc250493f5..d51458ec25c5 100644 --- a/accessibility/inc/extended/accessiblelistbox.hxx +++ b/accessibility/inc/extended/accessiblelistbox.hxx @@ -50,7 +50,7 @@ namespace accessibility css::uno::Reference< css::accessibility::XAccessible > m_xParent; protected: - virtual ~AccessibleListBox(); + virtual ~AccessibleListBox() override; // OComponentHelper overridables /** this function is called upon disposing the component */ diff --git a/accessibility/inc/extended/accessiblelistboxentry.hxx b/accessibility/inc/extended/accessiblelistboxentry.hxx index a58ce0e7d1db..447324a6174a 100644 --- a/accessibility/inc/extended/accessiblelistboxentry.hxx +++ b/accessibility/inc/extended/accessiblelistboxentry.hxx @@ -105,7 +105,7 @@ namespace accessibility void NotifyAccessibleEvent( sal_Int16 _nEventId, const css::uno::Any& _aOldValue, const css::uno::Any& _aNewValue ); protected: - virtual ~AccessibleListBoxEntry(); + virtual ~AccessibleListBoxEntry() override; /** this function is called upon disposing the component */ diff --git a/accessibility/inc/extended/accessibletabbar.hxx b/accessibility/inc/extended/accessibletabbar.hxx index b248839f78e4..6415a46844aa 100644 --- a/accessibility/inc/extended/accessibletabbar.hxx +++ b/accessibility/inc/extended/accessibletabbar.hxx @@ -63,7 +63,7 @@ namespace accessibility public: AccessibleTabBar( TabBar* pTabBar ); - virtual ~AccessibleTabBar(); + virtual ~AccessibleTabBar() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/extended/accessibletabbarbase.hxx b/accessibility/inc/extended/accessibletabbarbase.hxx index 2c2d738cbc9b..d0d9b6de0d5f 100644 --- a/accessibility/inc/extended/accessibletabbarbase.hxx +++ b/accessibility/inc/extended/accessibletabbarbase.hxx @@ -37,7 +37,7 @@ class AccessibleTabBarBase : public comphelper::OAccessibleExtendedComponentHelp { public: explicit AccessibleTabBarBase( TabBar* pTabBar ); - virtual ~AccessibleTabBarBase(); + virtual ~AccessibleTabBarBase() override; protected: DECL_LINK_TYPED( WindowEventListener, VclWindowEvent&, void ); diff --git a/accessibility/inc/extended/accessibletabbarpage.hxx b/accessibility/inc/extended/accessibletabbarpage.hxx index 795aebca002e..04239d6fa0c8 100644 --- a/accessibility/inc/extended/accessibletabbarpage.hxx +++ b/accessibility/inc/extended/accessibletabbarpage.hxx @@ -79,7 +79,7 @@ namespace accessibility public: AccessibleTabBarPage( TabBar* pTabBar, sal_uInt16 nPageId, const css::uno::Reference< css::accessibility::XAccessible >& rxParent ); - virtual ~AccessibleTabBarPage(); + virtual ~AccessibleTabBarPage() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/extended/accessibletabbarpagelist.hxx b/accessibility/inc/extended/accessibletabbarpagelist.hxx index e46d73f6bb0c..f473fe9adfd2 100644 --- a/accessibility/inc/extended/accessibletabbarpagelist.hxx +++ b/accessibility/inc/extended/accessibletabbarpagelist.hxx @@ -74,7 +74,7 @@ namespace accessibility public: AccessibleTabBarPageList( TabBar* pTabBar, sal_Int32 nIndexInParent ); - virtual ~AccessibleTabBarPageList(); + virtual ~AccessibleTabBarPageList() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/extended/accessibletablistbox.hxx b/accessibility/inc/extended/accessibletablistbox.hxx index b17209933252..9673b8675884 100644 --- a/accessibility/inc/extended/accessibletablistbox.hxx +++ b/accessibility/inc/extended/accessibletablistbox.hxx @@ -88,7 +88,7 @@ public: protected: /** dtor() */ - virtual ~AccessibleTabListBox(); + virtual ~AccessibleTabListBox() override; /** This method creates and returns an accessible table. @return An AccessibleBrowseBoxTable. */ diff --git a/accessibility/inc/extended/accessibletablistboxtable.hxx b/accessibility/inc/extended/accessibletablistboxtable.hxx index feb9aad59635..6f27b4efdc9e 100644 --- a/accessibility/inc/extended/accessibletablistboxtable.hxx +++ b/accessibility/inc/extended/accessibletablistboxtable.hxx @@ -77,7 +77,7 @@ public: protected: /** dtor() */ - virtual ~AccessibleTabListBoxTable(); + virtual ~AccessibleTabListBoxTable() override; public: // XInterface diff --git a/accessibility/inc/standard/accessiblemenubasecomponent.hxx b/accessibility/inc/standard/accessiblemenubasecomponent.hxx index 9b01b6002c6d..ace8ad33717f 100644 --- a/accessibility/inc/standard/accessiblemenubasecomponent.hxx +++ b/accessibility/inc/standard/accessiblemenubasecomponent.hxx @@ -121,7 +121,7 @@ protected: public: OAccessibleMenuBaseComponent( Menu* pMenu ); - virtual ~OAccessibleMenuBaseComponent(); + virtual ~OAccessibleMenuBaseComponent() override; void SetStates(); diff --git a/accessibility/inc/standard/accessiblemenucomponent.hxx b/accessibility/inc/standard/accessiblemenucomponent.hxx index eb570e07a827..de067b850357 100644 --- a/accessibility/inc/standard/accessiblemenucomponent.hxx +++ b/accessibility/inc/standard/accessiblemenucomponent.hxx @@ -44,7 +44,7 @@ protected: public: OAccessibleMenuComponent( Menu* pMenu ); - virtual ~OAccessibleMenuComponent(); + virtual ~OAccessibleMenuComponent() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/accessiblemenuitemcomponent.hxx b/accessibility/inc/standard/accessiblemenuitemcomponent.hxx index 8abeb8ab3cc2..acb6452faa09 100644 --- a/accessibility/inc/standard/accessiblemenuitemcomponent.hxx +++ b/accessibility/inc/standard/accessiblemenuitemcomponent.hxx @@ -60,7 +60,7 @@ protected: public: OAccessibleMenuItemComponent( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu ); - virtual ~OAccessibleMenuItemComponent(); + virtual ~OAccessibleMenuItemComponent() override; // XAccessibleContext virtual sal_Int32 SAL_CALL getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/accessibility/inc/standard/vclxaccessiblebox.hxx b/accessibility/inc/standard/vclxaccessiblebox.hxx index 8936202b94fe..a4fbce5b5eb7 100644 --- a/accessibility/inc/standard/vclxaccessiblebox.hxx +++ b/accessibility/inc/standard/vclxaccessiblebox.hxx @@ -157,7 +157,7 @@ protected: */ bool m_bHasListChild; - virtual ~VCLXAccessibleBox(); + virtual ~VCLXAccessibleBox() override; /** Returns true when the object is valid. */ diff --git a/accessibility/inc/standard/vclxaccessiblebutton.hxx b/accessibility/inc/standard/vclxaccessiblebutton.hxx index e5f4a1280cf7..2a61a4e3b762 100644 --- a/accessibility/inc/standard/vclxaccessiblebutton.hxx +++ b/accessibility/inc/standard/vclxaccessiblebutton.hxx @@ -39,7 +39,7 @@ class VCLXAccessibleButton : public VCLXAccessibleTextComponent, public VCLXAccessibleButton_BASE { protected: - virtual ~VCLXAccessibleButton(); + virtual ~VCLXAccessibleButton() override; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; diff --git a/accessibility/inc/standard/vclxaccessiblecheckbox.hxx b/accessibility/inc/standard/vclxaccessiblecheckbox.hxx index ca406a2480f4..218d8a21e9b4 100644 --- a/accessibility/inc/standard/vclxaccessiblecheckbox.hxx +++ b/accessibility/inc/standard/vclxaccessiblecheckbox.hxx @@ -43,7 +43,7 @@ private: bool m_bIndeterminate; protected: - virtual ~VCLXAccessibleCheckBox(); + virtual ~VCLXAccessibleCheckBox() override; bool IsChecked(); bool IsIndeterminate(); diff --git a/accessibility/inc/standard/vclxaccessiblecombobox.hxx b/accessibility/inc/standard/vclxaccessiblecombobox.hxx index 0aaf6e67df5a..2f64a22c827d 100644 --- a/accessibility/inc/standard/vclxaccessiblecombobox.hxx +++ b/accessibility/inc/standard/vclxaccessiblecombobox.hxx @@ -46,7 +46,7 @@ public: throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~VCLXAccessibleComboBox(); + virtual ~VCLXAccessibleComboBox() override; virtual bool IsValid() const override; }; diff --git a/accessibility/inc/standard/vclxaccessibledropdowncombobox.hxx b/accessibility/inc/standard/vclxaccessibledropdowncombobox.hxx index e6ae12834aa6..1368ba119540 100644 --- a/accessibility/inc/standard/vclxaccessibledropdowncombobox.hxx +++ b/accessibility/inc/standard/vclxaccessibledropdowncombobox.hxx @@ -45,7 +45,7 @@ public: throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~VCLXAccessibleDropDownComboBox(); + virtual ~VCLXAccessibleDropDownComboBox() override; virtual bool IsValid() const override; virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override; diff --git a/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx b/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx index 1d5a311244e7..b9a10722998f 100644 --- a/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx +++ b/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx @@ -44,7 +44,7 @@ public: throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~VCLXAccessibleDropDownListBox(); + virtual ~VCLXAccessibleDropDownListBox() override; virtual bool IsValid() const override; diff --git a/accessibility/inc/standard/vclxaccessibleedit.hxx b/accessibility/inc/standard/vclxaccessibleedit.hxx index 429588f1bb78..a9045839fed6 100644 --- a/accessibility/inc/standard/vclxaccessibleedit.hxx +++ b/accessibility/inc/standard/vclxaccessibleedit.hxx @@ -44,7 +44,7 @@ private: sal_Int32 m_nCaretPosition; protected: - virtual ~VCLXAccessibleEdit(); + virtual ~VCLXAccessibleEdit() override; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; diff --git a/accessibility/inc/standard/vclxaccessiblefixedhyperlink.hxx b/accessibility/inc/standard/vclxaccessiblefixedhyperlink.hxx index 246988d26775..420f7e814c28 100644 --- a/accessibility/inc/standard/vclxaccessiblefixedhyperlink.hxx +++ b/accessibility/inc/standard/vclxaccessiblefixedhyperlink.hxx @@ -29,7 +29,7 @@ class VCLXAccessibleFixedHyperlink : public VCLXAccessibleTextComponent { protected: - virtual ~VCLXAccessibleFixedHyperlink(); + virtual ~VCLXAccessibleFixedHyperlink() override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; virtual void implGetLineBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nIndex ) override; diff --git a/accessibility/inc/standard/vclxaccessiblefixedtext.hxx b/accessibility/inc/standard/vclxaccessiblefixedtext.hxx index c5a52e9d430d..d1fc6b9187fc 100644 --- a/accessibility/inc/standard/vclxaccessiblefixedtext.hxx +++ b/accessibility/inc/standard/vclxaccessiblefixedtext.hxx @@ -29,7 +29,7 @@ class VCLXAccessibleFixedText : public VCLXAccessibleTextComponent { protected: - virtual ~VCLXAccessibleFixedText(); + virtual ~VCLXAccessibleFixedText() override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; virtual void implGetLineBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nIndex ) override; diff --git a/accessibility/inc/standard/vclxaccessiblelist.hxx b/accessibility/inc/standard/vclxaccessiblelist.hxx index 7476f8603fd3..9b20b0b04d54 100644 --- a/accessibility/inc/standard/vclxaccessiblelist.hxx +++ b/accessibility/inc/standard/vclxaccessiblelist.hxx @@ -150,7 +150,7 @@ protected: sal_Int32 m_nCurSelectedPos; - virtual ~VCLXAccessibleList(); + virtual ~VCLXAccessibleList() override; /** This function is called from the implementation helper during a XComponent::dispose call. Free the list of items and the items themselves. diff --git a/accessibility/inc/standard/vclxaccessiblelistbox.hxx b/accessibility/inc/standard/vclxaccessiblelistbox.hxx index caf3dbbcf57b..0ef7a3ed7e08 100644 --- a/accessibility/inc/standard/vclxaccessiblelistbox.hxx +++ b/accessibility/inc/standard/vclxaccessiblelistbox.hxx @@ -45,7 +45,7 @@ public: throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~VCLXAccessibleListBox(); + virtual ~VCLXAccessibleListBox() override; virtual bool IsValid() const override; }; diff --git a/accessibility/inc/standard/vclxaccessiblelistitem.hxx b/accessibility/inc/standard/vclxaccessiblelistitem.hxx index 0e19c3c665a4..ca74da899671 100644 --- a/accessibility/inc/standard/vclxaccessiblelistitem.hxx +++ b/accessibility/inc/standard/vclxaccessiblelistitem.hxx @@ -75,7 +75,7 @@ protected: css::uno::Reference< css::accessibility::XAccessibleContext > m_xParentContext; protected: - virtual ~VCLXAccessibleListItem(); + virtual ~VCLXAccessibleListItem() override; /** this function is called upon disposing the component */ virtual void SAL_CALL disposing() override; diff --git a/accessibility/inc/standard/vclxaccessiblemenu.hxx b/accessibility/inc/standard/vclxaccessiblemenu.hxx index 98ba4ec19eac..27cd4149c771 100644 --- a/accessibility/inc/standard/vclxaccessiblemenu.hxx +++ b/accessibility/inc/standard/vclxaccessiblemenu.hxx @@ -41,7 +41,7 @@ protected: public: VCLXAccessibleMenu( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu ); - virtual ~VCLXAccessibleMenu(); + virtual ~VCLXAccessibleMenu() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessiblemenubar.hxx b/accessibility/inc/standard/vclxaccessiblemenubar.hxx index 9ea5c585ae28..530640103507 100644 --- a/accessibility/inc/standard/vclxaccessiblemenubar.hxx +++ b/accessibility/inc/standard/vclxaccessiblemenubar.hxx @@ -47,7 +47,7 @@ protected: public: VCLXAccessibleMenuBar( Menu* pMenu ); - virtual ~VCLXAccessibleMenuBar(); + virtual ~VCLXAccessibleMenuBar() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; diff --git a/accessibility/inc/standard/vclxaccessiblemenuitem.hxx b/accessibility/inc/standard/vclxaccessiblemenuitem.hxx index df2249ab6d22..ecb39a44d92e 100644 --- a/accessibility/inc/standard/vclxaccessiblemenuitem.hxx +++ b/accessibility/inc/standard/vclxaccessiblemenuitem.hxx @@ -57,7 +57,7 @@ protected: public: VCLXAccessibleMenuItem( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu = nullptr ); - virtual ~VCLXAccessibleMenuItem(); + virtual ~VCLXAccessibleMenuItem() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessiblemenuseparator.hxx b/accessibility/inc/standard/vclxaccessiblemenuseparator.hxx index 065740cc2691..556e461172a5 100644 --- a/accessibility/inc/standard/vclxaccessiblemenuseparator.hxx +++ b/accessibility/inc/standard/vclxaccessiblemenuseparator.hxx @@ -30,7 +30,7 @@ class VCLXAccessibleMenuSeparator : public OAccessibleMenuItemComponent { public: VCLXAccessibleMenuSeparator( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu = nullptr ); - virtual ~VCLXAccessibleMenuSeparator(); + virtual ~VCLXAccessibleMenuSeparator() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; diff --git a/accessibility/inc/standard/vclxaccessiblepopupmenu.hxx b/accessibility/inc/standard/vclxaccessiblepopupmenu.hxx index bae088140c0a..112ea3dbb5c7 100644 --- a/accessibility/inc/standard/vclxaccessiblepopupmenu.hxx +++ b/accessibility/inc/standard/vclxaccessiblepopupmenu.hxx @@ -33,7 +33,7 @@ protected: public: VCLXAccessiblePopupMenu( Menu* pMenu ); - virtual ~VCLXAccessiblePopupMenu(); + virtual ~VCLXAccessiblePopupMenu() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; diff --git a/accessibility/inc/standard/vclxaccessibleradiobutton.hxx b/accessibility/inc/standard/vclxaccessibleradiobutton.hxx index 8a13c7eb116a..1d36eb87efbf 100644 --- a/accessibility/inc/standard/vclxaccessibleradiobutton.hxx +++ b/accessibility/inc/standard/vclxaccessibleradiobutton.hxx @@ -39,7 +39,7 @@ class VCLXAccessibleRadioButton : public VCLXAccessibleTextComponent, public VCLXAccessibleRadioButton_BASE { protected: - virtual ~VCLXAccessibleRadioButton(); + virtual ~VCLXAccessibleRadioButton() override; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) override; diff --git a/accessibility/inc/standard/vclxaccessiblescrollbar.hxx b/accessibility/inc/standard/vclxaccessiblescrollbar.hxx index 40f51cceaa45..bd9ba54d5f8a 100644 --- a/accessibility/inc/standard/vclxaccessiblescrollbar.hxx +++ b/accessibility/inc/standard/vclxaccessiblescrollbar.hxx @@ -39,7 +39,7 @@ class VCLXAccessibleScrollBar : public VCLXAccessibleComponent, public VCLXAccessibleScrollBar_BASE { protected: - virtual ~VCLXAccessibleScrollBar(); + virtual ~VCLXAccessibleScrollBar() override; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; diff --git a/accessibility/inc/standard/vclxaccessiblestatusbar.hxx b/accessibility/inc/standard/vclxaccessiblestatusbar.hxx index 24fd96e8ad58..467b7d191192 100644 --- a/accessibility/inc/standard/vclxaccessiblestatusbar.hxx +++ b/accessibility/inc/standard/vclxaccessiblestatusbar.hxx @@ -54,7 +54,7 @@ protected: public: VCLXAccessibleStatusBar( VCLXWindow* pVCLXWindow ); - virtual ~VCLXAccessibleStatusBar(); + virtual ~VCLXAccessibleStatusBar() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; diff --git a/accessibility/inc/standard/vclxaccessiblestatusbaritem.hxx b/accessibility/inc/standard/vclxaccessiblestatusbaritem.hxx index fb919df30207..6bd8a3961ad7 100644 --- a/accessibility/inc/standard/vclxaccessiblestatusbaritem.hxx +++ b/accessibility/inc/standard/vclxaccessiblestatusbaritem.hxx @@ -80,7 +80,7 @@ protected: public: VCLXAccessibleStatusBarItem( StatusBar* pStatusBar, sal_uInt16 nItemId ); - virtual ~VCLXAccessibleStatusBarItem(); + virtual ~VCLXAccessibleStatusBarItem() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessibletabcontrol.hxx b/accessibility/inc/standard/vclxaccessibletabcontrol.hxx index d024176132f4..faa3c684f32e 100644 --- a/accessibility/inc/standard/vclxaccessibletabcontrol.hxx +++ b/accessibility/inc/standard/vclxaccessibletabcontrol.hxx @@ -62,7 +62,7 @@ protected: public: VCLXAccessibleTabControl( VCLXWindow* pVCLXWindow ); - virtual ~VCLXAccessibleTabControl(); + virtual ~VCLXAccessibleTabControl() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessibletabpage.hxx b/accessibility/inc/standard/vclxaccessibletabpage.hxx index 4ea0d272a2cb..1232259cef93 100644 --- a/accessibility/inc/standard/vclxaccessibletabpage.hxx +++ b/accessibility/inc/standard/vclxaccessibletabpage.hxx @@ -85,7 +85,7 @@ protected: public: VCLXAccessibleTabPage( TabControl* pTabControl, sal_uInt16 nPageId ); - virtual ~VCLXAccessibleTabPage(); + virtual ~VCLXAccessibleTabPage() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessibletabpagewindow.hxx b/accessibility/inc/standard/vclxaccessibletabpagewindow.hxx index b485f081173f..d7e7388e9976 100644 --- a/accessibility/inc/standard/vclxaccessibletabpagewindow.hxx +++ b/accessibility/inc/standard/vclxaccessibletabpagewindow.hxx @@ -47,7 +47,7 @@ protected: public: VCLXAccessibleTabPageWindow( VCLXWindow* pVCLXWindow ); - virtual ~VCLXAccessibleTabPageWindow(); + virtual ~VCLXAccessibleTabPageWindow() override; // XAccessibleContext virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/accessibility/inc/standard/vclxaccessibletextcomponent.hxx b/accessibility/inc/standard/vclxaccessibletextcomponent.hxx index 24cc9c34a3cb..5eba648cdde1 100644 --- a/accessibility/inc/standard/vclxaccessibletextcomponent.hxx +++ b/accessibility/inc/standard/vclxaccessibletextcomponent.hxx @@ -51,7 +51,7 @@ protected: public: VCLXAccessibleTextComponent( VCLXWindow* pVCLXWindow ); - virtual ~VCLXAccessibleTextComponent(); + virtual ~VCLXAccessibleTextComponent() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessibletextfield.hxx b/accessibility/inc/standard/vclxaccessibletextfield.hxx index d71b7c275e96..7d57a7c2cd4e 100644 --- a/accessibility/inc/standard/vclxaccessibletextfield.hxx +++ b/accessibility/inc/standard/vclxaccessibletextfield.hxx @@ -73,7 +73,7 @@ public: throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~VCLXAccessibleTextField(); + virtual ~VCLXAccessibleTextField() override; /** With this method the text of the currently selected item is made available to the VCLXAccessibleTextComponent base class. diff --git a/accessibility/inc/standard/vclxaccessibletoolbox.hxx b/accessibility/inc/standard/vclxaccessibletoolbox.hxx index 63dfa107829a..368de4326402 100644 --- a/accessibility/inc/standard/vclxaccessibletoolbox.hxx +++ b/accessibility/inc/standard/vclxaccessibletoolbox.hxx @@ -54,7 +54,7 @@ private: void ReleaseSubToolBox( ToolBox* _pSubToolBox ); protected: - virtual ~VCLXAccessibleToolBox(); + virtual ~VCLXAccessibleToolBox() override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; diff --git a/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx b/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx index 3411640637c7..ba97b30abc18 100644 --- a/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx +++ b/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx @@ -63,7 +63,7 @@ public: inline void setIndexInParent( sal_Int32 _nNewIndex ) { m_nIndexInParent = _nNewIndex; } protected: - virtual ~VCLXAccessibleToolBoxItem(); + virtual ~VCLXAccessibleToolBoxItem() override; virtual void SAL_CALL disposing() override; diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx index f4c8597445c4..a147cb962735 100644 --- a/accessibility/source/helper/acc_factory.cxx +++ b/accessibility/source/helper/acc_factory.cxx @@ -201,7 +201,7 @@ public: ) const override; protected: - virtual ~AccessibleFactory(); + virtual ~AccessibleFactory() override; }; AccessibleFactory::AccessibleFactory() diff --git a/accessibility/source/inc/floatingwindowaccessible.hxx b/accessibility/source/inc/floatingwindowaccessible.hxx index b2dfb1424cec..5c33323cd234 100644 --- a/accessibility/source/inc/floatingwindowaccessible.hxx +++ b/accessibility/source/inc/floatingwindowaccessible.hxx @@ -26,7 +26,7 @@ class FloatingWindowAccessible : public VCLXAccessibleComponent { public: FloatingWindowAccessible( VCLXWindow* pWindow ); - virtual ~FloatingWindowAccessible(); + virtual ~FloatingWindowAccessible() override; virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) override; }; diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx index 604b7e231a4c..16deb207a782 100644 --- a/animations/source/animcore/animcore.cxx +++ b/animations/source/animcore/animcore.cxx @@ -129,7 +129,7 @@ class AnimationNode : public AnimationNodeBase public: explicit AnimationNode(sal_Int16 nNodeType); explicit AnimationNode(const AnimationNode& rNode); - virtual ~AnimationNode(); + virtual ~AnimationNode() override; // XInterface virtual Any SAL_CALL queryInterface( const Type& aType ) throw (RuntimeException, std::exception) override; @@ -352,7 +352,7 @@ class TimeContainerEnumeration : public ::cppu::WeakImplHelper< XEnumeration > { public: explicit TimeContainerEnumeration( const ChildList_t &rChildren ); - virtual ~TimeContainerEnumeration(); + virtual ~TimeContainerEnumeration() override; // Methods virtual sal_Bool SAL_CALL hasMoreElements() throw (RuntimeException, std::exception) override; diff --git a/avmedia/inc/mediacontrol.hxx b/avmedia/inc/mediacontrol.hxx index 851af3622f73..de0cde0c32b4 100644 --- a/avmedia/inc/mediacontrol.hxx +++ b/avmedia/inc/mediacontrol.hxx @@ -45,7 +45,7 @@ class MediaControl : public Control, public MediaControlBase public: MediaControl( vcl::Window* pParent, MediaControlStyle eControlStyle ); - virtual ~MediaControl(); + virtual ~MediaControl() override; virtual void dispose() override; const Size& getMinSizePixel() const; diff --git a/avmedia/source/framework/soundhandler.hxx b/avmedia/source/framework/soundhandler.hxx index 19bbe97cad59..b9f041445c22 100644 --- a/avmedia/source/framework/soundhandler.hxx +++ b/avmedia/source/framework/soundhandler.hxx @@ -74,7 +74,7 @@ class SoundHandler : // interfaces // constructor / destructor SoundHandler(); - virtual ~SoundHandler( ); + virtual ~SoundHandler( ) override; // XInterface, XTypeProvider, XServiceInfo virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw( css::uno::RuntimeException, std::exception ) override; diff --git a/avmedia/source/gstreamer/gstframegrabber.hxx b/avmedia/source/gstreamer/gstframegrabber.hxx index 0d2f89dd8069..51c9d6b39619 100644 --- a/avmedia/source/gstreamer/gstframegrabber.hxx +++ b/avmedia/source/gstreamer/gstframegrabber.hxx @@ -42,7 +42,7 @@ public: // static create method instead of public Ctor static FrameGrabber* create( const OUString &rURL ); - virtual ~FrameGrabber(); + virtual ~FrameGrabber() override; // XFrameGrabber virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL grabFrame( double fMediaTime ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/avmedia/source/gstreamer/gstmanager.hxx b/avmedia/source/gstreamer/gstmanager.hxx index 48a07f645f90..d415559f41b5 100644 --- a/avmedia/source/gstreamer/gstmanager.hxx +++ b/avmedia/source/gstreamer/gstmanager.hxx @@ -32,7 +32,7 @@ class Manager : public ::cppu::WeakImplHelper< css::media::XManager, public: explicit Manager(); - virtual ~Manager(); + virtual ~Manager() override; // XManager virtual css::uno::Reference< css::media::XPlayer > SAL_CALL createPlayer( const OUString& aURL ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/avmedia/source/gstreamer/gstplayer.hxx b/avmedia/source/gstreamer/gstplayer.hxx index 4bf2f8edfef0..3a61eba88625 100644 --- a/avmedia/source/gstreamer/gstplayer.hxx +++ b/avmedia/source/gstreamer/gstplayer.hxx @@ -45,7 +45,7 @@ class Player : public ::cppu::BaseMutex, public: explicit Player(); - virtual ~Player(); + virtual ~Player() override; void preparePlaybin( const OUString& rURL, GstElement *pSink ); bool create( const OUString& rURL ); diff --git a/avmedia/source/gstreamer/gstwindow.hxx b/avmedia/source/gstreamer/gstwindow.hxx index 9246a4497165..da090a8df1f0 100644 --- a/avmedia/source/gstreamer/gstwindow.hxx +++ b/avmedia/source/gstreamer/gstwindow.hxx @@ -36,7 +36,7 @@ class Window : public ::cppu::WeakImplHelper< css::media::XPlayerWindow, public: explicit Window(); - virtual ~Window(); + virtual ~Window() override; // XPlayerWindow virtual void SAL_CALL update( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/avmedia/source/opengl/oglframegrabber.hxx b/avmedia/source/opengl/oglframegrabber.hxx index 664e1ad16065..1c3799f616de 100644 --- a/avmedia/source/opengl/oglframegrabber.hxx +++ b/avmedia/source/opengl/oglframegrabber.hxx @@ -26,7 +26,7 @@ class OGLFrameGrabber : public FrameGrabber_BASE public: explicit OGLFrameGrabber( libgltf::glTFHandle& rHandle ); - virtual ~OGLFrameGrabber(); + virtual ~OGLFrameGrabber() override; // XFrameGrabber virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL grabFrame( double fMediaTime ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/avmedia/source/opengl/oglmanager.hxx b/avmedia/source/opengl/oglmanager.hxx index 2f7fb05b68d2..d6f147304e12 100644 --- a/avmedia/source/opengl/oglmanager.hxx +++ b/avmedia/source/opengl/oglmanager.hxx @@ -22,7 +22,7 @@ class OGLManager : public ::cppu::WeakImplHelper< css::media::XManager, css::lan public: explicit OGLManager(); - virtual ~OGLManager(); + virtual ~OGLManager() override; // XManager virtual css::uno::Reference< css::media::XPlayer > SAL_CALL createPlayer( const OUString& rURL ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/avmedia/source/opengl/oglplayer.hxx b/avmedia/source/opengl/oglplayer.hxx index 0e82d87aef9f..8a43fc7e28c3 100644 --- a/avmedia/source/opengl/oglplayer.hxx +++ b/avmedia/source/opengl/oglplayer.hxx @@ -34,7 +34,7 @@ class OGLPlayer : public cppu::BaseMutex, public: OGLPlayer(); - virtual ~OGLPlayer(); + virtual ~OGLPlayer() override; bool create( const OUString& rURL ); void releaseInputFiles(); diff --git a/avmedia/source/opengl/oglwindow.hxx b/avmedia/source/opengl/oglwindow.hxx index f93903776534..c6bd9cd857b1 100644 --- a/avmedia/source/opengl/oglwindow.hxx +++ b/avmedia/source/opengl/oglwindow.hxx @@ -28,7 +28,7 @@ class OGLWindow : public ::cppu::WeakImplHelper< css::media::XPlayerWindow, css: { public: OGLWindow( libgltf::glTFHandle& rHandle, const rtl::Reference<OpenGLContext> & rContext, vcl::Window& rEventHandlerParent ); - virtual ~OGLWindow(); + virtual ~OGLWindow() override; virtual void SAL_CALL update() throw (css::uno::RuntimeException, std::exception) override; virtual sal_Bool SAL_CALL setZoomLevel( css::media::ZoomLevel ZoomLevel ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/avmedia/source/viewer/mediaevent_impl.hxx b/avmedia/source/viewer/mediaevent_impl.hxx index 468176c1fdfc..e73e2968882c 100644 --- a/avmedia/source/viewer/mediaevent_impl.hxx +++ b/avmedia/source/viewer/mediaevent_impl.hxx @@ -43,7 +43,7 @@ namespace avmedia public: explicit MediaEventListenersImpl( vcl::Window& rNotifyWindow ); - virtual ~MediaEventListenersImpl(); + virtual ~MediaEventListenersImpl() override; void cleanUp(); diff --git a/avmedia/source/viewer/mediawindow_impl.hxx b/avmedia/source/viewer/mediawindow_impl.hxx index 43fba4e17e4c..543807123d33 100644 --- a/avmedia/source/viewer/mediawindow_impl.hxx +++ b/avmedia/source/viewer/mediawindow_impl.hxx @@ -79,7 +79,7 @@ class MediaWindowImpl : public Control, public DropTargetHelper, public DragSour { public: MediaWindowImpl(vcl::Window* parent, MediaWindow* pMediaWindow, bool bInternalMediaControl); - virtual ~MediaWindowImpl(); + virtual ~MediaWindowImpl() override; virtual void dispose() override; diff --git a/avmedia/source/vlc/vlcmanager.hxx b/avmedia/source/vlc/vlcmanager.hxx index a9d087d3cd7b..cbc6f5ed1cac 100644 --- a/avmedia/source/vlc/vlcmanager.hxx +++ b/avmedia/source/vlc/vlcmanager.hxx @@ -35,7 +35,7 @@ class Manager : public ::cppu::WeakImplHelper< css::media::XManager, wrapper::EventHandler mEventHandler; public: explicit Manager( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxMgr ); - virtual ~Manager(); + virtual ~Manager() override; css::uno::Reference< css::media::XPlayer > SAL_CALL createPlayer( const rtl::OUString& aURL ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/avmedia/source/vlc/vlcwindow.hxx b/avmedia/source/vlc/vlcwindow.hxx index 70f4c81b045a..2fc3991874e9 100644 --- a/avmedia/source/vlc/vlcwindow.hxx +++ b/avmedia/source/vlc/vlcwindow.hxx @@ -35,7 +35,7 @@ class VLCWindow : public ::cppu::WeakImplHelper< css::media::XPlayerWindow, css::awt::Rectangle mSize; public: VLCWindow( VLCPlayer& player, const intptr_t prevWinID ); - virtual ~VLCWindow(); + virtual ~VLCWindow() override; void SAL_CALL update() throw (css::uno::RuntimeException, std::exception) override; sal_Bool SAL_CALL setZoomLevel( css::media::ZoomLevel ZoomLevel ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/basctl/source/basicide/basdoc.hxx b/basctl/source/basicide/basdoc.hxx index c31404fc2f01..9a2d42dd566f 100644 --- a/basctl/source/basicide/basdoc.hxx +++ b/basctl/source/basicide/basdoc.hxx @@ -56,7 +56,7 @@ private: public: DocShell(); - virtual ~DocShell(); + virtual ~DocShell() override; SfxPrinter* GetPrinter( bool bCreate ); void SetPrinter( SfxPrinter* pPrinter ); diff --git a/basctl/source/basicide/basicbox.hxx b/basctl/source/basicide/basicbox.hxx index 63d91317dada..260c774956c1 100644 --- a/basctl/source/basicide/basicbox.hxx +++ b/basctl/source/basicide/basicbox.hxx @@ -47,7 +47,7 @@ class DocListenerBox :public ListBox { protected: DocListenerBox( vcl::Window* pParent ); - virtual ~DocListenerBox(); + virtual ~DocListenerBox() override; virtual void dispose() override; protected: @@ -92,7 +92,7 @@ protected: public: LibBox( vcl::Window* pParent ); - virtual ~LibBox(); + virtual ~LibBox() override; virtual void dispose() override; using Window::Update; @@ -131,7 +131,7 @@ protected: public: LanguageBox( vcl::Window* pParent ); - virtual ~LanguageBox(); + virtual ~LanguageBox() override; virtual void dispose() override; using Window::Update; diff --git a/basctl/source/basicide/basicrenderable.hxx b/basctl/source/basicide/basicrenderable.hxx index 5698ccc945d6..c2bfce9fde94 100644 --- a/basctl/source/basicide/basicrenderable.hxx +++ b/basctl/source/basicide/basicrenderable.hxx @@ -39,7 +39,7 @@ class Renderable : VclPtr<Printer> getPrinter(); public: explicit Renderable (BaseWindow*); - virtual ~Renderable(); + virtual ~Renderable() override; // XRenderable virtual sal_Int32 SAL_CALL getRendererCount ( diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 8a04886495c3..4ad9d08bae2f 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -135,7 +135,7 @@ protected: public: EditorWindow (vcl::Window* pParent, ModulWindow*); - virtual ~EditorWindow(); + virtual ~EditorWindow() override; virtual void dispose() override; ExtTextEngine* GetEditEngine() const { return pEditEngine.get(); } @@ -209,7 +209,7 @@ protected: public: WatchTreeListBox( vcl::Window* pParent, WinBits nWinBits ); - virtual ~WatchTreeListBox(); + virtual ~WatchTreeListBox() override; virtual void dispose() override; void RequestingChildren( SvTreeListEntry * pParent ) override; @@ -241,7 +241,7 @@ protected: public: explicit WatchWindow (Layout* pParent); - virtual ~WatchWindow(); + virtual ~WatchWindow() override; virtual void dispose() override; void AddWatch( const OUString& rVName ); @@ -262,7 +262,7 @@ protected: public: explicit StackWindow (Layout* pParent); - virtual ~StackWindow(); + virtual ~StackWindow() override; virtual void dispose() override; void UpdateCalls(); @@ -285,7 +285,7 @@ protected: public: explicit ComplexEditorWindow( ModulWindow* pParent ); - virtual ~ComplexEditorWindow(); + virtual ~ComplexEditorWindow() override; virtual void dispose() override; BreakPointWindow& GetBrkWindow() { return *aBrkWindow.get(); } LineNumberWindow& GetLineNumberWindow() { return *aLineNumberWindow.get(); } @@ -325,7 +325,7 @@ protected: public: ModulWindow( ModulWindowLayout* pParent, const ScriptDocument& rDocument, const OUString& aLibName, const OUString& aName, OUString& aModule ); - virtual ~ModulWindow(); + virtual ~ModulWindow() override; virtual void dispose() override; virtual void ExecuteCommand (SfxRequest& rReq) override; @@ -417,7 +417,7 @@ class ModulWindowLayout: public Layout { public: ModulWindowLayout (vcl::Window* pParent, ObjectCatalog&); - virtual ~ModulWindowLayout(); + virtual ~ModulWindowLayout() override; virtual void dispose() override; public: // Layout: @@ -451,7 +451,7 @@ private: { public: SyntaxColors (); - virtual ~SyntaxColors (); + virtual ~SyntaxColors () override; public: void SetActiveEditor (EditorWindow* pEditor_) { pEditor = pEditor_; } void SettingsChanged (); @@ -490,7 +490,7 @@ private: public: explicit CodeCompleteListBox( CodeCompleteWindow* pPar ); - virtual ~CodeCompleteListBox(); + virtual ~CodeCompleteListBox() override; virtual void dispose() override; void InsertSelectedEntry(); //insert the selected entry @@ -513,7 +513,7 @@ private: public: explicit CodeCompleteWindow( EditorWindow* pPar ); - virtual ~CodeCompleteWindow(); + virtual ~CodeCompleteWindow() override; virtual void dispose() override; void InsertEntry( const OUString& aStr ); diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index d16fb3576633..b4beb58f36c3 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -182,7 +182,7 @@ public: explicit ChangesListener(EditorWindow & editor): editor_(editor) {} private: - virtual ~ChangesListener() {} + virtual ~ChangesListener() override {} virtual void SAL_CALL disposing(lang::EventObject const &) throw (RuntimeException, std::exception) override { diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 66c7be6c17db..e48d820e8f57 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -71,7 +71,7 @@ public: { } - virtual ~ContainerListenerImpl() + virtual ~ContainerListenerImpl() override { } diff --git a/basctl/source/basicide/brkdlg.hxx b/basctl/source/basicide/brkdlg.hxx index 3a0eccf2b963..a3b0715f5f72 100644 --- a/basctl/source/basicide/brkdlg.hxx +++ b/basctl/source/basicide/brkdlg.hxx @@ -53,7 +53,7 @@ protected: public: BreakPointDialog( vcl::Window* pParent, BreakPointList& rBrkList ); - virtual ~BreakPointDialog(); + virtual ~BreakPointDialog() override; virtual void dispose() override; void SetCurrentBreakPoint( BreakPoint* pBrk ); diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx index 872cb64e05b9..3b4f345138d4 100644 --- a/basctl/source/basicide/doceventnotifier.cxx +++ b/basctl/source/basicide/doceventnotifier.cxx @@ -70,7 +70,7 @@ namespace basctl Impl& operator=(const Impl&) = delete; Impl (DocumentEventListener&, Reference<XModel> const& rxDocument); - virtual ~Impl (); + virtual ~Impl () override; // XDocumentEventListener virtual void SAL_CALL documentEventOccured( const DocumentEvent& Event ) throw (RuntimeException, std::exception) override; diff --git a/basctl/source/basicide/linenumberwindow.hxx b/basctl/source/basicide/linenumberwindow.hxx index 0e7673c5a1e4..df90c20af65c 100644 --- a/basctl/source/basicide/linenumberwindow.hxx +++ b/basctl/source/basicide/linenumberwindow.hxx @@ -30,7 +30,7 @@ protected: public: LineNumberWindow (vcl::Window* pParent, ModulWindow* pModulWin); - virtual ~LineNumberWindow(); + virtual ~LineNumberWindow() override; virtual void dispose() override; void DoScroll( long nVertScroll ); diff --git a/basctl/source/basicide/macrodlg.hxx b/basctl/source/basicide/macrodlg.hxx index 7b446fedf320..28c3f9cb2028 100644 --- a/basctl/source/basicide/macrodlg.hxx +++ b/basctl/source/basicide/macrodlg.hxx @@ -86,7 +86,7 @@ private: public: MacroChooser( vcl::Window* pParent, bool bCreateEntries = true ); - virtual ~MacroChooser(); + virtual ~MacroChooser() override; virtual void dispose() override; SbMethod* GetMacro(); diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx index 238bcaa48210..074871fc503d 100644 --- a/basctl/source/basicide/moduldlg.hxx +++ b/basctl/source/basicide/moduldlg.hxx @@ -54,7 +54,7 @@ private: DECL_LINK_TYPED(OkButtonHandler, Button*, void); public: NewObjectDialog (vcl::Window* pParent, ObjectMode::Mode, bool bCheckName = false); - virtual ~NewObjectDialog(); + virtual ~NewObjectDialog() override; virtual void dispose() override; OUString GetObjectName() const { return m_pEdit->GetText(); } void SetObjectName( const OUString& rName ) @@ -71,7 +71,7 @@ class GotoLineDialog : public ModalDialog DECL_LINK_TYPED(OkButtonHandler, Button*, void); public: explicit GotoLineDialog(vcl::Window * pParent); - virtual ~GotoLineDialog(); + virtual ~GotoLineDialog() override; virtual void dispose() override; sal_Int32 GetLineNumber() const; }; @@ -88,7 +88,7 @@ private: public: explicit ExportDialog( vcl::Window * pParent ); - virtual ~ExportDialog(); + virtual ~ExportDialog() override; virtual void dispose() override; bool isExportAsPackage () const { return mbExportAsPackage; } @@ -125,7 +125,7 @@ private: public: CheckBox(vcl::Window* pParent, WinBits nStyle); - virtual ~CheckBox(); + virtual ~CheckBox() override; virtual void dispose() override; SvTreeListEntry* DoInsertEntry( const OUString& rStr, sal_uLong nPos = LISTBOX_APPEND ); @@ -153,7 +153,7 @@ private: public: explicit LibDialog(vcl::Window* pParent); - virtual ~LibDialog(); + virtual ~LibDialog() override; virtual void dispose() override; void SetStorageName( const OUString& rName ); @@ -173,7 +173,7 @@ private: public: OrganizeDialog( vcl::Window* pParent, sal_Int16 tabId, EntryDescriptor& rDesc ); - virtual ~OrganizeDialog(); + virtual ~OrganizeDialog() override; virtual void dispose() override; virtual short Execute() override; @@ -206,7 +206,7 @@ protected: public: ObjectPage(vcl::Window* pParent, const OString& rName, sal_uInt16 nMode); - virtual ~ObjectPage(); + virtual ~ObjectPage() override; virtual void dispose() override; void SetCurrentEntry( EntryDescriptor& rDesc ); @@ -254,7 +254,7 @@ protected: public: explicit LibPage(vcl::Window* pParent); - virtual ~LibPage(); + virtual ~LibPage() override; virtual void dispose() override; void SetTabDlg( TabDialog* p ) { pTabDlg = p;} diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index b66f2646f7c1..17d928d5c0b2 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -185,7 +185,7 @@ namespace basctl public: Impl (); explicit Impl(Reference<XModel> const& rxDocument); - virtual ~Impl(); + virtual ~Impl() override; /** determines whether the instance refers to a valid "document" with script and dialog libraries diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx index 15afdf7abd59..bb64ca0a9b52 100644 --- a/basctl/source/basicide/unomodel.hxx +++ b/basctl/source/basicide/unomodel.hxx @@ -31,7 +31,7 @@ class SIDEModel : public SfxBaseModel, static void notImplemented() throw ( css::io::IOException ); public: explicit SIDEModel(SfxObjectShell *pObjSh = nullptr); - virtual ~SIDEModel(); + virtual ~SIDEModel() override; //XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/basctl/source/inc/accessibledialogcontrolshape.hxx b/basctl/source/inc/accessibledialogcontrolshape.hxx index a4cbfdd6e369..3571bd2692d0 100644 --- a/basctl/source/inc/accessibledialogcontrolshape.hxx +++ b/basctl/source/inc/accessibledialogcontrolshape.hxx @@ -86,7 +86,7 @@ protected: public: AccessibleDialogControlShape (DialogWindow*, DlgEdObj*); - virtual ~AccessibleDialogControlShape(); + virtual ~AccessibleDialogControlShape() override; // XInterface DECLARE_XINTERFACE() diff --git a/basctl/source/inc/accessibledialogwindow.hxx b/basctl/source/inc/accessibledialogwindow.hxx index dfa5996d09b9..714b96fbd277 100644 --- a/basctl/source/inc/accessibledialogwindow.hxx +++ b/basctl/source/inc/accessibledialogwindow.hxx @@ -108,7 +108,7 @@ protected: public: AccessibleDialogWindow (basctl::DialogWindow*); - virtual ~AccessibleDialogWindow(); + virtual ~AccessibleDialogWindow() override; // SfxListener virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; diff --git a/basctl/source/inc/baside3.hxx b/basctl/source/inc/baside3.hxx index a7cd5585739c..5c9fea0defac 100644 --- a/basctl/source/inc/baside3.hxx +++ b/basctl/source/inc/baside3.hxx @@ -126,7 +126,7 @@ class DialogWindowLayout : public Layout { public: DialogWindowLayout (vcl::Window* pParent, ObjectCatalog&); - virtual ~DialogWindowLayout(); + virtual ~DialogWindowLayout() override; virtual void dispose() override; public: void ShowPropertyBrowser (); diff --git a/basctl/source/inc/basidectrlr.hxx b/basctl/source/inc/basidectrlr.hxx index 01e15d5a884e..61f474fc9d7e 100644 --- a/basctl/source/inc/basidectrlr.hxx +++ b/basctl/source/inc/basidectrlr.hxx @@ -42,7 +42,7 @@ private: public: Controller (Shell* pViewShell); - virtual ~Controller(); + virtual ~Controller() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index 43bbd9430dfc..763ca12982f0 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -151,7 +151,7 @@ private: public: Shell( SfxViewFrame *pFrame, SfxViewShell *pOldSh ); - virtual ~Shell(); + virtual ~Shell() override; BaseWindow* GetCurWindow() const { return pCurWin; } ScriptDocument const& GetCurDocument() const { return m_aCurDocument; } diff --git a/basctl/source/inc/bastype2.hxx b/basctl/source/inc/bastype2.hxx index fd092f24b82a..e2892219a78c 100644 --- a/basctl/source/inc/bastype2.hxx +++ b/basctl/source/inc/bastype2.hxx @@ -87,7 +87,7 @@ public: LibraryLocation eLocation, EntryType eType = OBJ_TYPE_DOCUMENT ); - virtual ~DocumentEntry (); + virtual ~DocumentEntry () override; ScriptDocument const& GetDocument() const { return m_aDocument; } LibraryLocation GetLocation() const { return m_eLocation; } @@ -105,7 +105,7 @@ public: OUString const& rLibName, EntryType eType = OBJ_TYPE_LIBRARY ); - virtual ~LibEntry (); + virtual ~LibEntry () override; OUString const& GetLibName () const { return m_aLibName; } }; @@ -206,7 +206,7 @@ protected: public: TreeListBox(vcl::Window* pParent, const ResId& rRes); TreeListBox(vcl::Window* pParent, WinBits nStyle); - virtual ~TreeListBox(); + virtual ~TreeListBox() override; virtual void dispose() override; void ScanEntry( const ScriptDocument& rDocument, LibraryLocation eLocation ); diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx index 98cc41740280..8c668c344532 100644 --- a/basctl/source/inc/bastypes.hxx +++ b/basctl/source/inc/bastypes.hxx @@ -81,7 +81,7 @@ class DockingWindow : public ::DockingWindow public: DockingWindow (vcl::Window* pParent); DockingWindow (Layout* pParent); - virtual ~DockingWindow(); + virtual ~DockingWindow() override; virtual void dispose() override; void ResizeIfDocking (Point const&, Size const&); void ResizeIfDocking (Size const&); @@ -168,7 +168,7 @@ protected: public: BaseWindow( vcl::Window* pParent, const ScriptDocument& rDocument, const OUString& aLibName, const OUString& aName ); - virtual ~BaseWindow(); + virtual ~BaseWindow() override; virtual void dispose() override; void Init(); diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx index 1fba5834641d..191d92910018 100644 --- a/basctl/source/inc/dlged.hxx +++ b/basctl/source/inc/dlged.hxx @@ -74,7 +74,7 @@ private: public: DlgEdHint (Kind); DlgEdHint (Kind, DlgEdObj* pObj); - virtual ~DlgEdHint(); + virtual ~DlgEdHint() override; Kind GetKind() const { return eKind; } DlgEdObj* GetObject() const { return pDlgEdObj; } @@ -139,7 +139,7 @@ public: css::uno::Reference<css::frame::XModel> const& xModel, css::uno::Reference<css::container::XNameContainer> const & xDialogModel ); - virtual ~DlgEditor(); + virtual ~DlgEditor() override; vcl::Window& GetWindow() const { return rWindow; } diff --git a/basctl/source/inc/dlgedclip.hxx b/basctl/source/inc/dlgedclip.hxx index 2ab8422ab31b..30f24ada0ac5 100644 --- a/basctl/source/inc/dlgedclip.hxx +++ b/basctl/source/inc/dlgedclip.hxx @@ -39,7 +39,7 @@ protected: public: DlgEdTransferableImpl( const css::uno::Sequence< css::datatransfer::DataFlavor >& aSeqFlavors, const css::uno::Sequence< css::uno::Any >& aSeqData ); - virtual ~DlgEdTransferableImpl(); + virtual ~DlgEdTransferableImpl() override; // XTransferable virtual css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& rFlavor ) throw(css::datatransfer::UnsupportedFlavorException, css::io::IOException, css::uno::RuntimeException, std::exception) override; diff --git a/basctl/source/inc/dlgedfunc.hxx b/basctl/source/inc/dlgedfunc.hxx index a675288a2bfe..7f198457ca7e 100644 --- a/basctl/source/inc/dlgedfunc.hxx +++ b/basctl/source/inc/dlgedfunc.hxx @@ -56,7 +56,7 @@ class DlgEdFuncInsert : public DlgEdFunc { public: explicit DlgEdFuncInsert (DlgEditor& rParent); - virtual ~DlgEdFuncInsert (); + virtual ~DlgEdFuncInsert () override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual bool MouseButtonUp( const MouseEvent& rMEvt ) override; @@ -74,7 +74,7 @@ protected: public: explicit DlgEdFuncSelect (DlgEditor& rParent); - virtual ~DlgEdFuncSelect (); + virtual ~DlgEdFuncSelect () override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual bool MouseButtonUp( const MouseEvent& rMEvt ) override; diff --git a/basctl/source/inc/dlgedlist.hxx b/basctl/source/inc/dlgedlist.hxx index a6ed50c8cfcd..e803e852df60 100644 --- a/basctl/source/inc/dlgedlist.hxx +++ b/basctl/source/inc/dlgedlist.hxx @@ -42,7 +42,7 @@ private: public: explicit DlgEdPropListenerImpl (DlgEdObj&); - virtual ~DlgEdPropListenerImpl(); + virtual ~DlgEdPropListenerImpl() override; // XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override; @@ -65,7 +65,7 @@ private: public: explicit DlgEdEvtContListenerImpl (DlgEdObj&); - virtual ~DlgEdEvtContListenerImpl(); + virtual ~DlgEdEvtContListenerImpl() override; // XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/basctl/source/inc/dlgedmod.hxx b/basctl/source/inc/dlgedmod.hxx index d3a82d2e2b68..0a99c6b8f030 100644 --- a/basctl/source/inc/dlgedmod.hxx +++ b/basctl/source/inc/dlgedmod.hxx @@ -40,7 +40,7 @@ private: public: DlgEdModel(); - virtual ~DlgEdModel(); + virtual ~DlgEdModel() override; virtual SdrPage* AllocPage(bool bMasterPage) override; }; diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx index 2fe4ca0b9247..1d7ccb767c79 100644 --- a/basctl/source/inc/dlgedobj.hxx +++ b/basctl/source/inc/dlgedobj.hxx @@ -87,7 +87,7 @@ protected: public: - virtual ~DlgEdObj(); + virtual ~DlgEdObj() override; virtual void SetPage(SdrPage* pNewPage) override; void SetDlgEdForm( DlgEdForm* pForm ) { pDlgEdForm = pForm; } @@ -156,7 +156,7 @@ protected: public: - virtual ~DlgEdForm(); + virtual ~DlgEdForm() override; DlgEditor& GetDlgEditor () const { return rDlgEditor; } diff --git a/basctl/source/inc/dlgedpage.hxx b/basctl/source/inc/dlgedpage.hxx index 1d2e4672521a..dadd89604d3c 100644 --- a/basctl/source/inc/dlgedpage.hxx +++ b/basctl/source/inc/dlgedpage.hxx @@ -42,7 +42,7 @@ private: public: explicit DlgEdPage( DlgEdModel& rModel, bool bMasterPage = false ); - virtual ~DlgEdPage(); + virtual ~DlgEdPage() override; virtual SdrPage* Clone() const override; virtual SdrPage* Clone( SdrModel* pNewModel ) const override; diff --git a/basctl/source/inc/dlgedview.hxx b/basctl/source/inc/dlgedview.hxx index 72ecc3c52e65..1440e0903a33 100644 --- a/basctl/source/inc/dlgedview.hxx +++ b/basctl/source/inc/dlgedview.hxx @@ -40,7 +40,7 @@ private: public: DlgEdView (SdrModel& rModel, OutputDevice& rOut, DlgEditor& rEditor); - virtual ~DlgEdView(); + virtual ~DlgEdView() override; virtual void MarkListHasChanged() override; virtual void MakeVisible( const Rectangle& rRect, vcl::Window& rWin ) override; diff --git a/basctl/source/inc/layout.hxx b/basctl/source/inc/layout.hxx index 0d1c573c1dbb..71e642d32b39 100644 --- a/basctl/source/inc/layout.hxx +++ b/basctl/source/inc/layout.hxx @@ -51,7 +51,7 @@ public: virtual void GetState (SfxItemSet&, unsigned nWhich) = 0; virtual void UpdateDebug (bool bBasicStopped ) = 0; - virtual ~Layout(); + virtual ~Layout() override; virtual void dispose() override; protected: diff --git a/basctl/source/inc/managelang.hxx b/basctl/source/inc/managelang.hxx index baf7c4f4f091..3ccc75742fb2 100644 --- a/basctl/source/inc/managelang.hxx +++ b/basctl/source/inc/managelang.hxx @@ -70,7 +70,7 @@ private: public: ManageLanguageDialog( vcl::Window* pParent, std::shared_ptr<LocalizationMgr> const & _pLMgr ); - virtual ~ManageLanguageDialog(); + virtual ~ManageLanguageDialog() override; virtual void dispose() override; }; @@ -90,7 +90,7 @@ private: public: SetDefaultLanguageDialog(vcl::Window* pParent, std::shared_ptr<LocalizationMgr> const & xLMgr); - virtual ~SetDefaultLanguageDialog(); + virtual ~SetDefaultLanguageDialog() override; virtual void dispose() override; css::uno::Sequence< css::lang::Locale > GetLocales() const; diff --git a/basctl/source/inc/objdlg.hxx b/basctl/source/inc/objdlg.hxx index 3263f777b463..670cb52ec5d2 100644 --- a/basctl/source/inc/objdlg.hxx +++ b/basctl/source/inc/objdlg.hxx @@ -36,7 +36,7 @@ class ObjectCatalog : public DockingWindow { public: explicit ObjectCatalog(vcl::Window* pParent); - virtual ~ObjectCatalog(); + virtual ~ObjectCatalog() override; virtual void dispose() override; public: void UpdateEntries () { aTree->UpdateEntries(); } diff --git a/basctl/source/inc/propbrw.hxx b/basctl/source/inc/propbrw.hxx index d215e91374ce..9e585b3b2dcd 100644 --- a/basctl/source/inc/propbrw.hxx +++ b/basctl/source/inc/propbrw.hxx @@ -72,7 +72,7 @@ protected: public: explicit PropBrw (DialogWindowLayout&); - virtual ~PropBrw(); + virtual ~PropBrw() override; virtual void dispose() override; using Window::Update; // note: changing the Context document to an instance other than the one given in the ctor is not supported diff --git a/basic/inc/sbobjmod.hxx b/basic/inc/sbobjmod.hxx index 8d79bddcd842..58504c621dd9 100644 --- a/basic/inc/sbobjmod.hxx +++ b/basic/inc/sbobjmod.hxx @@ -34,7 +34,7 @@ class BASIC_DLLPUBLIC SbObjModule : public SbModule { protected: - virtual ~SbObjModule(); + virtual ~SbObjModule() override; public: SbObjModule( const OUString& rName, const css::script::ModuleInfo& mInfo, bool bIsVbaCompatible ); @@ -61,7 +61,7 @@ class BASIC_DLLPUBLIC SbUserFormModule : public SbObjModule void InitObject(); public: SbUserFormModule( const OUString& rName, const css::script::ModuleInfo& mInfo, bool bIsVBACompat ); - virtual ~SbUserFormModule(); + virtual ~SbUserFormModule() override; virtual SbxVariable* Find( const OUString& rName, SbxClassType t ) override; void ResetApiObj( bool bTriggerTerminateEvent = true ); void Unload(); diff --git a/basic/inc/sbprop.hxx b/basic/inc/sbprop.hxx index 2d4418068fd5..236a34e671f9 100644 --- a/basic/inc/sbprop.hxx +++ b/basic/inc/sbprop.hxx @@ -33,7 +33,7 @@ class BASIC_DLLPUBLIC SbProperty : public SbxProperty friend class SbProcedureProperty; SbModule* pMod; BASIC_DLLPRIVATE SbProperty( const OUString&, SbxDataType, SbModule* ); - virtual ~SbProperty(); + virtual ~SbProperty() override; public: SBX_DECL_PERSIST_NODATA(SBXID_BASICPROP,1); SbModule* GetModule() { return pMod; } @@ -45,7 +45,7 @@ class BASIC_DLLPUBLIC SbProcedureProperty : public SbxProperty { bool mbSet; // Flag for set command - virtual ~SbProcedureProperty(); + virtual ~SbProcedureProperty() override; public: SbProcedureProperty( const OUString& r, SbxDataType t ) diff --git a/basic/inc/sbstdobj.hxx b/basic/inc/sbstdobj.hxx index cd420ac32e29..b0840a84a3a6 100644 --- a/basic/inc/sbstdobj.hxx +++ b/basic/inc/sbstdobj.hxx @@ -40,7 +40,7 @@ class BASIC_DLLPUBLIC SbStdPicture : public SbxObject protected: Graphic aGraphic; - virtual ~SbStdPicture(); + virtual ~SbStdPicture() override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; void PropType( SbxVariable* pVar, SbxArray* pPar, bool bWrite ); @@ -66,7 +66,7 @@ protected: sal_uInt16 nSize; OUString aName; - virtual ~SbStdFont(); + virtual ~SbStdFont() override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; void PropBold( SbxVariable* pVar, SbxArray* pPar, bool bWrite ); @@ -99,7 +99,7 @@ class BASIC_DLLPUBLIC SbStdClipboard : public SbxObject { protected: - virtual ~SbStdClipboard(); + virtual ~SbStdClipboard() override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; static void MethClear( SbxVariable* pVar, SbxArray* pPar_, bool bWrite ); diff --git a/basic/qa/cppunit/basic_coverage.cxx b/basic/qa/cppunit/basic_coverage.cxx index 39a8ebc5ba2b..34f6ae3e729b 100644 --- a/basic/qa/cppunit/basic_coverage.cxx +++ b/basic/qa/cppunit/basic_coverage.cxx @@ -30,7 +30,7 @@ private: public: Coverage(); - virtual ~Coverage(); + virtual ~Coverage() override; void Coverage_Iterator(); diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx index ee0d6dc1ec3b..7673f85e1e29 100644 --- a/basic/qa/cppunit/test_vba.cxx +++ b/basic/qa/cppunit/test_vba.cxx @@ -25,7 +25,7 @@ namespace { public: VBATest() : BootstrapFixture(true, false) {} - virtual ~VBATest(){} + virtual ~VBATest() override {} void testMiscVBAFunctions(); void testMiscOLEStuff(); // Adds code needed to register the test suite diff --git a/basic/source/classes/errobject.cxx b/basic/source/classes/errobject.cxx index 45421d50600c..23914649a187 100644 --- a/basic/source/classes/errobject.cxx +++ b/basic/source/classes/errobject.cxx @@ -38,7 +38,7 @@ class ErrObject : public ::cppu::WeakImplHelper< vba::XErrObject, public: ErrObject(); - virtual ~ErrObject(); + virtual ~ErrObject() override; // Attributes virtual ::sal_Int32 SAL_CALL getNumber() throw (uno::RuntimeException, std::exception) override; virtual void SAL_CALL setNumber( ::sal_Int32 _number ) throw (uno::RuntimeException, std::exception) override; diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 676fc80d408b..1696e66eebf4 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -67,7 +67,7 @@ class DocBasicItem : public ::cppu::WeakImplHelper< util::XCloseListener > { public: explicit DocBasicItem( StarBASIC& rDocBasic ); - virtual ~DocBasicItem(); + virtual ~DocBasicItem() override; inline const SbxObjectRef& getClassModules() const { return mxClassModules; } inline bool isDocClosed() const { return mbDocClosed; } diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 313756153e94..198f14eb9420 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -3834,7 +3834,7 @@ public: OUString aPrefixName; explicit BasicAllListener_Impl( const OUString& aPrefixName ); - virtual ~BasicAllListener_Impl(); + virtual ~BasicAllListener_Impl() override; // Methods of XAllListener virtual void SAL_CALL firing(const AllEventObject& Event) throw ( RuntimeException, std::exception ) override; @@ -4259,7 +4259,7 @@ class ModuleInvocationProxy : public WeakImplHelper< XInvocation, XComponent > public: ModuleInvocationProxy( const OUString& aPrefix, SbxObjectRef xScopeObj ); - virtual ~ModuleInvocationProxy() + virtual ~ModuleInvocationProxy() override {} // XInvocation diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 76ab1aa44761..0082d9f15d1b 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -99,7 +99,7 @@ class DocObjectWrapper : public DocObjectWrapper_BASE public: explicit DocObjectWrapper( SbModule* pMod ); - virtual ~DocObjectWrapper(); + virtual ~DocObjectWrapper() override; virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() throw() override; @@ -2284,7 +2284,7 @@ public: } } - virtual ~FormObjEventListenerImpl() + virtual ~FormObjEventListenerImpl() override { removeListener(); } diff --git a/basic/source/inc/errobject.hxx b/basic/source/inc/errobject.hxx index 796b83102269..427f2f1b8715 100644 --- a/basic/source/inc/errobject.hxx +++ b/basic/source/inc/errobject.hxx @@ -29,7 +29,7 @@ class SbxErrObject : public SbUnoObject css::uno::Reference< ooo::vba::XErrObject > m_xErr; SbxErrObject( const OUString& aName_, const css::uno::Any& aUnoObj_ ); - virtual ~SbxErrObject(); + virtual ~SbxErrObject() override; public: static SbxVariableRef const & getErrObject(); diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx index 0a342c33ab41..a09639f82179 100644 --- a/basic/source/inc/namecont.hxx +++ b/basic/source/inc/namecont.hxx @@ -371,7 +371,7 @@ private: public: SfxLibraryContainer(); - virtual ~SfxLibraryContainer(); + virtual ~SfxLibraryContainer() override; // Interface to set the BasicManager (Hack for password implementation) diff --git a/basic/source/inc/propacc.hxx b/basic/source/inc/propacc.hxx index 10c0547f8e4b..1488625498bb 100644 --- a/basic/source/inc/propacc.hxx +++ b/basic/source/inc/propacc.hxx @@ -44,7 +44,7 @@ private: public: SbPropertyValues(); - virtual ~SbPropertyValues(); + virtual ~SbPropertyValues() override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL diff --git a/basic/source/inc/sbintern.hxx b/basic/source/inc/sbintern.hxx index a95a27fdbbab..55d6dd1af5ca 100644 --- a/basic/source/inc/sbintern.hxx +++ b/basic/source/inc/sbintern.hxx @@ -67,7 +67,7 @@ class BASIC_DLLPUBLIC SbClassFactory : public SbxFactory public: SbClassFactory(); - virtual ~SbClassFactory(); + virtual ~SbClassFactory() override; void AddClassModule( SbModule* pClassModule ); void RemoveClassModule( SbModule* pClassModule ); diff --git a/basic/source/inc/sbjsmeth.hxx b/basic/source/inc/sbjsmeth.hxx index c33f47dcd46b..0c7ce3432b51 100644 --- a/basic/source/inc/sbjsmeth.hxx +++ b/basic/source/inc/sbjsmeth.hxx @@ -31,7 +31,7 @@ class SbJScriptMethod : public SbMethod { public: SbJScriptMethod( const OUString&, SbxDataType, SbModule* ); - virtual ~SbJScriptMethod(); + virtual ~SbJScriptMethod() override; SBX_DECL_PERSIST_NODATA(SBXID_JSCRIPTMETH,2); }; diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx index 25775b4e48d4..e1d64f4b6739 100644 --- a/basic/source/inc/sbunoobj.hxx +++ b/basic/source/inc/sbunoobj.hxx @@ -84,7 +84,7 @@ public: StructRefInfo getStructMember( const OUString& rMember ); const StructRefInfo& getStructInfo() { return maMemberInfo; } SbUnoStructRefObject( const OUString& aName_, const StructRefInfo& rMemberInfo ); - virtual ~SbUnoStructRefObject(); + virtual ~SbUnoStructRefObject() override; // override Find to support e. g. NameAccess virtual SbxVariable* Find( const OUString&, SbxClassType ) override; @@ -119,7 +119,7 @@ class SbUnoObject: public SbxObject public: static bool getDefaultPropName( SbUnoObject* pUnoObj, OUString& sDfltProp ); SbUnoObject( const OUString& aName_, const css::uno::Any& aUnoObj_ ); - virtual ~SbUnoObject(); + virtual ~SbUnoObject() override; // #76470 do introspection on demand void doIntrospection(); @@ -166,7 +166,7 @@ public: SbUnoMethod( const OUString& aName_, SbxDataType eSbxType, css::uno::Reference< css::reflection::XIdlMethod > const & xUnoMethod_, bool bInvocation ); - virtual ~SbUnoMethod(); + virtual ~SbUnoMethod() override; virtual SbxInfo* GetInfo() override; const css::uno::Sequence< css::reflection::ParamInfo >& getParamInfos(); @@ -186,7 +186,7 @@ class SbUnoProperty : public SbxProperty bool mbInvocation; // Property is based on invocation SbxDataType mRealType; - virtual ~SbUnoProperty(); + virtual ~SbUnoProperty() override; bool mbUnoStruct; SbUnoProperty( const SbUnoProperty&) = delete; SbUnoProperty& operator = ( const SbUnoProperty&) = delete; @@ -273,7 +273,7 @@ class SbUnoServiceCtor : public SbxMethod public: SbUnoServiceCtor( const OUString& aName_, css::uno::Reference< css::reflection::XServiceConstructorDescription > const & xServiceCtorDesc ); - virtual ~SbUnoServiceCtor(); + virtual ~SbUnoServiceCtor() override; virtual SbxInfo* GetInfo() override; const css::uno::Reference< css::reflection::XServiceConstructorDescription >& getServiceCtorDesc() @@ -353,7 +353,7 @@ class BasicCollection : public SbxObject static SbxInfoRef xItemInfo; void Initialize(); - virtual ~BasicCollection(); + virtual ~BasicCollection() override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; sal_Int32 implGetIndex( SbxVariable* pIndexVar ); sal_Int32 implGetIndexForName( const OUString& rName ); diff --git a/basic/source/inc/stdobj.hxx b/basic/source/inc/stdobj.hxx index 0d6293f84e4c..12eb8dc31234 100644 --- a/basic/source/inc/stdobj.hxx +++ b/basic/source/inc/stdobj.hxx @@ -29,7 +29,7 @@ class SbiStdObject : public SbxObject { SbStdFactory* pStdFactory; - virtual ~SbiStdObject(); + virtual ~SbiStdObject() override; using SbxVariable::GetInfo; static SbxInfo* GetInfo( short ); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx index 1fff808467cb..f1ba8d0028f3 100644 --- a/basic/source/inc/symtbl.hxx +++ b/basic/source/inc/symtbl.hxx @@ -173,7 +173,7 @@ class SbiProcDef : public SbiSymDef { // procedure definition (from basic): bool mbProcDecl : 1; // true: instantiated by SbiParser::ProcDecl public: SbiProcDef( SbiParser*, const OUString&, bool bProcDecl=false ); - virtual ~SbiProcDef(); + virtual ~SbiProcDef() override; virtual SbiProcDef* GetProcDef() override; virtual void SetType( SbxDataType ) override; SbiSymPool& GetParams() { return aParams; } @@ -209,7 +209,7 @@ class SbiConstDef : public SbiSymDef OUString aVal; public: SbiConstDef( const OUString& ); - virtual ~SbiConstDef(); + virtual ~SbiConstDef() override; virtual SbiConstDef* GetConstDef() override; void Set( double, SbxDataType ); void Set( const OUString& ); diff --git a/basic/source/runtime/inputbox.cxx b/basic/source/runtime/inputbox.cxx index 07084e4a798b..b0a4655e8a0e 100644 --- a/basic/source/runtime/inputbox.cxx +++ b/basic/source/runtime/inputbox.cxx @@ -46,7 +46,7 @@ class SvRTLInputBox : public ModalDialog public: SvRTLInputBox( vcl::Window* pParent, const OUString& rPrompt, const OUString& rTitle, const OUString& rDefault, long nXTwips = -1, long nYTwips = -1 ); - virtual ~SvRTLInputBox() { disposeOnce(); } + virtual ~SvRTLInputBox() override { disposeOnce(); } virtual void dispose() override; OUString GetText() const override { return aText; } }; diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index c6c1390ea87c..fa68d4d4f4d7 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -70,7 +70,7 @@ class SbiInputDialog : public ModalDialog { DECL_LINK_TYPED( Cancel, Button *, void ); public: SbiInputDialog( vcl::Window*, const OUString& ); - virtual ~SbiInputDialog() { disposeOnce(); } + virtual ~SbiInputDialog() override { disposeOnce(); } virtual void dispose() override; const OUString& GetInput() { return aText; } }; @@ -212,7 +212,7 @@ class OslStream : public SvStream public: OslStream( const OUString& rName, StreamMode nStrmMode ); - virtual ~OslStream(); + virtual ~OslStream() override; virtual sal_Size GetData( void* pData, sal_Size nSize ) override; virtual sal_Size PutData( const void* pData, sal_Size nSize ) override; virtual sal_uInt64 SeekPos( sal_uInt64 nPos ) override; @@ -308,7 +308,7 @@ class UCBStream : public SvStream public: explicit UCBStream( Reference< XInputStream > & xIS ); explicit UCBStream( Reference< XStream > & xS ); - virtual ~UCBStream(); + virtual ~UCBStream() override; virtual sal_Size GetData( void* pData, sal_Size nSize ) override; virtual sal_Size PutData( const void* pData, sal_Size nSize ) override; virtual sal_uInt64 SeekPos( sal_uInt64 nPos ) override; diff --git a/binaryurp/source/bridge.hxx b/binaryurp/source/bridge.hxx index 7c148756704d..517b69b81552 100644 --- a/binaryurp/source/bridge.hxx +++ b/binaryurp/source/bridge.hxx @@ -172,7 +172,7 @@ private: Bridge(const Bridge&) = delete; Bridge& operator=(const Bridge&) = delete; - virtual ~Bridge(); + virtual ~Bridge() override; virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL getInstance(OUString const & sInstanceName) diff --git a/binaryurp/source/bridgefactory.hxx b/binaryurp/source/bridgefactory.hxx index ad96b85417eb..f1cc4bb88460 100644 --- a/binaryurp/source/bridgefactory.hxx +++ b/binaryurp/source/bridgefactory.hxx @@ -82,7 +82,7 @@ private: com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > const & context); - virtual ~BridgeFactory(); + virtual ~BridgeFactory() override; virtual OUString SAL_CALL getImplementationName() throw (com::sun::star::uno::RuntimeException, std::exception) override; diff --git a/binaryurp/source/reader.hxx b/binaryurp/source/reader.hxx index 8dd4822a6cad..c4a7355ed7dd 100644 --- a/binaryurp/source/reader.hxx +++ b/binaryurp/source/reader.hxx @@ -43,7 +43,7 @@ public: explicit Reader(rtl::Reference< Bridge > const & bridge); private: - virtual ~Reader(); + virtual ~Reader() override; virtual void execute() override; diff --git a/binaryurp/source/writer.hxx b/binaryurp/source/writer.hxx index bd08181d8860..d5f7e3d3a36a 100644 --- a/binaryurp/source/writer.hxx +++ b/binaryurp/source/writer.hxx @@ -81,7 +81,7 @@ public: void stop(); private: - virtual ~Writer(); + virtual ~Writer() override; virtual void execute() override; diff --git a/bridges/source/jni_uno/jni_info.h b/bridges/source/jni_uno/jni_info.h index b53cc659f2fb..eea1f562e009 100644 --- a/bridges/source/jni_uno/jni_info.h +++ b/bridges/source/jni_uno/jni_info.h @@ -89,7 +89,7 @@ struct JNI_interface_type_info : public JNI_type_info JNI_context const & jni, typelib_TypeDescription * td ); private: - virtual ~JNI_interface_type_info() {} + virtual ~JNI_interface_type_info() override {} }; struct JNI_compound_type_info : public JNI_type_info @@ -105,7 +105,7 @@ struct JNI_compound_type_info : public JNI_type_info JNI_context const & jni, typelib_TypeDescription * td ); private: - virtual ~JNI_compound_type_info() {} + virtual ~JNI_compound_type_info() override {} }; struct JNI_type_info_holder diff --git a/canvas/source/cairo/cairo_canvas.hxx b/canvas/source/cairo/cairo_canvas.hxx index 920b37a2ebad..588b13e2d4cc 100644 --- a/canvas/source/cairo/cairo_canvas.hxx +++ b/canvas/source/cairo/cairo_canvas.hxx @@ -111,7 +111,7 @@ namespace cairocanvas void initialize(); /// For resource tracking - virtual ~Canvas(); + virtual ~Canvas() override; /// Dispose all internal references virtual void disposeThis() override; diff --git a/canvas/source/cairo/cairo_textlayout.hxx b/canvas/source/cairo/cairo_textlayout.hxx index 1e4eafacf018..e39ce77457f0 100644 --- a/canvas/source/cairo/cairo_textlayout.hxx +++ b/canvas/source/cairo/cairo_textlayout.hxx @@ -94,7 +94,7 @@ namespace cairocanvas const css::rendering::RenderState& renderState ) const; protected: - virtual ~TextLayout(); // we're a ref-counted UNO class. _We_ destroy ourselves. + virtual ~TextLayout() override; // we're a ref-counted UNO class. _We_ destroy ourselves. private: css::rendering::StringContext maText; diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx index e617bbffd0ab..a174adaae6ee 100644 --- a/canvas/source/factory/cf_service.cxx +++ b/canvas/source/factory/cf_service.cxx @@ -85,7 +85,7 @@ class CanvasFactory Reference<XComponentContext> const & xContext ) const; public: - virtual ~CanvasFactory(); + virtual ~CanvasFactory() override; explicit CanvasFactory( Reference<XComponentContext> const & xContext ); // XServiceInfo diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx index f602777233ed..0ccf5b7df17f 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.cxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx @@ -551,7 +551,7 @@ namespace oglcanvas mnDepthId, mnTextureId, false); } - virtual ~BufferContextImpl() + virtual ~BufferContextImpl() override { glDeleteTextures(1, &mnTextureId); glDeleteRenderbuffers(1, &mnDepthId); diff --git a/canvas/source/vcl/backbuffer.hxx b/canvas/source/vcl/backbuffer.hxx index 7042798ed88f..926b25a8fe96 100644 --- a/canvas/source/vcl/backbuffer.hxx +++ b/canvas/source/vcl/backbuffer.hxx @@ -42,7 +42,7 @@ namespace vclcanvas */ BackBuffer( const OutputDevice& rRefDevice, bool bMonochromeBuffer=false ); - virtual ~BackBuffer(); + virtual ~BackBuffer() override; virtual OutputDevice& getOutDev() override; virtual const OutputDevice& getOutDev() const override; diff --git a/canvas/source/vcl/bitmapbackbuffer.hxx b/canvas/source/vcl/bitmapbackbuffer.hxx index 84b6a38f3aa9..6f147b79756c 100644 --- a/canvas/source/vcl/bitmapbackbuffer.hxx +++ b/canvas/source/vcl/bitmapbackbuffer.hxx @@ -44,7 +44,7 @@ namespace vclcanvas BitmapBackBuffer( const BitmapEx& rBitmap, const OutputDevice& rRefDevice ); - virtual ~BitmapBackBuffer(); + virtual ~BitmapBackBuffer() override; virtual OutputDevice& getOutDev() override; virtual const OutputDevice& getOutDev() const override; diff --git a/canvas/source/vcl/canvas.hxx b/canvas/source/vcl/canvas.hxx index 638866b9ee1e..d4ae09097002 100644 --- a/canvas/source/vcl/canvas.hxx +++ b/canvas/source/vcl/canvas.hxx @@ -87,7 +87,7 @@ namespace vclcanvas void initialize(); /// For resource tracking - virtual ~Canvas(); + virtual ~Canvas() override; /// Dispose all internal references virtual void disposeThis() override; diff --git a/canvas/source/vcl/spritecanvas.hxx b/canvas/source/vcl/spritecanvas.hxx index d74c330eea8c..f339eead496e 100644 --- a/canvas/source/vcl/spritecanvas.hxx +++ b/canvas/source/vcl/spritecanvas.hxx @@ -112,7 +112,7 @@ namespace vclcanvas void initialize(); /// For resource tracking - virtual ~SpriteCanvas(); + virtual ~SpriteCanvas() override; /// Dispose all internal references virtual void disposeThis() override; diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx index 92c6c05d5c5f..f6c556c1332a 100644 --- a/chart2/inc/ChartModel.hxx +++ b/chart2/inc/ChartModel.hxx @@ -216,7 +216,7 @@ public: ChartModel() = delete; ChartModel(css::uno::Reference< css::uno::XComponentContext > const & xContext); explicit ChartModel( const ChartModel & rOther ); - virtual ~ChartModel(); + virtual ~ChartModel() override; // css::lang::XServiceInfo diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx index 7fadb39291ca..f4170353d83e 100644 --- a/chart2/inc/ChartView.hxx +++ b/chart2/inc/ChartView.hxx @@ -110,7 +110,7 @@ public: ChartView(css::uno::Reference< css::uno::XComponentContext > const & xContext, ChartModel& rModel); - virtual ~ChartView(); + virtual ~ChartView() override; // ___lang::XServiceInfo___ virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/accessibility/AccessibleChartElement.hxx b/chart2/source/controller/accessibility/AccessibleChartElement.hxx index e68d8df75843..58db7bd12501 100644 --- a/chart2/source/controller/accessibility/AccessibleChartElement.hxx +++ b/chart2/source/controller/accessibility/AccessibleChartElement.hxx @@ -70,7 +70,7 @@ class AccessibleChartElement : public: AccessibleChartElement( const AccessibleElementInfo & rAccInfo, bool bMayHaveChildren ); - virtual ~AccessibleChartElement(); + virtual ~AccessibleChartElement() override; // ________ AccessibleBase ________ virtual bool ImplUpdateChildren() override; diff --git a/chart2/source/controller/accessibility/AccessibleChartShape.hxx b/chart2/source/controller/accessibility/AccessibleChartShape.hxx index 79c88c38370a..3108b18fd95d 100644 --- a/chart2/source/controller/accessibility/AccessibleChartShape.hxx +++ b/chart2/source/controller/accessibility/AccessibleChartShape.hxx @@ -45,7 +45,7 @@ class AccessibleChartShape : { public: explicit AccessibleChartShape( const AccessibleElementInfo& rAccInfo ); - virtual ~AccessibleChartShape(); + virtual ~AccessibleChartShape() override; // ________ XServiceInfo ________ virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/accessibility/AccessibleViewForwarder.hxx b/chart2/source/controller/accessibility/AccessibleViewForwarder.hxx index 232788f6a96f..b1fbeb6ce756 100644 --- a/chart2/source/controller/accessibility/AccessibleViewForwarder.hxx +++ b/chart2/source/controller/accessibility/AccessibleViewForwarder.hxx @@ -34,7 +34,7 @@ class AccessibleViewForwarder : public ::accessibility::IAccessibleViewForwarder { public: AccessibleViewForwarder( AccessibleChartView* pAccChartView, vcl::Window* pWindow ); - virtual ~AccessibleViewForwarder(); + virtual ~AccessibleViewForwarder() override; // ________ IAccessibleViewforwarder ________ virtual Rectangle GetVisibleArea() const override; diff --git a/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx b/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx index a45e8f063c1a..6565379a67fa 100644 --- a/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/AreaWrapper.hxx @@ -48,7 +48,7 @@ class AreaWrapper : public ::cppu::ImplInheritanceHelper< { public: explicit AreaWrapper(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~AreaWrapper(); + virtual ~AreaWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/chartapiwrapper/AxisWrapper.hxx b/chart2/source/controller/chartapiwrapper/AxisWrapper.hxx index e1b945047a63..6dec247f073f 100644 --- a/chart2/source/controller/chartapiwrapper/AxisWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/AxisWrapper.hxx @@ -62,7 +62,7 @@ public: }; AxisWrapper(tAxisType eType, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~AxisWrapper(); + virtual ~AxisWrapper() override; static void getDimensionAndMainAxisBool( tAxisType eType, sal_Int32& rnDimensionIndex, bool& rbMainAxis ); diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx index cf51e8e77eb5..20f57af786a9 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.hxx @@ -51,7 +51,7 @@ public: explicit ChartDataWrapper(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); ChartDataWrapper(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact , const css::uno::Reference< css::chart::XChartData >& xNewData ); - virtual ~ChartDataWrapper(); + virtual ~ChartDataWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index ac4023b84ff9..2fc1735c2508 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -272,7 +272,7 @@ class WrappedDataSourceLabelsInFirstRowProperty : public WrappedProperty { public: explicit WrappedDataSourceLabelsInFirstRowProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedDataSourceLabelsInFirstRowProperty(); + virtual ~WrappedDataSourceLabelsInFirstRowProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -370,7 +370,7 @@ class WrappedDataSourceLabelsInFirstColumnProperty : public WrappedProperty { public: explicit WrappedDataSourceLabelsInFirstColumnProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedDataSourceLabelsInFirstColumnProperty(); + virtual ~WrappedDataSourceLabelsInFirstColumnProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -468,7 +468,7 @@ class WrappedHasLegendProperty : public WrappedProperty { public: explicit WrappedHasLegendProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedHasLegendProperty(); + virtual ~WrappedHasLegendProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -552,7 +552,7 @@ class WrappedHasMainTitleProperty : public WrappedProperty { public: explicit WrappedHasMainTitleProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedHasMainTitleProperty(); + virtual ~WrappedHasMainTitleProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -625,7 +625,7 @@ class WrappedHasSubTitleProperty : public WrappedProperty { public: explicit WrappedHasSubTitleProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedHasSubTitleProperty(); + virtual ~WrappedHasSubTitleProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx index 04cb257c589a..b17ed8eae018 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx @@ -259,7 +259,7 @@ class WrappedAttachedAxisProperty : public ::chart::WrappedProperty { public: explicit WrappedAttachedAxisProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedAttachedAxisProperty(); + virtual ~WrappedAttachedAxisProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -331,7 +331,7 @@ class WrappedSegmentOffsetProperty : public ::chart::WrappedProperty { public: WrappedSegmentOffsetProperty(); - virtual ~WrappedSegmentOffsetProperty(); + virtual ~WrappedSegmentOffsetProperty() override; protected: virtual Any convertInnerToOuterValue( const Any& rInnerValue ) const override; @@ -373,7 +373,7 @@ class WrappedLineColorProperty : public WrappedSeriesAreaOrLineProperty { public: explicit WrappedLineColorProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper ); - virtual ~WrappedLineColorProperty(); + virtual ~WrappedLineColorProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -434,7 +434,7 @@ class WrappedLineStyleProperty : public WrappedSeriesAreaOrLineProperty { public: explicit WrappedLineStyleProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper ); - virtual ~WrappedLineStyleProperty(); + virtual ~WrappedLineStyleProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx index 3755aeb93209..25d8121d3bee 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx @@ -67,7 +67,7 @@ public: , sal_Int32 nPointIndex //ignored for series , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~DataSeriesPointWrapper(); + virtual ~DataSeriesPointWrapper() override; bool isSupportingAreaProperties(); bool isLinesForbidden() { return !m_bLinesAllowed;} diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index 0292a9f8c840..7e3c1c2813ce 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -1198,7 +1198,7 @@ class WrappedDataRowSourceProperty : public WrappedProperty { public: explicit WrappedDataRowSourceProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedDataRowSourceProperty(); + virtual ~WrappedDataRowSourceProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1300,7 +1300,7 @@ class WrappedStackingProperty : public WrappedProperty { public: WrappedStackingProperty(StackMode eStackMode, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedStackingProperty(); + virtual ~WrappedStackingProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1410,7 +1410,7 @@ class WrappedDim3DProperty : public WrappedProperty { public: explicit WrappedDim3DProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedDim3DProperty(); + virtual ~WrappedDim3DProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1481,7 +1481,7 @@ class WrappedVerticalProperty : public WrappedProperty { public: explicit WrappedVerticalProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedVerticalProperty(); + virtual ~WrappedVerticalProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1557,7 +1557,7 @@ class WrappedNumberOfLinesProperty : public WrappedProperty { public: explicit WrappedNumberOfLinesProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedNumberOfLinesProperty(); + virtual ~WrappedNumberOfLinesProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1711,7 +1711,7 @@ class WrappedAttributedDataPointsProperty : public WrappedProperty { public: explicit WrappedAttributedDataPointsProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedAttributedDataPointsProperty(); + virtual ~WrappedAttributedDataPointsProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1825,7 +1825,7 @@ class WrappedSolidTypeProperty : public WrappedProperty { public: explicit WrappedSolidTypeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedSolidTypeProperty(); + virtual ~WrappedSolidTypeProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1898,7 +1898,7 @@ class WrappedAutomaticSizeProperty : public WrappedProperty { public: WrappedAutomaticSizeProperty(); - virtual ~WrappedAutomaticSizeProperty(); + virtual ~WrappedAutomaticSizeProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1970,7 +1970,7 @@ class WrappedIncludeHiddenCellsProperty : public WrappedProperty { public: explicit WrappedIncludeHiddenCellsProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedIncludeHiddenCellsProperty(); + virtual ~WrappedIncludeHiddenCellsProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx index 50aaa820dc87..756587a55b04 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.hxx @@ -72,7 +72,7 @@ class DiagramWrapper : public cppu::ImplInheritanceHelper< { public: explicit DiagramWrapper(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~DiagramWrapper(); + virtual ~DiagramWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/chartapiwrapper/GridWrapper.hxx b/chart2/source/controller/chartapiwrapper/GridWrapper.hxx index a00b4eef5081..9c56d6a520ea 100644 --- a/chart2/source/controller/chartapiwrapper/GridWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/GridWrapper.hxx @@ -56,7 +56,7 @@ public: }; GridWrapper(tGridType eType, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~GridWrapper(); + virtual ~GridWrapper() override; static void getDimensionAndSubGridBool( tGridType eType, sal_Int32& rnDimensionIndex, bool& rbSubGrid ); diff --git a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx index c40e141cd3c1..3e90e8f09fc4 100644 --- a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx @@ -56,7 +56,7 @@ class WrappedLegendAlignmentProperty : public WrappedProperty { public: WrappedLegendAlignmentProperty(); - virtual ~WrappedLegendAlignmentProperty(); + virtual ~WrappedLegendAlignmentProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx b/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx index fcc5c26b4cfe..92f098a2ed3e 100644 --- a/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/LegendWrapper.hxx @@ -51,7 +51,7 @@ class LegendWrapper : public ::cppu::ImplInheritanceHelper< { public: explicit LegendWrapper(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~LegendWrapper(); + virtual ~LegendWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx index cde6a36aef05..3d02bea8b4ca 100644 --- a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.hxx @@ -56,7 +56,7 @@ class MinMaxLineWrapper : public MutexContainer { public: explicit MinMaxLineWrapper(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~MinMaxLineWrapper(); + virtual ~MinMaxLineWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx index 83630540e093..97d7d04c0152 100644 --- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx @@ -50,7 +50,7 @@ class WrappedTitleStringProperty : public WrappedProperty { public: explicit WrappedTitleStringProperty( const Reference< uno::XComponentContext >& xContext ); - virtual ~WrappedTitleStringProperty(); + virtual ~WrappedTitleStringProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) override; @@ -111,7 +111,7 @@ class WrappedStackedTextProperty : public WrappedProperty { public: WrappedStackedTextProperty(); - virtual ~WrappedStackedTextProperty(); + virtual ~WrappedStackedTextProperty() override; }; WrappedStackedTextProperty::WrappedStackedTextProperty() diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx index 207633613d38..273b9b00b7d0 100644 --- a/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.hxx @@ -50,7 +50,7 @@ class TitleWrapper : public ::cppu::ImplInheritanceHelper< public: TitleWrapper( ::chart::TitleHelper::eTitleType eTitleType, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~TitleWrapper(); + virtual ~TitleWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx index 78b529de3c65..ed4ae9abe35a 100644 --- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx @@ -55,7 +55,7 @@ class UpDownBarWrapper : public MutexContainer { public: UpDownBarWrapper(bool bUp, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~UpDownBarWrapper(); + virtual ~UpDownBarWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/chartapiwrapper/WallFloorWrapper.hxx b/chart2/source/controller/chartapiwrapper/WallFloorWrapper.hxx index bc0053314232..abb4af9c080f 100644 --- a/chart2/source/controller/chartapiwrapper/WallFloorWrapper.hxx +++ b/chart2/source/controller/chartapiwrapper/WallFloorWrapper.hxx @@ -45,7 +45,7 @@ class WallFloorWrapper : public ::cppu::ImplInheritanceHelper< { public: WallFloorWrapper(bool bWall, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WallFloorWrapper(); + virtual ~WallFloorWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx index 786a8a7647e1..fc7ea946935b 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedAddInProperty.hxx @@ -31,7 +31,7 @@ class WrappedAddInProperty : public WrappedProperty { public: explicit WrappedAddInProperty( ChartDocumentWrapper& rChartDocumentWrapper ); - virtual ~WrappedAddInProperty(); + virtual ~WrappedAddInProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -47,7 +47,7 @@ class WrappedBaseDiagramProperty : public WrappedProperty { public: explicit WrappedBaseDiagramProperty( ChartDocumentWrapper& rChartDocumentWrapper ); - virtual ~WrappedBaseDiagramProperty(); + virtual ~WrappedBaseDiagramProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -63,7 +63,7 @@ class WrappedAdditionalShapesProperty : public WrappedProperty { public: explicit WrappedAdditionalShapesProperty( ChartDocumentWrapper& rChartDocumentWrapper ); - virtual ~WrappedAdditionalShapesProperty(); + virtual ~WrappedAdditionalShapesProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -79,7 +79,7 @@ class WrappedRefreshAddInAllowedProperty : public WrappedProperty { public: explicit WrappedRefreshAddInAllowedProperty( ChartDocumentWrapper& rChartDocumentWrapper ); - virtual ~WrappedRefreshAddInAllowedProperty(); + virtual ~WrappedRefreshAddInAllowedProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx index 834a7bc740a4..3d96d245d006 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx @@ -37,7 +37,7 @@ class WrappedAutomaticPositionProperty : public WrappedProperty { public: WrappedAutomaticPositionProperty(); - virtual ~WrappedAutomaticPositionProperty(); + virtual ~WrappedAutomaticPositionProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx index 3221928b24e6..cb377493d06b 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx @@ -37,7 +37,7 @@ class WrappedAxisAndGridExistenceProperty : public WrappedProperty public: WrappedAxisAndGridExistenceProperty( bool bAxis, bool bMain, sal_Int32 nDimensionIndex , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedAxisAndGridExistenceProperty(); + virtual ~WrappedAxisAndGridExistenceProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -204,7 +204,7 @@ class WrappedAxisTitleExistenceProperty : public WrappedProperty public: WrappedAxisTitleExistenceProperty( sal_Int32 nTitleIndex , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedAxisTitleExistenceProperty(); + virtual ~WrappedAxisTitleExistenceProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -318,7 +318,7 @@ class WrappedAxisLabelExistenceProperty : public WrappedProperty public: WrappedAxisLabelExistenceProperty( bool bMain, sal_Int32 nDimensionIndex , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedAxisLabelExistenceProperty(); + virtual ~WrappedAxisLabelExistenceProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx index 38be4b4cf158..cd065de41d33 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.hxx @@ -34,7 +34,7 @@ class WrappedCharacterHeightProperty_Base : public WrappedProperty { public: WrappedCharacterHeightProperty_Base( const OUString& rOuterEqualsInnerName, ReferenceSizePropertyProvider* pRefSizePropProvider ); - virtual ~WrappedCharacterHeightProperty_Base(); + virtual ~WrappedCharacterHeightProperty_Base() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -60,7 +60,7 @@ class WrappedCharacterHeightProperty : public WrappedCharacterHeightProperty_Bas { public: explicit WrappedCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); - virtual ~WrappedCharacterHeightProperty(); + virtual ~WrappedCharacterHeightProperty() override; static void addWrappedProperties( std::vector< WrappedProperty* >& rList, ReferenceSizePropertyProvider* pRefSizePropProvider ); }; @@ -69,14 +69,14 @@ class WrappedAsianCharacterHeightProperty : public WrappedCharacterHeightPropert { public: explicit WrappedAsianCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); - virtual ~WrappedAsianCharacterHeightProperty(); + virtual ~WrappedAsianCharacterHeightProperty() override; }; class WrappedComplexCharacterHeightProperty : public WrappedCharacterHeightProperty_Base { public: explicit WrappedComplexCharacterHeightProperty( ReferenceSizePropertyProvider* pRefSizePropProvider ); - virtual ~WrappedComplexCharacterHeightProperty(); + virtual ~WrappedComplexCharacterHeightProperty() override; }; } //namespace wrapper diff --git a/chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx index 76bb1b9c7f1b..226effebfd67 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx @@ -44,7 +44,7 @@ public: explicit WrappedDataCaptionProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedDataCaptionProperty(); + virtual ~WrappedDataCaptionProperty() override; }; namespace diff --git a/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx index 9487f37ce692..f1cec27c9720 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx @@ -55,7 +55,7 @@ public: WrappedGL3DProperty( const OUString& rInName, const OUString& rOutName, const uno::Any& rDefault, const std::shared_ptr<Chart2ModelContact>& pContact ) : WrappedProperty(rInName, rOutName), maDefault(rDefault), mpModelContact(pContact) {} - virtual ~WrappedGL3DProperty() {} + virtual ~WrappedGL3DProperty() override {} virtual uno::Any getPropertyValue( const uno::Reference<beans::XPropertySet>& /*xInnerPS*/ ) const throw (beans::UnknownPropertyException, lang::WrappedTargetException, diff --git a/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx index 1dbb851fc15e..27b51f40a9a4 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty.hxx @@ -37,7 +37,7 @@ public: , const OUString& rInnerSequencePropertyName , sal_Int32 nDefaultValue , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedBarPositionProperty_Base(); + virtual ~WrappedBarPositionProperty_Base() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -62,14 +62,14 @@ class WrappedGapwidthProperty : public WrappedBarPositionProperty_Base { public: explicit WrappedGapwidthProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedGapwidthProperty(); + virtual ~WrappedGapwidthProperty() override; }; class WrappedBarOverlapProperty : public WrappedBarPositionProperty_Base { public: explicit WrappedBarOverlapProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedBarOverlapProperty(); + virtual ~WrappedBarOverlapProperty() override; }; } // namespace wrapper diff --git a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx index 0afe20340950..567e9320c597 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.hxx @@ -35,7 +35,7 @@ class WrappedNumberFormatProperty : public WrappedDirectStateProperty { public: explicit WrappedNumberFormatProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedNumberFormatProperty(); + virtual ~WrappedNumberFormatProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -55,7 +55,7 @@ class WrappedLinkNumberFormatProperty : public WrappedDirectStateProperty { public: explicit WrappedLinkNumberFormatProperty(); - virtual ~WrappedLinkNumberFormatProperty(); + virtual ~WrappedLinkNumberFormatProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx index 50a5bf152077..4722e516f8d1 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedScaleProperty.hxx @@ -55,7 +55,7 @@ public: public: WrappedScaleProperty(tScaleProperty eScaleProperty, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedScaleProperty(); + virtual ~WrappedScaleProperty() override; static void addWrappedProperties( std::vector< WrappedProperty* >& rList, const std::shared_ptr< Chart2ModelContact >& spChart2ModelContact ); diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx index b0ba7db13477..f8f83ec33fe8 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx @@ -37,7 +37,7 @@ class WrappedScaleTextProperty : public WrappedProperty { public: explicit WrappedScaleTextProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedScaleTextProperty(); + virtual ~WrappedScaleTextProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx index 07fb66c705ad..7e33bd9a5aae 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSceneProperty.hxx @@ -42,7 +42,7 @@ class WrappedD3DTransformMatrixProperty : public WrappedProperty public: explicit WrappedD3DTransformMatrixProperty( const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedD3DTransformMatrixProperty(); + virtual ~WrappedD3DTransformMatrixProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedSeriesAreaOrLineProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedSeriesAreaOrLineProperty.hxx index b3dbcf35da24..5a1a4ef32855 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSeriesAreaOrLineProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSeriesAreaOrLineProperty.hxx @@ -33,7 +33,7 @@ public: WrappedSeriesAreaOrLineProperty( const OUString& rOuterName , const OUString& rInnerAreaTypeName, const OUString& rInnerLineTypeName , DataSeriesPointWrapper* pDataSeriesPointWrapper ); - virtual ~WrappedSeriesAreaOrLineProperty(); + virtual ~WrappedSeriesAreaOrLineProperty() override; virtual OUString getInnerName() const override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx index 924a93aca384..a3424c2689e9 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx @@ -58,7 +58,7 @@ public: , m_ePropertyType( ePropertyType ) { } - virtual ~WrappedSeriesOrDiagramProperty() {}; + virtual ~WrappedSeriesOrDiagramProperty() override {}; bool detectInnerValue( PROPERTYTYPE& rValue, bool& rHasAmbiguousValue ) const { diff --git a/chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx index 3ac9209f4cca..66600421cf71 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx @@ -52,7 +52,7 @@ public: , m_aOwnInnerName(rInnerName) { } - virtual ~WrappedSplineProperty() {}; + virtual ~WrappedSplineProperty() override {}; bool detectInnerValue( PROPERTYTYPE& rValue, bool& rHasAmbiguousValue ) const { @@ -162,7 +162,7 @@ class WrappedSplineTypeProperty : public WrappedSplineProperty< sal_Int32 > { public: explicit WrappedSplineTypeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedSplineTypeProperty(); + virtual ~WrappedSplineTypeProperty() override; virtual css::uno::Any convertInnerToOuterValue( const css::uno::Any& rInnerValue ) const override; virtual css::uno::Any convertOuterToInnerValue( const css::uno::Any& rOuterValue ) const override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx index 3a4c801e31ba..f240aa8d1ea8 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx @@ -209,7 +209,7 @@ public: explicit WrappedConstantErrorLowProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedConstantErrorLowProperty(); + virtual ~WrappedConstantErrorLowProperty() override; private: mutable Any m_aOuterValue; @@ -263,7 +263,7 @@ public: explicit WrappedConstantErrorHighProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedConstantErrorHighProperty(); + virtual ~WrappedConstantErrorHighProperty() override; private: mutable Any m_aOuterValue; @@ -317,7 +317,7 @@ public: explicit WrappedMeanValueProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedMeanValueProperty(); + virtual ~WrappedMeanValueProperty() override; }; WrappedMeanValueProperty::WrappedMeanValueProperty( @@ -361,7 +361,7 @@ public: explicit WrappedErrorCategoryProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorCategoryProperty(); + virtual ~WrappedErrorCategoryProperty() override; }; WrappedErrorCategoryProperty::WrappedErrorCategoryProperty( @@ -459,7 +459,7 @@ public: explicit WrappedPercentageErrorProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedPercentageErrorProperty(); + virtual ~WrappedPercentageErrorProperty() override; private: mutable Any m_aOuterValue; @@ -513,7 +513,7 @@ public: explicit WrappedErrorMarginProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorMarginProperty(); + virtual ~WrappedErrorMarginProperty() override; private: mutable Any m_aOuterValue; @@ -567,7 +567,7 @@ public: explicit WrappedErrorIndicatorProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorIndicatorProperty(); + virtual ~WrappedErrorIndicatorProperty() override; }; WrappedErrorIndicatorProperty::WrappedErrorIndicatorProperty( @@ -640,7 +640,7 @@ public: explicit WrappedErrorBarStyleProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact1, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorBarStyleProperty(); + virtual ~WrappedErrorBarStyleProperty() override; }; WrappedErrorBarStyleProperty::WrappedErrorBarStyleProperty( @@ -686,7 +686,7 @@ public: explicit WrappedErrorBarRangePositiveProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorBarRangePositiveProperty(); + virtual ~WrappedErrorBarRangePositiveProperty() override; private: mutable Any m_aOuterValue; @@ -753,7 +753,7 @@ public: explicit WrappedErrorBarRangeNegativeProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorBarRangeNegativeProperty(); + virtual ~WrappedErrorBarRangeNegativeProperty() override; private: mutable Any m_aOuterValue; @@ -820,7 +820,7 @@ public: explicit WrappedRegressionCurvesProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedRegressionCurvesProperty(); + virtual ~WrappedRegressionCurvesProperty() override; }; WrappedRegressionCurvesProperty::WrappedRegressionCurvesProperty( @@ -884,7 +884,7 @@ public: explicit WrappedStatisticPropertySetProperty( PropertySetType ePropertySetType, ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedStatisticPropertySetProperty(); + virtual ~WrappedStatisticPropertySetProperty() override; private: PropertySetType m_eType; diff --git a/chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx index 5178bfbaf859..accfed475e1a 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx @@ -41,7 +41,7 @@ public: explicit WrappedStockProperty( const OUString& rOuterName , const css::uno::Any& rDefaulValue , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedStockProperty(); + virtual ~WrappedStockProperty() override; void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -117,7 +117,7 @@ class WrappedVolumeProperty : public WrappedStockProperty { public: explicit WrappedVolumeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedVolumeProperty(); + virtual ~WrappedVolumeProperty() override; css::uno::Any getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -189,7 +189,7 @@ class WrappedUpDownProperty : public WrappedStockProperty { public: explicit WrappedUpDownProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedUpDownProperty(); + virtual ~WrappedUpDownProperty() override; css::uno::Any getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx index 1945efa38daf..c256754ddb13 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx @@ -62,7 +62,7 @@ public: explicit WrappedSymbolTypeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType); - virtual ~WrappedSymbolTypeProperty(); + virtual ~WrappedSymbolTypeProperty() override; }; class WrappedSymbolBitmapURLProperty : public WrappedSeriesOrDiagramProperty< OUString > @@ -73,7 +73,7 @@ public: explicit WrappedSymbolBitmapURLProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType); - virtual ~WrappedSymbolBitmapURLProperty(); + virtual ~WrappedSymbolBitmapURLProperty() override; }; class WrappedSymbolSizeProperty : public WrappedSeriesOrDiagramProperty< awt::Size > @@ -86,7 +86,7 @@ public: explicit WrappedSymbolSizeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType); - virtual ~WrappedSymbolSizeProperty(); + virtual ~WrappedSymbolSizeProperty() override; }; class WrappedSymbolAndLinesProperty : public WrappedSeriesOrDiagramProperty< bool > @@ -99,7 +99,7 @@ public: explicit WrappedSymbolAndLinesProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType); - virtual ~WrappedSymbolAndLinesProperty(); + virtual ~WrappedSymbolAndLinesProperty() override; }; namespace diff --git a/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx index 1f4749636503..8525d61be525 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty.hxx @@ -28,7 +28,7 @@ class WrappedTextRotationProperty : public WrappedProperty { public: explicit WrappedTextRotationProperty( bool bDirectState=false ); - virtual ~WrappedTextRotationProperty(); + virtual ~WrappedTextRotationProperty() override; virtual css::beans::PropertyState getPropertyState( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const throw (css::beans::UnknownPropertyException, css::uno::RuntimeException) override; diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx index 984fb67d19c5..81e2115d49e0 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx @@ -91,7 +91,7 @@ class ChartTypeDialogController : public ChangingResource { public: ChartTypeDialogController(); - virtual ~ChartTypeDialogController(); + virtual ~ChartTypeDialogController() override; virtual OUString getName()=0; virtual Image getImage(); @@ -135,7 +135,7 @@ class ColumnOrBarChartDialogController_Base : public ChartTypeDialogController { public: ColumnOrBarChartDialogController_Base(); - virtual ~ColumnOrBarChartDialogController_Base(); + virtual ~ColumnOrBarChartDialogController_Base() override; virtual bool shouldShow_3DLookControl() const override; virtual bool shouldShow_GeometryControl() const override; @@ -147,7 +147,7 @@ class ColumnChartDialogController : public ColumnOrBarChartDialogController_Base { public: ColumnChartDialogController(); - virtual ~ColumnChartDialogController(); + virtual ~ColumnChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; @@ -159,7 +159,7 @@ class BarChartDialogController : public ColumnOrBarChartDialogController_Base { public: BarChartDialogController(); - virtual ~BarChartDialogController(); + virtual ~BarChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; @@ -171,7 +171,7 @@ class PieChartDialogController : public ChartTypeDialogController { public: PieChartDialogController(); - virtual ~PieChartDialogController(); + virtual ~PieChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; @@ -186,7 +186,7 @@ class LineChartDialogController : public ChartTypeDialogController { public: LineChartDialogController(); - virtual ~LineChartDialogController(); + virtual ~LineChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; @@ -204,7 +204,7 @@ class XYChartDialogController : public ChartTypeDialogController { public: XYChartDialogController(); - virtual ~XYChartDialogController(); + virtual ~XYChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; @@ -220,7 +220,7 @@ class AreaChartDialogController : public ChartTypeDialogController { public: AreaChartDialogController(); - virtual ~AreaChartDialogController(); + virtual ~AreaChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; @@ -236,7 +236,7 @@ class NetChartDialogController : public ChartTypeDialogController { public: NetChartDialogController(); - virtual ~NetChartDialogController(); + virtual ~NetChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; @@ -251,7 +251,7 @@ class StockChartDialogController : public ChartTypeDialogController { public: StockChartDialogController(); - virtual ~StockChartDialogController(); + virtual ~StockChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; @@ -291,7 +291,7 @@ class BubbleChartDialogController : public ChartTypeDialogController { public: BubbleChartDialogController(); - virtual ~BubbleChartDialogController(); + virtual ~BubbleChartDialogController() override; virtual OUString getName() override; virtual Image getImage() override; diff --git a/chart2/source/controller/dialogs/DataBrowser.hxx b/chart2/source/controller/dialogs/DataBrowser.hxx index aa404c910125..4724ac8d7076 100644 --- a/chart2/source/controller/dialogs/DataBrowser.hxx +++ b/chart2/source/controller/dialogs/DataBrowser.hxx @@ -67,7 +67,7 @@ protected: public: DataBrowser( vcl::Window* pParent, WinBits nStyle, bool bLiveUpdate ); - virtual ~DataBrowser(); + virtual ~DataBrowser() override; virtual void dispose() override; /** GetCellText returns the text at the given position diff --git a/chart2/source/controller/dialogs/GL3DBarChartDialogController.hxx b/chart2/source/controller/dialogs/GL3DBarChartDialogController.hxx index 8d2c9f254b95..2d5d0a66b15b 100644 --- a/chart2/source/controller/dialogs/GL3DBarChartDialogController.hxx +++ b/chart2/source/controller/dialogs/GL3DBarChartDialogController.hxx @@ -18,7 +18,7 @@ class GL3DBarChartDialogController : public ChartTypeDialogController { public: GL3DBarChartDialogController(); - virtual ~GL3DBarChartDialogController(); + virtual ~GL3DBarChartDialogController() override; virtual bool shouldShow_GL3DResourceGroup() const override; diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx index 73648976ac6c..c7a8dcbf3ee0 100644 --- a/chart2/source/controller/dialogs/dlg_DataSource.cxx +++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx @@ -45,7 +45,7 @@ class DocumentChartTypeTemplateProvider : public ChartTypeTemplateProvider public: explicit DocumentChartTypeTemplateProvider( const Reference< chart2::XChartDocument > & xDoc ); - virtual ~DocumentChartTypeTemplateProvider(); + virtual ~DocumentChartTypeTemplateProvider() override; // ____ ChartTypeTemplateProvider ____ virtual Reference< chart2::XChartTypeTemplate > getCurrentTemplate() const override; diff --git a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx index 911e81940a93..a7b339697844 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.hxx @@ -38,7 +38,7 @@ public: vcl::Window* pWindow, const css::uno::Reference< css::frame::XModel > & xChartModel, ControllerLockHelper & rControllerLockHelper ); - virtual ~ThreeD_SceneAppearance_TabPage(); + virtual ~ThreeD_SceneAppearance_TabPage() override; virtual void dispose() override; virtual void ActivatePage() override; diff --git a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx index b4f6d4340e90..6da428d43f42 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneGeometry.hxx @@ -38,7 +38,7 @@ public: ThreeD_SceneGeometry_TabPage( vcl::Window* pWindow, const css::uno::Reference< css::beans::XPropertySet > & xSceneProperties, ControllerLockHelper & rControllerLockHelper ); - virtual ~ThreeD_SceneGeometry_TabPage(); + virtual ~ThreeD_SceneGeometry_TabPage() override; virtual void dispose() override; // has to be called in case the dialog was closed with OK diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx index 7d8834aac1df..735d7659ddd8 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx @@ -54,7 +54,7 @@ public: const css::uno::Reference< css::beans::XPropertySet > & xSceneProperties, const css::uno::Reference< css::frame::XModel >& xChartModel, const XColorListRef &pColorTable ); - virtual ~ThreeD_SceneIllumination_TabPage(); + virtual ~ThreeD_SceneIllumination_TabPage() override; virtual void dispose() override; private: diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.hxx b/chart2/source/controller/dialogs/tp_AxisLabel.hxx index 2b85cef92436..b847e4d69ffe 100644 --- a/chart2/source/controller/dialogs/tp_AxisLabel.hxx +++ b/chart2/source/controller/dialogs/tp_AxisLabel.hxx @@ -69,7 +69,7 @@ private: public: SchAxisLabelTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SchAxisLabelTabPage(); + virtual ~SchAxisLabelTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rInAttrs ); diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.hxx b/chart2/source/controller/dialogs/tp_AxisPositions.hxx index fa5c9271d8af..25fe19017da6 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.hxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.hxx @@ -33,7 +33,7 @@ class AxisPositionsTabPage : public SfxTabPage { public: AxisPositionsTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~AxisPositionsTabPage(); + virtual ~AxisPositionsTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rInAttrs ); diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 5b75da834f77..ee86f8ed9f06 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -310,7 +310,7 @@ class SplinePropertiesDialog : public ModalDialog { public: explicit SplinePropertiesDialog( vcl::Window* pParent ); - virtual ~SplinePropertiesDialog() { disposeOnce(); } + virtual ~SplinePropertiesDialog() override { disposeOnce(); } virtual void dispose() override; void fillControls( const ChartTypeParameter& rParameter ); @@ -402,7 +402,7 @@ class SteppedPropertiesDialog : public ModalDialog { public: explicit SteppedPropertiesDialog( vcl::Window* pParent ); - virtual ~SteppedPropertiesDialog() { disposeOnce(); } + virtual ~SteppedPropertiesDialog() override { disposeOnce(); } virtual void dispose() override; void fillControls( const ChartTypeParameter& rParameter ); diff --git a/chart2/source/controller/dialogs/tp_ChartType.hxx b/chart2/source/controller/dialogs/tp_ChartType.hxx index 980316555237..ea756379cf41 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.hxx +++ b/chart2/source/controller/dialogs/tp_ChartType.hxx @@ -51,7 +51,7 @@ public: ChartTypeTabPage( vcl::Window* pParent , const css::uno::Reference< css::chart2::XChartDocument >& xChartModel , bool bDoLiveUpdate, bool bShowDescription = true ); - virtual ~ChartTypeTabPage(); + virtual ~ChartTypeTabPage() override; virtual void dispose() override; virtual void initializePage() override; diff --git a/chart2/source/controller/dialogs/tp_DataSource.hxx b/chart2/source/controller/dialogs/tp_DataSource.hxx index 3b2c224788d0..3b0c0b554c47 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.hxx +++ b/chart2/source/controller/dialogs/tp_DataSource.hxx @@ -58,7 +58,7 @@ public: ChartTypeTemplateProvider* pTemplateProvider, Dialog * pParentDialog, bool bHideDescription = false ); - virtual ~DataSourceTabPage(); + virtual ~DataSourceTabPage() override; virtual void dispose() override; void commitPage(); diff --git a/chart2/source/controller/dialogs/tp_DataSourceControls.hxx b/chart2/source/controller/dialogs/tp_DataSourceControls.hxx index e84a6e117cca..4e33261d4964 100644 --- a/chart2/source/controller/dialogs/tp_DataSourceControls.hxx +++ b/chart2/source/controller/dialogs/tp_DataSourceControls.hxx @@ -33,7 +33,7 @@ namespace chart class SeriesEntry : public ::SvTreeListEntry { public: - virtual ~SeriesEntry(); + virtual ~SeriesEntry() override; /// the corresponding data series css::uno::Reference< css::chart2::XDataSeries > m_xDataSeries; diff --git a/chart2/source/controller/dialogs/tp_LegendPosition.hxx b/chart2/source/controller/dialogs/tp_LegendPosition.hxx index 5234ebceddf0..cd04e644df0f 100644 --- a/chart2/source/controller/dialogs/tp_LegendPosition.hxx +++ b/chart2/source/controller/dialogs/tp_LegendPosition.hxx @@ -37,7 +37,7 @@ private: public: SchLegendPosTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs); - virtual ~SchLegendPosTabPage(); + virtual ~SchLegendPosTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.hxx b/chart2/source/controller/dialogs/tp_PointGeometry.hxx index 7386da47230c..d2cb91525981 100644 --- a/chart2/source/controller/dialogs/tp_PointGeometry.hxx +++ b/chart2/source/controller/dialogs/tp_PointGeometry.hxx @@ -29,7 +29,7 @@ class SchLayoutTabPage : public SfxTabPage { public: SchLayoutTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs); - virtual ~SchLayoutTabPage(); + virtual ~SchLayoutTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.hxx b/chart2/source/controller/dialogs/tp_PolarOptions.hxx index 81e4b1a40eca..363cf159aacb 100644 --- a/chart2/source/controller/dialogs/tp_PolarOptions.hxx +++ b/chart2/source/controller/dialogs/tp_PolarOptions.hxx @@ -33,7 +33,7 @@ class PolarOptionsTabPage : public SfxTabPage public: PolarOptionsTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~PolarOptionsTabPage(); + virtual ~PolarOptionsTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.hxx b/chart2/source/controller/dialogs/tp_RangeChooser.hxx index a3ee89393fef..fb62d98835b9 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.hxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.hxx @@ -46,7 +46,7 @@ public: , ChartTypeTemplateProvider* pTemplateProvider , Dialog * pParentDialog , bool bHideDescription = false ); - virtual ~RangeChooserTabPage(); + virtual ~RangeChooserTabPage() override; virtual void dispose() override; //RangeSelectionListenerParent diff --git a/chart2/source/controller/dialogs/tp_Scale.hxx b/chart2/source/controller/dialogs/tp_Scale.hxx index e905e021ccdb..5fdd60994f54 100644 --- a/chart2/source/controller/dialogs/tp_Scale.hxx +++ b/chart2/source/controller/dialogs/tp_Scale.hxx @@ -33,7 +33,7 @@ class ScaleTabPage : public SfxTabPage { public: ScaleTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~ScaleTabPage(); + virtual ~ScaleTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rInAttrs ); diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx index 7fea6cd0c023..56b587d077b5 100644 --- a/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx +++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.hxx @@ -31,7 +31,7 @@ class SchOptionTabPage : public SfxTabPage { public: SchOptionTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs); - virtual ~SchOptionTabPage(); + virtual ~SchOptionTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.hxx b/chart2/source/controller/dialogs/tp_TitleRotation.hxx index cf383e4373a5..b71ef48a6e66 100644 --- a/chart2/source/controller/dialogs/tp_TitleRotation.hxx +++ b/chart2/source/controller/dialogs/tp_TitleRotation.hxx @@ -42,7 +42,7 @@ private: public: SchAlignmentTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs, bool bWithRotation = true); - virtual ~SchAlignmentTabPage(); + virtual ~SchAlignmentTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create(vcl::Window* pParent, const SfxItemSet* rInAttrs); diff --git a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx index 8d806a1fe83b..0820ffa1250a 100644 --- a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx +++ b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx @@ -42,7 +42,7 @@ public: TitlesAndObjectsTabPage( svt::OWizardMachine* pParent , const css::uno::Reference< css::chart2::XChartDocument >& xChartModel , const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~TitlesAndObjectsTabPage(); + virtual ~TitlesAndObjectsTabPage() override; virtual void dispose() override; virtual void initializePage() override; diff --git a/chart2/source/controller/inc/AccessibleBase.hxx b/chart2/source/controller/inc/AccessibleBase.hxx index 84351324a87b..dd95d8a0dc60 100644 --- a/chart2/source/controller/inc/AccessibleBase.hxx +++ b/chart2/source/controller/inc/AccessibleBase.hxx @@ -103,7 +103,7 @@ public: AccessibleBase( const AccessibleElementInfo & rAccInfo, bool bMayHaveChildren, bool bAlwaysTransparent = false ); - virtual ~AccessibleBase(); + virtual ~AccessibleBase() override; protected: // for all calls to protected methods it is assumed that the mutex is locked diff --git a/chart2/source/controller/inc/AccessibleChartView.hxx b/chart2/source/controller/inc/AccessibleChartView.hxx index 203296e85221..89721b330f4a 100644 --- a/chart2/source/controller/inc/AccessibleChartView.hxx +++ b/chart2/source/controller/inc/AccessibleChartView.hxx @@ -58,7 +58,7 @@ class AccessibleChartView : { public: AccessibleChartView(SdrView* pView ); - virtual ~AccessibleChartView(); + virtual ~AccessibleChartView() override; AccessibleChartView() = delete; diff --git a/chart2/source/controller/inc/AccessibleTextHelper.hxx b/chart2/source/controller/inc/AccessibleTextHelper.hxx index a5fd2381c117..43d22b8b3e3b 100644 --- a/chart2/source/controller/inc/AccessibleTextHelper.hxx +++ b/chart2/source/controller/inc/AccessibleTextHelper.hxx @@ -49,7 +49,7 @@ class AccessibleTextHelper : { public: explicit AccessibleTextHelper( DrawViewWrapper * pDrawViewWrapper ); - virtual ~AccessibleTextHelper(); + virtual ~AccessibleTextHelper() override; // ____ XInitialization ____ /** Must be called at least once for this helper class to work. diff --git a/chart2/source/controller/inc/AxisItemConverter.hxx b/chart2/source/controller/inc/AxisItemConverter.hxx index 7dac3054d019..ab787002a155 100644 --- a/chart2/source/controller/inc/AxisItemConverter.hxx +++ b/chart2/source/controller/inc/AxisItemConverter.hxx @@ -43,7 +43,7 @@ public: ExplicitIncrementData* pIncrement = nullptr, const css::awt::Size* pRefSize = nullptr ); - virtual ~AxisItemConverter(); + virtual ~AxisItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx b/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx index 1beea2ef1b12..82615553a34d 100644 --- a/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx +++ b/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx @@ -41,7 +41,7 @@ public: const OUString & rRefSizePropertyName, const css::uno::Reference<css::beans::XPropertySet>& rRefSizePropSet = css::uno::Reference<css::beans::XPropertySet>() ); - virtual ~CharacterPropertyItemConverter(); + virtual ~CharacterPropertyItemConverter() override; protected: virtual const sal_uInt16* GetWhichPairs() const override; diff --git a/chart2/source/controller/inc/ChartController.hxx b/chart2/source/controller/inc/ChartController.hxx index e5f078dc42f6..d6aaaac48bf5 100644 --- a/chart2/source/controller/inc/ChartController.hxx +++ b/chart2/source/controller/inc/ChartController.hxx @@ -107,7 +107,7 @@ class ChartController : public ::cppu::WeakImplHelper < public: ChartController() = delete; explicit ChartController(css::uno::Reference< css::uno::XComponentContext > const & xContext); - virtual ~ChartController(); + virtual ~ChartController() override; OUString GetContextName(); @@ -392,7 +392,7 @@ private: explicit TheModel( const css::uno::Reference< css::frame::XModel > & xModel ); - virtual ~TheModel(); + virtual ~TheModel() override; void SetOwnership( bool bGetsOwnership ); void addListener( ChartController* pController ); diff --git a/chart2/source/controller/inc/ChartDocumentWrapper.hxx b/chart2/source/controller/inc/ChartDocumentWrapper.hxx index b1212990b77a..3208a9ebf605 100644 --- a/chart2/source/controller/inc/ChartDocumentWrapper.hxx +++ b/chart2/source/controller/inc/ChartDocumentWrapper.hxx @@ -59,7 +59,7 @@ class ChartDocumentWrapper : public ChartDocumentWrapper_Base { public: explicit ChartDocumentWrapper( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~ChartDocumentWrapper(); + virtual ~ChartDocumentWrapper() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/inc/ChartToolbarController.hxx b/chart2/source/controller/inc/ChartToolbarController.hxx index ae7ce735573a..00d86a6fc597 100644 --- a/chart2/source/controller/inc/ChartToolbarController.hxx +++ b/chart2/source/controller/inc/ChartToolbarController.hxx @@ -37,7 +37,7 @@ class ChartToolbarController : private cppu::BaseMutex, { public: ChartToolbarController(const css::uno::Sequence<css::uno::Any>& rProperties); - virtual ~ChartToolbarController(); + virtual ~ChartToolbarController() override; ChartToolbarController(const ChartToolbarController&) = delete; const ChartToolbarController& operator=(const ChartToolbarController&) = delete; diff --git a/chart2/source/controller/inc/ChartWindow.hxx b/chart2/source/controller/inc/ChartWindow.hxx index 4cbc69810d18..6b0feaf440da 100644 --- a/chart2/source/controller/inc/ChartWindow.hxx +++ b/chart2/source/controller/inc/ChartWindow.hxx @@ -36,7 +36,7 @@ class ChartWindow : public vcl::Window { public: ChartWindow( ChartController* pController, vcl::Window* pParent, WinBits nStyle ); - virtual ~ChartWindow(); + virtual ~ChartWindow() override; virtual void dispose() override; void clear(); diff --git a/chart2/source/controller/inc/DataPointItemConverter.hxx b/chart2/source/controller/inc/DataPointItemConverter.hxx index 8dce43c4a567..e510748590f7 100644 --- a/chart2/source/controller/inc/DataPointItemConverter.hxx +++ b/chart2/source/controller/inc/DataPointItemConverter.hxx @@ -54,7 +54,7 @@ public: sal_Int32 nNumberFormat = 0, sal_Int32 nPercentNumberFormat = 0 ); - virtual ~DataPointItemConverter(); + virtual ~DataPointItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/DrawViewWrapper.hxx b/chart2/source/controller/inc/DrawViewWrapper.hxx index 6bb4057dfb04..fc92f9d050ad 100644 --- a/chart2/source/controller/inc/DrawViewWrapper.hxx +++ b/chart2/source/controller/inc/DrawViewWrapper.hxx @@ -46,7 +46,7 @@ class DrawViewWrapper : public E3dView { public: DrawViewWrapper(SdrModel* pModel, OutputDevice* pOut); - virtual ~DrawViewWrapper(); + virtual ~DrawViewWrapper() override; //triggers the use of an updated first page void ReInit(); diff --git a/chart2/source/controller/inc/ErrorBarItemConverter.hxx b/chart2/source/controller/inc/ErrorBarItemConverter.hxx index 8104f77ba139..49491161b937 100644 --- a/chart2/source/controller/inc/ErrorBarItemConverter.hxx +++ b/chart2/source/controller/inc/ErrorBarItemConverter.hxx @@ -46,7 +46,7 @@ public: SfxItemPool& rItemPool, SdrModel& rDrawModel, const css::uno::Reference< css::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory ); - virtual ~ErrorBarItemConverter(); + virtual ~ErrorBarItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/GraphicPropertyItemConverter.hxx b/chart2/source/controller/inc/GraphicPropertyItemConverter.hxx index cef1127472c9..01f8012ef74b 100644 --- a/chart2/source/controller/inc/GraphicPropertyItemConverter.hxx +++ b/chart2/source/controller/inc/GraphicPropertyItemConverter.hxx @@ -48,7 +48,7 @@ public: SdrModel& rDrawModel, const css::uno::Reference< css::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory, eGraphicObjectType eObjectType = FILLED_DATA_POINT ); - virtual ~GraphicPropertyItemConverter(); + virtual ~GraphicPropertyItemConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; diff --git a/chart2/source/controller/inc/ItemConverter.hxx b/chart2/source/controller/inc/ItemConverter.hxx index 612a56f034a8..df54e141a37c 100644 --- a/chart2/source/controller/inc/ItemConverter.hxx +++ b/chart2/source/controller/inc/ItemConverter.hxx @@ -75,7 +75,7 @@ public: ItemConverter( const css::uno::Reference< css::beans::XPropertySet > & rPropertySet , SfxItemPool& rItemPool ); - virtual ~ItemConverter(); + virtual ~ItemConverter() override; typedef sal_uInt16 tWhichIdType; typedef OUString tPropertyNameType; diff --git a/chart2/source/controller/inc/LegendItemConverter.hxx b/chart2/source/controller/inc/LegendItemConverter.hxx index e78541740639..aa86a2889627 100644 --- a/chart2/source/controller/inc/LegendItemConverter.hxx +++ b/chart2/source/controller/inc/LegendItemConverter.hxx @@ -42,7 +42,7 @@ public: const css::uno::Reference< css::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory, const css::awt::Size* pRefSize = nullptr ); - virtual ~LegendItemConverter(); + virtual ~LegendItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/MultipleChartConverters.hxx b/chart2/source/controller/inc/MultipleChartConverters.hxx index d1b65612948a..3babe25309d0 100644 --- a/chart2/source/controller/inc/MultipleChartConverters.hxx +++ b/chart2/source/controller/inc/MultipleChartConverters.hxx @@ -37,7 +37,7 @@ public: const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory, const css::awt::Size* pRefSize = nullptr ); - virtual ~AllAxisItemConverter(); + virtual ~AllAxisItemConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; @@ -51,7 +51,7 @@ public: SfxItemPool& rItemPool, SdrModel& rDrawModel, const css::uno::Reference<css::lang::XMultiServiceFactory> & xNamedPropertyContainerFactory ); - virtual ~AllGridItemConverter(); + virtual ~AllGridItemConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; @@ -67,7 +67,7 @@ public: const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory, const css::awt::Size* pRefSize = nullptr ); - virtual ~AllDataLabelItemConverter(); + virtual ~AllDataLabelItemConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; @@ -82,7 +82,7 @@ public: const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory, const css::awt::Size* pRefSize = nullptr ); - virtual ~AllTitleItemConverter(); + virtual ~AllTitleItemConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; @@ -93,7 +93,7 @@ class AllSeriesStatisticsConverter : public MultipleItemConverter public: AllSeriesStatisticsConverter( const css::uno::Reference<css::frame::XModel>& xChartModel, SfxItemPool& rItemPool ); - virtual ~AllSeriesStatisticsConverter(); + virtual ~AllSeriesStatisticsConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; diff --git a/chart2/source/controller/inc/MultipleItemConverter.hxx b/chart2/source/controller/inc/MultipleItemConverter.hxx index e555804de76a..f16235129b35 100644 --- a/chart2/source/controller/inc/MultipleItemConverter.hxx +++ b/chart2/source/controller/inc/MultipleItemConverter.hxx @@ -32,7 +32,7 @@ namespace chart { namespace wrapper { class MultipleItemConverter : public ItemConverter { public: - virtual ~MultipleItemConverter(); + virtual ~MultipleItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/RangeSelectionListener.hxx b/chart2/source/controller/inc/RangeSelectionListener.hxx index 1f99b442aa11..c0b96e63ee10 100644 --- a/chart2/source/controller/inc/RangeSelectionListener.hxx +++ b/chart2/source/controller/inc/RangeSelectionListener.hxx @@ -46,7 +46,7 @@ public: RangeSelectionListenerParent & rParent, const OUString & rInitialRange, const css::uno::Reference< css::frame::XModel >& xModelToLockController ); - virtual ~RangeSelectionListener(); + virtual ~RangeSelectionListener() override; protected: // ____ XRangeSelectionListener ____ diff --git a/chart2/source/controller/inc/RegressionCurveItemConverter.hxx b/chart2/source/controller/inc/RegressionCurveItemConverter.hxx index a7bc851935d8..66b09a51e97b 100644 --- a/chart2/source/controller/inc/RegressionCurveItemConverter.hxx +++ b/chart2/source/controller/inc/RegressionCurveItemConverter.hxx @@ -43,7 +43,7 @@ public: SfxItemPool& rItemPool, SdrModel& rDrawModel, const css::uno::Reference< css::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory ); - virtual ~RegressionCurveItemConverter(); + virtual ~RegressionCurveItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/RegressionEquationItemConverter.hxx b/chart2/source/controller/inc/RegressionEquationItemConverter.hxx index 3a4c55d3a367..78a30541a579 100644 --- a/chart2/source/controller/inc/RegressionEquationItemConverter.hxx +++ b/chart2/source/controller/inc/RegressionEquationItemConverter.hxx @@ -42,7 +42,7 @@ public: const css::uno::Reference< css::lang::XMultiServiceFactory > & xNamedPropertyContainerFactory, const css::awt::Size* pRefSize = nullptr ); - virtual ~RegressionEquationItemConverter(); + virtual ~RegressionEquationItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/SeriesOptionsItemConverter.hxx b/chart2/source/controller/inc/SeriesOptionsItemConverter.hxx index 926241d9db49..93550a6f4182 100644 --- a/chart2/source/controller/inc/SeriesOptionsItemConverter.hxx +++ b/chart2/source/controller/inc/SeriesOptionsItemConverter.hxx @@ -38,7 +38,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::beans::XPropertySet > & rPropertySet, SfxItemPool& rItemPool ); - virtual ~SeriesOptionsItemConverter(); + virtual ~SeriesOptionsItemConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; diff --git a/chart2/source/controller/inc/StatisticsItemConverter.hxx b/chart2/source/controller/inc/StatisticsItemConverter.hxx index 7d5cf7384759..86fb64566888 100644 --- a/chart2/source/controller/inc/StatisticsItemConverter.hxx +++ b/chart2/source/controller/inc/StatisticsItemConverter.hxx @@ -39,7 +39,7 @@ public: const css::uno::Reference< css::frame::XModel > & xChartModel, const css::uno::Reference< css::beans::XPropertySet > & rPropertySet, SfxItemPool& rItemPool ); - virtual ~StatisticsItemConverter(); + virtual ~StatisticsItemConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; diff --git a/chart2/source/controller/inc/TextLabelItemConverter.hxx b/chart2/source/controller/inc/TextLabelItemConverter.hxx index 0da20c0c7222..e89269fda315 100644 --- a/chart2/source/controller/inc/TextLabelItemConverter.hxx +++ b/chart2/source/controller/inc/TextLabelItemConverter.hxx @@ -42,7 +42,7 @@ public: sal_Int32 nNumberFormat = 0, sal_Int32 nPercentNumberFormat = 0 ); - virtual ~TextLabelItemConverter(); + virtual ~TextLabelItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/TitleItemConverter.hxx b/chart2/source/controller/inc/TitleItemConverter.hxx index 93d9f1a93503..6671c57ee4e5 100644 --- a/chart2/source/controller/inc/TitleItemConverter.hxx +++ b/chart2/source/controller/inc/TitleItemConverter.hxx @@ -38,7 +38,7 @@ public: const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory, const css::awt::Size* pRefSize = nullptr ); - virtual ~TitleItemConverter(); + virtual ~TitleItemConverter() override; virtual void FillItemSet( SfxItemSet & rOutItemSet ) const override; virtual bool ApplyItemSet( const SfxItemSet & rItemSet ) override; diff --git a/chart2/source/controller/inc/dlg_ChartType.hxx b/chart2/source/controller/inc/dlg_ChartType.hxx index 889011d786eb..2903587a5dd3 100644 --- a/chart2/source/controller/inc/dlg_ChartType.hxx +++ b/chart2/source/controller/inc/dlg_ChartType.hxx @@ -34,7 +34,7 @@ class ChartTypeDialog : public ModalDialog public: ChartTypeDialog( vcl::Window* pWindow , const css::uno::Reference< css::frame::XModel >& xChartModel ); - virtual ~ChartTypeDialog(); + virtual ~ChartTypeDialog() override; virtual void dispose() override; private: diff --git a/chart2/source/controller/inc/dlg_ChartType_UNO.hxx b/chart2/source/controller/inc/dlg_ChartType_UNO.hxx index aaca031c5323..4ae8e94871b1 100644 --- a/chart2/source/controller/inc/dlg_ChartType_UNO.hxx +++ b/chart2/source/controller/inc/dlg_ChartType_UNO.hxx @@ -40,7 +40,7 @@ public: static css::uno::Sequence< OUString > getSupportedServiceNames_Static(); static OUString getImplementationName_Static() throw( css::uno::RuntimeException ); private: - virtual ~ChartTypeUnoDlg(); + virtual ~ChartTypeUnoDlg() override; // OGenericUnoDialog overridables virtual void implInitialize(const css::uno::Any& _rValue) override; diff --git a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx index 0e144f2775a9..7122daf207b2 100644 --- a/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx +++ b/chart2/source/controller/inc/dlg_CreationWizard_UNO.hxx @@ -50,7 +50,7 @@ public: CreationWizardUnoDlg() = delete; CreationWizardUnoDlg( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~CreationWizardUnoDlg(); + virtual ~CreationWizardUnoDlg() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/chart2/source/controller/inc/dlg_DataEditor.hxx b/chart2/source/controller/inc/dlg_DataEditor.hxx index 356192440dc1..b90c0adb8fef 100644 --- a/chart2/source/controller/inc/dlg_DataEditor.hxx +++ b/chart2/source/controller/inc/dlg_DataEditor.hxx @@ -44,7 +44,7 @@ public: DataEditor( vcl::Window* pParent, const css::uno::Reference< css::chart2::XChartDocument > & xChartDoc, const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~DataEditor(); + virtual ~DataEditor() override; virtual void dispose() override; // Dialog diff --git a/chart2/source/controller/inc/dlg_DataSource.hxx b/chart2/source/controller/inc/dlg_DataSource.hxx index b5965177aabf..c0ce414d21fb 100644 --- a/chart2/source/controller/inc/dlg_DataSource.hxx +++ b/chart2/source/controller/inc/dlg_DataSource.hxx @@ -47,7 +47,7 @@ public: vcl::Window * pParent, const css::uno::Reference< css::chart2::XChartDocument > & xChartDocument, const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~DataSourceDialog(); + virtual ~DataSourceDialog() override; virtual void dispose() override; // from Dialog (base of TabDialog) diff --git a/chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx b/chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx index 3799116d49e8..fea533d7b22d 100644 --- a/chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx +++ b/chart2/source/controller/inc/dlg_InsertAxis_Grid.hxx @@ -52,7 +52,7 @@ protected: public: SchAxisDlg(vcl::Window* pParent, const InsertAxisOrGridDialogData& rInput, bool bAxisDlg=true); - virtual ~SchAxisDlg(); + virtual ~SchAxisDlg() override; virtual void dispose() override; void getResult( InsertAxisOrGridDialogData& rOutput ); diff --git a/chart2/source/controller/inc/dlg_ObjectProperties.hxx b/chart2/source/controller/inc/dlg_ObjectProperties.hxx index 5c2ea039ad93..40ad209598c3 100644 --- a/chart2/source/controller/inc/dlg_ObjectProperties.hxx +++ b/chart2/source/controller/inc/dlg_ObjectProperties.hxx @@ -129,7 +129,7 @@ public: const ObjectPropertiesDialogParameter* pDialogParameter, const ViewElementListProvider* pViewElementListProvider, const css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier ); - virtual ~SchAttribTabDlg(); + virtual ~SchAttribTabDlg() override; virtual void dispose() override; //pSymbolShapeProperties: Properties to be set on the symbollist shapes diff --git a/chart2/source/controller/inc/dlg_View3D.hxx b/chart2/source/controller/inc/dlg_View3D.hxx index e7a4f8f62df0..b63ece7bea10 100644 --- a/chart2/source/controller/inc/dlg_View3D.hxx +++ b/chart2/source/controller/inc/dlg_View3D.hxx @@ -40,7 +40,7 @@ public: View3DDialog( vcl::Window* pWindow, const css::uno::Reference< css::frame::XModel > & xChartModel, const XColorListRef &pColorTable ); - virtual ~View3DDialog(); + virtual ~View3DDialog() override; virtual void dispose() override; // from Dialog (base of TabDialog) diff --git a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx index c3186da441d9..bafb0e6b653a 100644 --- a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx @@ -56,7 +56,7 @@ public: SfxItemPool & rItemPool, const awt::Size* pRefSize, const uno::Reference< beans::XPropertySet > & xParentProp ); - virtual ~FormattedStringsConverter(); + virtual ~FormattedStringsConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; diff --git a/chart2/source/controller/main/ChartDropTargetHelper.hxx b/chart2/source/controller/main/ChartDropTargetHelper.hxx index 41dc2b6cdfd3..bcd6060dfdd6 100644 --- a/chart2/source/controller/main/ChartDropTargetHelper.hxx +++ b/chart2/source/controller/main/ChartDropTargetHelper.hxx @@ -37,7 +37,7 @@ public: explicit ChartDropTargetHelper( const css::uno::Reference< css::datatransfer::dnd::XDropTarget >& rxDropTarget, const css::uno::Reference< css::chart2::XChartDocument > & xChartDocument ); - virtual ~ChartDropTargetHelper(); + virtual ~ChartDropTargetHelper() override; protected: diff --git a/chart2/source/controller/main/ChartFrameloader.hxx b/chart2/source/controller/main/ChartFrameloader.hxx index f27f12dcfd0e..765fdfc8e5b4 100644 --- a/chart2/source/controller/main/ChartFrameloader.hxx +++ b/chart2/source/controller/main/ChartFrameloader.hxx @@ -45,7 +45,7 @@ public: ChartFrameLoader() = delete; explicit ChartFrameLoader(css::uno::Reference< css::uno::XComponentContext > const & xContext); - virtual ~ChartFrameLoader(); + virtual ~ChartFrameLoader() override; // css::lang::XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/main/ChartTransferable.hxx b/chart2/source/controller/main/ChartTransferable.hxx index 8a5e2acd83b2..282c7ad94c24 100644 --- a/chart2/source/controller/main/ChartTransferable.hxx +++ b/chart2/source/controller/main/ChartTransferable.hxx @@ -37,7 +37,7 @@ class ChartTransferable : public TransferableHelper { public: explicit ChartTransferable( SdrModel* pDrawModel, SdrObject* pSelectedObj, bool bDrawing = false ); - virtual ~ChartTransferable(); + virtual ~ChartTransferable() override; protected: diff --git a/chart2/source/controller/main/CommandDispatch.hxx b/chart2/source/controller/main/CommandDispatch.hxx index 96daf4b1c50d..e4775564ca95 100644 --- a/chart2/source/controller/main/CommandDispatch.hxx +++ b/chart2/source/controller/main/CommandDispatch.hxx @@ -49,7 +49,7 @@ class CommandDispatch : { public: explicit CommandDispatch( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~CommandDispatch(); + virtual ~CommandDispatch() override; // late initialisation, especially for adding as listener virtual void initialize(); diff --git a/chart2/source/controller/main/ConfigurationAccess.cxx b/chart2/source/controller/main/ConfigurationAccess.cxx index 06282e7b1561..55cb5f9d5679 100644 --- a/chart2/source/controller/main/ConfigurationAccess.cxx +++ b/chart2/source/controller/main/ConfigurationAccess.cxx @@ -47,7 +47,7 @@ private: public: CalcConfigItem(); - virtual ~CalcConfigItem(); + virtual ~CalcConfigItem() override; FieldUnit getFieldUnit(); virtual void Notify( const uno::Sequence<OUString>& aPropertyNames) override; diff --git a/chart2/source/controller/main/ControllerCommandDispatch.hxx b/chart2/source/controller/main/ControllerCommandDispatch.hxx index 422ff7de1c53..0c7fcfdf6e1b 100644 --- a/chart2/source/controller/main/ControllerCommandDispatch.hxx +++ b/chart2/source/controller/main/ControllerCommandDispatch.hxx @@ -59,7 +59,7 @@ public: explicit ControllerCommandDispatch( const css::uno::Reference< css::uno::XComponentContext > & xContext, ChartController* pController, CommandDispatchContainer* pContainer ); - virtual ~ControllerCommandDispatch(); + virtual ~ControllerCommandDispatch() override; // late initialisation, especially for adding as listener virtual void initialize() override; diff --git a/chart2/source/controller/main/DragMethod_Base.hxx b/chart2/source/controller/main/DragMethod_Base.hxx index 77095cf2ff19..ec7b5c951260 100644 --- a/chart2/source/controller/main/DragMethod_Base.hxx +++ b/chart2/source/controller/main/DragMethod_Base.hxx @@ -33,7 +33,7 @@ public: DragMethod_Base( DrawViewWrapper& rDrawViewWrapper, const OUString& rObjectCID , const css::uno::Reference< css::frame::XModel >& xChartModel , ActionDescriptionProvider::ActionType eActionType = ActionDescriptionProvider::ActionType::Move ); - virtual ~DragMethod_Base(); + virtual ~DragMethod_Base() override; OUString getUndoDescription() const; diff --git a/chart2/source/controller/main/DragMethod_PieSegment.hxx b/chart2/source/controller/main/DragMethod_PieSegment.hxx index 08ba137a8043..35739769c106 100644 --- a/chart2/source/controller/main/DragMethod_PieSegment.hxx +++ b/chart2/source/controller/main/DragMethod_PieSegment.hxx @@ -30,7 +30,7 @@ class DragMethod_PieSegment : public DragMethod_Base public: DragMethod_PieSegment( DrawViewWrapper& rDrawViewWrapper, const OUString& rObjectCID , const css::uno::Reference< css::frame::XModel >& xChartModel ); - virtual ~DragMethod_PieSegment(); + virtual ~DragMethod_PieSegment() override; virtual void TakeSdrDragComment(OUString& rStr) const override; virtual bool BeginSdrDrag() override; diff --git a/chart2/source/controller/main/DragMethod_RotateDiagram.hxx b/chart2/source/controller/main/DragMethod_RotateDiagram.hxx index acb2a732af4b..f89ab3682816 100644 --- a/chart2/source/controller/main/DragMethod_RotateDiagram.hxx +++ b/chart2/source/controller/main/DragMethod_RotateDiagram.hxx @@ -42,7 +42,7 @@ public: , const css::uno::Reference< css::frame::XModel >& xChartModel , RotationDirection eRotationDirection ); - virtual ~DragMethod_RotateDiagram(); + virtual ~DragMethod_RotateDiagram() override; virtual void TakeSdrDragComment(OUString& rStr) const override; diff --git a/chart2/source/controller/main/DrawCommandDispatch.hxx b/chart2/source/controller/main/DrawCommandDispatch.hxx index dd1c379e2abb..435e4011edba 100644 --- a/chart2/source/controller/main/DrawCommandDispatch.hxx +++ b/chart2/source/controller/main/DrawCommandDispatch.hxx @@ -35,7 +35,7 @@ class DrawCommandDispatch: public FeatureCommandDispatchBase { public: DrawCommandDispatch( const css::uno::Reference< css::uno::XComponentContext >& rxContext, ChartController* pController ); - virtual ~DrawCommandDispatch(); + virtual ~DrawCommandDispatch() override; virtual bool isFeatureSupported( const OUString& rCommandURL ) override; diff --git a/chart2/source/controller/main/ElementSelector.hxx b/chart2/source/controller/main/ElementSelector.hxx index f3508543e288..d8e6e896c213 100644 --- a/chart2/source/controller/main/ElementSelector.hxx +++ b/chart2/source/controller/main/ElementSelector.hxx @@ -70,7 +70,7 @@ class ElementSelectorToolbarController : public ::svt::ToolboxController { public: explicit ElementSelectorToolbarController(); - virtual ~ElementSelectorToolbarController(); + virtual ~ElementSelectorToolbarController() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx index 8912572b6c07..f7b3dce41c35 100644 --- a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx +++ b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx @@ -51,7 +51,7 @@ class FeatureCommandDispatchBase: public CommandDispatch { public: explicit FeatureCommandDispatchBase( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~FeatureCommandDispatchBase(); + virtual ~FeatureCommandDispatchBase() override; // late initialisation, especially for adding as listener virtual void initialize() override; diff --git a/chart2/source/controller/main/ShapeController.hxx b/chart2/source/controller/main/ShapeController.hxx index 73b7db1172b0..c5ff2983afa1 100644 --- a/chart2/source/controller/main/ShapeController.hxx +++ b/chart2/source/controller/main/ShapeController.hxx @@ -38,7 +38,7 @@ class ShapeController: public FeatureCommandDispatchBase public: ShapeController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, ChartController* pController ); - virtual ~ShapeController(); + virtual ~ShapeController() override; protected: // WeakComponentImplHelperBase diff --git a/chart2/source/controller/main/StatusBarCommandDispatch.hxx b/chart2/source/controller/main/StatusBarCommandDispatch.hxx index f64b131083b1..87537d902e98 100644 --- a/chart2/source/controller/main/StatusBarCommandDispatch.hxx +++ b/chart2/source/controller/main/StatusBarCommandDispatch.hxx @@ -49,7 +49,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel > & xModel, const css::uno::Reference< css::view::XSelectionSupplier > & xSelSupp ); - virtual ~StatusBarCommandDispatch(); + virtual ~StatusBarCommandDispatch() override; // late initialisation, especially for adding as listener virtual void initialize() override; diff --git a/chart2/source/controller/main/UndoActions.hxx b/chart2/source/controller/main/UndoActions.hxx index 6bc90243fc8e..ce63b94ea7da 100644 --- a/chart2/source/controller/main/UndoActions.hxx +++ b/chart2/source/controller/main/UndoActions.hxx @@ -74,7 +74,7 @@ public: virtual void SAL_CALL disposing() override; protected: - virtual ~UndoElement(); + virtual ~UndoElement() override; private: void impl_toggleModelState(); @@ -102,7 +102,7 @@ public: virtual void SAL_CALL disposing() override; protected: - virtual ~ShapeUndoElement(); + virtual ~ShapeUndoElement() override; private: SdrUndoAction* m_pAction; diff --git a/chart2/source/controller/main/UndoCommandDispatch.hxx b/chart2/source/controller/main/UndoCommandDispatch.hxx index 78e943635e27..603e493720fe 100644 --- a/chart2/source/controller/main/UndoCommandDispatch.hxx +++ b/chart2/source/controller/main/UndoCommandDispatch.hxx @@ -35,7 +35,7 @@ public: explicit UndoCommandDispatch( const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel > & xModel ); - virtual ~UndoCommandDispatch(); + virtual ~UndoCommandDispatch() override; // late initialisation, especially for adding as listener virtual void initialize() override; diff --git a/chart2/source/controller/sidebar/Chart2PanelFactory.hxx b/chart2/source/controller/sidebar/Chart2PanelFactory.hxx index 7b30fc4a9fa4..aebf987830f9 100644 --- a/chart2/source/controller/sidebar/Chart2PanelFactory.hxx +++ b/chart2/source/controller/sidebar/Chart2PanelFactory.hxx @@ -41,7 +41,7 @@ class ChartPanelFactory { public: ChartPanelFactory(); - virtual ~ChartPanelFactory(); + virtual ~ChartPanelFactory() override; ChartPanelFactory(const ChartPanelFactory&) = delete; const ChartPanelFactory& operator=(const ChartPanelFactory&) = delete; diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.hxx b/chart2/source/controller/sidebar/ChartAreaPanel.hxx index f5e64d3b227b..e510082222fa 100644 --- a/chart2/source/controller/sidebar/ChartAreaPanel.hxx +++ b/chart2/source/controller/sidebar/ChartAreaPanel.hxx @@ -62,7 +62,7 @@ public: const css::uno::Reference<css::frame::XFrame>& rxFrame, ChartController* pController); - virtual ~ChartAreaPanel(); + virtual ~ChartAreaPanel() override; virtual void setFillTransparence(const XFillTransparenceItem& rItem) override; virtual void setFillFloatTransparence(const XFillFloatTransparenceItem& rItem) override; diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.hxx b/chart2/source/controller/sidebar/ChartAxisPanel.hxx index 6cb9ec7724d5..2f2fc98d898f 100644 --- a/chart2/source/controller/sidebar/ChartAxisPanel.hxx +++ b/chart2/source/controller/sidebar/ChartAxisPanel.hxx @@ -63,7 +63,7 @@ public: vcl::Window* pParent, const css::uno::Reference<css::frame::XFrame>& rxFrame, ChartController* pController); - virtual ~ChartAxisPanel(); + virtual ~ChartAxisPanel() override; virtual void dispose() override; virtual void updateData() override; diff --git a/chart2/source/controller/sidebar/ChartElementsPanel.hxx b/chart2/source/controller/sidebar/ChartElementsPanel.hxx index 43565def2afe..5e04943b145a 100644 --- a/chart2/source/controller/sidebar/ChartElementsPanel.hxx +++ b/chart2/source/controller/sidebar/ChartElementsPanel.hxx @@ -62,7 +62,7 @@ public: const css::uno::Reference<css::frame::XFrame>& rxFrame, ChartController* pController); - virtual ~ChartElementsPanel(); + virtual ~ChartElementsPanel() override; virtual void dispose() override; diff --git a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx index cff8398444ef..ea7e14b79548 100644 --- a/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx +++ b/chart2/source/controller/sidebar/ChartErrorBarPanel.hxx @@ -61,7 +61,7 @@ public: vcl::Window* pParent, const css::uno::Reference<css::frame::XFrame>& rxFrame, ChartController* pController); - virtual ~ChartErrorBarPanel(); + virtual ~ChartErrorBarPanel() override; virtual void dispose() override; virtual void updateData() override; diff --git a/chart2/source/controller/sidebar/ChartLinePanel.hxx b/chart2/source/controller/sidebar/ChartLinePanel.hxx index 7a842ac56ad5..e538d3208586 100644 --- a/chart2/source/controller/sidebar/ChartLinePanel.hxx +++ b/chart2/source/controller/sidebar/ChartLinePanel.hxx @@ -62,7 +62,7 @@ public: const css::uno::Reference<css::frame::XFrame>& rxFrame, ChartController* pController); - virtual ~ChartLinePanel(); + virtual ~ChartLinePanel() override; virtual void updateData() override; virtual void modelInvalid() override; diff --git a/chart2/source/controller/sidebar/ChartSeriesPanel.hxx b/chart2/source/controller/sidebar/ChartSeriesPanel.hxx index f9465c328555..5710810f86d7 100644 --- a/chart2/source/controller/sidebar/ChartSeriesPanel.hxx +++ b/chart2/source/controller/sidebar/ChartSeriesPanel.hxx @@ -71,7 +71,7 @@ public: vcl::Window* pParent, const css::uno::Reference<css::frame::XFrame>& rxFrame, ChartController* pController); - virtual ~ChartSeriesPanel(); + virtual ~ChartSeriesPanel() override; virtual void dispose() override; virtual void updateData() override; diff --git a/chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx b/chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx index 9a06a24973fc..69b71d6157de 100644 --- a/chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx +++ b/chart2/source/controller/sidebar/ChartSidebarModifyListener.hxx @@ -31,7 +31,7 @@ class ChartSidebarModifyListener : public cppu::WeakImplHelper<css::util::XModif public: explicit ChartSidebarModifyListener(ChartSidebarModifyListenerParent* pParent); - virtual ~ChartSidebarModifyListener(); + virtual ~ChartSidebarModifyListener() override; virtual void SAL_CALL modified(const css::lang::EventObject& rEvent) throw (::css::uno::RuntimeException, ::std::exception) override; diff --git a/chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx b/chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx index 9ac9a18e7968..85df72231369 100644 --- a/chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx +++ b/chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx @@ -38,7 +38,7 @@ public: explicit ChartSidebarSelectionListener(ChartSidebarSelectionListenerParent* pParent); // only liste to the changes of eType ChartSidebarSelectionListener(ChartSidebarSelectionListenerParent* pParent, ObjectType eType); - virtual ~ChartSidebarSelectionListener(); + virtual ~ChartSidebarSelectionListener() override; virtual void SAL_CALL selectionChanged(const css::lang::EventObject& rEvent) throw (::css::uno::RuntimeException, ::std::exception) override; diff --git a/chart2/source/inc/CachedDataSequence.hxx b/chart2/source/inc/CachedDataSequence.hxx index b9cca8739b2f..425b65d7935c 100644 --- a/chart2/source/inc/CachedDataSequence.hxx +++ b/chart2/source/inc/CachedDataSequence.hxx @@ -79,7 +79,7 @@ public: /// Copy CTOR explicit CachedDataSequence( const CachedDataSequence & rSource ); - virtual ~CachedDataSequence(); + virtual ~CachedDataSequence() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/inc/ConfigColorScheme.hxx b/chart2/source/inc/ConfigColorScheme.hxx index 834e8d45a0b4..9be8091ac314 100644 --- a/chart2/source/inc/ConfigColorScheme.hxx +++ b/chart2/source/inc/ConfigColorScheme.hxx @@ -46,7 +46,7 @@ class ConfigColorScheme : { public: explicit ConfigColorScheme( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - SAL_DLLPRIVATE virtual ~ConfigColorScheme(); + SAL_DLLPRIVATE virtual ~ConfigColorScheme() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/inc/DataSource.hxx b/chart2/source/inc/DataSource.hxx index ebf2058fe793..af885c667649 100644 --- a/chart2/source/inc/DataSource.hxx +++ b/chart2/source/inc/DataSource.hxx @@ -40,7 +40,7 @@ public: explicit DataSource( const css::uno::Sequence< css::uno::Reference< css::chart2::data::XLabeledDataSequence > > & rSequences ); - virtual ~DataSource(); + virtual ~DataSource() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/inc/ErrorBar.hxx b/chart2/source/inc/ErrorBar.hxx index 2f925ba6a9c8..8b1496e84f3d 100644 --- a/chart2/source/inc/ErrorBar.hxx +++ b/chart2/source/inc/ErrorBar.hxx @@ -83,7 +83,7 @@ private: public: explicit ErrorBar( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~ErrorBar(); + virtual ~ErrorBar() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/inc/ExponentialRegressionCurveCalculator.hxx b/chart2/source/inc/ExponentialRegressionCurveCalculator.hxx index d3746757d8ca..f6400b090329 100644 --- a/chart2/source/inc/ExponentialRegressionCurveCalculator.hxx +++ b/chart2/source/inc/ExponentialRegressionCurveCalculator.hxx @@ -28,7 +28,7 @@ class ExponentialRegressionCurveCalculator : public RegressionCurveCalculator { public: ExponentialRegressionCurveCalculator(); - virtual ~ExponentialRegressionCurveCalculator(); + virtual ~ExponentialRegressionCurveCalculator() override; protected: virtual OUString ImplGetRepresentation( diff --git a/chart2/source/inc/InternalDataProvider.hxx b/chart2/source/inc/InternalDataProvider.hxx index 8355d8269f18..19e2e1e2ee64 100644 --- a/chart2/source/inc/InternalDataProvider.hxx +++ b/chart2/source/inc/InternalDataProvider.hxx @@ -77,7 +77,7 @@ public: bool bConnectToModel, bool bDefaultDataInColumns ); explicit InternalDataProvider( const InternalDataProvider & rOther ); - virtual ~InternalDataProvider(); + virtual ~InternalDataProvider() override; void createDefaultData(); diff --git a/chart2/source/inc/LabeledDataSequence.hxx b/chart2/source/inc/LabeledDataSequence.hxx index a68bb703aadd..899e76c4bab5 100644 --- a/chart2/source/inc/LabeledDataSequence.hxx +++ b/chart2/source/inc/LabeledDataSequence.hxx @@ -52,7 +52,7 @@ public: const css::uno::Reference< css::chart2::data::XDataSequence > & rValues, const css::uno::Reference< css::chart2::data::XDataSequence > & rLabels ); - virtual ~LabeledDataSequence(); + virtual ~LabeledDataSequence() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx index e1e3ac6cdfdc..870dd7c2468c 100644 --- a/chart2/source/inc/LifeTime.hxx +++ b/chart2/source/inc/LifeTime.hxx @@ -86,7 +86,7 @@ protected: public: OOO_DLLPUBLIC_CHARTTOOLS CloseableLifeTimeManager( css::util::XCloseable* pCloseable , css::lang::XComponent* pComponent ); -OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); +OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager() override; OOO_DLLPUBLIC_CHARTTOOLS bool impl_isDisposedOrClosed( bool bAssert=true ); OOO_DLLPUBLIC_CHARTTOOLS bool g_close_startTryClose(bool bDeliverOwnership) diff --git a/chart2/source/inc/LinearRegressionCurveCalculator.hxx b/chart2/source/inc/LinearRegressionCurveCalculator.hxx index 6cc83707505e..df36c2d72d8d 100644 --- a/chart2/source/inc/LinearRegressionCurveCalculator.hxx +++ b/chart2/source/inc/LinearRegressionCurveCalculator.hxx @@ -29,7 +29,7 @@ class LinearRegressionCurveCalculator : public PolynomialRegressionCurveCalculat { public: LinearRegressionCurveCalculator(); - virtual ~LinearRegressionCurveCalculator(); + virtual ~LinearRegressionCurveCalculator() override; private: virtual void SAL_CALL setRegressionProperties( diff --git a/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx b/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx index 922562fa3c85..ec16964566aa 100644 --- a/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx +++ b/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx @@ -28,7 +28,7 @@ class LogarithmicRegressionCurveCalculator : public RegressionCurveCalculator { public: LogarithmicRegressionCurveCalculator(); - virtual ~LogarithmicRegressionCurveCalculator(); + virtual ~LogarithmicRegressionCurveCalculator() override; protected: virtual OUString ImplGetRepresentation( diff --git a/chart2/source/inc/MeanValueRegressionCurveCalculator.hxx b/chart2/source/inc/MeanValueRegressionCurveCalculator.hxx index fbd307735d7e..4ccc817b4033 100644 --- a/chart2/source/inc/MeanValueRegressionCurveCalculator.hxx +++ b/chart2/source/inc/MeanValueRegressionCurveCalculator.hxx @@ -28,7 +28,7 @@ class MeanValueRegressionCurveCalculator : public RegressionCurveCalculator { public: MeanValueRegressionCurveCalculator(); - virtual ~MeanValueRegressionCurveCalculator(); + virtual ~MeanValueRegressionCurveCalculator() override; protected: virtual OUString ImplGetRepresentation( diff --git a/chart2/source/inc/MovingAverageRegressionCurveCalculator.hxx b/chart2/source/inc/MovingAverageRegressionCurveCalculator.hxx index ccfcc7adf636..a43635a9cc06 100644 --- a/chart2/source/inc/MovingAverageRegressionCurveCalculator.hxx +++ b/chart2/source/inc/MovingAverageRegressionCurveCalculator.hxx @@ -29,7 +29,7 @@ class MovingAverageRegressionCurveCalculator : public RegressionCurveCalculator { public: MovingAverageRegressionCurveCalculator(); - virtual ~MovingAverageRegressionCurveCalculator(); + virtual ~MovingAverageRegressionCurveCalculator() override; protected: virtual OUString ImplGetRepresentation( diff --git a/chart2/source/inc/NameContainer.hxx b/chart2/source/inc/NameContainer.hxx index b4fc11b06d67..91c3a9970a33 100644 --- a/chart2/source/inc/NameContainer.hxx +++ b/chart2/source/inc/NameContainer.hxx @@ -50,7 +50,7 @@ public: NameContainer() = delete; NameContainer( const css::uno::Type& rType, const OUString& rServicename, const OUString& rImplementationName ); explicit NameContainer( const NameContainer & rOther ); - virtual ~NameContainer(); + virtual ~NameContainer() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/chart2/source/inc/PolynomialRegressionCurveCalculator.hxx b/chart2/source/inc/PolynomialRegressionCurveCalculator.hxx index 9b0944e22154..a6e08c6115f7 100644 --- a/chart2/source/inc/PolynomialRegressionCurveCalculator.hxx +++ b/chart2/source/inc/PolynomialRegressionCurveCalculator.hxx @@ -29,7 +29,7 @@ class PolynomialRegressionCurveCalculator : public RegressionCurveCalculator { public: PolynomialRegressionCurveCalculator(); - virtual ~PolynomialRegressionCurveCalculator(); + virtual ~PolynomialRegressionCurveCalculator() override; protected: virtual OUString ImplGetRepresentation( diff --git a/chart2/source/inc/PotentialRegressionCurveCalculator.hxx b/chart2/source/inc/PotentialRegressionCurveCalculator.hxx index a201152234b1..7a890617ca2a 100644 --- a/chart2/source/inc/PotentialRegressionCurveCalculator.hxx +++ b/chart2/source/inc/PotentialRegressionCurveCalculator.hxx @@ -29,7 +29,7 @@ class PotentialRegressionCurveCalculator : public RegressionCurveCalculator { public: PotentialRegressionCurveCalculator(); - virtual ~PotentialRegressionCurveCalculator(); + virtual ~PotentialRegressionCurveCalculator() override; protected: virtual OUString ImplGetRepresentation( diff --git a/chart2/source/inc/RangeHighlighter.hxx b/chart2/source/inc/RangeHighlighter.hxx index 2fe6291ece72..a7b67169fab8 100644 --- a/chart2/source/inc/RangeHighlighter.hxx +++ b/chart2/source/inc/RangeHighlighter.hxx @@ -51,7 +51,7 @@ class RangeHighlighter : public: explicit RangeHighlighter( const css::uno::Reference< css::view::XSelectionSupplier > & xSelectionSupplier ); - virtual ~RangeHighlighter(); + virtual ~RangeHighlighter() override; protected: // ____ XRangeHighlighter ____ diff --git a/chart2/source/inc/RegressionCurveCalculator.hxx b/chart2/source/inc/RegressionCurveCalculator.hxx index 422c39b3ed55..ff063c8a8c96 100644 --- a/chart2/source/inc/RegressionCurveCalculator.hxx +++ b/chart2/source/inc/RegressionCurveCalculator.hxx @@ -33,7 +33,7 @@ class RegressionCurveCalculator : public { public: RegressionCurveCalculator(); - virtual ~RegressionCurveCalculator(); + virtual ~RegressionCurveCalculator() override; static bool isLinearScaling( const css::uno::Reference< css::chart2::XScaling >& xScaling ); diff --git a/chart2/source/inc/Scaling.hxx b/chart2/source/inc/Scaling.hxx index 690ac3f6e103..bac4b7f5bb25 100644 --- a/chart2/source/inc/Scaling.hxx +++ b/chart2/source/inc/Scaling.hxx @@ -42,7 +42,7 @@ public: /// base is 10.0 explicit LogarithmicScaling(); LogarithmicScaling( double fBase ); - virtual ~LogarithmicScaling(); + virtual ~LogarithmicScaling() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() @@ -83,7 +83,7 @@ public: /// base is 10.0 explicit ExponentialScaling(); explicit ExponentialScaling( double fBase ); - virtual ~ExponentialScaling(); + virtual ~ExponentialScaling() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() @@ -123,7 +123,7 @@ public: explicit LinearScaling(); /// y(x) = fSlope * x + fOffset LinearScaling( double fSlope, double fOffset ); - virtual ~LinearScaling(); + virtual ~LinearScaling() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() @@ -162,7 +162,7 @@ public: /// exponent 10.0 explicit PowerScaling(); explicit PowerScaling( double fExponent ); - virtual ~PowerScaling(); + virtual ~PowerScaling() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/inc/UncachedDataSequence.hxx b/chart2/source/inc/UncachedDataSequence.hxx index 607a2696725d..5373b76b74c4 100644 --- a/chart2/source/inc/UncachedDataSequence.hxx +++ b/chart2/source/inc/UncachedDataSequence.hxx @@ -88,7 +88,7 @@ public: const OUString & rRangeRepresentation, const OUString & rRole ); UncachedDataSequence( const UncachedDataSequence & rSource ); - virtual ~UncachedDataSequence(); + virtual ~UncachedDataSequence() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/inc/WeakListenerAdapter.hxx b/chart2/source/inc/WeakListenerAdapter.hxx index 4ff2e3e4922c..b29dc538e22c 100644 --- a/chart2/source/inc/WeakListenerAdapter.hxx +++ b/chart2/source/inc/WeakListenerAdapter.hxx @@ -82,7 +82,7 @@ class WeakModifyListenerAdapter : public: explicit WeakModifyListenerAdapter( const css::uno::WeakReference< css::util::XModifyListener > & xListener ); - virtual ~WeakModifyListenerAdapter(); + virtual ~WeakModifyListenerAdapter() override; protected: // ____ XModifyListener ____ @@ -96,7 +96,7 @@ class WeakSelectionChangeListenerAdapter : public: explicit WeakSelectionChangeListenerAdapter( const css::uno::Reference< css::view::XSelectionChangeListener > & xListener ); - virtual ~WeakSelectionChangeListenerAdapter(); + virtual ~WeakSelectionChangeListenerAdapter() override; protected: // ____ XSelectionChangeListener ____ diff --git a/chart2/source/inc/WrappedDefaultProperty.hxx b/chart2/source/inc/WrappedDefaultProperty.hxx index b9c26cbd7f84..f0a9fed217ed 100644 --- a/chart2/source/inc/WrappedDefaultProperty.hxx +++ b/chart2/source/inc/WrappedDefaultProperty.hxx @@ -31,7 +31,7 @@ public: explicit WrappedDefaultProperty( const OUString& rOuterName, const OUString& rInnerName, const css::uno::Any& rNewOuterDefault ); - virtual ~WrappedDefaultProperty(); + virtual ~WrappedDefaultProperty() override; virtual void setPropertyToDefault( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const diff --git a/chart2/source/inc/WrappedDirectStateProperty.hxx b/chart2/source/inc/WrappedDirectStateProperty.hxx index 6402afd57b7b..1c97aa0a5cb8 100644 --- a/chart2/source/inc/WrappedDirectStateProperty.hxx +++ b/chart2/source/inc/WrappedDirectStateProperty.hxx @@ -31,7 +31,7 @@ class OOO_DLLPUBLIC_CHARTTOOLS WrappedDirectStateProperty : public: explicit WrappedDirectStateProperty( const OUString& rOuterName, const OUString& rInnerName ); - virtual ~WrappedDirectStateProperty(); + virtual ~WrappedDirectStateProperty() override; virtual css::beans::PropertyState getPropertyState( const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState ) const diff --git a/chart2/source/inc/WrappedIgnoreProperty.hxx b/chart2/source/inc/WrappedIgnoreProperty.hxx index ca6fe26ef6d5..70f0c37c9862 100644 --- a/chart2/source/inc/WrappedIgnoreProperty.hxx +++ b/chart2/source/inc/WrappedIgnoreProperty.hxx @@ -31,7 +31,7 @@ class OOO_DLLPUBLIC_CHARTTOOLS WrappedIgnoreProperty : public WrappedProperty { public: WrappedIgnoreProperty( const OUString& rOuterName, const css::uno::Any& rDefaultValue ); - virtual ~WrappedIgnoreProperty(); + virtual ~WrappedIgnoreProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; diff --git a/chart2/source/inc/WrappedPropertySet.hxx b/chart2/source/inc/WrappedPropertySet.hxx index 1815dcf8bb0c..cd2c89937e84 100644 --- a/chart2/source/inc/WrappedPropertySet.hxx +++ b/chart2/source/inc/WrappedPropertySet.hxx @@ -47,7 +47,7 @@ class OOO_DLLPUBLIC_CHARTTOOLS WrappedPropertySet : { public: WrappedPropertySet(); - virtual ~WrappedPropertySet(); + virtual ~WrappedPropertySet() override; void clearWrappedPropertySet(); diff --git a/chart2/source/inc/chartview/DrawModelWrapper.hxx b/chart2/source/inc/chartview/DrawModelWrapper.hxx index 91ac42c19734..45e6b57eeef3 100644 --- a/chart2/source/inc/chartview/DrawModelWrapper.hxx +++ b/chart2/source/inc/chartview/DrawModelWrapper.hxx @@ -46,7 +46,7 @@ public: SAL_DLLPRIVATE DrawModelWrapper( const css::uno::Reference<css::uno::XComponentContext>& xContext ); - SAL_DLLPRIVATE virtual ~DrawModelWrapper(); + SAL_DLLPRIVATE virtual ~DrawModelWrapper() override; css::uno::Reference< css::lang::XMultiServiceFactory > getShapeFactory(); diff --git a/chart2/source/model/inc/BaseCoordinateSystem.hxx b/chart2/source/model/inc/BaseCoordinateSystem.hxx index da9a04c128d2..ab73022b468b 100644 --- a/chart2/source/model/inc/BaseCoordinateSystem.hxx +++ b/chart2/source/model/inc/BaseCoordinateSystem.hxx @@ -58,7 +58,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext, sal_Int32 nDimensionCount = 2 ); explicit BaseCoordinateSystem( const BaseCoordinateSystem & rSource ); - virtual ~BaseCoordinateSystem(); + virtual ~BaseCoordinateSystem() override; // ____ OPropertySet ____ virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const diff --git a/chart2/source/model/inc/CartesianCoordinateSystem.hxx b/chart2/source/model/inc/CartesianCoordinateSystem.hxx index d17126c9b9e0..5cd12965bd36 100644 --- a/chart2/source/model/inc/CartesianCoordinateSystem.hxx +++ b/chart2/source/model/inc/CartesianCoordinateSystem.hxx @@ -31,7 +31,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext, sal_Int32 nDimensionCount = 2 ); explicit CartesianCoordinateSystem( const CartesianCoordinateSystem & rSource ); - virtual ~CartesianCoordinateSystem(); + virtual ~CartesianCoordinateSystem() override; // ____ XCoordinateSystem ____ virtual OUString SAL_CALL getCoordinateSystemType() @@ -60,7 +60,7 @@ class CartesianCoordinateSystem2d : public CartesianCoordinateSystem public: explicit CartesianCoordinateSystem2d( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~CartesianCoordinateSystem2d(); + virtual ~CartesianCoordinateSystem2d() override; // ____ XServiceInfo ____ virtual OUString SAL_CALL getImplementationName() @@ -80,7 +80,7 @@ public: explicit CartesianCoordinateSystem3d( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~CartesianCoordinateSystem3d(); + virtual ~CartesianCoordinateSystem3d() override; // ____ XServiceInfo ____ virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/inc/ChartTypeManager.hxx b/chart2/source/model/inc/ChartTypeManager.hxx index 807ce952d3c5..b41664120019 100644 --- a/chart2/source/model/inc/ChartTypeManager.hxx +++ b/chart2/source/model/inc/ChartTypeManager.hxx @@ -41,7 +41,7 @@ class ChartTypeManager : public: explicit ChartTypeManager( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~ChartTypeManager(); + virtual ~ChartTypeManager() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/inc/DataSeries.hxx b/chart2/source/model/inc/DataSeries.hxx index 81859e6186ab..030d0ce3c219 100644 --- a/chart2/source/model/inc/DataSeries.hxx +++ b/chart2/source/model/inc/DataSeries.hxx @@ -68,7 +68,7 @@ class DataSeries : { public: explicit DataSeries( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~DataSeries(); + virtual ~DataSeries() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/inc/Diagram.hxx b/chart2/source/model/inc/Diagram.hxx index 6e86d36464d5..9dbec671422c 100644 --- a/chart2/source/model/inc/Diagram.hxx +++ b/chart2/source/model/inc/Diagram.hxx @@ -62,7 +62,7 @@ class Diagram : { public: Diagram( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~Diagram(); + virtual ~Diagram() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/inc/PolarCoordinateSystem.hxx b/chart2/source/model/inc/PolarCoordinateSystem.hxx index ba4def86ec79..70773f03153e 100644 --- a/chart2/source/model/inc/PolarCoordinateSystem.hxx +++ b/chart2/source/model/inc/PolarCoordinateSystem.hxx @@ -31,7 +31,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext, sal_Int32 nDimensionCount = 2 ); explicit PolarCoordinateSystem( const PolarCoordinateSystem & rSource ); - virtual ~PolarCoordinateSystem(); + virtual ~PolarCoordinateSystem() override; // ____ XCoordinateSystem ____ virtual OUString SAL_CALL getCoordinateSystemType() @@ -60,7 +60,7 @@ class PolarCoordinateSystem2d : public PolarCoordinateSystem public: explicit PolarCoordinateSystem2d( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~PolarCoordinateSystem2d(); + virtual ~PolarCoordinateSystem2d() override; // ____ XServiceInfo ____ virtual OUString SAL_CALL getImplementationName() @@ -79,7 +79,7 @@ class PolarCoordinateSystem3d : public PolarCoordinateSystem public: explicit PolarCoordinateSystem3d( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~PolarCoordinateSystem3d(); + virtual ~PolarCoordinateSystem3d() override; // ____ XServiceInfo ____ virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/inc/StockBar.hxx b/chart2/source/model/inc/StockBar.hxx index a00419aa2eab..51d3db993fb5 100644 --- a/chart2/source/model/inc/StockBar.hxx +++ b/chart2/source/model/inc/StockBar.hxx @@ -47,7 +47,7 @@ class StockBar : { public: explicit StockBar( bool bRisingCourse ); - virtual ~StockBar(); + virtual ~StockBar() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/inc/XMLFilter.hxx b/chart2/source/model/inc/XMLFilter.hxx index ffe01fc40e7c..1c7ce84131ad 100644 --- a/chart2/source/model/inc/XMLFilter.hxx +++ b/chart2/source/model/inc/XMLFilter.hxx @@ -59,7 +59,7 @@ class XMLFilter : public { public: explicit XMLFilter( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~XMLFilter(); + virtual ~XMLFilter() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/main/Axis.hxx b/chart2/source/model/main/Axis.hxx index bc6bc659c02d..00f0d6503b19 100644 --- a/chart2/source/model/main/Axis.hxx +++ b/chart2/source/model/main/Axis.hxx @@ -55,7 +55,7 @@ class Axis : { public: explicit Axis( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~Axis(); + virtual ~Axis() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/main/DataPoint.hxx b/chart2/source/model/main/DataPoint.hxx index 2be2e69053dc..2262079f0e59 100644 --- a/chart2/source/model/main/DataPoint.hxx +++ b/chart2/source/model/main/DataPoint.hxx @@ -52,7 +52,7 @@ class DataPoint : { public: explicit DataPoint( const css::uno::Reference< css::beans::XPropertySet > & rParentProperties ); - virtual ~DataPoint(); + virtual ~DataPoint() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/main/FormattedString.hxx b/chart2/source/model/main/FormattedString.hxx index 54e714748ade..8f4755405260 100644 --- a/chart2/source/model/main/FormattedString.hxx +++ b/chart2/source/model/main/FormattedString.hxx @@ -51,7 +51,7 @@ class FormattedString : public: explicit FormattedString( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~FormattedString(); + virtual ~FormattedString() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/main/GridProperties.hxx b/chart2/source/model/main/GridProperties.hxx index ae73f6160aa8..75dd9a33ce1a 100644 --- a/chart2/source/model/main/GridProperties.hxx +++ b/chart2/source/model/main/GridProperties.hxx @@ -53,7 +53,7 @@ class GridProperties : public: explicit GridProperties( css::uno::Reference< css::uno::XComponentContext > const & xContext ); explicit GridProperties(); - virtual ~GridProperties(); + virtual ~GridProperties() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/main/Legend.hxx b/chart2/source/model/main/Legend.hxx index d3a761541655..066a595b3606 100644 --- a/chart2/source/model/main/Legend.hxx +++ b/chart2/source/model/main/Legend.hxx @@ -52,7 +52,7 @@ class Legend : { public: explicit Legend( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~Legend(); + virtual ~Legend() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/main/PageBackground.hxx b/chart2/source/model/main/PageBackground.hxx index b89cb9a3f918..721642059028 100644 --- a/chart2/source/model/main/PageBackground.hxx +++ b/chart2/source/model/main/PageBackground.hxx @@ -49,7 +49,7 @@ class PageBackground : { public: explicit PageBackground( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~PageBackground(); + virtual ~PageBackground() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/main/Title.hxx b/chart2/source/model/main/Title.hxx index c741da577f13..b484ccec66cf 100644 --- a/chart2/source/model/main/Title.hxx +++ b/chart2/source/model/main/Title.hxx @@ -50,7 +50,7 @@ class Title : { public: explicit Title( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~Title(); + virtual ~Title() override; /// XServiceInfo declarations virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/main/Wall.hxx b/chart2/source/model/main/Wall.hxx index 00d09d8a926b..e35d936312b7 100644 --- a/chart2/source/model/main/Wall.hxx +++ b/chart2/source/model/main/Wall.hxx @@ -49,7 +49,7 @@ class Wall : { public: Wall(); - virtual ~Wall(); + virtual ~Wall() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/AreaChartType.hxx b/chart2/source/model/template/AreaChartType.hxx index d3afb47a6bff..b3c2843197eb 100644 --- a/chart2/source/model/template/AreaChartType.hxx +++ b/chart2/source/model/template/AreaChartType.hxx @@ -28,7 +28,7 @@ class AreaChartType : public ChartType { public: explicit AreaChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~AreaChartType(); + virtual ~AreaChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/AreaChartTypeTemplate.hxx b/chart2/source/model/template/AreaChartTypeTemplate.hxx index 9a65af2d3912..83d73c1687e6 100644 --- a/chart2/source/model/template/AreaChartTypeTemplate.hxx +++ b/chart2/source/model/template/AreaChartTypeTemplate.hxx @@ -40,7 +40,7 @@ public: const OUString & rServiceName, StackMode eStackMode, sal_Int32 nDim = 2 ); - virtual ~AreaChartTypeTemplate(); + virtual ~AreaChartTypeTemplate() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/BarChartType.hxx b/chart2/source/model/template/BarChartType.hxx index eb6344d36733..96b706e41999 100644 --- a/chart2/source/model/template/BarChartType.hxx +++ b/chart2/source/model/template/BarChartType.hxx @@ -28,7 +28,7 @@ class BarChartType : public ChartType { public: explicit BarChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~BarChartType(); + virtual ~BarChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/BarChartTypeTemplate.hxx b/chart2/source/model/template/BarChartTypeTemplate.hxx index 5c1dc3724cd1..73b98fa1fe56 100644 --- a/chart2/source/model/template/BarChartTypeTemplate.hxx +++ b/chart2/source/model/template/BarChartTypeTemplate.hxx @@ -47,7 +47,7 @@ public: StackMode eStackMode, BarDirection eDirection, sal_Int32 nDim = 2 ); - virtual ~BarChartTypeTemplate(); + virtual ~BarChartTypeTemplate() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/BubbleChartType.hxx b/chart2/source/model/template/BubbleChartType.hxx index 3e2f69e4e5c4..66d7508b00ae 100644 --- a/chart2/source/model/template/BubbleChartType.hxx +++ b/chart2/source/model/template/BubbleChartType.hxx @@ -30,7 +30,7 @@ class BubbleChartType : public ChartType public: explicit BubbleChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~BubbleChartType(); + virtual ~BubbleChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/BubbleChartTypeTemplate.hxx b/chart2/source/model/template/BubbleChartTypeTemplate.hxx index b6ede1c10b66..e5e135726f5f 100644 --- a/chart2/source/model/template/BubbleChartTypeTemplate.hxx +++ b/chart2/source/model/template/BubbleChartTypeTemplate.hxx @@ -36,7 +36,7 @@ public: explicit BubbleChartTypeTemplate( css::uno::Reference< css::uno::XComponentContext > const & xContext, const OUString & rServiceName ); - virtual ~BubbleChartTypeTemplate(); + virtual ~BubbleChartTypeTemplate() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/BubbleDataInterpreter.hxx b/chart2/source/model/template/BubbleDataInterpreter.hxx index ed5cebfcc0e8..4f08d05c7517 100644 --- a/chart2/source/model/template/BubbleDataInterpreter.hxx +++ b/chart2/source/model/template/BubbleDataInterpreter.hxx @@ -29,7 +29,7 @@ class BubbleDataInterpreter : public DataInterpreter public: explicit BubbleDataInterpreter( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~BubbleDataInterpreter(); + virtual ~BubbleDataInterpreter() override; protected: // ____ XDataInterpreter ____ diff --git a/chart2/source/model/template/CandleStickChartType.hxx b/chart2/source/model/template/CandleStickChartType.hxx index 6521ca2b9cb1..a4079f2b86fd 100644 --- a/chart2/source/model/template/CandleStickChartType.hxx +++ b/chart2/source/model/template/CandleStickChartType.hxx @@ -29,7 +29,7 @@ class CandleStickChartType : public ChartType public: explicit CandleStickChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~CandleStickChartType(); + virtual ~CandleStickChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/ChartType.hxx b/chart2/source/model/template/ChartType.hxx index 653ce0f2ee1c..ef702bc71e46 100644 --- a/chart2/source/model/template/ChartType.hxx +++ b/chart2/source/model/template/ChartType.hxx @@ -54,7 +54,7 @@ class ChartType : { public: explicit ChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~ChartType(); + virtual ~ChartType() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx index 2f7bdcb26b41..3ae8a9a9a91c 100644 --- a/chart2/source/model/template/ChartTypeTemplate.hxx +++ b/chart2/source/model/template/ChartTypeTemplate.hxx @@ -76,7 +76,7 @@ class ChartTypeTemplate : public ::cppu::WeakImplHelper< public: explicit ChartTypeTemplate( css::uno::Reference< css::uno::XComponentContext > const & xContext, const OUString & rServiceName ); - virtual ~ChartTypeTemplate(); + virtual ~ChartTypeTemplate() override; protected: // ____ XChartTypeTemplate ____ diff --git a/chart2/source/model/template/ColumnChartType.hxx b/chart2/source/model/template/ColumnChartType.hxx index 6da6f794194c..3616a28ddece 100644 --- a/chart2/source/model/template/ColumnChartType.hxx +++ b/chart2/source/model/template/ColumnChartType.hxx @@ -28,7 +28,7 @@ class ColumnChartType : public ChartType { public: explicit ColumnChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~ColumnChartType(); + virtual ~ColumnChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/ColumnLineChartTypeTemplate.hxx b/chart2/source/model/template/ColumnLineChartTypeTemplate.hxx index 7cb7d76e41d5..80a15444d598 100644 --- a/chart2/source/model/template/ColumnLineChartTypeTemplate.hxx +++ b/chart2/source/model/template/ColumnLineChartTypeTemplate.hxx @@ -40,7 +40,7 @@ public: const OUString & rServiceName, StackMode eStackMode, sal_Int32 nNumberOfLines ); - virtual ~ColumnLineChartTypeTemplate(); + virtual ~ColumnLineChartTypeTemplate() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/ColumnLineDataInterpreter.hxx b/chart2/source/model/template/ColumnLineDataInterpreter.hxx index 8c0505236fa2..ea7ef0a934cd 100644 --- a/chart2/source/model/template/ColumnLineDataInterpreter.hxx +++ b/chart2/source/model/template/ColumnLineDataInterpreter.hxx @@ -30,7 +30,7 @@ public: explicit ColumnLineDataInterpreter( sal_Int32 nNumberOfLines, const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~ColumnLineDataInterpreter(); + virtual ~ColumnLineDataInterpreter() override; protected: // ____ XDataInterpreter ____ diff --git a/chart2/source/model/template/DataInterpreter.hxx b/chart2/source/model/template/DataInterpreter.hxx index e9fd3e3ec042..8815496681fb 100644 --- a/chart2/source/model/template/DataInterpreter.hxx +++ b/chart2/source/model/template/DataInterpreter.hxx @@ -33,7 +33,7 @@ class DataInterpreter : public ::cppu::WeakImplHelper< { public: explicit DataInterpreter( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~DataInterpreter(); + virtual ~DataInterpreter() override; const css::uno::Reference< css::uno::XComponentContext >& GetComponentContext() const { return m_xContext;} diff --git a/chart2/source/model/template/FilledNetChartType.hxx b/chart2/source/model/template/FilledNetChartType.hxx index f16f51877405..d7ddbaa9f790 100644 --- a/chart2/source/model/template/FilledNetChartType.hxx +++ b/chart2/source/model/template/FilledNetChartType.hxx @@ -28,7 +28,7 @@ class FilledNetChartType : public NetChartType_Base { public: explicit FilledNetChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~FilledNetChartType(); + virtual ~FilledNetChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/GL3DBarChartType.hxx b/chart2/source/model/template/GL3DBarChartType.hxx index 7540e41290b3..dc2680871c72 100644 --- a/chart2/source/model/template/GL3DBarChartType.hxx +++ b/chart2/source/model/template/GL3DBarChartType.hxx @@ -22,7 +22,7 @@ class GL3DBarChartType : public ChartType { public: explicit GL3DBarChartType( const css::uno::Reference<css::uno::XComponentContext>& xContext ); - virtual ~GL3DBarChartType(); + virtual ~GL3DBarChartType() override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedPropertyRoles() diff --git a/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx b/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx index 220b1e534703..baa781459d1a 100644 --- a/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx +++ b/chart2/source/model/template/GL3DBarChartTypeTemplate.hxx @@ -30,7 +30,7 @@ public: css::uno::XComponentContext>& xContext, const OUString& rServiceName ); - virtual ~GL3DBarChartTypeTemplate(); + virtual ~GL3DBarChartTypeTemplate() override; virtual css::uno::Reference<css::chart2::XChartType> getChartTypeForIndex( sal_Int32 nChartTypeIndex ) override; diff --git a/chart2/source/model/template/LineChartType.hxx b/chart2/source/model/template/LineChartType.hxx index 8602ef32b63d..17190dd59084 100644 --- a/chart2/source/model/template/LineChartType.hxx +++ b/chart2/source/model/template/LineChartType.hxx @@ -29,7 +29,7 @@ class LineChartType : public ChartType { public: explicit LineChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~LineChartType(); + virtual ~LineChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/LineChartTypeTemplate.hxx b/chart2/source/model/template/LineChartTypeTemplate.hxx index c8d1ad21c9b8..1a1364bfb8f2 100644 --- a/chart2/source/model/template/LineChartTypeTemplate.hxx +++ b/chart2/source/model/template/LineChartTypeTemplate.hxx @@ -42,7 +42,7 @@ public: bool bSymbols, bool bHasLines = true, sal_Int32 nDim = 2 ); - virtual ~LineChartTypeTemplate(); + virtual ~LineChartTypeTemplate() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/NetChartType.hxx b/chart2/source/model/template/NetChartType.hxx index 5ea718208b64..ea931ea702df 100644 --- a/chart2/source/model/template/NetChartType.hxx +++ b/chart2/source/model/template/NetChartType.hxx @@ -28,7 +28,7 @@ class NetChartType_Base : public ChartType { public: explicit NetChartType_Base( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~NetChartType_Base(); + virtual ~NetChartType_Base() override; protected: explicit NetChartType_Base( const NetChartType_Base & rOther ); @@ -55,7 +55,7 @@ class NetChartType : public NetChartType_Base { public: explicit NetChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~NetChartType(); + virtual ~NetChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/NetChartTypeTemplate.hxx b/chart2/source/model/template/NetChartTypeTemplate.hxx index cefc496a10b2..f6eca07f400b 100644 --- a/chart2/source/model/template/NetChartTypeTemplate.hxx +++ b/chart2/source/model/template/NetChartTypeTemplate.hxx @@ -36,7 +36,7 @@ public: bool bHasLines = true, bool bHasFilledArea = false ); - virtual ~NetChartTypeTemplate(); + virtual ~NetChartTypeTemplate() override; protected: // ____ XChartTypeTemplate ____ diff --git a/chart2/source/model/template/PieChartType.hxx b/chart2/source/model/template/PieChartType.hxx index 34b3b306a8b5..19aa8f2050b0 100644 --- a/chart2/source/model/template/PieChartType.hxx +++ b/chart2/source/model/template/PieChartType.hxx @@ -29,7 +29,7 @@ class PieChartType : public ChartType public: explicit PieChartType( css::uno::Reference< css::uno::XComponentContext > const & xContext ); - virtual ~PieChartType(); + virtual ~PieChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/PieChartTypeTemplate.hxx b/chart2/source/model/template/PieChartTypeTemplate.hxx index e9f191fe3af7..5940ba610b2a 100644 --- a/chart2/source/model/template/PieChartTypeTemplate.hxx +++ b/chart2/source/model/template/PieChartTypeTemplate.hxx @@ -41,7 +41,7 @@ public: css::chart2::PieChartOffsetMode eMode, bool bRings = false, sal_Int32 nDim = 2 ); - virtual ~PieChartTypeTemplate(); + virtual ~PieChartTypeTemplate() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/ScatterChartType.hxx b/chart2/source/model/template/ScatterChartType.hxx index b3ef17dd89de..117364065550 100644 --- a/chart2/source/model/template/ScatterChartType.hxx +++ b/chart2/source/model/template/ScatterChartType.hxx @@ -33,7 +33,7 @@ public: css::chart2::CurveStyle eCurveStyle = css::chart2::CurveStyle_LINES, sal_Int32 nResolution = 20, sal_Int32 nOrder = 3 ); - virtual ~ScatterChartType(); + virtual ~ScatterChartType() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/model/template/ScatterChartTypeTemplate.hxx b/chart2/source/model/template/ScatterChartTypeTemplate.hxx index 6a03fe38dff3..65ae965bc284 100644 --- a/chart2/source/model/template/ScatterChartTypeTemplate.hxx +++ b/chart2/source/model/template/ScatterChartTypeTemplate.hxx @@ -40,7 +40,7 @@ public: bool bSymbols, bool bHasLines = true, sal_Int32 nDim = 2 ); - virtual ~ScatterChartTypeTemplate(); + virtual ~ScatterChartTypeTemplate() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/StockChartTypeTemplate.hxx b/chart2/source/model/template/StockChartTypeTemplate.hxx index 89e4295ec31b..2a04ba2bec6a 100644 --- a/chart2/source/model/template/StockChartTypeTemplate.hxx +++ b/chart2/source/model/template/StockChartTypeTemplate.hxx @@ -54,7 +54,7 @@ public: const OUString & rServiceName, StockVariant eVariant, bool bJapaneseStyle ); - virtual ~StockChartTypeTemplate(); + virtual ~StockChartTypeTemplate() override; /// merge XInterface implementations DECLARE_XINTERFACE() diff --git a/chart2/source/model/template/StockDataInterpreter.hxx b/chart2/source/model/template/StockDataInterpreter.hxx index 5b466f892c26..9e054af878db 100644 --- a/chart2/source/model/template/StockDataInterpreter.hxx +++ b/chart2/source/model/template/StockDataInterpreter.hxx @@ -32,7 +32,7 @@ public: explicit StockDataInterpreter( StockChartTypeTemplate::StockVariant eVariant, const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~StockDataInterpreter(); + virtual ~StockDataInterpreter() override; protected: // ____ XDataInterpreter ____ diff --git a/chart2/source/model/template/XYDataInterpreter.hxx b/chart2/source/model/template/XYDataInterpreter.hxx index 08ab0fb79d0c..cf8017a02a3c 100644 --- a/chart2/source/model/template/XYDataInterpreter.hxx +++ b/chart2/source/model/template/XYDataInterpreter.hxx @@ -28,7 +28,7 @@ class XYDataInterpreter : public DataInterpreter { public: explicit XYDataInterpreter( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~XYDataInterpreter(); + virtual ~XYDataInterpreter() override; protected: // ____ XDataInterpreter ____ diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx index 6ecd3f3836fa..21b54d5a365f 100644 --- a/chart2/source/tools/ConfigColorScheme.cxx +++ b/chart2/source/tools/ConfigColorScheme.cxx @@ -53,7 +53,7 @@ class ChartConfigItem : public ::utl::ConfigItem { public: explicit ChartConfigItem( ConfigColorScheme & rListener ); - virtual ~ChartConfigItem() {} + virtual ~ChartConfigItem() override {} void addPropertyNotification( const OUString & rPropertyName ); uno::Any getProperty( const OUString & aPropertyName ); diff --git a/chart2/source/tools/ExplicitCategoriesProvider.cxx b/chart2/source/tools/ExplicitCategoriesProvider.cxx index d2f24524873b..70321070d3bf 100644 --- a/chart2/source/tools/ExplicitCategoriesProvider.cxx +++ b/chart2/source/tools/ExplicitCategoriesProvider.cxx @@ -226,7 +226,7 @@ public: : m_rSplitCategoriesList( rSplitCategoriesList ) , mrModel( rModel ) {} - virtual ~SplitCategoriesProvider_ForLabeledDataSequences() + virtual ~SplitCategoriesProvider_ForLabeledDataSequences() override {} virtual sal_Int32 getLevelCount() const override; diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx index eaab5476c67d..32dd3c715ab2 100644 --- a/chart2/source/tools/InternalDataProvider.cxx +++ b/chart2/source/tools/InternalDataProvider.cxx @@ -1355,7 +1355,7 @@ public: explicit SplitCategoriesProvider_ForComplexDescriptions( const ::std::vector< ::std::vector< uno::Any > >& rComplexDescriptions ) : m_rComplexDescriptions( rComplexDescriptions ) {} - virtual ~SplitCategoriesProvider_ForComplexDescriptions() + virtual ~SplitCategoriesProvider_ForComplexDescriptions() override {} virtual sal_Int32 getLevelCount() const override; diff --git a/chart2/source/tools/RegressionCurveModel.hxx b/chart2/source/tools/RegressionCurveModel.hxx index 35e63007d6d0..5f56f766b672 100644 --- a/chart2/source/tools/RegressionCurveModel.hxx +++ b/chart2/source/tools/RegressionCurveModel.hxx @@ -68,7 +68,7 @@ public: RegressionCurveModel( css::uno::Reference< css::uno::XComponentContext > const & xContext, tCurveType eCurveType ); RegressionCurveModel( const RegressionCurveModel & rOther ); - virtual ~RegressionCurveModel(); + virtual ~RegressionCurveModel() override; /// merge XInterface implementations DECLARE_XINTERFACE() @@ -145,7 +145,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext ); explicit MeanValueRegressionCurve( const MeanValueRegressionCurve & rOther ); - virtual ~MeanValueRegressionCurve(); + virtual ~MeanValueRegressionCurve() override; // ____ XCloneable ____ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() @@ -171,7 +171,7 @@ public: css::uno::XComponentContext > & xContext ); explicit LinearRegressionCurve( const LinearRegressionCurve & rOther ); - virtual ~LinearRegressionCurve(); + virtual ~LinearRegressionCurve() override; // ____ XCloneable ____ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() @@ -197,7 +197,7 @@ public: css::uno::XComponentContext > & xContext ); explicit LogarithmicRegressionCurve( const LogarithmicRegressionCurve & rOther ); - virtual ~LogarithmicRegressionCurve(); + virtual ~LogarithmicRegressionCurve() override; // ____ XCloneable ____ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() @@ -222,7 +222,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext ); explicit ExponentialRegressionCurve( const ExponentialRegressionCurve & rOther ); - virtual ~ExponentialRegressionCurve(); + virtual ~ExponentialRegressionCurve() override; // ____ XCloneable ____ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() @@ -248,7 +248,7 @@ public: css::uno::XComponentContext > & xContext ); explicit PotentialRegressionCurve( const PotentialRegressionCurve & rOther ); - virtual ~PotentialRegressionCurve(); + virtual ~PotentialRegressionCurve() override; // ____ XCloneable ____ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() @@ -273,7 +273,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext ); explicit PolynomialRegressionCurve( const PolynomialRegressionCurve & rOther ); - virtual ~PolynomialRegressionCurve(); + virtual ~PolynomialRegressionCurve() override; // ____ XCloneable ____ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() @@ -298,7 +298,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext ); explicit MovingAverageRegressionCurve( const MovingAverageRegressionCurve & rOther ); - virtual ~MovingAverageRegressionCurve(); + virtual ~MovingAverageRegressionCurve() override; // ____ XCloneable ____ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() diff --git a/chart2/source/tools/RegressionEquation.hxx b/chart2/source/tools/RegressionEquation.hxx index b05aa1f4ac94..cd2d4456843a 100644 --- a/chart2/source/tools/RegressionEquation.hxx +++ b/chart2/source/tools/RegressionEquation.hxx @@ -54,7 +54,7 @@ class RegressionEquation : { public: explicit RegressionEquation(); - virtual ~RegressionEquation(); + virtual ~RegressionEquation() override; virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/view/axes/DateScaling.hxx b/chart2/source/view/axes/DateScaling.hxx index 65dbdcbae644..2aedbe5c56df 100644 --- a/chart2/source/view/axes/DateScaling.hxx +++ b/chart2/source/view/axes/DateScaling.hxx @@ -38,7 +38,7 @@ class DateScaling : { public: DateScaling( const Date& rNullDate, sal_Int32 nTimeUnit, bool bShifted ); - virtual ~DateScaling(); + virtual ~DateScaling() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() @@ -78,7 +78,7 @@ class InverseDateScaling : { public: InverseDateScaling( const Date& rNullDate, sal_Int32 nTimeUnit, bool bShifted ); - virtual ~InverseDateScaling(); + virtual ~InverseDateScaling() override; /// declare XServiceInfo methods virtual OUString SAL_CALL getImplementationName() diff --git a/chart2/source/view/axes/Tickmarks.hxx b/chart2/source/view/axes/Tickmarks.hxx index 865c87e15dd6..ac5f4828baba 100644 --- a/chart2/source/view/axes/Tickmarks.hxx +++ b/chart2/source/view/axes/Tickmarks.hxx @@ -72,7 +72,7 @@ class PureTickIter : public TickIter { public: explicit PureTickIter( TickInfoArrayType& rTickInfoVector ); - virtual ~PureTickIter(); + virtual ~PureTickIter() override; virtual TickInfo* firstInfo() override; virtual TickInfo* nextInfo() override; @@ -119,7 +119,7 @@ public: , const ::basegfx::B2DVector& rStartScreenPos, const ::basegfx::B2DVector& rEndScreenPos , const ::basegfx::B2DVector& rAxisLineToLabelLineShift ); - virtual ~TickFactory2D(); + virtual ~TickFactory2D() override; static sal_Int32 getTickScreenDistance( TickIter& rIter ); diff --git a/chart2/source/view/axes/Tickmarks_Equidistant.hxx b/chart2/source/view/axes/Tickmarks_Equidistant.hxx index 69ec5e44158c..1e8474457fb9 100644 --- a/chart2/source/view/axes/Tickmarks_Equidistant.hxx +++ b/chart2/source/view/axes/Tickmarks_Equidistant.hxx @@ -33,7 +33,7 @@ public: EquidistantTickIter( TickInfoArraysType& rTickInfos , const ExplicitIncrementData& rIncrement , sal_Int32 nMinDepth=0, sal_Int32 nMaxDepth=-1 ); - virtual ~EquidistantTickIter(); + virtual ~EquidistantTickIter() override; double* firstValue(); double* nextValue(); diff --git a/chart2/source/view/axes/VAxisBase.hxx b/chart2/source/view/axes/VAxisBase.hxx index 4330f3ee65f7..3599972e12b1 100644 --- a/chart2/source/view/axes/VAxisBase.hxx +++ b/chart2/source/view/axes/VAxisBase.hxx @@ -36,7 +36,7 @@ public: VAxisBase( sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount , const AxisProperties& rAxisProperties , const css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier ); - virtual ~VAxisBase(); + virtual ~VAxisBase() override; /** * Return the number of dimensions the diagram has. 2 for x and y, and 3 diff --git a/chart2/source/view/axes/VAxisOrGridBase.hxx b/chart2/source/view/axes/VAxisOrGridBase.hxx index d9f038f440fd..c8884d8acc5a 100644 --- a/chart2/source/view/axes/VAxisOrGridBase.hxx +++ b/chart2/source/view/axes/VAxisOrGridBase.hxx @@ -37,7 +37,7 @@ class VAxisOrGridBase : public PlotterBase { public: VAxisOrGridBase( sal_Int32 nDimensionIndex, sal_Int32 nDimensionCount ); - virtual ~VAxisOrGridBase(); + virtual ~VAxisOrGridBase() override; virtual void setTransformationSceneToScreen( const css::drawing::HomogenMatrix& rMatrix ) override; virtual void setExplicitScaleAndIncrement( diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index 0e0920b4d2e7..f58afb729ff0 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -423,7 +423,7 @@ class MaxLabelTickIter : public TickIter { public: MaxLabelTickIter( TickInfoArrayType& rTickInfoVector, size_t nLongestLabelIndex ); - virtual ~MaxLabelTickIter(); + virtual ~MaxLabelTickIter() override; virtual TickInfo* firstInfo() override; virtual TickInfo* nextInfo() override; diff --git a/chart2/source/view/axes/VCartesianAxis.hxx b/chart2/source/view/axes/VCartesianAxis.hxx index 61c14d4f5473..15074393d90a 100644 --- a/chart2/source/view/axes/VCartesianAxis.hxx +++ b/chart2/source/view/axes/VCartesianAxis.hxx @@ -35,7 +35,7 @@ public: , PlottingPositionHelper* pPosHelper = nullptr //takes ownership ); - virtual ~VCartesianAxis(); + virtual ~VCartesianAxis() override; virtual void createMaximumLabels() override; virtual void createLabels() override; diff --git a/chart2/source/view/axes/VCartesianCoordinateSystem.cxx b/chart2/source/view/axes/VCartesianCoordinateSystem.cxx index 930fe3519818..6cf8f6b9b55b 100644 --- a/chart2/source/view/axes/VCartesianCoordinateSystem.cxx +++ b/chart2/source/view/axes/VCartesianCoordinateSystem.cxx @@ -41,7 +41,7 @@ public: : m_aTextSequence( rTextSequence ) { } - virtual ~TextualDataProvider() + virtual ~TextualDataProvider() override { } diff --git a/chart2/source/view/axes/VCartesianCoordinateSystem.hxx b/chart2/source/view/axes/VCartesianCoordinateSystem.hxx index d258b6182673..9a791fde9541 100644 --- a/chart2/source/view/axes/VCartesianCoordinateSystem.hxx +++ b/chart2/source/view/axes/VCartesianCoordinateSystem.hxx @@ -31,7 +31,7 @@ class VCartesianCoordinateSystem : public VCoordinateSystem public: VCartesianCoordinateSystem() = delete; explicit VCartesianCoordinateSystem( const css::uno::Reference< css::chart2::XCoordinateSystem >& xCooSys ); - virtual ~VCartesianCoordinateSystem(); + virtual ~VCartesianCoordinateSystem() override; virtual void createVAxisList( const css::uno::Reference< css::chart2::XChartDocument> &ChartDoc diff --git a/chart2/source/view/axes/VCartesianGrid.hxx b/chart2/source/view/axes/VCartesianGrid.hxx index 6239b01faff1..dddb629bd6dd 100644 --- a/chart2/source/view/axes/VCartesianGrid.hxx +++ b/chart2/source/view/axes/VCartesianGrid.hxx @@ -36,7 +36,7 @@ public: , const css::uno::Sequence< css::uno::Reference< css::beans::XPropertySet > >& rGridPropertiesList //main grid, subgrid, subsubgrid etc ); - virtual ~VCartesianGrid(); + virtual ~VCartesianGrid() override; virtual void createShapes() override; diff --git a/chart2/source/view/axes/VPolarAngleAxis.hxx b/chart2/source/view/axes/VPolarAngleAxis.hxx index f78af84d4a67..2b2d6f7c60ed 100644 --- a/chart2/source/view/axes/VPolarAngleAxis.hxx +++ b/chart2/source/view/axes/VPolarAngleAxis.hxx @@ -34,7 +34,7 @@ public: VPolarAngleAxis( const AxisProperties& rAxisProperties , const css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier , sal_Int32 nDimensionCount ); - virtual ~VPolarAngleAxis(); + virtual ~VPolarAngleAxis() override; virtual void createMaximumLabels() override; virtual void createLabels() override; diff --git a/chart2/source/view/axes/VPolarAxis.hxx b/chart2/source/view/axes/VPolarAxis.hxx index 283a67ae5752..6eaed3385128 100644 --- a/chart2/source/view/axes/VPolarAxis.hxx +++ b/chart2/source/view/axes/VPolarAxis.hxx @@ -40,7 +40,7 @@ public: virtual bool isAnythingToDraw() override; - virtual ~VPolarAxis(); + virtual ~VPolarAxis() override; protected: VPolarAxis( const AxisProperties& rAxisProperties diff --git a/chart2/source/view/axes/VPolarCoordinateSystem.hxx b/chart2/source/view/axes/VPolarCoordinateSystem.hxx index 8828d3ee1d2d..3d0474389536 100644 --- a/chart2/source/view/axes/VPolarCoordinateSystem.hxx +++ b/chart2/source/view/axes/VPolarCoordinateSystem.hxx @@ -31,7 +31,7 @@ class VPolarCoordinateSystem : public VCoordinateSystem public: VPolarCoordinateSystem() = delete; explicit VPolarCoordinateSystem( const css::uno::Reference< css::chart2::XCoordinateSystem >& xCooSys ); - virtual ~VPolarCoordinateSystem(); + virtual ~VPolarCoordinateSystem() override; //better performance for big data virtual css::uno::Sequence< sal_Int32 > getCoordinateSystemResolution( const css::awt::Size& rPageSize diff --git a/chart2/source/view/axes/VPolarGrid.hxx b/chart2/source/view/axes/VPolarGrid.hxx index 40889f5145b8..6d8a128b3210 100644 --- a/chart2/source/view/axes/VPolarGrid.hxx +++ b/chart2/source/view/axes/VPolarGrid.hxx @@ -39,7 +39,7 @@ public: , const css::uno::Sequence< css::uno::Reference< css::beans::XPropertySet > > & rGridPropertiesList //main grid, subgrid, subsubgrid etc ); - virtual ~VPolarGrid(); + virtual ~VPolarGrid() override; virtual void createShapes() override; diff --git a/chart2/source/view/axes/VPolarRadiusAxis.hxx b/chart2/source/view/axes/VPolarRadiusAxis.hxx index 65ed5e6ccd00..b43c2b256cc3 100644 --- a/chart2/source/view/axes/VPolarRadiusAxis.hxx +++ b/chart2/source/view/axes/VPolarRadiusAxis.hxx @@ -36,7 +36,7 @@ public: VPolarRadiusAxis( const AxisProperties& rAxisProperties , const css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier , sal_Int32 nDimensionCount ); - virtual ~VPolarRadiusAxis(); + virtual ~VPolarRadiusAxis() override; virtual void initPlotter( const css::uno::Reference< css::drawing::XShapes >& xLogicTarget diff --git a/chart2/source/view/charttypes/AreaChart.hxx b/chart2/source/view/charttypes/AreaChart.hxx index d355287de4d8..b4f00ef82483 100644 --- a/chart2/source/view/charttypes/AreaChart.hxx +++ b/chart2/source/view/charttypes/AreaChart.hxx @@ -36,7 +36,7 @@ public: , sal_Int32 nDimensionCount , bool bCategoryXAxis, bool bNoArea=false ); - virtual ~AreaChart(); + virtual ~AreaChart() override; virtual void createShapes() override; virtual void addSeries( VDataSeries* pSeries, sal_Int32 zSlot = -1, sal_Int32 xSlot = -1,sal_Int32 ySlot = -1 ) override; diff --git a/chart2/source/view/charttypes/BarChart.hxx b/chart2/source/view/charttypes/BarChart.hxx index 17632f5c4832..706e257d91a8 100644 --- a/chart2/source/view/charttypes/BarChart.hxx +++ b/chart2/source/view/charttypes/BarChart.hxx @@ -34,7 +34,7 @@ public: BarChart( const css::uno::Reference< css::chart2::XChartType >& xChartTypeModel , sal_Int32 nDimensionCount ); - virtual ~BarChart(); + virtual ~BarChart() override; virtual void createShapes() override; virtual void addSeries( VDataSeries* pSeries, sal_Int32 zSlot = -1, sal_Int32 xSlot = -1,sal_Int32 ySlot = -1 ) override; diff --git a/chart2/source/view/charttypes/BarPositionHelper.hxx b/chart2/source/view/charttypes/BarPositionHelper.hxx index c34d67207382..444edc7c8bf5 100644 --- a/chart2/source/view/charttypes/BarPositionHelper.hxx +++ b/chart2/source/view/charttypes/BarPositionHelper.hxx @@ -34,7 +34,7 @@ class BarPositionHelper : public CategoryPositionHelper, public PlottingPosition public: explicit BarPositionHelper( bool bSwapXAndY=true ); BarPositionHelper( const BarPositionHelper& rSource ); - virtual ~BarPositionHelper(); + virtual ~BarPositionHelper() override; virtual PlottingPositionHelper* clone() const override; diff --git a/chart2/source/view/charttypes/BubbleChart.hxx b/chart2/source/view/charttypes/BubbleChart.hxx index 7b3a9206ef8a..ab24ac69cce3 100644 --- a/chart2/source/view/charttypes/BubbleChart.hxx +++ b/chart2/source/view/charttypes/BubbleChart.hxx @@ -33,7 +33,7 @@ public: BubbleChart( const css::uno::Reference< css::chart2::XChartType >& xChartTypeModel , sal_Int32 nDimensionCount ); - virtual ~BubbleChart(); + virtual ~BubbleChart() override; virtual void createShapes() override; diff --git a/chart2/source/view/charttypes/CandleStickChart.hxx b/chart2/source/view/charttypes/CandleStickChart.hxx index 38e1dacd57b9..3142e1bdd47e 100644 --- a/chart2/source/view/charttypes/CandleStickChart.hxx +++ b/chart2/source/view/charttypes/CandleStickChart.hxx @@ -34,7 +34,7 @@ public: CandleStickChart( const css::uno::Reference< css::chart2::XChartType >& xChartTypeModel , sal_Int32 nDimensionCount ); - virtual ~CandleStickChart(); + virtual ~CandleStickChart() override; virtual void createShapes() override; virtual void addSeries( VDataSeries* pSeries, sal_Int32 zSlot = -1, sal_Int32 xSlot = -1,sal_Int32 ySlot = -1 ) override; diff --git a/chart2/source/view/charttypes/NetChart.hxx b/chart2/source/view/charttypes/NetChart.hxx index 381678de3be7..c0b22c3ee439 100644 --- a/chart2/source/view/charttypes/NetChart.hxx +++ b/chart2/source/view/charttypes/NetChart.hxx @@ -36,7 +36,7 @@ public: , bool bNoArea , PlottingPositionHelper* pPlottingPositionHelper //takes ownership ); - virtual ~NetChart(); + virtual ~NetChart() override; virtual void createShapes() override; virtual void addSeries( VDataSeries* pSeries, sal_Int32 zSlot = -1, sal_Int32 xSlot = -1,sal_Int32 ySlot = -1 ) override; diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index 9407995715f6..d2df00070f7d 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -98,7 +98,7 @@ class PiePositionHelper : public PolarPlottingPositionHelper { public: PiePositionHelper( NormalAxis eNormalAxis, double fAngleDegreeOffset ); - virtual ~PiePositionHelper(); + virtual ~PiePositionHelper() override; bool getInnerAndOuterRadius( double fCategoryX, double& fLogicInnerRadius, double& fLogicOuterRadius, bool bUseRings, double fMaxOffset ) const; diff --git a/chart2/source/view/charttypes/PieChart.hxx b/chart2/source/view/charttypes/PieChart.hxx index 2b39e0869f95..7e5f0243dae3 100644 --- a/chart2/source/view/charttypes/PieChart.hxx +++ b/chart2/source/view/charttypes/PieChart.hxx @@ -37,7 +37,7 @@ public: PieChart( const css::uno::Reference< css::chart2::XChartType >& xChartTypeModel , sal_Int32 nDimensionCount, bool bExcludingPositioning ); - virtual ~PieChart(); + virtual ~PieChart() override; /** This method creates all shapes needed for representing the pie chart. */ diff --git a/chart2/source/view/inc/GL3DBarChart.hxx b/chart2/source/view/inc/GL3DBarChart.hxx index e8d774636111..55df3d154925 100644 --- a/chart2/source/view/inc/GL3DBarChart.hxx +++ b/chart2/source/view/inc/GL3DBarChart.hxx @@ -68,7 +68,7 @@ public: const css::uno::Reference<css::chart2::XChartType>& xChartType, OpenGLWindow* pContext); - virtual ~GL3DBarChart(); + virtual ~GL3DBarChart() override; virtual void create3DShapes(const std::vector<std::unique_ptr<VDataSeries>>& rDataSeries, ExplicitCategoriesProvider& rCatProvider) override; diff --git a/chart2/source/view/inc/Linear3DTransformation.hxx b/chart2/source/view/inc/Linear3DTransformation.hxx index 5473b096e6a7..396d1e57379f 100644 --- a/chart2/source/view/inc/Linear3DTransformation.hxx +++ b/chart2/source/view/inc/Linear3DTransformation.hxx @@ -32,7 +32,7 @@ class Linear3DTransformation : public ::cppu::WeakImplHelper< { public: Linear3DTransformation( const css::drawing::HomogenMatrix& rHomMatrix, bool bSwapXAndY ); - virtual ~Linear3DTransformation(); + virtual ~Linear3DTransformation() override; // ____ XTransformation ____ /// @see css::chart2::XTransformation diff --git a/chart2/source/view/inc/PlottingPositionHelper.hxx b/chart2/source/view/inc/PlottingPositionHelper.hxx index a1911476e9d9..99ed5c864492 100644 --- a/chart2/source/view/inc/PlottingPositionHelper.hxx +++ b/chart2/source/view/inc/PlottingPositionHelper.hxx @@ -147,7 +147,7 @@ class PolarPlottingPositionHelper : public PlottingPositionHelper public: PolarPlottingPositionHelper( NormalAxis eNormalAxis=NormalAxis_Z ); PolarPlottingPositionHelper( const PolarPlottingPositionHelper& rSource ); - virtual ~PolarPlottingPositionHelper(); + virtual ~PolarPlottingPositionHelper() override; virtual PlottingPositionHelper* clone() const override; diff --git a/chart2/source/view/inc/PolarLabelPositionHelper.hxx b/chart2/source/view/inc/PolarLabelPositionHelper.hxx index 95d25d33909f..d02b2f4ee6e4 100644 --- a/chart2/source/view/inc/PolarLabelPositionHelper.hxx +++ b/chart2/source/view/inc/PolarLabelPositionHelper.hxx @@ -39,7 +39,7 @@ public: , sal_Int32 nDimensionCount , const css::uno::Reference< css::drawing::XShapes >& xLogicTarget , AbstractShapeFactory* pShapeFactory ); - virtual ~PolarLabelPositionHelper(); + virtual ~PolarLabelPositionHelper() override; css::awt::Point getLabelScreenPositionAndAlignmentForLogicValues( LabelAlignment& rAlignment diff --git a/chart2/source/view/inc/VPolarTransformation.hxx b/chart2/source/view/inc/VPolarTransformation.hxx index b0a0f9f331aa..a9b548e70d1e 100644 --- a/chart2/source/view/inc/VPolarTransformation.hxx +++ b/chart2/source/view/inc/VPolarTransformation.hxx @@ -32,7 +32,7 @@ class VPolarTransformation : public ::cppu::WeakImplHelper< { public: VPolarTransformation( const PolarPlottingPositionHelper& rPositionHelper ); - virtual ~VPolarTransformation(); + virtual ~VPolarTransformation() override; // ____ XTransformation ____ /// @see css::chart2::XTransformation diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx index d5817b211a0e..cd8cf9ffd6d3 100644 --- a/chart2/source/view/inc/VSeriesPlotter.hxx +++ b/chart2/source/view/inc/VSeriesPlotter.hxx @@ -121,7 +121,7 @@ class VSeriesPlotter : public PlotterBase, public MinimumAndMaximumSupplier, pub public: VSeriesPlotter() = delete; - virtual ~VSeriesPlotter(); + virtual ~VSeriesPlotter() override; /* * A new series can be positioned relative to other series in a chart. diff --git a/chart2/source/view/main/ChartItemPool.hxx b/chart2/source/view/main/ChartItemPool.hxx index dded9d96b5e9..ad183e87aa41 100644 --- a/chart2/source/view/main/ChartItemPool.hxx +++ b/chart2/source/view/main/ChartItemPool.hxx @@ -33,7 +33,7 @@ public: ChartItemPool(); ChartItemPool(const ChartItemPool& rPool); protected: - virtual ~ChartItemPool(); + virtual ~ChartItemPool() override; public: virtual SfxItemPool* Clone() const override; diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index f04bcf75c842..787440cd747c 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -1064,7 +1064,7 @@ class GL2DRenderer : public IRenderer { public: explicit GL2DRenderer(ChartView* pView); - virtual ~GL2DRenderer(); + virtual ~GL2DRenderer() override; virtual void update() override; virtual void clickedAt(const Point& rPos, sal_uInt16 nButton) override; diff --git a/chart2/source/view/main/DummyXShape.hxx b/chart2/source/view/main/DummyXShape.hxx index 624a25c73870..1b3c634e52c8 100644 --- a/chart2/source/view/main/DummyXShape.hxx +++ b/chart2/source/view/main/DummyXShape.hxx @@ -357,7 +357,7 @@ class DummyChart : public DummyXShapes { public: DummyChart(); - virtual ~DummyChart(); + virtual ~DummyChart() override; virtual DummyChart* getRootShape() override; virtual void SAL_CALL setPosition( const css::awt::Point& aPosition ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/codemaker/source/cppumaker/cppuoptions.hxx b/codemaker/source/cppumaker/cppuoptions.hxx index e047122b1d03..5e879b79c768 100644 --- a/codemaker/source/cppumaker/cppuoptions.hxx +++ b/codemaker/source/cppumaker/cppuoptions.hxx @@ -28,7 +28,7 @@ public: CppuOptions() : Options() {} - virtual ~CppuOptions() {} + virtual ~CppuOptions() override {} bool initOptions(int ac, char* av[], bool bCmdFile=false) throw( IllegalArgument ) override; diff --git a/codemaker/source/javamaker/javaoptions.hxx b/codemaker/source/javamaker/javaoptions.hxx index 18ebe0222b1d..375fb5c9825f 100644 --- a/codemaker/source/javamaker/javaoptions.hxx +++ b/codemaker/source/javamaker/javaoptions.hxx @@ -28,7 +28,7 @@ public: JavaOptions() : Options() {} - virtual ~JavaOptions() {} + virtual ~JavaOptions() override {} bool initOptions(int ac, char* av[], bool bCmdFile=false) throw( IllegalArgument ) override; diff --git a/comphelper/qa/container/comphelper_ifcontainer.cxx b/comphelper/qa/container/comphelper_ifcontainer.cxx index 261dedba34db..6da949301b4b 100644 --- a/comphelper/qa/container/comphelper_ifcontainer.cxx +++ b/comphelper/qa/container/comphelper_ifcontainer.cxx @@ -46,7 +46,7 @@ class ContainerListener : public ::cppu::WeakImplHelper1< XEventListener > public: explicit ContainerListener(ContainerStats *pStats) : m_pStats(pStats) { m_pStats->m_nAlive++; } - virtual ~ContainerListener() { m_pStats->m_nAlive--; } + virtual ~ContainerListener() override { m_pStats->m_nAlive--; } virtual void SAL_CALL disposing( const EventObject& ) throw (RuntimeException, std::exception) override { diff --git a/comphelper/source/container/IndexedPropertyValuesContainer.cxx b/comphelper/source/container/IndexedPropertyValuesContainer.cxx index 824756e7ec36..d0ee59d5c25a 100644 --- a/comphelper/source/container/IndexedPropertyValuesContainer.cxx +++ b/comphelper/source/container/IndexedPropertyValuesContainer.cxx @@ -35,7 +35,7 @@ class IndexedPropertyValuesContainer : public cppu::WeakImplHelper< container::X { public: IndexedPropertyValuesContainer() throw(); - virtual ~IndexedPropertyValuesContainer() throw(); + virtual ~IndexedPropertyValuesContainer() throw() override; // XIndexContainer virtual void SAL_CALL insertByIndex( sal_Int32 nIndex, const css::uno::Any& aElement ) diff --git a/comphelper/source/container/NamedPropertyValuesContainer.cxx b/comphelper/source/container/NamedPropertyValuesContainer.cxx index e4bb48663210..7bd50ebdf9d2 100644 --- a/comphelper/source/container/NamedPropertyValuesContainer.cxx +++ b/comphelper/source/container/NamedPropertyValuesContainer.cxx @@ -36,7 +36,7 @@ class NamedPropertyValuesContainer : public cppu::WeakImplHelper< container::XNa { public: NamedPropertyValuesContainer() throw(); - virtual ~NamedPropertyValuesContainer() throw(); + virtual ~NamedPropertyValuesContainer() throw() override; // XNameContainer virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement ) diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx index 3b45fda06255..040192d61dca 100644 --- a/comphelper/source/container/enumerablemap.cxx +++ b/comphelper/source/container/enumerablemap.cxx @@ -153,7 +153,7 @@ namespace comphelper { protected: EnumerableMap(); - virtual ~EnumerableMap(); + virtual ~EnumerableMap() override; // XInitialization virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException, std::exception) override; @@ -283,7 +283,7 @@ namespace comphelper virtual Any SAL_CALL nextElement( ) throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; protected: - virtual ~MapEnumeration() + virtual ~MapEnumeration() override { acquire(); { diff --git a/comphelper/source/container/namecontainer.cxx b/comphelper/source/container/namecontainer.cxx index 6ef8143753f9..f20be212fd48 100644 --- a/comphelper/source/container/namecontainer.cxx +++ b/comphelper/source/container/namecontainer.cxx @@ -42,7 +42,7 @@ namespace comphelper { public: explicit NameContainer( css::uno::Type aType ); - virtual ~NameContainer(); + virtual ~NameContainer() override; // XNameContainer virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement ) diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx index cf3232b99eb1..81bfcd3c6ac1 100644 --- a/comphelper/source/eventattachermgr/eventattachermgr.cxx +++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx @@ -95,7 +95,7 @@ class ImplEventAttacherManager public: ImplEventAttacherManager( const Reference< XIntrospection > & rIntrospection, const Reference< XComponentContext >& rContext ); - virtual ~ImplEventAttacherManager(); + virtual ~ImplEventAttacherManager() override; // Methods of XEventAttacherManager virtual void SAL_CALL registerScriptEvent(sal_Int32 Index, const ScriptEventDescriptor& ScriptEvent) diff --git a/comphelper/source/misc/documentiologring.hxx b/comphelper/source/misc/documentiologring.hxx index 5eabc8e56598..9a7c7a957094 100644 --- a/comphelper/source/misc/documentiologring.hxx +++ b/comphelper/source/misc/documentiologring.hxx @@ -46,7 +46,7 @@ class OSimpleLogRing : public ::cppu::WeakImplHelper< css::logging::XSimpleLogRi public: OSimpleLogRing(); - virtual ~OSimpleLogRing(); + virtual ~OSimpleLogRing() override; // XSimpleLogRing virtual void SAL_CALL logString( const OUString& aMessage ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/comphelper/source/misc/instancelocker.hxx b/comphelper/source/misc/instancelocker.hxx index 2107d7a6912d..6960e1da60ef 100644 --- a/comphelper/source/misc/instancelocker.hxx +++ b/comphelper/source/misc/instancelocker.hxx @@ -54,7 +54,7 @@ class OInstanceLocker : public ::cppu::WeakImplHelper< css::lang::XComponent, public: explicit OInstanceLocker(); - virtual ~OInstanceLocker(); + virtual ~OInstanceLocker() override; // XComponent virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override; @@ -92,7 +92,7 @@ public: sal_Int32 nMode, const css::uno::Reference< css::embed::XActionsApproval >& rApproval ); - virtual ~OLockListener(); + virtual ~OLockListener() override; void Init(); void Dispose(); diff --git a/comphelper/source/misc/officerestartmanager.hxx b/comphelper/source/misc/officerestartmanager.hxx index 43d707c36363..a20e5cfd7f14 100644 --- a/comphelper/source/misc/officerestartmanager.hxx +++ b/comphelper/source/misc/officerestartmanager.hxx @@ -48,7 +48,7 @@ public: , m_bRestartRequested( false ) {} - virtual ~OOfficeRestartManager() + virtual ~OOfficeRestartManager() override {} // XRestartManager diff --git a/comphelper/source/misc/servicedecl.cxx b/comphelper/source/misc/servicedecl.cxx index 7744d3c1f8b7..8a18fabb6a82 100644 --- a/comphelper/source/misc/servicedecl.cxx +++ b/comphelper/source/misc/servicedecl.cxx @@ -62,7 +62,7 @@ public: throw (uno::Exception, std::exception) override; private: - virtual ~Factory(); + virtual ~Factory() override; ServiceDecl const& m_rServiceDecl; }; diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx index 88e8341f0039..20fcc6b6ca92 100644 --- a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx +++ b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx @@ -45,7 +45,7 @@ class OfficeInstallationDirectories : public mutex_holder, public UnoImplBase public: explicit OfficeInstallationDirectories( const css::uno::Reference< css::uno::XComponentContext > & xCtx ); - virtual ~OfficeInstallationDirectories(); + virtual ~OfficeInstallationDirectories() override; // XOfficeInstallationDirectories virtual OUString SAL_CALL diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx index 64bdf1ab190a..e8b08eca2497 100644 --- a/comphelper/source/property/genericpropertyset.cxx +++ b/comphelper/source/property/genericpropertyset.cxx @@ -63,7 +63,7 @@ namespace comphelper public: explicit GenericPropertySet( PropertySetInfo* pInfo ) throw(); - virtual ~GenericPropertySet() throw(); + virtual ~GenericPropertySet() throw() override; // XInterface virtual Any SAL_CALL queryAggregation( const Type & rType ) throw( RuntimeException, std::exception) override; diff --git a/comphelper/source/property/opropertybag.hxx b/comphelper/source/property/opropertybag.hxx index 467aee20c718..ca2df4a9fa0a 100644 --- a/comphelper/source/property/opropertybag.hxx +++ b/comphelper/source/property/opropertybag.hxx @@ -92,7 +92,7 @@ namespace comphelper OPropertyBag(const OPropertyBag&) = delete; const OPropertyBag& operator=(const OPropertyBag&) = delete; OPropertyBag(); - virtual ~OPropertyBag(); + virtual ~OPropertyBag() override; protected: DECLARE_XINTERFACE() diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx index 4e7601211224..b4026427589c 100644 --- a/comphelper/source/streaming/memorystream.cxx +++ b/comphelper/source/streaming/memorystream.cxx @@ -45,7 +45,7 @@ class UNOMemoryStream : public WeakImplHelper<XServiceInfo, XStream, XSeekableIn { public: UNOMemoryStream(); - virtual ~UNOMemoryStream(); + virtual ~UNOMemoryStream() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; diff --git a/comphelper/source/streaming/seqinputstreamserv.cxx b/comphelper/source/streaming/seqinputstreamserv.cxx index 6cf44bc4c0a8..d9e372238637 100644 --- a/comphelper/source/streaming/seqinputstreamserv.cxx +++ b/comphelper/source/streaming/seqinputstreamserv.cxx @@ -73,7 +73,7 @@ public: virtual void SAL_CALL initialize( const uno::Sequence< css::uno::Any > & aArguments ) throw ( uno::RuntimeException, uno::Exception, std::exception ) override; private: - virtual ~SequenceInputStreamService() {} + virtual ~SequenceInputStreamService() override {} ::osl::Mutex m_aMutex; diff --git a/comphelper/source/streaming/seqoutputstreamserv.cxx b/comphelper/source/streaming/seqoutputstreamserv.cxx index 58b3235029b0..461cbc5d2563 100644 --- a/comphelper/source/streaming/seqoutputstreamserv.cxx +++ b/comphelper/source/streaming/seqoutputstreamserv.cxx @@ -61,7 +61,7 @@ public: virtual uno::Sequence< ::sal_Int8 > SAL_CALL getWrittenBytes( ) throw ( io::NotConnectedException, io::IOException, uno::RuntimeException, std::exception) override; private: - virtual ~SequenceOutputStreamService() {}; + virtual ~SequenceOutputStreamService() override {}; ::osl::Mutex m_aMutex; diff --git a/comphelper/source/xml/ofopxmlhelper.cxx b/comphelper/source/xml/ofopxmlhelper.cxx index 02f5815c7901..6946e0e3bbd6 100644 --- a/comphelper/source/xml/ofopxmlhelper.cxx +++ b/comphelper/source/xml/ofopxmlhelper.cxx @@ -70,7 +70,7 @@ public: css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > const & GetParsingResult(); explicit OFOPXMLHelper_Impl( sal_uInt16 nFormat ); // must not be created directly - virtual ~OFOPXMLHelper_Impl(); + virtual ~OFOPXMLHelper_Impl() override; // XDocumentHandler virtual void SAL_CALL startDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override; diff --git a/compilerplugins/clang/override.cxx b/compilerplugins/clang/override.cxx index a350415e36d6..412846c5b521 100644 --- a/compilerplugins/clang/override.cxx +++ b/compilerplugins/clang/override.cxx @@ -54,24 +54,6 @@ bool Override::VisitCXXMethodDecl(CXXMethodDecl const * decl) { { return true; } - // It appears that the C++ standard allows overriding destructors to be - // marked "override," but at least some MSVC versions complain about it, so - // at least make sure such destructors are explicitly marked "virtual": - if (isa<CXXDestructorDecl>(decl)) { - if (!decl->isVirtualAsWritten() - && (rewriter == nullptr - || !insertTextBefore( - decl->getSourceRange().getBegin(), "virtual "))) - { - report( - DiagnosticsEngine::Warning, - ("overriding destructor declaration not explicitly marked" - " 'override'"), - decl->getLocation()) - << decl->getSourceRange(); - } - return true; - } std::string over( isInUnoIncludeFile(decl->getSourceRange().getBegin()) ? "SAL_OVERRIDE" : "override"); @@ -148,7 +130,8 @@ bool Override::VisitCXXMethodDecl(CXXMethodDecl const * decl) { l, &l)) { n = Lexer::MeasureTokenLength( - l, compiler.getSourceManager(), compiler.getLangOpts()); + compiler.getSourceManager().getSpellingLoc(l), + compiler.getSourceManager(), compiler.getLangOpts()); } l = l.getLocWithOffset(std::max<unsigned>(n, 1)); } diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx index 00903eb80417..d0fc33260225 100644 --- a/configmgr/qa/unit/test.cxx +++ b/configmgr/qa/unit/test.cxx @@ -123,7 +123,7 @@ public: void test(); protected: - virtual ~RecursiveTest(); + virtual ~RecursiveTest() override; virtual void step() const = 0; diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx index 63cba6907a5f..5bd3a74f89c3 100644 --- a/configmgr/source/access.hxx +++ b/configmgr/source/access.hxx @@ -427,7 +427,7 @@ public: protected: explicit Access(Components & components); - virtual ~Access(); + virtual ~Access() override; virtual OUString getNameInternal() = 0; virtual rtl::Reference< RootAccess > getRootAccess() = 0; diff --git a/configmgr/source/childaccess.hxx b/configmgr/source/childaccess.hxx index 9a43d86e8c21..dd81b251bb8b 100644 --- a/configmgr/source/childaccess.hxx +++ b/configmgr/source/childaccess.hxx @@ -118,7 +118,7 @@ public: void commitChanges(bool valid, Modifications * globalModifications); private: - virtual ~ChildAccess(); + virtual ~ChildAccess() override; virtual void addTypes( std::vector< css::uno::Type > * types) const override; diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx index b401197f7026..2450d0b4af40 100644 --- a/configmgr/source/components.cxx +++ b/configmgr/source/components.cxx @@ -154,7 +154,7 @@ public: void flush() { delay_.set(); } private: - virtual ~WriteThread() {} + virtual ~WriteThread() override {} virtual void execute() override; diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index ed4fe6a098d4..e4454a4c02a3 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -113,7 +113,7 @@ private: Service(const Service&) = delete; Service& operator=(const Service&) = delete; - virtual ~Service() {} + virtual ~Service() override {} virtual void SAL_CALL disposing() override { flushModifications(); } @@ -379,7 +379,7 @@ private: Factory(const Factory&) = delete; Factory& operator=(const Factory&) = delete; - virtual ~Factory() {} + virtual ~Factory() override {} virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithContext( diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx index 437cc798d335..5370f036cde5 100644 --- a/configmgr/source/configurationregistry.cxx +++ b/configmgr/source/configurationregistry.cxx @@ -78,7 +78,7 @@ private: Service(const Service&) = delete; Service& operator=(const Service&) = delete; - virtual ~Service() {} + virtual ~Service() override {} virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override @@ -161,7 +161,7 @@ private: RegistryKey(const RegistryKey&) = delete; RegistryKey& operator=(const RegistryKey&) = delete; - virtual ~RegistryKey() {} + virtual ~RegistryKey() override {} virtual OUString SAL_CALL getKeyName() throw (css::uno::RuntimeException, std::exception) override; diff --git a/configmgr/source/groupnode.hxx b/configmgr/source/groupnode.hxx index 59f2d7e3feeb..c889f807df59 100644 --- a/configmgr/source/groupnode.hxx +++ b/configmgr/source/groupnode.hxx @@ -49,7 +49,7 @@ public: private: GroupNode(GroupNode const & other, bool keepTemplateName); - virtual ~GroupNode(); + virtual ~GroupNode() override; virtual Kind kind() const override; diff --git a/configmgr/source/localizedpropertynode.hxx b/configmgr/source/localizedpropertynode.hxx index 702613f8abe8..35b67d2345bf 100644 --- a/configmgr/source/localizedpropertynode.hxx +++ b/configmgr/source/localizedpropertynode.hxx @@ -46,7 +46,7 @@ public: private: LocalizedPropertyNode(LocalizedPropertyNode const & other); - virtual ~LocalizedPropertyNode(); + virtual ~LocalizedPropertyNode() override; virtual Kind kind() const override; diff --git a/configmgr/source/localizedvaluenode.hxx b/configmgr/source/localizedvaluenode.hxx index e3055aecf9f3..441d32bbb6ca 100644 --- a/configmgr/source/localizedvaluenode.hxx +++ b/configmgr/source/localizedvaluenode.hxx @@ -51,7 +51,7 @@ public: private: LocalizedValueNode(LocalizedValueNode const & other); - virtual ~LocalizedValueNode(); + virtual ~LocalizedValueNode() override; virtual Kind kind() const override; diff --git a/configmgr/source/node.hxx b/configmgr/source/node.hxx index a42b769f1b26..b745f668a92c 100644 --- a/configmgr/source/node.hxx +++ b/configmgr/source/node.hxx @@ -57,7 +57,7 @@ protected: explicit Node(int layer); explicit Node(const Node & other); - virtual ~Node(); + virtual ~Node() override; int layer_; int finalized_; diff --git a/configmgr/source/parsemanager.hxx b/configmgr/source/parsemanager.hxx index 85ed3c5ca4f3..478211ff4221 100644 --- a/configmgr/source/parsemanager.hxx +++ b/configmgr/source/parsemanager.hxx @@ -47,7 +47,7 @@ public: enum { NAMESPACE_OOR = 1, NAMESPACE_XS = 2, NAMESPACE_XSI = 3 }; private: - virtual ~ParseManager(); + virtual ~ParseManager() override; xmlreader::XmlReader reader_; rtl::Reference< Parser > parser_; diff --git a/configmgr/source/parser.hxx b/configmgr/source/parser.hxx index c3c10540752d..de57d4783381 100644 --- a/configmgr/source/parser.hxx +++ b/configmgr/source/parser.hxx @@ -46,7 +46,7 @@ public: protected: Parser() {} - virtual ~Parser() {} + virtual ~Parser() override {} }; } diff --git a/configmgr/source/propertynode.hxx b/configmgr/source/propertynode.hxx index e1ddb4495d08..0a442a1d21f8 100644 --- a/configmgr/source/propertynode.hxx +++ b/configmgr/source/propertynode.hxx @@ -57,7 +57,7 @@ public: private: PropertyNode(PropertyNode const & other); - virtual ~PropertyNode(); + virtual ~PropertyNode() override; virtual Kind kind() const override; diff --git a/configmgr/source/readonlyaccess.cxx b/configmgr/source/readonlyaccess.cxx index 864eb131ab3c..9ff6c10acfa7 100644 --- a/configmgr/source/readonlyaccess.cxx +++ b/configmgr/source/readonlyaccess.cxx @@ -54,7 +54,7 @@ private: Service(const Service&) = delete; Service& operator=(const Service&) = delete; - virtual ~Service() {} + virtual ~Service() override {} virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/configmgr/source/readwriteaccess.cxx b/configmgr/source/readwriteaccess.cxx index ca59f551eea1..9ebf2f9dee65 100644 --- a/configmgr/source/readwriteaccess.cxx +++ b/configmgr/source/readwriteaccess.cxx @@ -56,7 +56,7 @@ private: Service(const Service&) = delete; Service& operator=(const Service&) = delete; - virtual ~Service() {} + virtual ~Service() override {} virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx index 8ea6b2025e6d..b0efeeeab842 100644 --- a/configmgr/source/rootaccess.hxx +++ b/configmgr/source/rootaccess.hxx @@ -101,7 +101,7 @@ public: throw (css::uno::RuntimeException, std::exception) override; private: - virtual ~RootAccess(); + virtual ~RootAccess() override; virtual std::vector<OUString> getRelativePath() override; diff --git a/configmgr/source/rootnode.hxx b/configmgr/source/rootnode.hxx index 28e1041f1ff7..285c3e65bb28 100644 --- a/configmgr/source/rootnode.hxx +++ b/configmgr/source/rootnode.hxx @@ -24,7 +24,7 @@ public: RootNode(); private: - virtual ~RootNode(); + virtual ~RootNode() override; virtual Kind kind() const override; diff --git a/configmgr/source/setnode.hxx b/configmgr/source/setnode.hxx index 1638eb622254..528a2ea8c82c 100644 --- a/configmgr/source/setnode.hxx +++ b/configmgr/source/setnode.hxx @@ -57,7 +57,7 @@ public: private: SetNode(SetNode const & other, bool keepTemplateName); - virtual ~SetNode(); + virtual ~SetNode() override; virtual Kind kind() const override; diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx index 054bca7be646..43cc4dd40430 100644 --- a/configmgr/source/update.cxx +++ b/configmgr/source/update.cxx @@ -71,7 +71,7 @@ private: Service(const Service&) = delete; Service& operator=(const Service&) = delete; - virtual ~Service() {} + virtual ~Service() override {} virtual void SAL_CALL insertExtensionXcsFile( sal_Bool shared, OUString const & fileUri) diff --git a/configmgr/source/xcdparser.hxx b/configmgr/source/xcdparser.hxx index c537f5b86398..c51bd6368136 100644 --- a/configmgr/source/xcdparser.hxx +++ b/configmgr/source/xcdparser.hxx @@ -43,7 +43,7 @@ public: Data & data); private: - virtual ~XcdParser(); + virtual ~XcdParser() override; virtual xmlreader::XmlReader::Text getTextMode() override; diff --git a/configmgr/source/xcsparser.hxx b/configmgr/source/xcsparser.hxx index 7a01c5d5d426..36d4a239f704 100644 --- a/configmgr/source/xcsparser.hxx +++ b/configmgr/source/xcsparser.hxx @@ -45,7 +45,7 @@ public: XcsParser(int layer, Data & data); private: - virtual ~XcsParser(); + virtual ~XcsParser() override; virtual xmlreader::XmlReader::Text getTextMode() override; diff --git a/configmgr/source/xcuparser.hxx b/configmgr/source/xcuparser.hxx index f7bc15839462..27e193bde8b7 100644 --- a/configmgr/source/xcuparser.hxx +++ b/configmgr/source/xcuparser.hxx @@ -56,7 +56,7 @@ public: Modifications * broadcastModifications, Additions * additions); private: - virtual ~XcuParser(); + virtual ~XcuParser() override; virtual xmlreader::XmlReader::Text getTextMode() override; diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx index 28e7b1e2ae74..f6a45d4bacc1 100644 --- a/connectivity/source/commontools/TTableHelper.cxx +++ b/connectivity/source/commontools/TTableHelper.cxx @@ -60,7 +60,7 @@ class OTableContainerListener: ::std::map< OUString,bool> m_aRefNames; protected: - virtual ~OTableContainerListener(){} + virtual ~OTableContainerListener() override {} public: explicit OTableContainerListener(OTableHelper* _pComponent) : m_pComponent(_pComponent){} // noncopyable diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx index 7cb93c28c994..c4aa5111f132 100644 --- a/connectivity/source/cpool/ZConnectionPool.hxx +++ b/connectivity/source/cpool/ZConnectionPool.hxx @@ -129,7 +129,7 @@ namespace connectivity protected: // the dtor will be called from the last instance (last release call) - virtual ~OConnectionPool(); + virtual ~OConnectionPool() override; public: OConnectionPool(const css::uno::Reference< css::sdbc::XDriver >& _xDriver, const css::uno::Reference< css::uno::XInterface >& _xDriverNode, diff --git a/connectivity/source/cpool/ZConnectionWrapper.hxx b/connectivity/source/cpool/ZConnectionWrapper.hxx index 08053d064dc2..7ce68a9a60ad 100644 --- a/connectivity/source/cpool/ZConnectionWrapper.hxx +++ b/connectivity/source/cpool/ZConnectionWrapper.hxx @@ -42,7 +42,7 @@ namespace connectivity protected: // OComponentHelper virtual void SAL_CALL disposing() override; - virtual ~OConnectionWeakWrapper(); + virtual ~OConnectionWeakWrapper() override; public: explicit OConnectionWeakWrapper(css::uno::Reference< css::uno::XAggregation >& _xConnection); diff --git a/connectivity/source/cpool/ZDriverWrapper.hxx b/connectivity/source/cpool/ZDriverWrapper.hxx index da0d39e212d5..0d183d110fd4 100644 --- a/connectivity/source/cpool/ZDriverWrapper.hxx +++ b/connectivity/source/cpool/ZDriverWrapper.hxx @@ -61,7 +61,7 @@ namespace connectivity protected: /// dtor - virtual ~ODriverWrapper(); + virtual ~ODriverWrapper() override; // XDriver virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect( const OUString& url, const css::uno::Sequence< css::beans::PropertyValue >& info ) throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; virtual sal_Bool SAL_CALL acceptsURL( const OUString& url ) throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; diff --git a/connectivity/source/cpool/ZPoolCollection.hxx b/connectivity/source/cpool/ZPoolCollection.hxx index 25c3f5a934d1..ea5e2d307f38 100644 --- a/connectivity/source/cpool/ZPoolCollection.hxx +++ b/connectivity/source/cpool/ZPoolCollection.hxx @@ -105,7 +105,7 @@ namespace connectivity void clearConnectionPools(bool _bDispose); void clearDesktop(); protected: - virtual ~OPoolCollection(); + virtual ~OPoolCollection() override; public: static css::uno::Any getNodeValue( const OUString& _rPath, diff --git a/connectivity/source/drivers/evoab2/NConnection.hxx b/connectivity/source/drivers/evoab2/NConnection.hxx index dd77b00bd6ff..ecc7b76c3229 100644 --- a/connectivity/source/drivers/evoab2/NConnection.hxx +++ b/connectivity/source/drivers/evoab2/NConnection.hxx @@ -61,7 +61,7 @@ namespace connectivity OString m_aPassword; ::dbtools::WarningsContainer m_aWarnings; - virtual ~OEvoabConnection(); + virtual ~OEvoabConnection() override; public: explicit OEvoabConnection( OEvoabDriver& _rDriver ); diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx index 610dda0eedd7..5d2d7645b3cb 100644 --- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx +++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.hxx @@ -83,7 +83,7 @@ namespace connectivity virtual sal_Int32 impl_getMaxTablesInSelect_throw( ) override; virtual bool impl_storesMixedCaseQuotedIdentifiers_throw( ) override; - virtual ~OEvoabDatabaseMetaData(); + virtual ~OEvoabDatabaseMetaData() override; public: inline OEvoabConnection* getOwnConnection() const { return m_pConnection; } diff --git a/connectivity/source/drivers/evoab2/NDriver.hxx b/connectivity/source/drivers/evoab2/NDriver.hxx index 6372a80b4d02..e0dc13dd94a2 100644 --- a/connectivity/source/drivers/evoab2/NDriver.hxx +++ b/connectivity/source/drivers/evoab2/NDriver.hxx @@ -51,7 +51,7 @@ namespace connectivity public: explicit OEvoabDriver(const css::uno::Reference< css::lang::XMultiServiceFactory >& _rxFactory); - virtual ~OEvoabDriver(); + virtual ~OEvoabDriver() override; // OComponentHelper virtual void SAL_CALL disposing() override; diff --git a/connectivity/source/drivers/evoab2/NPreparedStatement.hxx b/connectivity/source/drivers/evoab2/NPreparedStatement.hxx index 73e62583d0a7..dc002b2c6d1e 100644 --- a/connectivity/source/drivers/evoab2/NPreparedStatement.hxx +++ b/connectivity/source/drivers/evoab2/NPreparedStatement.hxx @@ -70,7 +70,7 @@ namespace connectivity css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData; protected: - virtual ~OEvoabPreparedStatement(); + virtual ~OEvoabPreparedStatement() override; public: explicit OEvoabPreparedStatement( OEvoabConnection* _pConnection ); diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx index 0ccc1ec5123d..eaf526dee639 100644 --- a/connectivity/source/drivers/evoab2/NResultSet.cxx +++ b/connectivity/source/drivers/evoab2/NResultSet.cxx @@ -389,7 +389,7 @@ public: { } - virtual ~OEvoabVersion36Helper() + virtual ~OEvoabVersion36Helper() override { freeContacts(); } @@ -535,7 +535,7 @@ public: { } - virtual ~OEvoabVersion35Helper() + virtual ~OEvoabVersion35Helper() override { freeContacts(); } diff --git a/connectivity/source/drivers/evoab2/NResultSet.hxx b/connectivity/source/drivers/evoab2/NResultSet.hxx index 6031b3e26797..20cee2374744 100644 --- a/connectivity/source/drivers/evoab2/NResultSet.hxx +++ b/connectivity/source/drivers/evoab2/NResultSet.hxx @@ -112,7 +112,7 @@ namespace connectivity virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override; // you can't delete objects of this type - virtual ~OEvoabResultSet(); + virtual ~OEvoabResultSet() override; public: DECLARE_SERVICE_INFO(); diff --git a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx index 4fa89e261897..7cae14957bcd 100644 --- a/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx +++ b/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx @@ -40,7 +40,7 @@ namespace connectivity ::std::vector<sal_Int32> m_aEvoabFields; protected: - virtual ~OEvoabResultSetMetaData(); + virtual ~OEvoabResultSetMetaData() override; public: explicit OEvoabResultSetMetaData(const OUString& _aTableName); void setEvoabFields(const ::rtl::Reference<connectivity::OSQLColumns> &xColumns) throw(css::sdbc::SQLException); diff --git a/connectivity/source/drivers/evoab2/NStatement.hxx b/connectivity/source/drivers/evoab2/NStatement.hxx index f54f37725d5d..54085d78b381 100644 --- a/connectivity/source/drivers/evoab2/NStatement.hxx +++ b/connectivity/source/drivers/evoab2/NStatement.hxx @@ -173,7 +173,7 @@ namespace connectivity // OPropertySetHelper virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override; - virtual ~OCommonStatement(); + virtual ~OCommonStatement() override; protected: void parseSql( const OUString& sql, QueryData& _out_rQueryData ); @@ -239,7 +239,7 @@ namespace connectivity ,public OStatement_IBase { protected: - virtual ~OStatement(){} + virtual ~OStatement() override {} public: explicit OStatement( OEvoabConnection* _pConnection) diff --git a/connectivity/source/drivers/firebird/Connection.hxx b/connectivity/source/drivers/firebird/Connection.hxx index 2bd7675f3871..33673032134e 100644 --- a/connectivity/source/drivers/firebird/Connection.hxx +++ b/connectivity/source/drivers/firebird/Connection.hxx @@ -185,7 +185,7 @@ namespace connectivity public: explicit Connection(FirebirdDriver* _pDriver); - virtual ~Connection(); + virtual ~Connection() override; void construct( const ::rtl::OUString& url, const css::uno::Sequence< css::beans::PropertyValue >& info) diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.hxx b/connectivity/source/drivers/firebird/DatabaseMetaData.hxx index afd069855d9d..fc9b1cfdb037 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.hxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.hxx @@ -41,7 +41,7 @@ namespace connectivity public: explicit ODatabaseMetaData(Connection* _pCon); - virtual ~ODatabaseMetaData(); + virtual ~ODatabaseMetaData() override; // as I mentioned before this interface is really BIG // XDatabaseMetaData diff --git a/connectivity/source/drivers/firebird/Driver.hxx b/connectivity/source/drivers/firebird/Driver.hxx index e3ce787755b0..ac017d788018 100644 --- a/connectivity/source/drivers/firebird/Driver.hxx +++ b/connectivity/source/drivers/firebird/Driver.hxx @@ -60,7 +60,7 @@ namespace connectivity public: explicit FirebirdDriver(const css::uno::Reference< css::uno::XComponentContext >& _rxContext); - virtual ~FirebirdDriver(); + virtual ~FirebirdDriver() override; const css::uno::Reference<css::uno::XComponentContext>& getContext() const { return m_aContext; } // OComponentHelper diff --git a/connectivity/source/drivers/firebird/PreparedStatement.hxx b/connectivity/source/drivers/firebird/PreparedStatement.hxx index 33e1421e6f4a..d98e46d2950c 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.hxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.hxx @@ -83,7 +83,7 @@ namespace connectivity virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw (css::uno::Exception, std::exception) override; - virtual ~OPreparedStatement(); + virtual ~OPreparedStatement() override; public: DECLARE_SERVICE_INFO(); // a constructor, which is required for returning objects: diff --git a/connectivity/source/drivers/firebird/ResultSet.hxx b/connectivity/source/drivers/firebird/ResultSet.hxx index e0f3e463415c..fb4d929a8cb7 100644 --- a/connectivity/source/drivers/firebird/ResultSet.hxx +++ b/connectivity/source/drivers/firebird/ResultSet.hxx @@ -120,7 +120,7 @@ namespace connectivity css::uno::RuntimeException); // you can't delete objects of this type - virtual ~OResultSet(); + virtual ~OResultSet() override; public: DECLARE_SERVICE_INFO(); diff --git a/connectivity/source/drivers/firebird/ResultSetMetaData.hxx b/connectivity/source/drivers/firebird/ResultSetMetaData.hxx index cac8a013fcad..3c984e6d158f 100644 --- a/connectivity/source/drivers/firebird/ResultSetMetaData.hxx +++ b/connectivity/source/drivers/firebird/ResultSetMetaData.hxx @@ -42,7 +42,7 @@ namespace connectivity XSQLDA* m_pSqlda; OUString m_sTableName; - virtual ~OResultSetMetaData(); + virtual ~OResultSetMetaData() override; void verifyValidColumn(sal_Int32 column) throw(css::sdbc::SQLException); public: diff --git a/connectivity/source/drivers/firebird/Statement.hxx b/connectivity/source/drivers/firebird/Statement.hxx index ade5a8de5d3a..308d2f9ae478 100644 --- a/connectivity/source/drivers/firebird/Statement.hxx +++ b/connectivity/source/drivers/firebird/Statement.hxx @@ -38,7 +38,7 @@ namespace connectivity public css::lang::XServiceInfo { protected: - virtual ~OStatement(){} + virtual ~OStatement() override {} XSQLDA* m_pSqlda; diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.hxx b/connectivity/source/drivers/firebird/StatementCommonBase.hxx index b4d25775d6ea..ea5006f9ce31 100644 --- a/connectivity/source/drivers/firebird/StatementCommonBase.hxx +++ b/connectivity/source/drivers/firebird/StatementCommonBase.hxx @@ -85,7 +85,7 @@ namespace connectivity virtual void SAL_CALL getFastPropertyValue( css::uno::Any& rValue, sal_Int32 nHandle) const override; - virtual ~OStatementCommonBase(); + virtual ~OStatementCommonBase() override; void prepareAndDescribeStatement(const OUString& sqlIn, XSQLDA*& pOutSqlda, diff --git a/connectivity/source/drivers/hsqldb/HTerminateListener.hxx b/connectivity/source/drivers/hsqldb/HTerminateListener.hxx index 95dc90980523..5b5a86da9713 100644 --- a/connectivity/source/drivers/hsqldb/HTerminateListener.hxx +++ b/connectivity/source/drivers/hsqldb/HTerminateListener.hxx @@ -34,7 +34,7 @@ namespace connectivity { ODriverDelegator* m_pDriver; protected: - virtual ~OConnectionController() {m_pDriver = nullptr;} + virtual ~OConnectionController() override {m_pDriver = nullptr;} public: explicit OConnectionController(ODriverDelegator* _pDriver) : m_pDriver(_pDriver){} diff --git a/connectivity/source/drivers/mork/MConnection.hxx b/connectivity/source/drivers/mork/MConnection.hxx index 125908fd9d62..0e517daafc55 100644 --- a/connectivity/source/drivers/mork/MConnection.hxx +++ b/connectivity/source/drivers/mork/MConnection.hxx @@ -50,7 +50,7 @@ namespace connectivity public: void construct( const OUString& url,const css::uno::Sequence< css::beans::PropertyValue >& info) throw(css::sdbc::SQLException); explicit OConnection(MorkDriver* const driver); - virtual ~OConnection(); + virtual ~OConnection() override; const rtl::Reference<MorkDriver>& getDriver() {return m_xDriver;}; MorkParser* getMorkParser(const OString& t) {return t == "CollectedAddressBook" ? m_pHistory : m_pBook;}; diff --git a/connectivity/source/drivers/mork/MDatabaseMetaData.hxx b/connectivity/source/drivers/mork/MDatabaseMetaData.hxx index 931922ecf0ac..74c7b8ecc1b0 100644 --- a/connectivity/source/drivers/mork/MDatabaseMetaData.hxx +++ b/connectivity/source/drivers/mork/MDatabaseMetaData.hxx @@ -29,7 +29,7 @@ namespace connectivity ODatabaseMetaDataResultSet::ORows& SAL_CALL getColumnRows( const OUString& tableNamePattern, const OUString& columnNamePattern ) throw( css::sdbc::SQLException ); protected: - virtual ~ODatabaseMetaData(); + virtual ~ODatabaseMetaData() override; public: explicit ODatabaseMetaData(OConnection* _pCon); diff --git a/connectivity/source/drivers/mork/MDriver.hxx b/connectivity/source/drivers/mork/MDriver.hxx index 52968d966aad..e17b5ed7950d 100644 --- a/connectivity/source/drivers/mork/MDriver.hxx +++ b/connectivity/source/drivers/mork/MDriver.hxx @@ -42,7 +42,7 @@ private: MorkDriver(const MorkDriver&) = delete; MorkDriver& operator=(const MorkDriver&) = delete; - virtual ~MorkDriver() {} + virtual ~MorkDriver() override {} virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override; diff --git a/connectivity/source/drivers/mork/MPreparedStatement.hxx b/connectivity/source/drivers/mork/MPreparedStatement.hxx index 2aa9aef1c273..eeed5fdb91bb 100644 --- a/connectivity/source/drivers/mork/MPreparedStatement.hxx +++ b/connectivity/source/drivers/mork/MPreparedStatement.hxx @@ -52,7 +52,7 @@ namespace connectivity virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any& rValue) throw (css::uno::Exception, std::exception) override; - virtual ~OPreparedStatement(); + virtual ~OPreparedStatement() override; virtual void SAL_CALL disposing() override; diff --git a/connectivity/source/drivers/mork/MQueryHelper.hxx b/connectivity/source/drivers/mork/MQueryHelper.hxx index 1081f75ccd0d..907c8fdd42dc 100644 --- a/connectivity/source/drivers/mork/MQueryHelper.hxx +++ b/connectivity/source/drivers/mork/MQueryHelper.hxx @@ -127,7 +127,7 @@ namespace connectivity m_aExprCondType( OR ) {} - virtual ~MQueryExpression() { + virtual ~MQueryExpression() override { for (ExprVector::iterator i(m_aExprVector.begin()); i != m_aExprVector.end(); ++i) { diff --git a/connectivity/source/drivers/mork/MResultSet.hxx b/connectivity/source/drivers/mork/MResultSet.hxx index 57a651954920..d46e15c353f5 100644 --- a/connectivity/source/drivers/mork/MResultSet.hxx +++ b/connectivity/source/drivers/mork/MResultSet.hxx @@ -111,7 +111,7 @@ namespace connectivity ) const override; // you can't delete objects of this type - virtual ~OResultSet(); + virtual ~OResultSet() override; public: DECLARE_SERVICE_INFO(); diff --git a/connectivity/source/drivers/mork/MResultSetMetaData.hxx b/connectivity/source/drivers/mork/MResultSetMetaData.hxx index 1aea863bb026..2e60a2ed86a4 100644 --- a/connectivity/source/drivers/mork/MResultSetMetaData.hxx +++ b/connectivity/source/drivers/mork/MResultSetMetaData.hxx @@ -44,7 +44,7 @@ namespace connectivity bool m_bReadOnly; protected: - virtual ~OResultSetMetaData(); + virtual ~OResultSetMetaData() override; public: // a constructor that is needed to return the object: // OResultSetMetaData(OConnection* _pConnection) : m_pConnection(_pConnection){} diff --git a/connectivity/source/drivers/mork/MStatement.hxx b/connectivity/source/drivers/mork/MStatement.hxx index d199142943fa..883957524230 100644 --- a/connectivity/source/drivers/mork/MStatement.hxx +++ b/connectivity/source/drivers/mork/MStatement.hxx @@ -96,7 +96,7 @@ namespace connectivity virtual void SAL_CALL getFastPropertyValue( css::uno::Any& rValue, sal_Int32 nHandle) const override; - virtual ~OCommonStatement(); + virtual ~OCommonStatement() override; protected: @@ -167,7 +167,7 @@ namespace connectivity public css::lang::XServiceInfo { protected: - virtual ~OStatement(){} + virtual ~OStatement() override {} public: // a constructor, for when the object needs to be returned: explicit OStatement( OConnection* _pConnection); diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx index 188f54d3d5d7..9b1b9cb4dc89 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx +++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.hxx @@ -39,7 +39,7 @@ namespace connectivity { protected: ::osl::Mutex m_aMutex; // mutex is need to control member access - virtual ~MozillaBootstrap(); + virtual ~MozillaBootstrap() override; protected: ProfileAccess * m_ProfileAccess; public: diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx index 3a0b888334aa..9f0d3c696ccb 100644 --- a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx +++ b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx @@ -98,7 +98,7 @@ protected: sal_Int32 rowCount, sal_Int32 columnCount, const css::uno::Reference< css::script::XTypeConverter > &tc ); - virtual ~BaseResultSet(); + virtual ~BaseResultSet() override; public: // XInterface virtual void SAL_CALL acquire() throw() override { BaseResultSet_BASE::acquire(); } diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx index 35f5d3366cb6..41f04bffffdd 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.cxx +++ b/connectivity/source/drivers/postgresql/pq_connection.cxx @@ -104,7 +104,7 @@ public: { } - virtual ~ClosableReference() + virtual ~ClosableReference() override { } diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx index d2cdd09a1c40..4459a24c0d87 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.hxx +++ b/connectivity/source/drivers/postgresql/pq_connection.hxx @@ -175,7 +175,7 @@ public: const rtl::Reference< RefCountedMutex > &refMutex, const css::uno::Reference< css::uno::XComponentContext > & ctx ); - virtual ~Connection( ); + virtual ~Connection( ) override; public: // XCloseable virtual void SAL_CALL close() diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx index 7ce5ae284de5..408d14543011 100644 --- a/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx +++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.hxx @@ -101,7 +101,7 @@ public: struct ConnectionSettings *pSettings, const OString &stmt ); - virtual ~PreparedStatement(); + virtual ~PreparedStatement() override; public: // XInterface virtual void SAL_CALL acquire() throw() override { PreparedStatement_BASE::acquire(); } virtual void SAL_CALL release() throw() override { PreparedStatement_BASE::release(); } diff --git a/connectivity/source/drivers/postgresql/pq_resultset.hxx b/connectivity/source/drivers/postgresql/pq_resultset.hxx index 58a5f4de1d94..5ccf50ed0902 100644 --- a/connectivity/source/drivers/postgresql/pq_resultset.hxx +++ b/connectivity/source/drivers/postgresql/pq_resultset.hxx @@ -76,7 +76,7 @@ public: PGresult *result, const OUString &schema, const OUString &table ); - virtual ~ResultSet(); + virtual ~ResultSet() override; public: // XCloseable virtual void SAL_CALL close( ) diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx b/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx index 9c169324d713..1f43cfa526d4 100644 --- a/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx +++ b/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx @@ -77,7 +77,7 @@ public: const std::vector< std::vector< css::uno::Any > > &data, const css::uno::Reference< css::script::XTypeConverter > &tc, const ColumnMetaDataVector *pVec = nullptr); - virtual ~SequenceResultSet(); + virtual ~SequenceResultSet() override; public: // XCloseable virtual void SAL_CALL close( ) diff --git a/connectivity/source/drivers/postgresql/pq_statement.hxx b/connectivity/source/drivers/postgresql/pq_statement.hxx index e73b7a8b02fe..981fcafd64fe 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.hxx +++ b/connectivity/source/drivers/postgresql/pq_statement.hxx @@ -94,7 +94,7 @@ public: const css::uno::Reference< css::sdbc::XConnection> & con, struct ConnectionSettings *pSettings ); - virtual ~Statement(); + virtual ~Statement() override; public: // XInterface virtual void SAL_CALL acquire() throw() override { Statement_BASE::acquire(); } virtual void SAL_CALL release() throw() override { Statement_BASE::release(); } diff --git a/connectivity/source/drivers/postgresql/pq_xcolumns.hxx b/connectivity/source/drivers/postgresql/pq_xcolumns.hxx index 9e5911d0fd2d..d7d8e92d3ffe 100644 --- a/connectivity/source/drivers/postgresql/pq_xcolumns.hxx +++ b/connectivity/source/drivers/postgresql/pq_xcolumns.hxx @@ -79,7 +79,7 @@ protected: const OUString &tableName); - virtual ~Columns(); + virtual ~Columns() override; public: // XAppend virtual void SAL_CALL appendByDescriptor( diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx index 55c5833ad8af..7134316a05e4 100644 --- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx +++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.hxx @@ -69,7 +69,7 @@ protected: const OUString &indexName, const css::uno::Sequence< OUString > &columns ); - virtual ~IndexColumns(); + virtual ~IndexColumns() override; public: // XAppend virtual void SAL_CALL appendByDescriptor( diff --git a/connectivity/source/drivers/postgresql/pq_xindexes.hxx b/connectivity/source/drivers/postgresql/pq_xindexes.hxx index 2b49bca04231..34d15b53df58 100644 --- a/connectivity/source/drivers/postgresql/pq_xindexes.hxx +++ b/connectivity/source/drivers/postgresql/pq_xindexes.hxx @@ -62,7 +62,7 @@ protected: const OUString &schemaName, const OUString &tableName); - virtual ~Indexes(); + virtual ~Indexes() override; public: // XAppend virtual void SAL_CALL appendByDescriptor( diff --git a/connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx b/connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx index dbdfa600e24d..6d60413ab8ca 100644 --- a/connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx +++ b/connectivity/source/drivers/postgresql/pq_xkeycolumns.hxx @@ -69,7 +69,7 @@ protected: const css::uno::Sequence< OUString > &keyColumns, const css::uno::Sequence< OUString > &foreignColumnNames); - virtual ~KeyColumns(); + virtual ~KeyColumns() override; public: // XAppend virtual void SAL_CALL appendByDescriptor( diff --git a/connectivity/source/drivers/postgresql/pq_xkeys.hxx b/connectivity/source/drivers/postgresql/pq_xkeys.hxx index d13c9e448d87..df0f21b7b619 100644 --- a/connectivity/source/drivers/postgresql/pq_xkeys.hxx +++ b/connectivity/source/drivers/postgresql/pq_xkeys.hxx @@ -62,7 +62,7 @@ protected: const OUString &schemaName, const OUString &tableName); - virtual ~Keys(); + virtual ~Keys() override; public: // XAppend virtual void SAL_CALL appendByDescriptor( diff --git a/connectivity/source/drivers/postgresql/pq_xtables.hxx b/connectivity/source/drivers/postgresql/pq_xtables.hxx index c2e45f0fef43..9eb675e3f933 100644 --- a/connectivity/source/drivers/postgresql/pq_xtables.hxx +++ b/connectivity/source/drivers/postgresql/pq_xtables.hxx @@ -58,7 +58,7 @@ protected: const css::uno::Reference< css::sdbc::XConnection > & origin, ConnectionSettings *pSettings ); - virtual ~Tables(); + virtual ~Tables() override; public: // XAppend virtual void SAL_CALL appendByDescriptor( diff --git a/connectivity/source/drivers/postgresql/pq_xusers.hxx b/connectivity/source/drivers/postgresql/pq_xusers.hxx index 0ab9ef83ed17..6ecddfe302ff 100644 --- a/connectivity/source/drivers/postgresql/pq_xusers.hxx +++ b/connectivity/source/drivers/postgresql/pq_xusers.hxx @@ -57,7 +57,7 @@ protected: const css::uno::Reference< css::sdbc::XConnection > & origin, ConnectionSettings *pSettings ); - virtual ~Users(); + virtual ~Users() override; public: // XAppend virtual void SAL_CALL appendByDescriptor( diff --git a/connectivity/source/drivers/postgresql/pq_xviews.hxx b/connectivity/source/drivers/postgresql/pq_xviews.hxx index d4263203e802..1debff30d494 100644 --- a/connectivity/source/drivers/postgresql/pq_xviews.hxx +++ b/connectivity/source/drivers/postgresql/pq_xviews.hxx @@ -58,7 +58,7 @@ protected: const css::uno::Reference< css::sdbc::XConnection > & origin, ConnectionSettings *pSettings); - virtual ~Views(); + virtual ~Views() override; public: // XAppend virtual void SAL_CALL appendByDescriptor( diff --git a/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx b/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx index 6d491ed34ee9..ccfdfa1dde95 100644 --- a/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/FDatabaseMetaDataResultSet.hxx @@ -138,7 +138,7 @@ namespace connectivity // OPropertySetHelper virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override; - virtual ~ODatabaseMetaDataResultSet(); + virtual ~ODatabaseMetaDataResultSet() override; public: virtual void SAL_CALL acquire() throw() override; diff --git a/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx b/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx index 9f1c4c60db90..a564f891ead8 100644 --- a/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx +++ b/connectivity/source/inc/FDatabaseMetaDataResultSetMetaData.hxx @@ -41,7 +41,7 @@ namespace connectivity ::std::map<sal_Int32,connectivity::OColumn>::const_iterator m_mColumnsIter; protected: - virtual ~ODatabaseMetaDataResultSetMetaData(); + virtual ~ODatabaseMetaDataResultSetMetaData() override; public: // a Constructor, that is needed for when Returning the Object is needed: // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird: diff --git a/connectivity/source/inc/ParameterSubstitution.hxx b/connectivity/source/inc/ParameterSubstitution.hxx index eea23aecde41..df664617750d 100644 --- a/connectivity/source/inc/ParameterSubstitution.hxx +++ b/connectivity/source/inc/ParameterSubstitution.hxx @@ -47,7 +47,7 @@ namespace connectivity static css::uno::Reference< css::uno::XInterface > create( const css::uno::Reference< css::uno::XComponentContext > & xContext); protected: ParameterSubstitution(const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~ParameterSubstitution(){} + virtual ~ParameterSubstitution() override {} // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/connectivity/source/inc/TDatabaseMetaDataBase.hxx b/connectivity/source/inc/TDatabaseMetaDataBase.hxx index 466b123cf50c..0ad1a0103f08 100644 --- a/connectivity/source/inc/TDatabaseMetaDataBase.hxx +++ b/connectivity/source/inc/TDatabaseMetaDataBase.hxx @@ -68,7 +68,7 @@ namespace connectivity css::uno::Reference< css::sdbc::XConnection > m_xConnection; css::uno::Reference< css::lang::XEventListener> m_xListenerHelper; // forward the calls from the connection to me - virtual ~ODatabaseMetaDataBase(); + virtual ~ODatabaseMetaDataBase() override; protected: virtual css::uno::Reference< css::sdbc::XResultSet > impl_getTypeInfo_throw() = 0; diff --git a/connectivity/source/inc/calc/CConnection.hxx b/connectivity/source/inc/calc/CConnection.hxx index a5e46b237b26..adc523601388 100644 --- a/connectivity/source/inc/calc/CConnection.hxx +++ b/connectivity/source/inc/calc/CConnection.hxx @@ -109,7 +109,7 @@ namespace connectivity public: OCalcConnection(ODriver* _pDriver); - virtual ~OCalcConnection(); + virtual ~OCalcConnection() override; virtual void construct(const OUString& _rUrl, const css::uno::Sequence< css::beans::PropertyValue >& _rInfo ) diff --git a/connectivity/source/inc/calc/CDatabaseMetaData.hxx b/connectivity/source/inc/calc/CDatabaseMetaData.hxx index f28ee1cfd402..aeea9cfd2719 100644 --- a/connectivity/source/inc/calc/CDatabaseMetaData.hxx +++ b/connectivity/source/inc/calc/CDatabaseMetaData.hxx @@ -42,7 +42,7 @@ namespace connectivity virtual sal_Int32 SAL_CALL getMaxColumnsInTable( ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getTables( const css::uno::Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern, const css::uno::Sequence< OUString >& types ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; protected: - virtual ~OCalcDatabaseMetaData(); + virtual ~OCalcDatabaseMetaData() override; public: OCalcDatabaseMetaData(file::OConnection* _pCon); }; diff --git a/connectivity/source/inc/dbase/DConnection.hxx b/connectivity/source/inc/dbase/DConnection.hxx index 07ca10a7d8b2..5bdecab83ba8 100644 --- a/connectivity/source/inc/dbase/DConnection.hxx +++ b/connectivity/source/inc/dbase/DConnection.hxx @@ -31,7 +31,7 @@ namespace connectivity class ODbaseConnection : public ODbaseConnection_Base { protected: - virtual ~ODbaseConnection(); + virtual ~ODbaseConnection() override; public: ODbaseConnection(ODriver* _pDriver); // XServiceInfo diff --git a/connectivity/source/inc/dbase/DDatabaseMetaData.hxx b/connectivity/source/inc/dbase/DDatabaseMetaData.hxx index b384186361bf..944a18cdf23d 100644 --- a/connectivity/source/inc/dbase/DDatabaseMetaData.hxx +++ b/connectivity/source/inc/dbase/DDatabaseMetaData.hxx @@ -50,7 +50,7 @@ namespace connectivity virtual bool impl_storesMixedCaseQuotedIdentifiers_throw( ) override; virtual bool impl_supportsMixedCaseQuotedIdentifiers_throw( ) override; protected: - virtual ~ODbaseDatabaseMetaData(); + virtual ~ODbaseDatabaseMetaData() override; public: ODbaseDatabaseMetaData(file::OConnection* _pCon); }; diff --git a/connectivity/source/inc/dbase/DIndex.hxx b/connectivity/source/inc/dbase/DIndex.hxx index afe45a478708..0ddc28c523b9 100644 --- a/connectivity/source/inc/dbase/DIndex.hxx +++ b/connectivity/source/inc/dbase/DIndex.hxx @@ -88,7 +88,7 @@ namespace connectivity // Closes and kills the index file and throws an error void impl_killFileAndthrowError_throw(sal_uInt16 _nErrorId,const OUString& _sFile); protected: - virtual ~ODbaseIndex(); + virtual ~ODbaseIndex() override; public: ODbaseIndex(ODbaseTable* _pTable); ODbaseIndex(ODbaseTable* _pTable,const NDXHeader& _aHeader,const OUString& Name); diff --git a/connectivity/source/inc/file/FConnection.hxx b/connectivity/source/inc/file/FConnection.hxx index 9ebcdde2deae..f25d82f349e7 100644 --- a/connectivity/source/inc/file/FConnection.hxx +++ b/connectivity/source/inc/file/FConnection.hxx @@ -71,7 +71,7 @@ namespace connectivity void throwUrlNotValid(const OUString & _rsUrl,const OUString & _rsMessage); - virtual ~OConnection(); + virtual ~OConnection() override; public: OConnection(OFileDriver* _pDriver); diff --git a/connectivity/source/inc/file/FDatabaseMetaData.hxx b/connectivity/source/inc/file/FDatabaseMetaData.hxx index c741cea7cd2f..ecc315ec5426 100644 --- a/connectivity/source/inc/file/FDatabaseMetaData.hxx +++ b/connectivity/source/inc/file/FDatabaseMetaData.hxx @@ -52,7 +52,7 @@ namespace connectivity virtual bool impl_storesMixedCaseQuotedIdentifiers_throw( ) override; protected: OConnection* m_pConnection; // I need the native class not only the interface - virtual ~ODatabaseMetaData(); + virtual ~ODatabaseMetaData() override; public: ODatabaseMetaData(OConnection* _pCon); diff --git a/connectivity/source/inc/file/FPreparedStatement.hxx b/connectivity/source/inc/file/FPreparedStatement.hxx index 7d4d86855c9c..825186000e10 100644 --- a/connectivity/source/inc/file/FPreparedStatement.hxx +++ b/connectivity/source/inc/file/FPreparedStatement.hxx @@ -67,7 +67,7 @@ namespace connectivity virtual void parseParamterElem(const OUString& _sColumnName,OSQLParseNode* pRow_Value_Constructor_Elem) override; virtual void initializeResultSet(OResultSet* _pResult) override; - virtual ~OPreparedStatement(); + virtual ~OPreparedStatement() override; public: DECLARE_SERVICE_INFO(); // a Constructor, that is needed for when Returning the Object is needed: diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx index f6b0c210d0c8..ea0576814682 100644 --- a/connectivity/source/inc/file/FResultSet.hxx +++ b/connectivity/source/inc/file/FResultSet.hxx @@ -156,7 +156,7 @@ namespace connectivity // OPropertySetHelper virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override; - virtual ~OResultSet(); + virtual ~OResultSet() override; public: DECLARE_SERVICE_INFO(); // a Constructor, that is needed for when Returning the Object is needed: diff --git a/connectivity/source/inc/file/FResultSetMetaData.hxx b/connectivity/source/inc/file/FResultSetMetaData.hxx index d7ba1d8e92f5..baadbc9d3629 100644 --- a/connectivity/source/inc/file/FResultSetMetaData.hxx +++ b/connectivity/source/inc/file/FResultSetMetaData.hxx @@ -45,7 +45,7 @@ namespace connectivity void checkColumnIndex(sal_Int32 column) throw(css::sdbc::SQLException, css::uno::RuntimeException); protected: - virtual ~OResultSetMetaData(); + virtual ~OResultSetMetaData() override; public: // a Constructor, that is needed for when Returning the Object is needed: OResultSetMetaData(const ::rtl::Reference<connectivity::OSQLColumns>& _rxColumns,const OUString& _aTableName,OFileTable* _pTable); diff --git a/connectivity/source/inc/file/FStatement.hxx b/connectivity/source/inc/file/FStatement.hxx index aa3398daa7c8..ffdc75150dfd 100644 --- a/connectivity/source/inc/file/FStatement.hxx +++ b/connectivity/source/inc/file/FStatement.hxx @@ -127,7 +127,7 @@ namespace connectivity virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override; // OPropertySetHelper virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override; - virtual ~OStatement_Base(); + virtual ~OStatement_Base() override; public: connectivity::OSQLParseNode* getParseTree() const { return m_pParseTree;} diff --git a/connectivity/source/inc/file/FTable.hxx b/connectivity/source/inc/file/FTable.hxx index 3c460ff91710..e500849b69ab 100644 --- a/connectivity/source/inc/file/FTable.hxx +++ b/connectivity/source/inc/file/FTable.hxx @@ -48,7 +48,7 @@ namespace connectivity // so we have to virtual void FileClose(); - virtual ~OFileTable( ); + virtual ~OFileTable( ) override; public: virtual void refreshColumns() override; virtual void refreshKeys() override; diff --git a/connectivity/source/inc/file/fcomp.hxx b/connectivity/source/inc/file/fcomp.hxx index 5c3d0f2d773e..90f99dc86899 100644 --- a/connectivity/source/inc/file/fcomp.hxx +++ b/connectivity/source/inc/file/fcomp.hxx @@ -47,7 +47,7 @@ namespace connectivity public: OPredicateCompiler(OSQLAnalyzer* pAnalyzer); - virtual ~OPredicateCompiler(); + virtual ~OPredicateCompiler() override; inline static void * SAL_CALL operator new( size_t nSize ) { return ::rtl_allocateMemory( nSize ); } @@ -86,7 +86,7 @@ namespace connectivity public: OPredicateInterpreter(const ::rtl::Reference<OPredicateCompiler>& rComp) : m_rCompiler(rComp){} - virtual ~OPredicateInterpreter(); + virtual ~OPredicateInterpreter() override; bool evaluate(OCodeList& rCodeList); void evaluateSelection(OCodeList& rCodeList,ORowSetValueDecoratorRef& _rVal); diff --git a/connectivity/source/inc/flat/EConnection.hxx b/connectivity/source/inc/flat/EConnection.hxx index e3e8fe6e137d..69cd800481f4 100644 --- a/connectivity/source/inc/flat/EConnection.hxx +++ b/connectivity/source/inc/flat/EConnection.hxx @@ -38,7 +38,7 @@ namespace connectivity sal_Unicode m_cThousandDelimiter; public: OFlatConnection(ODriver* _pDriver); - virtual ~OFlatConnection(); + virtual ~OFlatConnection() override; virtual void construct(const OUString& _rUrl,const css::uno::Sequence< css::beans::PropertyValue >& _rInfo ) throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; diff --git a/connectivity/source/inc/flat/EDatabaseMetaData.hxx b/connectivity/source/inc/flat/EDatabaseMetaData.hxx index 830fab24349b..bb43fe61c0a8 100644 --- a/connectivity/source/inc/flat/EDatabaseMetaData.hxx +++ b/connectivity/source/inc/flat/EDatabaseMetaData.hxx @@ -34,7 +34,7 @@ namespace connectivity { virtual css::uno::Reference< css::sdbc::XResultSet > impl_getTypeInfo_throw() override; protected: - virtual ~OFlatDatabaseMetaData(); + virtual ~OFlatDatabaseMetaData() override; public: OFlatDatabaseMetaData(file::OConnection* _pCon); diff --git a/connectivity/source/inc/hsqldb/HConnection.hxx b/connectivity/source/inc/hsqldb/HConnection.hxx index 2cffd40677e4..b3535023d82c 100644 --- a/connectivity/source/inc/hsqldb/HConnection.hxx +++ b/connectivity/source/inc/hsqldb/HConnection.hxx @@ -66,7 +66,7 @@ namespace connectivity protected: virtual void SAL_CALL disposing() override; - virtual ~OHsqlConnection(); + virtual ~OHsqlConnection() override; public: OHsqlConnection( diff --git a/connectivity/source/inc/hsqldb/HDriver.hxx b/connectivity/source/inc/hsqldb/HDriver.hxx index 255c6609b5d3..dd19db7ebc1d 100644 --- a/connectivity/source/inc/hsqldb/HDriver.hxx +++ b/connectivity/source/inc/hsqldb/HDriver.hxx @@ -117,7 +117,7 @@ namespace connectivity void flushConnections(); protected: /// dtor - virtual ~ODriverDelegator(); + virtual ~ODriverDelegator() override; // OComponentHelper virtual void SAL_CALL disposing() override; diff --git a/connectivity/source/inc/hsqldb/HView.hxx b/connectivity/source/inc/hsqldb/HView.hxx index 09fc95e4dbde..1d83bc7de085 100644 --- a/connectivity/source/inc/hsqldb/HView.hxx +++ b/connectivity/source/inc/hsqldb/HView.hxx @@ -52,7 +52,7 @@ namespace connectivity { namespace hsqldb virtual void SAL_CALL alterCommand( const OUString& NewCommand ) throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; protected: - virtual ~HView(); + virtual ~HView() override; protected: // OPropertyContainer diff --git a/connectivity/source/inc/java/io/InputStream.hxx b/connectivity/source/inc/java/io/InputStream.hxx index c4ca05517e4f..c63013a796e9 100644 --- a/connectivity/source/inc/java/io/InputStream.hxx +++ b/connectivity/source/inc/java/io/InputStream.hxx @@ -35,7 +35,7 @@ namespace connectivity protected: // static Data for the Class static jclass theClass; - virtual ~java_io_InputStream(); + virtual ~java_io_InputStream() override; public: virtual jclass getMyClass() const override; // a Constructor, that is needed for when Returning the Object is needed: diff --git a/connectivity/source/inc/java/io/Reader.hxx b/connectivity/source/inc/java/io/Reader.hxx index 6002f4f4dc58..64b71e6f0c0b 100644 --- a/connectivity/source/inc/java/io/Reader.hxx +++ b/connectivity/source/inc/java/io/Reader.hxx @@ -36,7 +36,7 @@ namespace connectivity protected: // static Data for the Class static jclass theClass; - virtual ~java_io_Reader(); + virtual ~java_io_Reader() override; boost::optional<char> m_buf; public: virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/lang/Boolean.hxx b/connectivity/source/inc/java/lang/Boolean.hxx index 682294709f24..399a9191ca46 100644 --- a/connectivity/source/inc/java/lang/Boolean.hxx +++ b/connectivity/source/inc/java/lang/Boolean.hxx @@ -32,7 +32,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_lang_Boolean(); + virtual ~java_lang_Boolean() override; // a Constructor, that is needed for when Returning the Object is needed: java_lang_Boolean( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){} diff --git a/connectivity/source/inc/java/lang/Class.hxx b/connectivity/source/inc/java/lang/Class.hxx index 2ad8e4c4f6fa..8dc8b3fb6eea 100644 --- a/connectivity/source/inc/java/lang/Class.hxx +++ b/connectivity/source/inc/java/lang/Class.hxx @@ -32,7 +32,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_lang_Class(); + virtual ~java_lang_Class() override; // a Constructor, that is needed for when Returning the Object is needed: java_lang_Class( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){} diff --git a/connectivity/source/inc/java/lang/Exception.hxx b/connectivity/source/inc/java/lang/Exception.hxx index fd0d670cb4a4..ea63cbcf3240 100644 --- a/connectivity/source/inc/java/lang/Exception.hxx +++ b/connectivity/source/inc/java/lang/Exception.hxx @@ -33,7 +33,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_lang_Exception(); + virtual ~java_lang_Exception() override; // a Constructor, that is needed for when Returning the Object is needed: java_lang_Exception( JNIEnv * pEnv, jobject myObj ) : java_lang_Throwable( pEnv, myObj ){} diff --git a/connectivity/source/inc/java/lang/String.hxx b/connectivity/source/inc/java/lang/String.hxx index c39fbb84f871..45807594c9ea 100644 --- a/connectivity/source/inc/java/lang/String.hxx +++ b/connectivity/source/inc/java/lang/String.hxx @@ -30,7 +30,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_lang_String(); + virtual ~java_lang_String() override; // a Constructor, that is needed for when Returning the Object is needed: java_lang_String( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){} diff --git a/connectivity/source/inc/java/lang/Throwable.hxx b/connectivity/source/inc/java/lang/Throwable.hxx index 5cdbb83ab9b6..898d1b84100d 100644 --- a/connectivity/source/inc/java/lang/Throwable.hxx +++ b/connectivity/source/inc/java/lang/Throwable.hxx @@ -33,7 +33,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_lang_Throwable(); + virtual ~java_lang_Throwable() override; // a Constructor, that is needed for when Returning the Object is needed: java_lang_Throwable( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){} OUString getMessage() const; diff --git a/connectivity/source/inc/java/math/BigDecimal.hxx b/connectivity/source/inc/java/math/BigDecimal.hxx index e3033c88f339..0b94e6b2187c 100644 --- a/connectivity/source/inc/java/math/BigDecimal.hxx +++ b/connectivity/source/inc/java/math/BigDecimal.hxx @@ -31,7 +31,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_math_BigDecimal(); + virtual ~java_math_BigDecimal() override; java_math_BigDecimal( const OUString& _par0 ); java_math_BigDecimal( const double& _par0 ); diff --git a/connectivity/source/inc/java/sql/Array.hxx b/connectivity/source/inc/java/sql/Array.hxx index 4beb463ef21f..70f4efeb8005 100644 --- a/connectivity/source/inc/java/sql/Array.hxx +++ b/connectivity/source/inc/java/sql/Array.hxx @@ -37,7 +37,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_sql_Array(); + virtual ~java_sql_Array() override; // A ctor that is needed for returning the object java_sql_Array( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){} diff --git a/connectivity/source/inc/java/sql/Blob.hxx b/connectivity/source/inc/java/sql/Blob.hxx index f3c3667c2eec..42547795ac29 100644 --- a/connectivity/source/inc/java/sql/Blob.hxx +++ b/connectivity/source/inc/java/sql/Blob.hxx @@ -36,7 +36,7 @@ namespace connectivity protected: // Static data for the class static jclass theClass; - virtual ~java_sql_Blob(); + virtual ~java_sql_Blob() override; public: virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/CallableStatement.hxx b/connectivity/source/inc/java/sql/CallableStatement.hxx index d1ce5a7de665..fba2958853e7 100644 --- a/connectivity/source/inc/java/sql/CallableStatement.hxx +++ b/connectivity/source/inc/java/sql/CallableStatement.hxx @@ -39,7 +39,7 @@ namespace connectivity static jclass theClass; virtual void createStatement(JNIEnv* _pEnv) override; - virtual ~java_sql_CallableStatement(); + virtual ~java_sql_CallableStatement() override; public: DECLARE_SERVICE_INFO(); virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/Clob.hxx b/connectivity/source/inc/java/sql/Clob.hxx index 167b10bfe03d..9ccfd22866b0 100644 --- a/connectivity/source/inc/java/sql/Clob.hxx +++ b/connectivity/source/inc/java/sql/Clob.hxx @@ -36,7 +36,7 @@ namespace connectivity protected: // Static data for the class static jclass theClass; - virtual ~java_sql_Clob(); + virtual ~java_sql_Clob() override; public: virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/Connection.hxx b/connectivity/source/inc/java/sql/Connection.hxx index 8753069a7267..8b77b5831a8f 100644 --- a/connectivity/source/inc/java/sql/Connection.hxx +++ b/connectivity/source/inc/java/sql/Connection.hxx @@ -80,7 +80,7 @@ namespace connectivity // Static data for the class static jclass theClass; - virtual ~java_sql_Connection(); + virtual ~java_sql_Connection() override; public: virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/DatabaseMetaData.hxx b/connectivity/source/inc/java/sql/DatabaseMetaData.hxx index 478dc88bb39e..5484be5c099d 100644 --- a/connectivity/source/inc/java/sql/DatabaseMetaData.hxx +++ b/connectivity/source/inc/java/sql/DatabaseMetaData.hxx @@ -42,7 +42,7 @@ namespace connectivity public: virtual jclass getMyClass() const override; - virtual ~java_sql_DatabaseMetaData(); + virtual ~java_sql_DatabaseMetaData() override; // A ctor that is needed for returning the object java_sql_DatabaseMetaData( JNIEnv * pEnv, jobject myObj, java_sql_Connection& _rConnection ); diff --git a/connectivity/source/inc/java/sql/Driver.hxx b/connectivity/source/inc/java/sql/Driver.hxx index bb91e40b85a3..876f00f1eb20 100644 --- a/connectivity/source/inc/java/sql/Driver.hxx +++ b/connectivity/source/inc/java/sql/Driver.hxx @@ -37,7 +37,7 @@ namespace connectivity ::comphelper::ResourceBasedEventLogger m_aLogger; protected: - virtual ~java_sql_Driver(); + virtual ~java_sql_Driver() override; public: java_sql_Driver(const css::uno::Reference< css::uno::XComponentContext >& _rxContext); diff --git a/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx b/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx index a745fefb62c1..6594b716dd7d 100644 --- a/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx +++ b/connectivity/source/inc/java/sql/DriverPropertyInfo.hxx @@ -36,7 +36,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_sql_DriverPropertyInfo(); + virtual ~java_sql_DriverPropertyInfo() override; }; } diff --git a/connectivity/source/inc/java/sql/JStatement.hxx b/connectivity/source/inc/java/sql/JStatement.hxx index fe7ff029f349..7c53219b5fea 100644 --- a/connectivity/source/inc/java/sql/JStatement.hxx +++ b/connectivity/source/inc/java/sql/JStatement.hxx @@ -115,7 +115,7 @@ namespace connectivity virtual void createStatement(JNIEnv* _pEnv) = 0; - virtual ~java_sql_Statement_Base(); + virtual ~java_sql_Statement_Base() override; sal_Int32 impl_getProperty(const char* _pMethodName, jmethodID& _inout_MethodID); sal_Int32 impl_getProperty(const char* _pMethodName, jmethodID& _inout_MethodID,sal_Int32 _nDefault); @@ -187,7 +187,7 @@ namespace connectivity virtual void createStatement(JNIEnv* _pEnv) override; - virtual ~java_sql_Statement(); + virtual ~java_sql_Statement() override; public: DECLARE_SERVICE_INFO(); virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/PreparedStatement.hxx b/connectivity/source/inc/java/sql/PreparedStatement.hxx index 2a25a32c79ae..0a1721fd0c99 100644 --- a/connectivity/source/inc/java/sql/PreparedStatement.hxx +++ b/connectivity/source/inc/java/sql/PreparedStatement.hxx @@ -44,7 +44,7 @@ namespace connectivity static jclass theClass; virtual void createStatement(JNIEnv* _pEnv) override; - virtual ~java_sql_PreparedStatement(); + virtual ~java_sql_PreparedStatement() override; public: DECLARE_SERVICE_INFO(); virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/Ref.hxx b/connectivity/source/inc/java/sql/Ref.hxx index aa28c2c1a21b..7d2ea6a0aad6 100644 --- a/connectivity/source/inc/java/sql/Ref.hxx +++ b/connectivity/source/inc/java/sql/Ref.hxx @@ -35,7 +35,7 @@ namespace connectivity protected: // Static data for the class static jclass theClass; - virtual ~java_sql_Ref(); + virtual ~java_sql_Ref() override; public: virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/ResultSet.hxx b/connectivity/source/inc/java/sql/ResultSet.hxx index 975352c53f1c..4ef232421530 100644 --- a/connectivity/source/inc/java/sql/ResultSet.hxx +++ b/connectivity/source/inc/java/sql/ResultSet.hxx @@ -97,7 +97,7 @@ namespace connectivity css::uno::Any& rValue, sal_Int32 nHandle ) const override; - virtual ~java_sql_ResultSet(); + virtual ~java_sql_ResultSet() override; public: DECLARE_SERVICE_INFO(); virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/ResultSetMetaData.hxx b/connectivity/source/inc/java/sql/ResultSetMetaData.hxx index 279e7f784d99..9e830c10ad41 100644 --- a/connectivity/source/inc/java/sql/ResultSetMetaData.hxx +++ b/connectivity/source/inc/java/sql/ResultSetMetaData.hxx @@ -39,7 +39,7 @@ namespace connectivity // Static data for the class static jclass theClass; - virtual ~java_sql_ResultSetMetaData(); + virtual ~java_sql_ResultSetMetaData() override; public: virtual jclass getMyClass() const override; diff --git a/connectivity/source/inc/java/sql/SQLException.hxx b/connectivity/source/inc/java/sql/SQLException.hxx index cddf852997e6..e276f9873ab9 100644 --- a/connectivity/source/inc/java/sql/SQLException.hxx +++ b/connectivity/source/inc/java/sql/SQLException.hxx @@ -41,7 +41,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_sql_SQLException_BASE(); + virtual ~java_sql_SQLException_BASE() override; // A ctor that is needed for returning the object java_sql_SQLException_BASE( JNIEnv * pEnv, jobject myObj ); diff --git a/connectivity/source/inc/java/sql/SQLWarning.hxx b/connectivity/source/inc/java/sql/SQLWarning.hxx index ad30f7a6e884..f1840cedb26f 100644 --- a/connectivity/source/inc/java/sql/SQLWarning.hxx +++ b/connectivity/source/inc/java/sql/SQLWarning.hxx @@ -33,7 +33,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_sql_SQLWarning_BASE(); + virtual ~java_sql_SQLWarning_BASE() override; // A ctor that is needed for returning the object java_sql_SQLWarning_BASE( JNIEnv * pEnv, jobject myObj ) : java_sql_SQLException_BASE( pEnv, myObj ){} diff --git a/connectivity/source/inc/java/sql/Timestamp.hxx b/connectivity/source/inc/java/sql/Timestamp.hxx index d05505119888..968638ad079c 100644 --- a/connectivity/source/inc/java/sql/Timestamp.hxx +++ b/connectivity/source/inc/java/sql/Timestamp.hxx @@ -37,7 +37,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_sql_Date(); + virtual ~java_sql_Date() override; // A ctor that is needed for returning the object java_sql_Date( JNIEnv * pEnv, jobject myObj ) : java_util_Date(pEnv,myObj){} java_sql_Date( const css::util::Date& _rOut ); @@ -57,7 +57,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_sql_Time(); + virtual ~java_sql_Time() override; // A ctor that is needed for returning the object java_sql_Time( JNIEnv * pEnv, jobject myObj ) : java_util_Date( pEnv, myObj ){} java_sql_Time( const css::util::Time& _rOut ); @@ -75,7 +75,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_sql_Timestamp(); + virtual ~java_sql_Timestamp() override; // A ctor that is needed for returning the object java_sql_Timestamp( JNIEnv * pEnv, jobject myObj ) : java_util_Date( pEnv, myObj ){} java_sql_Timestamp( const css::util::DateTime& _rOut); diff --git a/connectivity/source/inc/java/util/Date.hxx b/connectivity/source/inc/java/util/Date.hxx index ea7d456fb9a3..ee71ff96420f 100644 --- a/connectivity/source/inc/java/util/Date.hxx +++ b/connectivity/source/inc/java/util/Date.hxx @@ -37,7 +37,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_util_Date(); + virtual ~java_util_Date() override; // A ctor that is needed for returning the object java_util_Date( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){} }; diff --git a/connectivity/source/inc/java/util/Property.hxx b/connectivity/source/inc/java/util/Property.hxx index bb9c01bfc6f2..611e4d0f540f 100644 --- a/connectivity/source/inc/java/util/Property.hxx +++ b/connectivity/source/inc/java/util/Property.hxx @@ -30,7 +30,7 @@ namespace connectivity static jclass theClass; public: virtual jclass getMyClass() const override; - virtual ~java_util_Properties(); + virtual ~java_util_Properties() override; java_util_Properties( ); void setProperty(const OUString& key, const OUString& value); }; diff --git a/connectivity/source/inc/mysql/YDriver.hxx b/connectivity/source/inc/mysql/YDriver.hxx index 805abe8cb526..c3d5c92c383e 100644 --- a/connectivity/source/inc/mysql/YDriver.hxx +++ b/connectivity/source/inc/mysql/YDriver.hxx @@ -101,7 +101,7 @@ namespace connectivity virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByURL( const OUString& url, const css::uno::Sequence< css::beans::PropertyValue >& info ) throw (css::sdbc::SQLException, css::uno::RuntimeException, std::exception) override; protected: /// dtor - virtual ~ODriverDelegator(); + virtual ~ODriverDelegator() override; // OComponentHelper virtual void SAL_CALL disposing() override; }; diff --git a/connectivity/source/inc/odbc/OConnection.hxx b/connectivity/source/inc/odbc/OConnection.hxx index dc61a99389c3..2dc2df43468b 100644 --- a/connectivity/source/inc/odbc/OConnection.hxx +++ b/connectivity/source/inc/odbc/OConnection.hxx @@ -84,7 +84,7 @@ namespace connectivity OConnection(const SQLHANDLE _pDriverHandle,ODBCDriver* _pDriver); // OConnection(const SQLHANDLE _pConnectionHandle); - virtual ~OConnection(); + virtual ~OConnection() override; // OComponentHelper virtual void SAL_CALL disposing() override; diff --git a/connectivity/source/inc/odbc/ODatabaseMetaData.hxx b/connectivity/source/inc/odbc/ODatabaseMetaData.hxx index 477972738cb5..781660f8b6e6 100644 --- a/connectivity/source/inc/odbc/ODatabaseMetaData.hxx +++ b/connectivity/source/inc/odbc/ODatabaseMetaData.hxx @@ -57,7 +57,7 @@ namespace connectivity protected: OUString getURLImpl(); virtual css::uno::Reference< css::sdbc::XResultSet > impl_getTypeInfo_throw() override; - virtual ~ODatabaseMetaData(); + virtual ~ODatabaseMetaData() override; public: ODatabaseMetaData(const SQLHANDLE _pHandle,OConnection* _pCon); diff --git a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx index 8bd1d116fdcf..81dbea6092c4 100644 --- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx @@ -108,7 +108,7 @@ namespace connectivity virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::uno::Exception, std::exception) override; virtual void SAL_CALL getFastPropertyValue( css::uno::Any& rValue, sal_Int32 nHandle ) const override; - virtual ~ODatabaseMetaDataResultSet(); + virtual ~ODatabaseMetaDataResultSet() override; template < typename T, SQLSMALLINT sqlTypeId > T getInteger ( sal_Int32 columnIndex ); public: diff --git a/connectivity/source/inc/odbc/OResultSet.hxx b/connectivity/source/inc/odbc/OResultSet.hxx index 3d827fe4c184..ef117aadf1f2 100644 --- a/connectivity/source/inc/odbc/OResultSet.hxx +++ b/connectivity/source/inc/odbc/OResultSet.hxx @@ -215,7 +215,7 @@ namespace connectivity DECLARE_SERVICE_INFO(); // A ctor that is needed for returning the object OResultSet( SQLHANDLE _pStatementHandle,OStatement_Base* pStmt); - virtual ~OResultSet(); + virtual ~OResultSet() override; void construct(); diff --git a/connectivity/source/inc/odbc/OResultSetMetaData.hxx b/connectivity/source/inc/odbc/OResultSetMetaData.hxx index 4a8dfc4a883d..ed80647e27be 100644 --- a/connectivity/source/inc/odbc/OResultSetMetaData.hxx +++ b/connectivity/source/inc/odbc/OResultSetMetaData.hxx @@ -65,7 +65,7 @@ namespace connectivity ,m_nColCount(_vMapping.size()-1) ,m_bUseODBC2Types(false) {} - virtual ~OResultSetMetaData(); + virtual ~OResultSetMetaData() override; static SQLLEN getNumColAttrib(OConnection* _pConnection diff --git a/connectivity/source/inc/odbc/OStatement.hxx b/connectivity/source/inc/odbc/OStatement.hxx index 9d3a9631b145..0916ec841916 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -145,7 +145,7 @@ namespace connectivity css::uno::Any& rValue, sal_Int32 nHandle ) const override; - virtual ~OStatement_Base(); + virtual ~OStatement_Base() override; public: OStatement_Base(OConnection* _pConnection ); @@ -222,7 +222,7 @@ namespace connectivity public css::lang::XServiceInfo { protected: - virtual ~OStatement(){} + virtual ~OStatement() override {} public: // A ctor that is needed for returning the object OStatement( OConnection* _pConnection) : OStatement_BASE2( _pConnection){} diff --git a/connectivity/source/manager/mdrivermanager.cxx b/connectivity/source/manager/mdrivermanager.cxx index 98dd6e0c6cb0..116412fc551a 100644 --- a/connectivity/source/manager/mdrivermanager.cxx +++ b/connectivity/source/manager/mdrivermanager.cxx @@ -64,7 +64,7 @@ class ODriverEnumeration : public ::cppu::WeakImplHelper< XEnumeration > // order matters! protected: - virtual ~ODriverEnumeration(); + virtual ~ODriverEnumeration() override; public: explicit ODriverEnumeration(const DriverArray& _rDriverSequence); diff --git a/connectivity/source/manager/mdrivermanager.hxx b/connectivity/source/manager/mdrivermanager.hxx index 2b63df708f70..b1c24120d470 100644 --- a/connectivity/source/manager/mdrivermanager.hxx +++ b/connectivity/source/manager/mdrivermanager.hxx @@ -79,7 +79,7 @@ namespace drivermanager private: explicit OSDBCDriverManager( const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~OSDBCDriverManager(); + virtual ~OSDBCDriverManager() override; public: diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx index 5b4e96553b19..690e7904e4dc 100644 --- a/connectivity/source/sdbcx/VCollection.cxx +++ b/connectivity/source/sdbcx/VCollection.cxx @@ -59,7 +59,7 @@ namespace : m_aNameMap(_bCase) { } - virtual ~OHardRefMap() + virtual ~OHardRefMap() override { } diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx index 5eeb5f34d7c3..c83c2e992538 100644 --- a/cppcanvas/qa/extras/emfplus/emfplus.cxx +++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx @@ -29,7 +29,7 @@ public: { } - virtual ~Test() + virtual ~Test() override { } diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index f0fa80135b92..ba18b76c4cbd 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -168,7 +168,7 @@ static float GetSwapFloat( SvStream& rSt ) const GDIMetaFile& rMtf, const Parameters& rParms ); - virtual ~ImplRenderer(); + virtual ~ImplRenderer() override; virtual bool draw() const override; virtual bool drawSubset( sal_Int32 nStartIndex, diff --git a/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx b/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx index 5fc7e0aeb0b3..86568ecb8be8 100644 --- a/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx +++ b/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx @@ -61,7 +61,7 @@ namespace cppcanvas */ CachedPrimitiveBase( const CanvasSharedPtr& rCanvas, bool bOnlyRedrawWithSameTransform ); - virtual ~CachedPrimitiveBase() {} + virtual ~CachedPrimitiveBase() override {} CachedPrimitiveBase(const CachedPrimitiveBase&) = delete; const CachedPrimitiveBase& operator=(const CachedPrimitiveBase&) = delete; diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index bc82c84c0609..3fda67848ee6 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -254,7 +254,7 @@ namespace cppcanvas pPointTypes = nullptr; } - virtual ~EMFPPath () + virtual ~EMFPPath () override { delete [] pPoints; delete [] pPointTypes; @@ -402,7 +402,7 @@ namespace cppcanvas { } - virtual ~EMFPRegion () + virtual ~EMFPRegion () override { if (combineMode) { delete [] combineMode; @@ -486,7 +486,7 @@ namespace cppcanvas { } - virtual ~EMFPBrush () + virtual ~EMFPBrush () override { if (blendPositions != nullptr) { delete[] blendPositions; @@ -780,7 +780,7 @@ namespace cppcanvas { } - virtual ~EMFPCustomLineCap() + virtual ~EMFPCustomLineCap() override { } @@ -922,7 +922,7 @@ namespace cppcanvas { } - virtual ~EMFPPen() + virtual ~EMFPPen() override { delete[] dashPattern; delete[] compoundArray; diff --git a/cppcanvas/source/wrapper/implbitmap.hxx b/cppcanvas/source/wrapper/implbitmap.hxx index 24d8af50a3db..aabfd331a4dc 100644 --- a/cppcanvas/source/wrapper/implbitmap.hxx +++ b/cppcanvas/source/wrapper/implbitmap.hxx @@ -43,7 +43,7 @@ namespace cppcanvas ImplBitmap( const CanvasSharedPtr& rParentCanvas, const css::uno::Reference< css::rendering::XBitmap >& rBitmap ); - virtual ~ImplBitmap(); + virtual ~ImplBitmap() override; // CanvasGraphic implementation (that was not already implemented by CanvasGraphicHelper) virtual bool draw() const override; diff --git a/cppcanvas/source/wrapper/implbitmapcanvas.hxx b/cppcanvas/source/wrapper/implbitmapcanvas.hxx index 75931bd575f5..3b6a72d1d8e4 100644 --- a/cppcanvas/source/wrapper/implbitmapcanvas.hxx +++ b/cppcanvas/source/wrapper/implbitmapcanvas.hxx @@ -37,7 +37,7 @@ namespace cppcanvas { public: explicit ImplBitmapCanvas( const css::uno::Reference< css::rendering::XBitmapCanvas >& rCanvas ); - virtual ~ImplBitmapCanvas(); + virtual ~ImplBitmapCanvas() override; virtual ::basegfx::B2ISize getSize() const override; diff --git a/cppcanvas/source/wrapper/implcanvas.hxx b/cppcanvas/source/wrapper/implcanvas.hxx index 0499280fbedd..d1162d605ea4 100644 --- a/cppcanvas/source/wrapper/implcanvas.hxx +++ b/cppcanvas/source/wrapper/implcanvas.hxx @@ -51,7 +51,7 @@ namespace cppcanvas { public: explicit ImplCanvas( const css::uno::Reference< css::rendering::XCanvas >& rCanvas ); - virtual ~ImplCanvas(); + virtual ~ImplCanvas() override; virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) override; virtual ::basegfx::B2DHomMatrix getTransformation() const override; diff --git a/cppcanvas/source/wrapper/implcolor.hxx b/cppcanvas/source/wrapper/implcolor.hxx index 7f6409b291ff..a53834c3228c 100644 --- a/cppcanvas/source/wrapper/implcolor.hxx +++ b/cppcanvas/source/wrapper/implcolor.hxx @@ -35,7 +35,7 @@ namespace cppcanvas public: explicit ImplColor( const css::uno::Reference< css::rendering::XGraphicDevice >& rDevice ); - virtual ~ImplColor(); + virtual ~ImplColor() override; virtual css::uno::Sequence< double > getDeviceColor( IntSRGBA aSRGBA ) const override; diff --git a/cppcanvas/source/wrapper/implcustomsprite.hxx b/cppcanvas/source/wrapper/implcustomsprite.hxx index 785eb5cb3409..0c4a64e1922e 100644 --- a/cppcanvas/source/wrapper/implcustomsprite.hxx +++ b/cppcanvas/source/wrapper/implcustomsprite.hxx @@ -39,7 +39,7 @@ namespace cppcanvas const css::uno::Reference< css::rendering::XCustomSprite >& rSprite, const ImplSpriteCanvas::TransformationArbiterSharedPtr& rTransformArbiter ); - virtual ~ImplCustomSprite(); + virtual ~ImplCustomSprite() override; virtual CanvasSharedPtr getContentCanvas() const override; diff --git a/cppcanvas/source/wrapper/implfont.hxx b/cppcanvas/source/wrapper/implfont.hxx index bb8793ca26ed..fb4ccca64077 100644 --- a/cppcanvas/source/wrapper/implfont.hxx +++ b/cppcanvas/source/wrapper/implfont.hxx @@ -44,7 +44,7 @@ namespace cppcanvas const OUString& rFontName, const double& rCellSize ); - virtual ~ImplFont(); + virtual ~ImplFont() override; private: css::uno::Reference< css::rendering::XCanvas > mxCanvas; diff --git a/cppcanvas/source/wrapper/implpolypolygon.hxx b/cppcanvas/source/wrapper/implpolypolygon.hxx index cfaed772696b..431561a6b3d8 100644 --- a/cppcanvas/source/wrapper/implpolypolygon.hxx +++ b/cppcanvas/source/wrapper/implpolypolygon.hxx @@ -46,7 +46,7 @@ namespace cppcanvas const css::uno::Reference< css::rendering::XPolyPolygon2D >& rPolyPoly ); - virtual ~ImplPolyPolygon(); + virtual ~ImplPolyPolygon() override; virtual void setRGBAFillColor( Color::IntSRGBA ) override; virtual void setRGBALineColor( Color::IntSRGBA ) override; diff --git a/cppcanvas/source/wrapper/implsprite.hxx b/cppcanvas/source/wrapper/implsprite.hxx index 05d05635ee49..82011e71f220 100644 --- a/cppcanvas/source/wrapper/implsprite.hxx +++ b/cppcanvas/source/wrapper/implsprite.hxx @@ -38,7 +38,7 @@ namespace cppcanvas const css::uno::Reference< css::rendering::XSprite >& rSprite, const ImplSpriteCanvas::TransformationArbiterSharedPtr& rTransformArbiter ); - virtual ~ImplSprite(); + virtual ~ImplSprite() override; virtual void setAlpha( const double& rAlpha ) override; virtual void movePixel( const ::basegfx::B2DPoint& rNewPos ) override; diff --git a/cppcanvas/source/wrapper/implspritecanvas.hxx b/cppcanvas/source/wrapper/implspritecanvas.hxx index 89b0fc300a8e..49fcc9891265 100644 --- a/cppcanvas/source/wrapper/implspritecanvas.hxx +++ b/cppcanvas/source/wrapper/implspritecanvas.hxx @@ -37,7 +37,7 @@ namespace cppcanvas css::rendering::XSpriteCanvas >& rCanvas ); ImplSpriteCanvas(const ImplSpriteCanvas&); - virtual ~ImplSpriteCanvas(); + virtual ~ImplSpriteCanvas() override; virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) override; diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx index 16d14d9d2ff7..436fb4512cfa 100644 --- a/cppu/qa/test_reference.cxx +++ b/cppu/qa/test_reference.cxx @@ -94,11 +94,11 @@ struct Base1: public css::uno::XInterface { { return ::cppu::UnoType<Base1>::get(); } }; struct Base2: public Base1 { - virtual ~Base2() = delete; + virtual ~Base2() override = delete; }; -struct Base3: public Base1 { virtual ~Base3() = delete; }; +struct Base3: public Base1 { virtual ~Base3() override = delete; }; struct Derived: public Base2, public Base3 { - virtual ~Derived() = delete; + virtual ~Derived() override = delete; }; // The special case using the conversion operator instead: diff --git a/cppu/source/AffineBridge/AffineBridge.cxx b/cppu/source/AffineBridge/AffineBridge.cxx index 75d406f0e7f7..6d194517bf56 100644 --- a/cppu/source/AffineBridge/AffineBridge.cxx +++ b/cppu/source/AffineBridge/AffineBridge.cxx @@ -69,7 +69,7 @@ public: OuterThread * m_pOuterThread; explicit AffineBridge(); - virtual ~AffineBridge(); + virtual ~AffineBridge() override; virtual void v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam) override; virtual void v_callOut_v (uno_EnvCallee * pCallee, va_list * pParam) override; diff --git a/cppu/source/LogBridge/LogBridge.cxx b/cppu/source/LogBridge/LogBridge.cxx index e791e7a5be94..604369d85186 100644 --- a/cppu/source/LogBridge/LogBridge.cxx +++ b/cppu/source/LogBridge/LogBridge.cxx @@ -40,7 +40,7 @@ class LogBridge : public cppu::Enterable sal_Int32 m_count; oslThreadIdentifier m_threadId; - virtual ~LogBridge(); + virtual ~LogBridge() override; public: explicit LogBridge(); diff --git a/cppu/source/UnsafeBridge/UnsafeBridge.cxx b/cppu/source/UnsafeBridge/UnsafeBridge.cxx index 85690841bccc..1187f54dbe58 100644 --- a/cppu/source/UnsafeBridge/UnsafeBridge.cxx +++ b/cppu/source/UnsafeBridge/UnsafeBridge.cxx @@ -48,7 +48,7 @@ class UnsafeBridge : public cppu::Enterable sal_Int32 m_count; oslThreadIdentifier m_threadId; - virtual ~UnsafeBridge(); + virtual ~UnsafeBridge() override; public: explicit UnsafeBridge(); diff --git a/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx b/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx index 1e316c7f2550..449429ffc0b0 100644 --- a/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx +++ b/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx @@ -126,7 +126,7 @@ protected: ExtEnv_acquireInterface * m_env_acquireInterface; ExtEnv_releaseInterface * m_env_releaseInterface; - virtual ~Base(); + virtual ~Base() override; }; extern "C" { diff --git a/cppu/source/threadpool/thread.hxx b/cppu/source/threadpool/thread.hxx index fa67a082bd94..1e74f025159b 100644 --- a/cppu/source/threadpool/thread.hxx +++ b/cppu/source/threadpool/thread.hxx @@ -41,7 +41,7 @@ namespace cppu_threadpool { JobQueue * , const ::rtl::ByteSequence &aThreadId, bool bAsynchron ); - virtual ~ORequestThread(); + virtual ~ORequestThread() override; void setTask( JobQueue * , const ::rtl::ByteSequence & aThreadId , bool bAsynchron ); diff --git a/cppu/source/threadpool/threadpool.hxx b/cppu/source/threadpool/threadpool.hxx index b5587d46be44..d5cb8df7be3c 100644 --- a/cppu/source/threadpool/threadpool.hxx +++ b/cppu/source/threadpool/threadpool.hxx @@ -118,7 +118,7 @@ namespace cppu_threadpool { { public: ThreadPool(); - virtual ~ThreadPool(); + virtual ~ThreadPool() override; void dispose( sal_Int64 nDisposeId ); void destroy( sal_Int64 nDisposeId ); diff --git a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx index 097ad9bf33a9..b1f7ff7722ed 100644 --- a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx +++ b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx @@ -48,7 +48,7 @@ class ContainerListener : public ::cppu::WeakImplHelper1< XEventListener > public: explicit ContainerListener(ContainerStats *pStats) : m_pStats(pStats) { m_pStats->m_nAlive++; } - virtual ~ContainerListener() { m_pStats->m_nAlive--; } + virtual ~ContainerListener() override { m_pStats->m_nAlive--; } virtual void SAL_CALL disposing( const EventObject& ) throw (RuntimeException, std::exception) override { diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index 8e75d5f4dd68..5dfb0714e1d7 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -153,7 +153,7 @@ public: ComponentContext( ContextEntry_Init const * pEntries, sal_Int32 nEntries, Reference< XComponentContext > const & xDelegate ); - virtual ~ComponentContext(); + virtual ~ComponentContext() override; // XComponentContext virtual Any SAL_CALL getValueByName( OUString const & rName ) diff --git a/cppuhelper/source/macro_expander.cxx b/cppuhelper/source/macro_expander.cxx index df55a0625131..8a4a2e223721 100644 --- a/cppuhelper/source/macro_expander.cxx +++ b/cppuhelper/source/macro_expander.cxx @@ -129,7 +129,7 @@ public: inline Bootstrap_MacroExpander() : t_uno_impl( m_mutex ) {} - virtual ~Bootstrap_MacroExpander(); + virtual ~Bootstrap_MacroExpander() override; // XMacroExpander impl virtual OUString SAL_CALL expandMacros( OUString const & exp ) diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx index 75894244e96e..a4267f9d8442 100644 --- a/cppuhelper/source/servicemanager.cxx +++ b/cppuhelper/source/servicemanager.cxx @@ -449,7 +449,7 @@ public: const ContentEnumeration& operator=(const ContentEnumeration&) = delete; private: - virtual ~ContentEnumeration() {} + virtual ~ContentEnumeration() override {} virtual sal_Bool SAL_CALL hasMoreElements() throw (css::uno::RuntimeException, std::exception) override; @@ -508,7 +508,7 @@ public: const SingletonFactory& operator=(const SingletonFactory&) = delete; private: - virtual ~SingletonFactory() {} + virtual ~SingletonFactory() override {} virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithContext( @@ -564,7 +564,7 @@ public: const ImplementationWrapper& operator=(const ImplementationWrapper&) = delete; private: - virtual ~ImplementationWrapper() {} + virtual ~ImplementationWrapper() override {} virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithContext( diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx index 8c81fd087522..6f235040de1b 100644 --- a/cppuhelper/source/servicemanager.hxx +++ b/cppuhelper/source/servicemanager.hxx @@ -219,7 +219,7 @@ public: std::shared_ptr< Data::Implementation > & implementation); private: - virtual ~ServiceManager(); + virtual ~ServiceManager() override; virtual void SAL_CALL disposing() override; diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx index 8fbee37ddcab..f232c6c1c68f 100644 --- a/cppuhelper/source/typemanager.cxx +++ b/cppuhelper/source/typemanager.cxx @@ -89,7 +89,7 @@ public: {} private: - virtual ~SimpleTypeDescription() {} + virtual ~SimpleTypeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -113,7 +113,7 @@ public: { assert(manager.is()); } private: - virtual ~SequenceTypeDescription() {} + virtual ~SequenceTypeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -137,7 +137,7 @@ class PublishableDescription: protected: explicit PublishableDescription(bool published): published_(published) {} - virtual ~PublishableDescription() {} + virtual ~PublishableDescription() override {} private: virtual sal_Bool SAL_CALL isPublished() throw (css::uno::RuntimeException, std::exception) override @@ -158,7 +158,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~ModuleDescription() {} + virtual ~ModuleDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -210,7 +210,7 @@ public: { assert(entity.is()); } private: - virtual ~EnumTypeDescription() {} + virtual ~EnumTypeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -272,7 +272,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~PlainStructTypeDescription() {} + virtual ~PlainStructTypeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -348,7 +348,7 @@ public: {} private: - virtual ~ParameterizedMemberTypeDescription() {} + virtual ~ParameterizedMemberTypeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -378,7 +378,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~PolymorphicStructTypeTemplateDescription() {} + virtual ~PolymorphicStructTypeTemplateDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -476,7 +476,7 @@ public: } private: - virtual ~InstantiatedPolymorphicStructTypeDescription() {} + virtual ~InstantiatedPolymorphicStructTypeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -581,7 +581,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~ExceptionTypeDescription() {} + virtual ~ExceptionTypeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -649,7 +649,7 @@ public: { assert(manager.is()); } private: - virtual ~AttributeDescription() {} + virtual ~AttributeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -733,7 +733,7 @@ public: { assert(manager.is()); } private: - virtual ~MethodParameter() {} + virtual ~MethodParameter() override {} virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) override { return parameter_.name; } @@ -781,7 +781,7 @@ public: { assert(manager.is()); } private: - virtual ~MethodDescription() {} + virtual ~MethodDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -916,7 +916,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~InterfaceTypeDescription() {} + virtual ~InterfaceTypeDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1020,7 +1020,7 @@ public: unoidl::ConstantGroupEntity::Member const & member); private: - virtual ~ConstantDescription() {} + virtual ~ConstantDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1092,7 +1092,7 @@ public: { assert(entity.is()); } private: - virtual ~ConstantGroupDescription() {} + virtual ~ConstantGroupDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1138,7 +1138,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~TypedefDescription() {} + virtual ~TypedefDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1169,7 +1169,7 @@ public: { assert(manager.is()); } private: - virtual ~ConstructorParameter() {} + virtual ~ConstructorParameter() override {} virtual rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException, std::exception) override { return parameter_.name; } @@ -1210,7 +1210,7 @@ public: { assert(manager.is()); } private: - virtual ~ConstructorDescription() {} + virtual ~ConstructorDescription() override {} virtual sal_Bool SAL_CALL isDefaultConstructor() throw (css::uno::RuntimeException, std::exception) override @@ -1279,7 +1279,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~SingleInterfaceBasedServiceDescription() {} + virtual ~SingleInterfaceBasedServiceDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1382,7 +1382,7 @@ public: { assert(manager.is()); } private: - virtual ~PropertyDescription() {} + virtual ~PropertyDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1421,7 +1421,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~AccumulationBasedServiceDescription() {} + virtual ~AccumulationBasedServiceDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1591,7 +1591,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~InterfaceBasedSingletonDescription() {} + virtual ~InterfaceBasedSingletonDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1637,7 +1637,7 @@ public: { assert(manager.is()); assert(entity.is()); } private: - virtual ~ServiceBasedSingletonDescription() {} + virtual ~ServiceBasedSingletonDescription() override {} virtual css::uno::TypeClass SAL_CALL getTypeClass() throw (css::uno::RuntimeException, std::exception) override @@ -1683,7 +1683,7 @@ public: } private: - virtual ~Enumeration() {} + virtual ~Enumeration() override {} virtual sal_Bool SAL_CALL hasMoreElements() throw (css::uno::RuntimeException, std::exception) override diff --git a/cppuhelper/source/typemanager.hxx b/cppuhelper/source/typemanager.hxx index c47fb6f6e489..945438a2802d 100644 --- a/cppuhelper/source/typemanager.hxx +++ b/cppuhelper/source/typemanager.hxx @@ -64,7 +64,7 @@ public: rtl::OUString const & name); private: - virtual ~TypeManager() throw (); + virtual ~TypeManager() throw () override; virtual void SAL_CALL disposing() override; diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 588965ae201a..95ad22de82d3 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -636,7 +636,7 @@ class SfxAccCfgLBoxString_Impl : public SvLBoxString public: explicit SfxAccCfgLBoxString_Impl(const OUString& sText); - virtual ~SfxAccCfgLBoxString_Impl(); + virtual ~SfxAccCfgLBoxString_Impl() override; virtual void Paint(const Point& aPos, SvTreeListBox& rDevice, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override; diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 14902158f6d7..eb49a59b911a 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1537,7 +1537,7 @@ public: { } - virtual ~PopupPainter() { } + virtual ~PopupPainter() override { } virtual void Paint(const Point& rPos, SvTreeListBox& rOutDev, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override diff --git a/cui/source/customize/eventdlg.hxx b/cui/source/customize/eventdlg.hxx index a6d447909564..749bf11b8175 100644 --- a/cui/source/customize/eventdlg.hxx +++ b/cui/source/customize/eventdlg.hxx @@ -47,7 +47,7 @@ public: /// this is only to let callers know that there is a LateInit which *must* be called struct EarlyInit { }; SvxEventConfigPage( vcl::Window *pParent, const SfxItemSet& rSet, EarlyInit ); - virtual ~SvxEventConfigPage(); + virtual ~SvxEventConfigPage() override; virtual void dispose() override; void LateInit( const css::uno::Reference< css::frame::XFrame >& _rxFrame ); diff --git a/cui/source/customize/macropg_impl.hxx b/cui/source/customize/macropg_impl.hxx index 2c8c87b7fd01..f460ca216ca1 100644 --- a/cui/source/customize/macropg_impl.hxx +++ b/cui/source/customize/macropg_impl.hxx @@ -49,7 +49,7 @@ private: public: AssignComponentDialog( vcl::Window * pParent, const OUString& rURL ); - virtual ~AssignComponentDialog(); + virtual ~AssignComponentDialog() override; virtual void dispose() override; const OUString& getURL() const diff --git a/cui/source/dialogs/SpellAttrib.hxx b/cui/source/dialogs/SpellAttrib.hxx index 77f0704ba9a4..092fdc5e46d2 100644 --- a/cui/source/dialogs/SpellAttrib.hxx +++ b/cui/source/dialogs/SpellAttrib.hxx @@ -100,7 +100,7 @@ private: public: SpellErrorAttrib( const SpellErrorDescription& ); SpellErrorAttrib( const SpellErrorAttrib& rAttr ); - virtual ~SpellErrorAttrib(); + virtual ~SpellErrorAttrib() override; const SpellErrorDescription& GetErrorDescription() const { return m_aSpellErrorDescription; } @@ -120,7 +120,7 @@ class SpellLanguageAttrib : public TextAttrib public: SpellLanguageAttrib(LanguageType eLanguage); SpellLanguageAttrib( const SpellLanguageAttrib& rAttr ); - virtual ~SpellLanguageAttrib(); + virtual ~SpellLanguageAttrib() override; LanguageType GetLanguage() const {return m_eLanguage;} @@ -139,7 +139,7 @@ class SpellBackgroundAttrib : public TextAttrib public: SpellBackgroundAttrib(const Color& rCol); SpellBackgroundAttrib( const SpellBackgroundAttrib& rAttr ); - virtual ~SpellBackgroundAttrib(); + virtual ~SpellBackgroundAttrib() override; virtual void SetFont( vcl::Font& rFont ) const override; virtual TextAttrib* Clone() const override; diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index a18cafd9ee27..af15bb5878ba 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -120,7 +120,7 @@ public: m_nOffset(0) {} - virtual ~SpellUndoAction_Impl(); + virtual ~SpellUndoAction_Impl() override; virtual void Undo() override; virtual sal_uInt16 GetId() const override; diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index f7b3dbe8ef1d..bc3c5786e057 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -184,7 +184,7 @@ class ColorFieldControl : public Control { public: ColorFieldControl(vcl::Window* pParent, WinBits nStyle); - virtual ~ColorFieldControl(); + virtual ~ColorFieldControl() override; virtual void dispose() override; @@ -595,7 +595,7 @@ class ColorSliderControl : public Control { public: ColorSliderControl( vcl::Window* pParent, WinBits nStyle ); - virtual ~ColorSliderControl(); + virtual ~ColorSliderControl() override; virtual void dispose() override; virtual void MouseMove( const MouseEvent& rMEvt ) override; @@ -866,7 +866,7 @@ class ColorPickerDialog : public ModalDialog { public: ColorPickerDialog(vcl::Window* pParent, sal_Int32 nColor, sal_Int16 nMode); - virtual ~ColorPickerDialog() + virtual ~ColorPickerDialog() override { disposeOnce(); } diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index e732c7b28b48..94ca9e671fad 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1289,7 +1289,7 @@ public: } virtual short Execute() override; - virtual ~SvxMacroAssignDialog(); + virtual ~SvxMacroAssignDialog() override; private: SfxItemSet m_aItems; diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index ada887ed7a08..a753130753a0 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -81,7 +81,7 @@ class VclAbstractDialog2_Impl : public VclAbstractDialog2 Link<Dialog&,void> m_aEndDlgHdl; public: explicit VclAbstractDialog2_Impl( Dialog* p ) : m_pDlg( p ) {} - virtual ~VclAbstractDialog2_Impl(); + virtual ~VclAbstractDialog2_Impl() override; virtual void StartExecuteModal( const Link<Dialog&,void>& rEndDialogHdl ) override; virtual long GetResult() override; private: diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx index b166dd134a5f..60b81dbbe899 100644 --- a/cui/source/inc/SpellDialog.hxx +++ b/cui/source/inc/SpellDialog.hxx @@ -80,7 +80,7 @@ protected: public: SentenceEditWindow_Impl(vcl::Window* pParent, WinBits nBits); - virtual ~SentenceEditWindow_Impl(); + virtual ~SentenceEditWindow_Impl() override; void Init(VclPtr<ToolBox> &rToolbar); void SetModifyHdl(const Link<Edit&,void>& rLink) override { m_aModifyLink = rLink;} @@ -227,7 +227,7 @@ public: svx::SpellDialogChildWindow* pChildWindow, vcl::Window * pParent, SfxBindings* pBindings); - virtual ~SpellDialog(); + virtual ~SpellDialog() override; virtual void dispose() override; virtual bool Close() override; diff --git a/cui/source/inc/about.hxx b/cui/source/inc/about.hxx index aaea46556271..d9597bd474f9 100644 --- a/cui/source/inc/about.hxx +++ b/cui/source/inc/about.hxx @@ -66,7 +66,7 @@ protected: public: AboutDialog(vcl::Window* pParent); - virtual ~AboutDialog(); + virtual ~AboutDialog() override; virtual void dispose() override; DECL_LINK_TYPED( HandleClick, Button*, void ); diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx index 9ada6ee1d792..e7f0298c27cd 100644 --- a/cui/source/inc/acccfg.hxx +++ b/cui/source/inc/acccfg.hxx @@ -67,7 +67,7 @@ public: , m_pAccelConfigPage(nullptr) { } - virtual ~SfxAccCfgTabListBox_Impl(); + virtual ~SfxAccCfgTabListBox_Impl() override; virtual void dispose() override; void SetAccelConfigPage(SfxAcceleratorConfigPage* pAccelConfigPage) @@ -171,7 +171,7 @@ private: public: SfxAcceleratorConfigPage( vcl::Window *pParent, const SfxItemSet& rItemSet ); - virtual ~SfxAcceleratorConfigPage(); + virtual ~SfxAcceleratorConfigPage() override; virtual void dispose() override; virtual bool FillItemSet( SfxItemSet* ) override; diff --git a/cui/source/inc/align.hxx b/cui/source/inc/align.hxx index b13842995b7b..3695dadf6526 100644 --- a/cui/source/inc/align.hxx +++ b/cui/source/inc/align.hxx @@ -57,7 +57,7 @@ class AlignmentTabPage : public SfxTabPage static const sal_uInt16 s_pRanges[]; public: - virtual ~AlignmentTabPage(); + virtual ~AlignmentTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 1914f68c253d..45cd694f6be6 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -53,7 +53,7 @@ class OfaAutoCorrDlg : public SfxTabDialog public: OfaAutoCorrDlg(vcl::Window* pParent, const SfxItemSet *pSet); - virtual ~OfaAutoCorrDlg(); + virtual ~OfaAutoCorrDlg() override; virtual void dispose() override; void EnableLanguage(bool bEnable); @@ -109,7 +109,7 @@ private: public: OfaAutocorrOptionsPage(vcl::Window* pParent, const SfxItemSet& rSet); - virtual ~OfaAutocorrOptionsPage(); + virtual ~OfaAutocorrOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -168,7 +168,7 @@ class OfaSwAutoFmtOptionsPage : public SfxTabPage OfaSwAutoFmtOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaSwAutoFmtOptionsPage(); + virtual ~OfaSwAutoFmtOptionsPage() override; virtual void dispose() override; public: @@ -198,7 +198,7 @@ public: { } - virtual ~AutoCorrEdit(); + virtual ~AutoCorrEdit() override; void SetActionHdl( const Link<AutoCorrEdit&,bool>& rLink ) { aActionLink = rLink;} @@ -275,7 +275,7 @@ private: public: OfaAutocorrReplacePage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaAutocorrReplacePage(); + virtual ~OfaAutocorrReplacePage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); @@ -334,7 +334,7 @@ private: LanguageType eNewLanguage); public: OfaAutocorrExceptPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaAutocorrExceptPage(); + virtual ~OfaAutocorrExceptPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -402,7 +402,7 @@ private: OfaQuoteTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); public: - virtual ~OfaQuoteTabPage(); + virtual ~OfaQuoteTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -428,7 +428,7 @@ public: , m_pPage(nullptr) { } - virtual ~AutoCompleteMultiListBox(); + virtual ~AutoCompleteMultiListBox() override; virtual void dispose() override; void SetPage(OfaAutoCompleteTabPage *pPage) { m_pPage = pPage; } virtual bool PreNotify( NotifyEvent& rNEvt ) override; @@ -456,7 +456,7 @@ private: OfaAutoCompleteTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); public: - virtual ~OfaAutoCompleteTabPage(); + virtual ~OfaAutoCompleteTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); @@ -521,7 +521,7 @@ private: public: /// construction via Create() OfaSmartTagOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaSmartTagOptionsTabPage(); + virtual ~OfaSmartTagOptionsTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); diff --git a/cui/source/inc/backgrnd.hxx b/cui/source/inc/backgrnd.hxx index 8ba8411af948..49714edce8b1 100644 --- a/cui/source/inc/backgrnd.hxx +++ b/cui/source/inc/backgrnd.hxx @@ -68,7 +68,7 @@ protected: private: SvxBackgroundTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet ); - virtual ~SvxBackgroundTabPage(); + virtual ~SvxBackgroundTabPage() override; virtual void dispose() override; VclPtr<VclContainer> m_pAsGrid; diff --git a/cui/source/inc/border.hxx b/cui/source/inc/border.hxx index cb0814096ed1..f2b2eaa1bb7f 100644 --- a/cui/source/inc/border.hxx +++ b/cui/source/inc/border.hxx @@ -46,7 +46,7 @@ class SvxBorderTabPage : public SfxTabPage static const sal_uInt16 pRanges[]; public: - virtual ~SvxBorderTabPage(); + virtual ~SvxBorderTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index eb7a2d7143ef..d52947b461a2 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -187,7 +187,7 @@ public: const OUString& aModuleId, bool docConfig ); - virtual ~MenuSaveInData(); + virtual ~MenuSaveInData() override; /// methods inherited from SaveInData SvxEntries* GetEntries() override; @@ -210,7 +210,7 @@ public: const css::uno::Reference< css::ui::XUIConfigurationManager >& xCfgMgr, const css::uno::Reference< css::ui::XUIConfigurationManager >& xParentCfgMgr, const OUString& aModuleId, bool bIsDocConfig ); - virtual ~ContextMenuSaveInData(); + virtual ~ContextMenuSaveInData() override; SvxEntries* GetEntries() override; void SetEntries( SvxEntries* pNewEntries ) override; @@ -326,7 +326,7 @@ protected: public: SvxMenuEntriesListBox(vcl::Window*, SvxConfigPage*); - virtual ~SvxMenuEntriesListBox(); + virtual ~SvxMenuEntriesListBox() override; virtual void dispose() override; virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) override; @@ -426,7 +426,7 @@ protected: public: - virtual ~SvxConfigPage(); + virtual ~SvxConfigPage() override; virtual void dispose() override; static bool CanConfig( const OUString& rModuleId ); @@ -490,7 +490,7 @@ private: public: SvxMenuConfigPage( vcl::Window *pParent, const SfxItemSet& rItemSet, bool bIsMenuBar = true ); - virtual ~SvxMenuConfigPage(); + virtual ~SvxMenuConfigPage() override; virtual void dispose() override; SaveInData* CreateSaveInData( @@ -524,7 +524,7 @@ public: SvxMainMenuOrganizerDialog ( vcl::Window*, SvxEntries*, SvxConfigEntry*, bool bCreateMenu = false ); - virtual ~SvxMainMenuOrganizerDialog(); + virtual ~SvxMainMenuOrganizerDialog() override; virtual void dispose() override; SvxEntries* GetEntries() { return mpEntries;} @@ -550,7 +550,7 @@ protected: public: SvxToolbarEntriesListBox(vcl::Window* pParent, SvxToolbarConfigPage* pPg); - virtual ~SvxToolbarEntriesListBox(); + virtual ~SvxToolbarEntriesListBox() override; virtual void dispose() override; virtual TriState NotifyMoving( @@ -589,7 +589,7 @@ private: public: SvxToolbarConfigPage( vcl::Window *pParent, const SfxItemSet& rItemSet ); - virtual ~SvxToolbarConfigPage(); + virtual ~SvxToolbarConfigPage() override; virtual void dispose() override; void AddFunction( SvTreeListEntry* pTarget = nullptr, @@ -633,7 +633,7 @@ public: const OUString& aModuleId, bool docConfig ); - virtual ~ToolbarSaveInData(); + virtual ~ToolbarSaveInData() override; void CreateToolbar( SvxConfigEntry* pToolbar ); void RestoreToolbar( SvxConfigEntry* pToolbar ); @@ -666,7 +666,7 @@ private: public: SvxNewToolbarDialog(vcl::Window* pWindow, const OUString& rName); - virtual ~SvxNewToolbarDialog(); + virtual ~SvxNewToolbarDialog() override; virtual void dispose() override; VclPtr<ListBox> m_pSaveInListBox; @@ -715,7 +715,7 @@ public: const css::uno::Reference< css::ui::XImageManager >& rXParentImageManager ); - virtual ~SvxIconSelectorDialog(); + virtual ~SvxIconSelectorDialog() override; virtual void dispose() override; css::uno::Reference< css::graphic::XGraphic > @@ -749,7 +749,7 @@ private: VclPtr<VclMultiLineEdit> pLineEditDescription; public: SvxIconChangeDialog(vcl::Window *pWindow, const OUString& aMessage); - virtual ~SvxIconChangeDialog(); + virtual ~SvxIconChangeDialog() override; virtual void dispose() override; }; #endif // INCLUDED_CUI_SOURCE_INC_CFG_HXX diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index 628343c3d40a..db3f81638bef 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -108,7 +108,7 @@ class SfxConfigFunctionListBox : public SvTreeListBox public: SfxConfigFunctionListBox(vcl::Window*, WinBits nStyle); - virtual ~SfxConfigFunctionListBox(); + virtual ~SfxConfigFunctionListBox() override; virtual void dispose() override; void ClearAll(); @@ -157,7 +157,7 @@ protected: public: SfxConfigGroupListBox(vcl::Window* pParent, WinBits nStyle); - virtual ~SfxConfigGroupListBox(); + virtual ~SfxConfigGroupListBox() override; virtual void dispose() override; void ClearAll(); diff --git a/cui/source/inc/chardlg.hxx b/cui/source/inc/chardlg.hxx index 7610e3eee420..b700b4507774 100644 --- a/cui/source/inc/chardlg.hxx +++ b/cui/source/inc/chardlg.hxx @@ -52,7 +52,7 @@ protected: inline SvxFont& GetPreviewCTLFont(); public: - virtual ~SvxCharBasePage(); + virtual ~SvxCharBasePage() override; virtual void dispose() override; using SfxTabPage::ActivatePage; @@ -147,7 +147,7 @@ public: virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; public: - virtual ~SvxCharNamePage(); + virtual ~SvxCharNamePage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); @@ -229,7 +229,7 @@ private: DECL_LINK_TYPED(ColorBoxSelectHdl_Impl, ListBox&, void); public: - virtual ~SvxCharEffectsPage(); + virtual ~SvxCharEffectsPage() override; virtual void dispose() override; using SfxTabPage::DeactivatePage; @@ -308,7 +308,7 @@ private: DECL_LINK_TYPED( ScaleWidthModifyHdl_Impl, Edit&, void ); public: - virtual ~SvxCharPositionPage(); + virtual ~SvxCharPositionPage() override; virtual void dispose() override; using SfxTabPage::DeactivatePage; @@ -354,7 +354,7 @@ private: DECL_LINK_TYPED(CharacterMapHdl_Impl, ListBox&, void ); public: - virtual ~SvxCharTwoLinesPage(); + virtual ~SvxCharTwoLinesPage() override; virtual void dispose() override; using SfxTabPage::ActivatePage; diff --git a/cui/source/inc/connect.hxx b/cui/source/inc/connect.hxx index afb0624916f5..362b9569f278 100644 --- a/cui/source/inc/connect.hxx +++ b/cui/source/inc/connect.hxx @@ -64,7 +64,7 @@ private: public: SvxConnectionPage( vcl::Window* pWindow, const SfxItemSet& rInAttrs ); - virtual ~SvxConnectionPage(); + virtual ~SvxConnectionPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx index a59a209478fb..0d48662e830c 100644 --- a/cui/source/inc/cuicharmap.hxx +++ b/cui/source/inc/cuicharmap.hxx @@ -98,7 +98,7 @@ private: public: SvxCharacterMap( vcl::Window* pParent, bool bOne=true, const SfxItemSet* pSet=nullptr ); - virtual ~SvxCharacterMap(); + virtual ~SvxCharacterMap() override; virtual void dispose() override; void DisableFontSelection(); diff --git a/cui/source/inc/cuifmsearch.hxx b/cui/source/inc/cuifmsearch.hxx index a9b537e0c6d2..5cc0ae265a5b 100644 --- a/cui/source/inc/cuifmsearch.hxx +++ b/cui/source/inc/cuifmsearch.hxx @@ -110,7 +110,7 @@ public: FmSearchDialog(vcl::Window* pParent, const OUString& strInitialText, const ::std::vector< OUString >& _rContexts, sal_Int16 nInitialContext, const Link<FmSearchContext&,sal_uInt32>& lnkContextSupplier); - virtual ~FmSearchDialog(); + virtual ~FmSearchDialog() override; virtual void dispose() override; /** The found-handler gets in the 'found'-case a pointer on a FmFoundRecordInformation-structure diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx index 5d81841f20be..64343fbfa1f9 100644 --- a/cui/source/inc/cuigaldlg.hxx +++ b/cui/source/inc/cuigaldlg.hxx @@ -68,7 +68,7 @@ private: const ::std::vector< OUString >& rFormats, bool bRecursive ); - virtual ~SearchThread(); + virtual ~SearchThread() override; virtual void execute() override; public: @@ -93,7 +93,7 @@ private: public: SearchProgress( vcl::Window* pParent, const INetURLObject& rStartURL ); - virtual ~SearchProgress(); + virtual ~SearchProgress() override; virtual void dispose() override; DECL_LINK_TYPED( CleanUpHdl, void*, void ); @@ -112,7 +112,7 @@ private: VclPtr<TPGalleryThemeProperties> mpBrowser; TokenList_impl& mrTakenList; - virtual ~TakeThread(); + virtual ~TakeThread() override; virtual void execute() override; public: @@ -139,7 +139,7 @@ private: public: TakeProgress( vcl::Window* pWindow ); - virtual ~TakeProgress(); + virtual ~TakeProgress() override; virtual void dispose() override; DECL_LINK_TYPED( CleanUpHdl, void*, void ); @@ -164,7 +164,7 @@ private: public: ActualizeProgress( vcl::Window* pWindow, GalleryTheme* pThm ); - virtual ~ActualizeProgress(); + virtual ~ActualizeProgress() override; virtual void dispose() override; virtual short Execute() override; @@ -176,7 +176,7 @@ private: VclPtr<Edit> m_pEdit; public: TitleDialog(vcl::Window* pParent, const OUString& rOldText); - virtual ~TitleDialog(); + virtual ~TitleDialog() override; virtual void dispose() override; OUString GetTitle() const { return m_pEdit->GetText(); } }; @@ -191,7 +191,7 @@ private: DECL_LINK_TYPED( ClickOkHdl, Button*, void ); public: GalleryIdDialog( vcl::Window* pParent, GalleryTheme* pThm ); - virtual ~GalleryIdDialog(); + virtual ~GalleryIdDialog() override; virtual void dispose() override; sal_uLong GetId() const { return m_pLbResName->GetSelectEntryPos(); } }; @@ -228,7 +228,7 @@ private: public: TPGalleryThemeGeneral( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~TPGalleryThemeGeneral(); + virtual ~TPGalleryThemeGeneral() override; virtual void dispose() override; void SetXChgData( ExchangeData* pData ); @@ -291,7 +291,7 @@ class TPGalleryThemeProperties : public SfxTabPage public: TPGalleryThemeProperties( vcl::Window* pWindow, const SfxItemSet& rSet ); - virtual ~TPGalleryThemeProperties(); + virtual ~TPGalleryThemeProperties() override; virtual void dispose() override; void SetXChgData( ExchangeData* pData ); diff --git a/cui/source/inc/cuigrfflt.hxx b/cui/source/inc/cuigrfflt.hxx index 57b73e3473fe..53874f2255bb 100644 --- a/cui/source/inc/cuigrfflt.hxx +++ b/cui/source/inc/cuigrfflt.hxx @@ -85,7 +85,7 @@ protected: public: GraphicFilterDialog(vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription, const Graphic& rGraphic); - virtual ~GraphicFilterDialog(); + virtual ~GraphicFilterDialog() override; virtual void dispose() override; virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) = 0; @@ -100,7 +100,7 @@ private: public: GraphicFilterSmooth( vcl::Window* pParent, const Graphic& rGraphic, double nRadius); - virtual ~GraphicFilterSmooth(); + virtual ~GraphicFilterSmooth() override; virtual void dispose() override; virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) override; @@ -119,7 +119,7 @@ public: GraphicFilterMosaic(vcl::Window* pParent, const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, bool bEnhanceEdges); - virtual ~GraphicFilterMosaic(); + virtual ~GraphicFilterMosaic() override; virtual void dispose() override; virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) override; @@ -140,7 +140,7 @@ public: GraphicFilterSolarize( vcl::Window* pParent, const Graphic& rGraphic, sal_uInt8 nGreyThreshold, bool bInvert ); - virtual ~GraphicFilterSolarize(); + virtual ~GraphicFilterSolarize() override; virtual void dispose() override; virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) override; @@ -156,7 +156,7 @@ private: public: GraphicFilterSepia( vcl::Window* pParent, const Graphic& rGraphic, sal_uInt16 nSepiaPercent ); - virtual ~GraphicFilterSepia(); + virtual ~GraphicFilterSepia() override; virtual void dispose() override; virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) override; sal_uInt16 GetSepiaPercent() const @@ -173,7 +173,7 @@ private: public: GraphicFilterPoster( vcl::Window* pParent, const Graphic& rGraphic, sal_uInt16 nPosterColorCount ); - virtual ~GraphicFilterPoster(); + virtual ~GraphicFilterPoster() override; virtual void dispose() override; virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) override; @@ -200,7 +200,7 @@ private: public: GraphicFilterEmboss( vcl::Window* pParent, const Graphic& rGraphic, RectPoint eLightSource ); - virtual ~GraphicFilterEmboss(); + virtual ~GraphicFilterEmboss() override; virtual void dispose() override; virtual Graphic GetFilteredGraphic( const Graphic& rGraphic, double fScaleX, double fScaleY ) override; diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx index 41dcd1bd769e..95cea405e05a 100644 --- a/cui/source/inc/cuihyperdlg.hxx +++ b/cui/source/inc/cuihyperdlg.hxx @@ -79,7 +79,7 @@ protected: public: SvxHpLinkDlg (vcl::Window* pParent, SfxBindings* pBindings ); - virtual ~SvxHpLinkDlg (); + virtual ~SvxHpLinkDlg () override; virtual void dispose() override; virtual void PageCreated( sal_uInt16 nId, IconChoicePage& rPage ) override; diff --git a/cui/source/inc/cuiimapwnd.hxx b/cui/source/inc/cuiimapwnd.hxx index 1a83e9097750..c9ae8db630fc 100644 --- a/cui/source/inc/cuiimapwnd.hxx +++ b/cui/source/inc/cuiimapwnd.hxx @@ -45,7 +45,7 @@ public: const OUString& rURL, const OUString& rAlternativeText, const OUString& rDescription, const OUString& rTarget, const OUString& rName, TargetList& rTargetList ); - virtual ~URLDlg(); + virtual ~URLDlg() override; virtual void dispose() override; OUString GetURL() const { return m_pEdtURL->GetText(); } diff --git a/cui/source/inc/cuioptgenrl.hxx b/cui/source/inc/cuioptgenrl.hxx index ee5cf822eca7..b4bedc9c18d5 100644 --- a/cui/source/inc/cuioptgenrl.hxx +++ b/cui/source/inc/cuioptgenrl.hxx @@ -62,7 +62,7 @@ protected: public: SvxGeneralTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxGeneralTabPage(); + virtual ~SvxGeneralTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/inc/cuisrchdlg.hxx b/cui/source/inc/cuisrchdlg.hxx index 6a9a00aec190..8284d731e4ce 100644 --- a/cui/source/inc/cuisrchdlg.hxx +++ b/cui/source/inc/cuisrchdlg.hxx @@ -45,7 +45,7 @@ class SvxJSearchOptionsDialog : public SfxSingleTabDialog public: SvxJSearchOptionsDialog(vcl::Window *pParent, const SfxItemSet& rOptionsSet, sal_Int32 nInitialFlags); - virtual ~SvxJSearchOptionsDialog(); + virtual ~SvxJSearchOptionsDialog() override; virtual void dispose() override; // Window diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index d3cefc5bf62a..77244c35e06a 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -184,7 +184,7 @@ class SvxTransparenceTabPage : public SvxTabPage public: SvxTransparenceTabPage(vcl::Window* pParent, const SfxItemSet& rInAttrs); - virtual ~SvxTransparenceTabPage(); + virtual ~SvxTransparenceTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create(vcl::Window*, const SfxItemSet*); @@ -268,7 +268,7 @@ private: public: SvxAreaTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxAreaTabPage(); + virtual ~SvxAreaTabPage() override; virtual void dispose() override; void Construct(); @@ -336,7 +336,7 @@ private: public: SvxShadowTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxShadowTabPage(); + virtual ~SvxShadowTabPage() override; virtual void dispose() override; void Construct(); @@ -418,7 +418,7 @@ private: public: SvxGradientTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxGradientTabPage(); + virtual ~SvxGradientTabPage() override; virtual void dispose() override; void Construct(); @@ -499,7 +499,7 @@ private: public: SvxHatchTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxHatchTabPage(); + virtual ~SvxHatchTabPage() override; virtual void dispose() override; void Construct(); @@ -596,7 +596,7 @@ private: public: SvxBitmapTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxBitmapTabPage(); + virtual ~SvxBitmapTabPage() override; virtual void dispose() override; void Construct(); @@ -667,7 +667,7 @@ private: public: SvxPatternTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxPatternTabPage(); + virtual ~SvxPatternTabPage() override; virtual void dispose() override; void Construct(); @@ -799,7 +799,7 @@ private: css::uno::Reference< css::uno::XComponentContext > m_context; public: SvxColorTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxColorTabPage(); + virtual ~SvxColorTabPage() override; virtual void dispose() override; void Construct(); diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx index e95919925504..edbb252a9bac 100644 --- a/cui/source/inc/cuitabline.hxx +++ b/cui/source/inc/cuitabline.hxx @@ -203,7 +203,7 @@ public: void ShowSymbolControls(bool bOn); SvxLineTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxLineTabPage(); + virtual ~SvxLineTabPage() override; virtual void dispose() override; void Construct(); @@ -304,7 +304,7 @@ private: public: SvxLineDefTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxLineDefTabPage(); + virtual ~SvxLineDefTabPage() override; virtual void dispose() override; void Construct(); @@ -374,7 +374,7 @@ private: public: SvxLineEndDefTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxLineEndDefTabPage(); + virtual ~SvxLineEndDefTabPage() override; virtual void dispose() override; void Construct(); diff --git a/cui/source/inc/cuitbxform.hxx b/cui/source/inc/cuitbxform.hxx index 095b961ceca7..5eefc5712b61 100644 --- a/cui/source/inc/cuitbxform.hxx +++ b/cui/source/inc/cuitbxform.hxx @@ -32,7 +32,7 @@ public: public: FmInputRecordNoDialog(vcl::Window * pParent); - virtual ~FmInputRecordNoDialog(); + virtual ~FmInputRecordNoDialog() override; virtual void dispose() override; void SetValue(long dNew) { m_pRecordNo->SetValue(dNew); } diff --git a/cui/source/inc/dbregister.hxx b/cui/source/inc/dbregister.hxx index 22c8c5989fbb..0ea1e5428d32 100644 --- a/cui/source/inc/dbregister.hxx +++ b/cui/source/inc/dbregister.hxx @@ -86,7 +86,7 @@ namespace svx public: DbRegistrationOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~DbRegistrationOptionsPage(); + virtual ~DbRegistrationOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx index 1984a54b5c02..ab57fe5746fb 100644 --- a/cui/source/inc/dlgname.hxx +++ b/cui/source/inc/dlgname.hxx @@ -40,7 +40,7 @@ private: public: SvxNameDialog( vcl::Window* pWindow, const OUString& rName, const OUString& rDesc ); - virtual ~SvxNameDialog(); + virtual ~SvxNameDialog() override; virtual void dispose() override; void GetName( OUString& rName ){rName = pEdtName->GetText();} @@ -90,7 +90,7 @@ private: public: // constructor SvxObjectNameDialog(vcl::Window* pWindow, const OUString& rName); - virtual ~SvxObjectNameDialog(); + virtual ~SvxObjectNameDialog() override; virtual void dispose() override; // data access @@ -117,7 +117,7 @@ private: public: // constructor SvxObjectTitleDescDialog(vcl::Window* pWindow, const OUString& rTitle, const OUString& rDesc); - virtual ~SvxObjectTitleDescDialog(); + virtual ~SvxObjectTitleDescDialog() override; virtual void dispose() override; // data access void GetTitle(OUString& rTitle) {rTitle = pEdtTitle->GetText(); } @@ -143,7 +143,7 @@ private: public: SvxMessDialog( vcl::Window* pWindow, const OUString& rText, const OUString& rDesc, Image* pImg = nullptr ); - virtual ~SvxMessDialog(); + virtual ~SvxMessDialog() override; virtual void dispose() override; void DisableButton( SvxMessDialogButton nBtnId); diff --git a/cui/source/inc/dstribut.hxx b/cui/source/inc/dstribut.hxx index abe0e3fde48a..55fb09410185 100644 --- a/cui/source/inc/dstribut.hxx +++ b/cui/source/inc/dstribut.hxx @@ -44,7 +44,7 @@ public: SvxDistributePage(vcl::Window* pWindow, const SfxItemSet& rInAttrs, SvxDistributeHorizontal eHor = SvxDistributeHorizontal::NONE, SvxDistributeVertical eVer = SvxDistributeVertical::NONE); - virtual ~SvxDistributePage(); + virtual ~SvxDistributePage() override; virtual void dispose() override; virtual bool FillItemSet(SfxItemSet*) override; @@ -63,7 +63,7 @@ public: SvxDistributeDialog(vcl::Window* pParent, const SfxItemSet& rAttr, SvxDistributeHorizontal eHor = SvxDistributeHorizontal::NONE, SvxDistributeVertical eVer = SvxDistributeVertical::NONE); - virtual ~SvxDistributeDialog(); + virtual ~SvxDistributeDialog() override; virtual void dispose() override; SvxDistributeHorizontal GetDistributeHor() const { return mpPage->GetDistributeHor(); } diff --git a/cui/source/inc/grfpage.hxx b/cui/source/inc/grfpage.hxx index 98232373dc9e..bfbd63a293eb 100644 --- a/cui/source/inc/grfpage.hxx +++ b/cui/source/inc/grfpage.hxx @@ -92,7 +92,7 @@ class SvxGrfCropPage : public SfxTabPage SvxGrfCropPage( vcl::Window *pParent, const SfxItemSet &rSet ); - virtual ~SvxGrfCropPage(); + virtual ~SvxGrfCropPage() override; virtual void dispose() override; DECL_LINK_TYPED( ZoomHdl, Edit&, void ); diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx index 958ec166731a..bf29f12f9582 100644 --- a/cui/source/inc/hangulhanjadlg.hxx +++ b/cui/source/inc/hangulhanjadlg.hxx @@ -42,7 +42,7 @@ namespace svx { public: SuggestionSet( vcl::Window* pParent ); - virtual ~SuggestionSet(); + virtual ~SuggestionSet() override; virtual void dispose() override; virtual void UserDraw( const UserDrawEvent& rUDEvt ) override; @@ -53,7 +53,7 @@ namespace svx { public: SuggestionDisplay( vcl::Window* pParent, WinBits nBits ); - virtual ~SuggestionDisplay(); + virtual ~SuggestionDisplay() override; virtual void dispose() override; void DisplayListBox( bool bDisplayListBox ); @@ -139,7 +139,7 @@ namespace svx HangulHanjaConversionDialog( vcl::Window* _pParent, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryDirection ); - virtual ~HangulHanjaConversionDialog(); + virtual ~HangulHanjaConversionDialog() override; virtual void dispose() override; public: @@ -221,7 +221,7 @@ namespace svx void Init(); ///< reads settings from core and init controls public: HangulHanjaOptionsDialog( vcl::Window* _pParent ); - virtual ~HangulHanjaOptionsDialog(); + virtual ~HangulHanjaOptionsDialog() override; virtual void dispose() override; void AddDict( const OUString& _rName, bool _bChecked ); @@ -240,7 +240,7 @@ namespace svx DECL_LINK_TYPED( ModifyHdl, Edit&, void ); public: HangulHanjaNewDictDialog( vcl::Window* _pParent ); - virtual ~HangulHanjaNewDictDialog(); + virtual ~HangulHanjaNewDictDialog() override; virtual void dispose() override; bool GetName( OUString& _rRetName ) const; @@ -260,7 +260,7 @@ namespace svx void DoJump( bool _bUp ); public: SuggestionEdit( vcl::Window* pParent, WinBits nBits ); - virtual ~SuggestionEdit(); + virtual ~SuggestionEdit() override; virtual void dispose() override; virtual bool PreNotify( NotifyEvent& rNEvt ) override; void init( ScrollBar* pScrollBar, SuggestionEdit* pPrev, SuggestionEdit* pNext); @@ -314,7 +314,7 @@ namespace svx public: HangulHanjaEditDictDialog( vcl::Window* _pParent, HHDictList& _rDictList, sal_uInt32 _nSelDict ); - virtual ~HangulHanjaEditDictDialog(); + virtual ~HangulHanjaEditDictDialog() override; virtual void dispose() override; void UpdateScrollbar(); diff --git a/cui/source/inc/headertablistbox.hxx b/cui/source/inc/headertablistbox.hxx index df3503861935..5fc81255614c 100644 --- a/cui/source/inc/headertablistbox.hxx +++ b/cui/source/inc/headertablistbox.hxx @@ -34,7 +34,7 @@ protected: virtual bool Notify( NotifyEvent& rNEvt ) override; public: MacroEventListBox( vcl::Window* pParent, WinBits nStyle ); - virtual ~MacroEventListBox(); + virtual ~MacroEventListBox() override; virtual void dispose() override; virtual void Resize() override; diff --git a/cui/source/inc/hldocntp.hxx b/cui/source/inc/hldocntp.hxx index 6c66128e1737..7be89e1aee9f 100644 --- a/cui/source/inc/hldocntp.hxx +++ b/cui/source/inc/hldocntp.hxx @@ -49,7 +49,7 @@ protected: public: SvxHyperlinkNewDocTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet); - virtual ~SvxHyperlinkNewDocTp (); + virtual ~SvxHyperlinkNewDocTp () override; virtual void dispose() override; static VclPtr<IconChoicePage> Create( vcl::Window* pWindow, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet ); diff --git a/cui/source/inc/hldoctp.hxx b/cui/source/inc/hldoctp.hxx index 4589c46bfb3e..59622ec19965 100644 --- a/cui/source/inc/hldoctp.hxx +++ b/cui/source/inc/hldoctp.hxx @@ -67,7 +67,7 @@ protected: public: SvxHyperlinkDocTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet); - virtual ~SvxHyperlinkDocTp(); + virtual ~SvxHyperlinkDocTp() override; virtual void dispose() override; static VclPtr<IconChoicePage> Create( vcl::Window* pWindow, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet ); diff --git a/cui/source/inc/hlinettp.hxx b/cui/source/inc/hlinettp.hxx index 05e2467fa2d5..42cf3c6c51c0 100644 --- a/cui/source/inc/hlinettp.hxx +++ b/cui/source/inc/hlinettp.hxx @@ -76,7 +76,7 @@ protected: public: SvxHyperlinkInternetTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet); - virtual ~SvxHyperlinkInternetTp(); + virtual ~SvxHyperlinkInternetTp() override; virtual void dispose() override; static VclPtr<IconChoicePage> Create( vcl::Window* pWindow, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet ); diff --git a/cui/source/inc/hlmailtp.hxx b/cui/source/inc/hlmailtp.hxx index df5235ec8e6a..9385d25f799d 100644 --- a/cui/source/inc/hlmailtp.hxx +++ b/cui/source/inc/hlmailtp.hxx @@ -52,7 +52,7 @@ protected: public: SvxHyperlinkMailTp ( vcl::Window *pParent, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet); - virtual ~SvxHyperlinkMailTp(); + virtual ~SvxHyperlinkMailTp() override; virtual void dispose() override; static VclPtr<IconChoicePage> Create( vcl::Window* pWindow, IconChoiceDialog* pDlg, const SfxItemSet& rItemSet ); diff --git a/cui/source/inc/hlmarkwn.hxx b/cui/source/inc/hlmarkwn.hxx index 6d3bb8a6e4a4..f497ab0f1ccc 100644 --- a/cui/source/inc/hlmarkwn.hxx +++ b/cui/source/inc/hlmarkwn.hxx @@ -43,7 +43,7 @@ private: public: SvxHlmarkTreeLBox(vcl::Window* pParent, WinBits nStyle); - virtual ~SvxHlmarkTreeLBox(); + virtual ~SvxHlmarkTreeLBox() override; virtual void dispose() override; void SetParentWnd(SvxHlinkDlgMarkWnd* pParent) @@ -92,7 +92,7 @@ protected: public: SvxHlinkDlgMarkWnd (SvxHyperlinkTabPageBase *pParent); - virtual ~SvxHlinkDlgMarkWnd(); + virtual ~SvxHlinkDlgMarkWnd() override; virtual void dispose() override; bool MoveTo ( Point aNewPos ); diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx index 16e84b118594..2c2193e82565 100644 --- a/cui/source/inc/hltpbase.hxx +++ b/cui/source/inc/hltpbase.hxx @@ -111,7 +111,7 @@ public: const OUString& rUIXMLDescription, const SfxItemSet& rItemSet ); - virtual ~SvxHyperlinkTabPageBase (); + virtual ~SvxHyperlinkTabPageBase () override; virtual void dispose() override; void SetDocumentFrame( diff --git a/cui/source/inc/hyphen.hxx b/cui/source/inc/hyphen.hxx index e99f0ca83843..7fc2a335527a 100644 --- a/cui/source/inc/hyphen.hxx +++ b/cui/source/inc/hyphen.hxx @@ -84,7 +84,7 @@ public: vcl::Window* pParent, css::uno::Reference< css::linguistic2::XHyphenator > &xHyphen, SvxSpellWrapper* pWrapper ); - virtual ~SvxHyphenWordDialog(); + virtual ~SvxHyphenWordDialog() override; virtual void dispose() override; void SetWindowTitle( LanguageType nLang ); diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index 4c2b1d5fbca7..3cc6f7c5b568 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -77,7 +77,7 @@ protected: IconChoicePage( vcl::Window *pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet &rAttrSet ); public: - virtual ~IconChoicePage(); + virtual ~IconChoicePage() override; virtual void dispose() override; const SfxItemSet& GetItemSet() const { return *pSet; } @@ -156,7 +156,7 @@ public: // the IconChoiceCtrl's could also be set in the Ctor IconChoiceDialog ( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription, const SfxItemSet * pItemSet = nullptr ); - virtual ~IconChoiceDialog (); + virtual ~IconChoiceDialog () override; virtual void dispose() override; // interface diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx index 58e79ad7fe10..b982ba8ff93b 100644 --- a/cui/source/inc/insdlg.hxx +++ b/cui/source/inc/insdlg.hxx @@ -86,7 +86,7 @@ public: SvInsertOleDlg( vcl::Window* pParent, const css::uno::Reference < css::embed::XStorage >& xStorage, const SvObjectServerList* pServers = nullptr ); - virtual ~SvInsertOleDlg(); + virtual ~SvInsertOleDlg() override; virtual void dispose() override; virtual short Execute() override; @@ -125,7 +125,7 @@ public: const css::uno::Reference < css::embed::XStorage >& xStorage ); SfxInsertFloatingFrameDialog( vcl::Window* pParent, const css::uno::Reference < css::embed::XEmbeddedObject >& xObj ); - virtual ~SfxInsertFloatingFrameDialog(); + virtual ~SfxInsertFloatingFrameDialog() override; virtual void dispose() override; virtual short Execute() override; }; diff --git a/cui/source/inc/insrc.hxx b/cui/source/inc/insrc.hxx index 955da7d42e9a..9739e28f4c8f 100644 --- a/cui/source/inc/insrc.hxx +++ b/cui/source/inc/insrc.hxx @@ -44,7 +44,7 @@ class SvxInsRowColDlg : public SvxAbstractInsRowColDlg public: SvxInsRowColDlg( vcl::Window* pParent, bool bCol, const OString& sHelpId ); - virtual ~SvxInsRowColDlg(); + virtual ~SvxInsRowColDlg() override; virtual short Execute() override; diff --git a/cui/source/inc/labdlg.hxx b/cui/source/inc/labdlg.hxx index e431abb0065f..52e9fd7ab717 100644 --- a/cui/source/inc/labdlg.hxx +++ b/cui/source/inc/labdlg.hxx @@ -80,7 +80,7 @@ private: public: SvxCaptionTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxCaptionTabPage(); + virtual ~SvxCaptionTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/cui/source/inc/linkdlg.hxx b/cui/source/inc/linkdlg.hxx index e63e060e8048..3d1006a512fe 100644 --- a/cui/source/inc/linkdlg.hxx +++ b/cui/source/inc/linkdlg.hxx @@ -90,7 +90,7 @@ class SvBaseLinksDlg : public ModalDialog public: SvBaseLinksDlg( vcl::Window * pParent, sfx2::LinkManager*, bool bHtml = false ); - virtual ~SvBaseLinksDlg(); + virtual ~SvBaseLinksDlg() override; virtual void dispose() override; void SetActLink( sfx2::SvBaseLink * pLink ); }; diff --git a/cui/source/inc/macroass.hxx b/cui/source/inc/macroass.hxx index 66986e44fa0f..c5f339c0d147 100644 --- a/cui/source/inc/macroass.hxx +++ b/cui/source/inc/macroass.hxx @@ -60,7 +60,7 @@ public: const SfxItemSet& rSet ); - virtual ~SfxMacroTabPage(); + virtual ~SfxMacroTabPage() override; virtual void dispose() override; void AddEvent( const OUString & rEventName, sal_uInt16 nEventId ); diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx index 256094d2ca2b..f0e0648282b3 100644 --- a/cui/source/inc/macropg.hxx +++ b/cui/source/inc/macropg.hxx @@ -82,7 +82,7 @@ protected: public: - virtual ~SvxMacroTabPage_(); + virtual ~SvxMacroTabPage_() override; virtual void dispose() override; void InitResources(); diff --git a/cui/source/inc/measure.hxx b/cui/source/inc/measure.hxx index 50418d3dc2e5..d2f632252991 100644 --- a/cui/source/inc/measure.hxx +++ b/cui/source/inc/measure.hxx @@ -69,7 +69,7 @@ private: public: SvxMeasurePage( vcl::Window* pWindow, const SfxItemSet& rInAttrs ); - virtual ~SvxMeasurePage(); + virtual ~SvxMeasurePage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/cui/source/inc/multipat.hxx b/cui/source/inc/multipat.hxx index a39b2be037dc..03b86343f0cf 100644 --- a/cui/source/inc/multipat.hxx +++ b/cui/source/inc/multipat.hxx @@ -50,7 +50,7 @@ private: public: SvxMultiPathDialog(vcl::Window* pParent); - virtual ~SvxMultiPathDialog(); + virtual ~SvxMultiPathDialog() override; virtual void dispose() override; OUString GetPath() const; @@ -70,7 +70,7 @@ private: public: SvxPathSelectDialog(vcl::Window* pParent); - virtual ~SvxPathSelectDialog(); + virtual ~SvxPathSelectDialog() override; virtual void dispose() override; OUString GetPath() const; diff --git a/cui/source/inc/newtabledlg.hxx b/cui/source/inc/newtabledlg.hxx index 7ae311eeed70..ccf25f63d110 100644 --- a/cui/source/inc/newtabledlg.hxx +++ b/cui/source/inc/newtabledlg.hxx @@ -35,7 +35,7 @@ private: public: SvxNewTableDialog( vcl::Window* pWindow ); - virtual ~SvxNewTableDialog(); + virtual ~SvxNewTableDialog() override; virtual short Execute() override; diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx index e89806895c3c..0429601d5d0a 100644 --- a/cui/source/inc/numfmt.hxx +++ b/cui/source/inc/numfmt.hxx @@ -66,7 +66,7 @@ class SvxNumberFormatTabPage : public SfxTabPage static const sal_uInt16 pRanges[]; public: - virtual ~SvxNumberFormatTabPage(); + virtual ~SvxNumberFormatTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index 6047683759e2..83401e460c7b 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -102,7 +102,7 @@ protected: public: SvxSingleNumPickTabPage(vcl::Window* pParent, const SfxItemSet& rSet); - virtual ~SvxSingleNumPickTabPage(); + virtual ~SvxSingleNumPickTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -135,7 +135,7 @@ protected: public: SvxBulletPickTabPage(vcl::Window* pParent, const SfxItemSet& rSet); - virtual ~SvxBulletPickTabPage(); + virtual ~SvxBulletPickTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -179,7 +179,7 @@ protected: public: SvxNumPickTabPage(vcl::Window* pParent, const SfxItemSet& rSet); - virtual ~SvxNumPickTabPage(); + virtual ~SvxNumPickTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -226,7 +226,7 @@ protected: public: SvxBitmapPickTabPage(vcl::Window* pParent, const SfxItemSet& rSet); - virtual ~SvxBitmapPickTabPage(); + virtual ~SvxBitmapPickTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -337,7 +337,7 @@ class SvxNumOptionsTabPage : public SfxTabPage public: SvxNumOptionsTabPage(vcl::Window* pParent, const SfxItemSet& rSet); - virtual ~SvxNumOptionsTabPage(); + virtual ~SvxNumOptionsTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -432,7 +432,7 @@ class SvxNumPositionTabPage : public SfxTabPage public: SvxNumPositionTabPage(vcl::Window* pParent, const SfxItemSet& rSet); - virtual ~SvxNumPositionTabPage(); + virtual ~SvxNumPositionTabPage() override; virtual void dispose() override; virtual void ActivatePage(const SfxItemSet& rSet) override; diff --git a/cui/source/inc/optasian.hxx b/cui/source/inc/optasian.hxx index 5507b260843b..8f00b697aed8 100644 --- a/cui/source/inc/optasian.hxx +++ b/cui/source/inc/optasian.hxx @@ -54,7 +54,7 @@ class SvxAsianLayoutPage : public SfxTabPage public: SvxAsianLayoutPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxAsianLayoutPage(); + virtual ~SvxAsianLayoutPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx index 670d3b4342e8..21bb74699162 100644 --- a/cui/source/inc/optdict.hxx +++ b/cui/source/inc/optdict.hxx @@ -62,7 +62,7 @@ private: public: SvxNewDictionaryDialog( vcl::Window* pParent ); - virtual ~SvxNewDictionaryDialog(); + virtual ~SvxNewDictionaryDialog() override; virtual void dispose() override; const css::uno::Reference< @@ -141,7 +141,7 @@ private: public: SvxEditDictionaryDialog( vcl::Window* pParent, const OUString& rName ); - virtual ~SvxEditDictionaryDialog(); + virtual ~SvxEditDictionaryDialog() override; virtual void dispose() override; }; diff --git a/cui/source/inc/optlingu.hxx b/cui/source/inc/optlingu.hxx index dd0730f6bb7e..b841937a96c2 100644 --- a/cui/source/inc/optlingu.hxx +++ b/cui/source/inc/optlingu.hxx @@ -86,7 +86,7 @@ class SvxEditModulesDlg : public ModalDialog public: SvxEditModulesDlg(vcl::Window* pParent, SvxLinguData_Impl& rData); - virtual ~SvxEditModulesDlg(); + virtual ~SvxEditModulesDlg() override; virtual void dispose() override; }; @@ -149,7 +149,7 @@ private: void UpdateDicBox_Impl(); public: - virtual ~SvxLinguTabPage(); + virtual ~SvxLinguTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); diff --git a/cui/source/inc/optpath.hxx b/cui/source/inc/optpath.hxx index 59828a1611ba..cb279f3a109c 100644 --- a/cui/source/inc/optpath.hxx +++ b/cui/source/inc/optpath.hxx @@ -70,7 +70,7 @@ private: public: SvxPathTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxPathTabPage(); + virtual ~SvxPathTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx index b9e88a517146..951d35179861 100644 --- a/cui/source/inc/page.hxx +++ b/cui/source/inc/page.hxx @@ -198,7 +198,7 @@ public: virtual void Reset( const SfxItemSet* rSet ) override; virtual void FillUserData() override; - virtual ~SvxPageDescPage(); + virtual ~SvxPageDescPage() override; virtual void dispose() override; void SetMode( SvxModeType eMType ) { eMode = eMType; } diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx index 3e75cbfafb36..d16a057c5246 100644 --- a/cui/source/inc/paragrph.hxx +++ b/cui/source/inc/paragrph.hxx @@ -99,7 +99,7 @@ protected: public: - virtual ~SvxStdParagraphTabPage(); + virtual ~SvxStdParagraphTabPage() override; virtual void dispose() override; DECL_LINK_TYPED(ELRLoseFocusHdl, Control&, void); @@ -165,7 +165,7 @@ protected: virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override; public: - virtual ~SvxParaAlignTabPage(); + virtual ~SvxParaAlignTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); @@ -200,7 +200,7 @@ class SvxExtParagraphTabPage: public SfxTabPage static const sal_uInt16 pExtRanges[]; public: - virtual ~SvxExtParagraphTabPage(); + virtual ~SvxExtParagraphTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -282,7 +282,7 @@ class SvxAsianTabPage : public SfxTabPage DECL_STATIC_LINK_TYPED( SvxAsianTabPage, ClickHdl_Impl, Button*, void ); public: - virtual ~SvxAsianTabPage(); + virtual ~SvxAsianTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, diff --git a/cui/source/inc/passwdomdlg.hxx b/cui/source/inc/passwdomdlg.hxx index d35d9f3dc11f..92ede8689816 100644 --- a/cui/source/inc/passwdomdlg.hxx +++ b/cui/source/inc/passwdomdlg.hxx @@ -38,7 +38,7 @@ public: PasswordToOpenModifyDialog( vcl::Window * pParent, sal_uInt16 nMinPasswdLen, sal_uInt16 nMaxPasswdLen /* 0 -> no max len enforced */, bool bIsPasswordToModify ); - virtual ~PasswordToOpenModifyDialog(); + virtual ~PasswordToOpenModifyDialog() override; // AbstractPasswordToOpenModifyDialog OUString GetPasswordToOpen() const; diff --git a/cui/source/inc/pastedlg.hxx b/cui/source/inc/pastedlg.hxx index 7dd259c06dd0..b4d6c413569d 100644 --- a/cui/source/inc/pastedlg.hxx +++ b/cui/source/inc/pastedlg.hxx @@ -55,7 +55,7 @@ class SvPasteObjectDialog : public ModalDialog public: SvPasteObjectDialog( vcl::Window* pParent ); - virtual ~SvPasteObjectDialog(); + virtual ~SvPasteObjectDialog() override; virtual void dispose() override; void Insert( SotClipboardFormatId nFormat, const OUString & rFormatName ); diff --git a/cui/source/inc/postdlg.hxx b/cui/source/inc/postdlg.hxx index e84a548f2415..4a2c53fc3303 100644 --- a/cui/source/inc/postdlg.hxx +++ b/cui/source/inc/postdlg.hxx @@ -45,7 +45,7 @@ class SvxPostItDialog : public SfxModalDialog public: SvxPostItDialog(vcl::Window* pParent, const SfxItemSet& rCoreSet, bool bPrevNext = false); - virtual ~SvxPostItDialog(); + virtual ~SvxPostItDialog() override; virtual void dispose() override; static const sal_uInt16* GetRanges(); diff --git a/cui/source/inc/screenshotannotationdlg.hxx b/cui/source/inc/screenshotannotationdlg.hxx index f2412cec9a05..eaae2586bcb3 100644 --- a/cui/source/inc/screenshotannotationdlg.hxx +++ b/cui/source/inc/screenshotannotationdlg.hxx @@ -36,7 +36,7 @@ public: ScreenshotAnnotationDlg( vcl::Window* pParent, Dialog& rParentDialog); - virtual ~ScreenshotAnnotationDlg(); + virtual ~ScreenshotAnnotationDlg() override; }; #endif diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index dd588601a33f..b158ffe8fdfd 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -71,7 +71,7 @@ public: css::uno::Reference< css::script::browse::XBrowseNode >& node, css::uno::Reference< css::frame::XModel>& model ); SFTreeListBox(vcl::Window* pParent); - virtual ~SFTreeListBox(); + virtual ~SFTreeListBox() override; virtual void dispose() override; SvTreeListEntry * insertEntry(OUString const & rText, sal_uInt16 nBitmap, @@ -99,7 +99,7 @@ private: VclPtr<Edit> m_pEdit; public: CuiInputDialog(vcl::Window * pParent, InputDialogMode nMode); - virtual ~CuiInputDialog(); + virtual ~CuiInputDialog() override; virtual void dispose() override; OUString GetObjectName() const { return m_pEdit->GetText(); } @@ -173,7 +173,7 @@ public: // prob need another arg in the ctor // to specify the language or provider SvxScriptOrgDialog( vcl::Window* pParent, const OUString& language ); - virtual ~SvxScriptOrgDialog(); + virtual ~SvxScriptOrgDialog() override; virtual void dispose() override; virtual short Execute() override; @@ -192,7 +192,7 @@ public: SvxScriptErrorDialog( vcl::Window* parent, css::uno::Any aException ); - virtual ~SvxScriptErrorDialog(); + virtual ~SvxScriptErrorDialog() override; short Execute() override; }; diff --git a/cui/source/inc/selector.hxx b/cui/source/inc/selector.hxx index a5fa1464cf54..6f8e20c97284 100644 --- a/cui/source/inc/selector.hxx +++ b/cui/source/inc/selector.hxx @@ -97,7 +97,7 @@ friend class SvxConfigGroupListBox; public: SvxConfigFunctionListBox(vcl::Window* pParent, WinBits nStyle); - virtual ~SvxConfigFunctionListBox(); + virtual ~SvxConfigFunctionListBox() override; virtual void dispose() override; void ClearAll(); OUString GetHelpText( SvTreeListEntry *pEntry ); @@ -159,7 +159,7 @@ protected: public: SvxConfigGroupListBox(vcl::Window* pParent, WinBits nStyle); - virtual ~SvxConfigGroupListBox(); + virtual ~SvxConfigGroupListBox() override; virtual void dispose() override; void Init(bool bShowSlots, const css::uno::Reference @@ -200,7 +200,7 @@ public: bool bShowSlots = false, const css::uno::Reference< css::frame::XFrame >& xFrame = nullptr ); - virtual ~SvxScriptSelectorDialog(); + virtual ~SvxScriptSelectorDialog() override; virtual void dispose() override; void SetAddHdl( const Link<SvxScriptSelectorDialog&,void>& rLink ) { m_aAddHdl = rLink; } diff --git a/cui/source/inc/showcols.hxx b/cui/source/inc/showcols.hxx index c1cfc172d690..6fad2cda4f06 100644 --- a/cui/source/inc/showcols.hxx +++ b/cui/source/inc/showcols.hxx @@ -42,7 +42,7 @@ class FmShowColsDialog : public ModalDialog public: FmShowColsDialog(vcl::Window* pParent); - virtual ~FmShowColsDialog(); + virtual ~FmShowColsDialog() override; virtual void dispose() override; void SetColumns(const css::uno::Reference< css::container::XIndexContainer>& xCols); diff --git a/cui/source/inc/splitcelldlg.hxx b/cui/source/inc/splitcelldlg.hxx index b2a2d2fcb202..3fc5b5e6dcaa 100644 --- a/cui/source/inc/splitcelldlg.hxx +++ b/cui/source/inc/splitcelldlg.hxx @@ -39,7 +39,7 @@ class SvxSplitTableDlg : public SvxAbstractSplittTableDialog public: SvxSplitTableDlg(vcl::Window *pParent, bool bIsTableVertical, long nMaxVertical, long nMaxHorizontal ); - virtual ~SvxSplitTableDlg(); + virtual ~SvxSplitTableDlg() override; DECL_LINK_TYPED( ClickHdl, Button *, void ); diff --git a/cui/source/inc/srchxtra.hxx b/cui/source/inc/srchxtra.hxx index e2e0f36913cf..85f889920cc9 100644 --- a/cui/source/inc/srchxtra.hxx +++ b/cui/source/inc/srchxtra.hxx @@ -30,7 +30,7 @@ class SvxSearchFormatDialog : public SfxTabDialog { public: SvxSearchFormatDialog( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxSearchFormatDialog(); + virtual ~SvxSearchFormatDialog() override; virtual void dispose() override; protected: @@ -51,7 +51,7 @@ class SvxSearchAttributeDialog : public ModalDialog public: SvxSearchAttributeDialog( vcl::Window* pParent, SearchAttrItemList& rLst, const sal_uInt16* pWhRanges ); - virtual ~SvxSearchAttributeDialog(); + virtual ~SvxSearchAttributeDialog() override; virtual void dispose() override; private: @@ -79,7 +79,7 @@ public: sal_uInt16 nOther, sal_uInt16 nShorter, sal_uInt16 nLonger ); - virtual ~SvxSearchSimilarityDialog(); + virtual ~SvxSearchSimilarityDialog() override; virtual void dispose() override; sal_uInt16 GetOther() { return (sal_uInt16)m_pOtherFld->GetValue(); } diff --git a/cui/source/inc/swpossizetabpage.hxx b/cui/source/inc/swpossizetabpage.hxx index 5142d6dfaeaf..ebc4a7d74523 100644 --- a/cui/source/inc/swpossizetabpage.hxx +++ b/cui/source/inc/swpossizetabpage.hxx @@ -126,7 +126,7 @@ class SvxSwPosSizeTabPage : public SfxTabPage public: SvxSwPosSizeTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxSwPosSizeTabPage(); + virtual ~SvxSwPosSizeTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/cui/source/inc/tabstpge.hxx b/cui/source/inc/tabstpge.hxx index 5719744fc993..6fd0c44485c2 100644 --- a/cui/source/inc/tabstpge.hxx +++ b/cui/source/inc/tabstpge.hxx @@ -50,7 +50,7 @@ class SvxTabulatorTabPage : public SfxTabPage static const sal_uInt16 pRanges[]; public: - virtual ~SvxTabulatorTabPage(); + virtual ~SvxTabulatorTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); static const sal_uInt16* GetRanges() { return pRanges; } diff --git a/cui/source/inc/textanim.hxx b/cui/source/inc/textanim.hxx index 688bd2a5ec47..3bfb857094a6 100644 --- a/cui/source/inc/textanim.hxx +++ b/cui/source/inc/textanim.hxx @@ -76,7 +76,7 @@ private: public: SvxTextAnimationPage( vcl::Window* pWindow, const SfxItemSet& rInAttrs ); - virtual ~SvxTextAnimationPage(); + virtual ~SvxTextAnimationPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/cui/source/inc/textattr.hxx b/cui/source/inc/textattr.hxx index 931727bc8666..c60a743f5460 100644 --- a/cui/source/inc/textattr.hxx +++ b/cui/source/inc/textattr.hxx @@ -81,7 +81,7 @@ private: public: SvxTextAttrPage( vcl::Window* pWindow, const SfxItemSet& rInAttrs ); - virtual ~SvxTextAttrPage(); + virtual ~SvxTextAttrPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx index 6f338eb1bcc4..ab0f46517d2e 100644 --- a/cui/source/inc/thesdlg.hxx +++ b/cui/source/inc/thesdlg.hxx @@ -42,7 +42,7 @@ class LookUpComboBox : public ComboBox public: LookUpComboBox(vcl::Window *pParent); - virtual ~LookUpComboBox(); + virtual ~LookUpComboBox() override; virtual void dispose() override; DECL_LINK_TYPED( ModifyTimer_Hdl, Idle *, void ); @@ -85,7 +85,7 @@ public: ThesaurusAlternativesCtrl(vcl::Window* pParent); void init(SvxThesaurusDialog *pDialog); - virtual ~ThesaurusAlternativesCtrl(); + virtual ~ThesaurusAlternativesCtrl() override; virtual void dispose() override; SvTreeListEntry * AddEntry( sal_Int32 nVal, const OUString &rText, bool bIsHeader ); @@ -107,7 +107,7 @@ class ReplaceEdit : public Edit public: ReplaceEdit(vcl::Window *pParent); - virtual ~ReplaceEdit(); + virtual ~ReplaceEdit() override; virtual void dispose() override; void init(Button *pBtn) { m_pBtn = pBtn; } @@ -135,7 +135,7 @@ class SvxThesaurusDialog : public SvxStandardDialog bool m_bWordFound; public: - virtual ~SvxThesaurusDialog(); + virtual ~SvxThesaurusDialog() override; virtual void dispose() override; bool WordFound() const { return m_bWordFound; } diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index 80a5ff14ee84..ee7f474c9a5c 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -137,7 +137,7 @@ private: public: SvxPositionSizeTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxPositionSizeTabPage(); + virtual ~SvxPositionSizeTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); @@ -195,7 +195,7 @@ private: public: SvxAngleTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxAngleTabPage(); + virtual ~SvxAngleTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); @@ -248,7 +248,7 @@ private: public: SvxSlantTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxSlantTabPage(); + virtual ~SvxSlantTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window*, const SfxItemSet* ); diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index 27c8510c8f84..832ab1a1ec89 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -176,7 +176,7 @@ public: const css::uno::Reference< css::frame::XFrame >& _xFrame, bool bActivateLastSelection = true ); OfaTreeOptionsDialog( vcl::Window* pParent, const OUString& rExtensionId ); - virtual ~OfaTreeOptionsDialog(); + virtual ~OfaTreeOptionsDialog() override; virtual void dispose() override; OptionsPageInfo* AddTabPage( sal_uInt16 nId, const OUString& rPageName, sal_uInt16 nGroup ); @@ -253,7 +253,7 @@ public: const css::uno::Reference< css::awt::XContainerWindowProvider >& rProvider ); - virtual ~ExtensionsTabPage(); + virtual ~ExtensionsTabPage() override; virtual void dispose() override; virtual void ActivatePage() override; diff --git a/cui/source/inc/zoom.hxx b/cui/source/inc/zoom.hxx index 6b6000edee3e..7235e0e764bd 100644 --- a/cui/source/inc/zoom.hxx +++ b/cui/source/inc/zoom.hxx @@ -57,7 +57,7 @@ private: public: SvxZoomDialog(vcl::Window* pParent, const SfxItemSet& rCoreSet); - virtual ~SvxZoomDialog(); + virtual ~SvxZoomDialog() override; virtual void dispose() override; const SfxItemSet* GetOutputItemSet() const; diff --git a/cui/source/options/certpath.hxx b/cui/source/options/certpath.hxx index a1a18e47113e..42fbf49288c2 100644 --- a/cui/source/options/certpath.hxx +++ b/cui/source/options/certpath.hxx @@ -34,7 +34,7 @@ private: void AddCertPath(const OUString &rProfile, const OUString &rPath); public: explicit CertPathDialog(vcl::Window* pParent); - virtual ~CertPathDialog(); + virtual ~CertPathDialog() override; virtual void dispose() override; OUString getDirectory() const; diff --git a/cui/source/options/cfgchart.hxx b/cui/source/options/cfgchart.hxx index 3b8b0be87553..6b1bc4a5add6 100644 --- a/cui/source/options/cfgchart.hxx +++ b/cui/source/options/cfgchart.hxx @@ -75,7 +75,7 @@ private: public: SvxChartOptions(); - virtual ~SvxChartOptions(); + virtual ~SvxChartOptions() override; const SvxChartColorTable& GetDefaultColors(); void SetDefaultColors( const SvxChartColorTable& aCol ); diff --git a/cui/source/options/connpooloptions.hxx b/cui/source/options/connpooloptions.hxx index 39cc30124f24..3204c1e39e2a 100644 --- a/cui/source/options/connpooloptions.hxx +++ b/cui/source/options/connpooloptions.hxx @@ -49,7 +49,7 @@ namespace offapp public: ConnectionPoolOptionsPage(vcl::Window* _pParent, const SfxItemSet& _rAttrSet); - virtual ~ConnectionPoolOptionsPage(); + virtual ~ConnectionPoolOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create(vcl::Window* _pParent, const SfxItemSet* _rAttrSet); diff --git a/cui/source/options/doclinkdialog.hxx b/cui/source/options/doclinkdialog.hxx index 2ab3a88aacfe..6cc26cfa3793 100644 --- a/cui/source/options/doclinkdialog.hxx +++ b/cui/source/options/doclinkdialog.hxx @@ -47,7 +47,7 @@ namespace svx public: ODocumentLinkDialog( vcl::Window* _pParent, bool _bCreateNew ); - virtual ~ODocumentLinkDialog(); + virtual ~ODocumentLinkDialog() override; virtual void dispose() override; // name validation has to be done by an external instance diff --git a/cui/source/options/fontsubs.hxx b/cui/source/options/fontsubs.hxx index 215cd506406e..9a73817c1fe4 100644 --- a/cui/source/options/fontsubs.hxx +++ b/cui/source/options/fontsubs.hxx @@ -92,7 +92,7 @@ class SvxFontSubstTabPage : public SfxTabPage void CheckEnable(); - virtual ~SvxFontSubstTabPage(); + virtual ~SvxFontSubstTabPage() override; virtual void dispose() override; public: diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx index 460e5e928de1..ad762bfd076d 100644 --- a/cui/source/options/optaboutconfig.hxx +++ b/cui/source/options/optaboutconfig.hxx @@ -67,7 +67,7 @@ private: public: explicit CuiAboutConfigTabPage(vcl::Window* pParent); - virtual ~CuiAboutConfigTabPage(); + virtual ~CuiAboutConfigTabPage() override; virtual void dispose() override; void InsertEntry(const OUString &rPropertyPath, const OUString& rProp, const OUString& rStatus, const OUString& rType, const OUString& rValue, SvTreeListEntry *pParentEntry, bool bInsertToPrefBox); @@ -85,7 +85,7 @@ private: public: CuiAboutConfigValueDialog( vcl::Window* pWindow, const OUString& rValue , int limit = 0); - virtual ~CuiAboutConfigValueDialog(); + virtual ~CuiAboutConfigValueDialog() override; virtual void dispose() override; OUString getValue() diff --git a/cui/source/options/optaccessibility.hxx b/cui/source/options/optaccessibility.hxx index cdf0f514bca9..f5e161bcf2f1 100644 --- a/cui/source/options/optaccessibility.hxx +++ b/cui/source/options/optaccessibility.hxx @@ -34,7 +34,7 @@ class SvxAccessibilityOptionsTabPage : public SfxTabPage public: SvxAccessibilityOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxAccessibilityOptionsTabPage(); + virtual ~SvxAccessibilityOptionsTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/options/optbasic.hxx b/cui/source/options/optbasic.hxx index 3d3351833a23..fe63db80201d 100644 --- a/cui/source/options/optbasic.hxx +++ b/cui/source/options/optbasic.hxx @@ -38,7 +38,7 @@ private: public: SvxBasicIDEOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxBasicIDEOptionsPage(); + virtual ~SvxBasicIDEOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); diff --git a/cui/source/options/optchart.hxx b/cui/source/options/optchart.hxx index 77641605ca64..1be71a4c546d 100644 --- a/cui/source/options/optchart.hxx +++ b/cui/source/options/optchart.hxx @@ -54,7 +54,7 @@ private: public: SvxDefaultColorOptPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~SvxDefaultColorOptPage(); + virtual ~SvxDefaultColorOptPage() override; virtual void dispose() override; void Construct(); diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index 8abba4e4f812..16db5dcb5747 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -173,7 +173,7 @@ class ColorConfigWindow_Impl { public: explicit ColorConfigWindow_Impl(vcl::Window* pParent); - virtual ~ColorConfigWindow_Impl() { disposeOnce(); } + virtual ~ColorConfigWindow_Impl() override { disposeOnce(); } virtual void dispose() override; public: @@ -853,7 +853,7 @@ class ColorConfigCtrl_Impl : public VclVBox virtual void DataChanged (DataChangedEvent const& rDCEvt) override; public: explicit ColorConfigCtrl_Impl(vcl::Window* pParent); - virtual ~ColorConfigCtrl_Impl(); + virtual ~ColorConfigCtrl_Impl() override; virtual void dispose() override; void InitHeaderBar(const OUString &rOn, const OUString &rUIElems, diff --git a/cui/source/options/optcolor.hxx b/cui/source/options/optcolor.hxx index 0963c14d6f67..f65db335551f 100644 --- a/cui/source/options/optcolor.hxx +++ b/cui/source/options/optcolor.hxx @@ -48,7 +48,7 @@ class SvxColorOptionsTabPage : public SfxTabPage public: SvxColorOptionsTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxColorOptionsTabPage( ); + virtual ~SvxColorOptionsTabPage( ) override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/options/optctl.hxx b/cui/source/options/optctl.hxx index 4458e6bfe931..bafe3b48abe3 100644 --- a/cui/source/options/optctl.hxx +++ b/cui/source/options/optctl.hxx @@ -43,7 +43,7 @@ private: public: SvxCTLOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxCTLOptionsPage(); + virtual ~SvxCTLOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); virtual bool FillItemSet( SfxItemSet* rSet ) override; diff --git a/cui/source/options/optfltr.hxx b/cui/source/options/optfltr.hxx index c2376c90c120..3253ccfca25b 100644 --- a/cui/source/options/optfltr.hxx +++ b/cui/source/options/optfltr.hxx @@ -41,7 +41,7 @@ class OfaMSFilterTabPage : public SfxTabPage DECL_LINK_TYPED(LoadExcelBasicCheckHdl_Impl, Button*, void); public: OfaMSFilterTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaMSFilterTabPage(); + virtual ~OfaMSFilterTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, @@ -87,7 +87,7 @@ class OfaMSFilterTabPage2 : public SfxTabPage VclPtr<RadioButton> aHighlightingRB; VclPtr<RadioButton> aShadingRB; - virtual ~OfaMSFilterTabPage2(); + virtual ~OfaMSFilterTabPage2() override; virtual void dispose() override; void InsertEntry( const OUString& _rTxt, sal_IntPtr _nType ); diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index 8df1a3bb1dc6..9ec785123266 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -65,7 +65,7 @@ protected: public: OfaMiscTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaMiscTabPage(); + virtual ~OfaMiscTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); @@ -122,7 +122,7 @@ private: public: OfaViewTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaViewTabPage(); + virtual ~OfaViewTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); @@ -168,7 +168,7 @@ class OfaLanguagesTabPage : public SfxTabPage public: OfaLanguagesTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaLanguagesTabPage(); + virtual ~OfaLanguagesTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/options/opthtml.hxx b/cui/source/options/opthtml.hxx index f60a831d3523..5d578039451e 100644 --- a/cui/source/options/opthtml.hxx +++ b/cui/source/options/opthtml.hxx @@ -50,7 +50,7 @@ class OfaHtmlTabPage : public SfxTabPage DECL_LINK_TYPED(CheckBoxHdl_Impl, Button*, void); public: - virtual ~OfaHtmlTabPage(); + virtual ~OfaHtmlTabPage() override; virtual void dispose() override; OfaHtmlTabPage(vcl::Window* pParent, const SfxItemSet& rSet); diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx index be755b99c597..7ae2fd20a1d3 100644 --- a/cui/source/options/optinet2.hxx +++ b/cui/source/options/optinet2.hxx @@ -91,7 +91,7 @@ private: public: SvxProxyTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxProxyTabPage(); + virtual ~SvxProxyTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); virtual bool FillItemSet( SfxItemSet* rSet ) override; @@ -145,7 +145,7 @@ private: void InitControls(); SvxSecurityTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxSecurityTabPage(); + virtual ~SvxSecurityTabPage() override; virtual void dispose() override; protected: @@ -177,7 +177,7 @@ class SvxEMailTabPage : public SfxTabPage public: SvxEMailTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxEMailTabPage(); + virtual ~SvxEMailTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx index 081509e91e3d..6a83b280e24e 100644 --- a/cui/source/options/optjava.hxx +++ b/cui/source/options/optjava.hxx @@ -106,7 +106,7 @@ private: public: SvxJavaOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxJavaOptionsPage(); + virtual ~SvxJavaOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); @@ -160,7 +160,7 @@ private: public: explicit SvxJavaParameterDlg( vcl::Window* pParent ); - virtual ~SvxJavaParameterDlg(); + virtual ~SvxJavaParameterDlg() override; virtual void dispose() override; virtual short Execute() override; @@ -196,7 +196,7 @@ private: public: explicit SvxJavaClassPathDlg( vcl::Window* pParent ); - virtual ~SvxJavaClassPathDlg(); + virtual ~SvxJavaClassPathDlg() override; virtual void dispose() override; inline const OUString& GetOldPath() const { return m_sOldPath; } diff --git a/cui/source/options/optjsearch.hxx b/cui/source/options/optjsearch.hxx index b64ef76d330b..2695c140e2b7 100644 --- a/cui/source/options/optjsearch.hxx +++ b/cui/source/options/optjsearch.hxx @@ -59,7 +59,7 @@ private: public: SvxJSearchOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxJSearchOptionsPage(); + virtual ~SvxJSearchOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index fc7cc554fb4e..7a16eae7fe72 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -362,7 +362,7 @@ public: get(m_pBreakNF, "wordlength"); } } - virtual ~OptionsBreakSet() { disposeOnce(); } + virtual ~OptionsBreakSet() override { disposeOnce(); } virtual void dispose() override { m_pBeforeFrame.clear(); diff --git a/cui/source/options/optmemory.hxx b/cui/source/options/optmemory.hxx index 207d9cc0d22f..3906d9350bca 100644 --- a/cui/source/options/optmemory.hxx +++ b/cui/source/options/optmemory.hxx @@ -56,7 +56,7 @@ protected: public: OfaMemoryOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~OfaMemoryOptionsPage(); + virtual ~OfaMemoryOptionsPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx index ab628932632f..c24d5253935a 100644 --- a/cui/source/options/optopencl.hxx +++ b/cui/source/options/optopencl.hxx @@ -43,7 +43,7 @@ private: public: SvxOpenCLTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxOpenCLTabPage(); + virtual ~SvxOpenCLTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); diff --git a/cui/source/options/optsave.hxx b/cui/source/options/optsave.hxx index 53f5f9e15db9..0c64f774d3d2 100644 --- a/cui/source/options/optsave.hxx +++ b/cui/source/options/optsave.hxx @@ -67,7 +67,7 @@ private: public: SvxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxSaveTabPage(); + virtual ~SvxSaveTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/cui/source/options/optupdt.hxx b/cui/source/options/optupdt.hxx index 04a97b742f74..5ff091163d97 100644 --- a/cui/source/options/optupdt.hxx +++ b/cui/source/options/optupdt.hxx @@ -58,7 +58,7 @@ private: public: SvxOnlineUpdateTabPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~SvxOnlineUpdateTabPage(); + virtual ~SvxOnlineUpdateTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet ); diff --git a/cui/source/options/personalization.hxx b/cui/source/options/personalization.hxx index 42f9f6173b60..65bb8470ca55 100644 --- a/cui/source/options/personalization.hxx +++ b/cui/source/options/personalization.hxx @@ -43,7 +43,7 @@ private: public: SvxPersonalizationTabPage( vcl::Window *pParent, const SfxItemSet &rSet ); - virtual ~SvxPersonalizationTabPage(); + virtual ~SvxPersonalizationTabPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window *pParent, const SfxItemSet *rSet ); @@ -93,7 +93,7 @@ private: public: explicit SelectPersonaDialog( vcl::Window *pParent ); - virtual ~SelectPersonaDialog(); + virtual ~SelectPersonaDialog() override; virtual void dispose() override; ::rtl::Reference< SearchAndParseThread > m_pSearchThread; @@ -121,7 +121,7 @@ private: OUString m_aURL; bool m_bExecute, m_bDirectURL; - virtual ~SearchAndParseThread(); + virtual ~SearchAndParseThread() override; virtual void execute() override; public: diff --git a/cui/source/options/securityoptions.hxx b/cui/source/options/securityoptions.hxx index 8679054f01a2..4baf800bbf68 100644 --- a/cui/source/options/securityoptions.hxx +++ b/cui/source/options/securityoptions.hxx @@ -45,7 +45,7 @@ namespace svx public: SecurityOptionsDialog( vcl::Window* pParent, SvtSecurityOptions* pOptions ); - virtual ~SecurityOptionsDialog(); + virtual ~SecurityOptionsDialog() override; virtual void dispose() override; bool IsSaveOrSendDocsChecked() const { return m_pSaveOrSendDocsCB->IsChecked(); } diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index bab5d9408c23..4a5c51fbd886 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -253,7 +253,7 @@ private: public: MailMergeCfg_Impl(); - virtual ~MailMergeCfg_Impl(); + virtual ~MailMergeCfg_Impl() override; virtual void Notify( const css::uno::Sequence< OUString >& _rPropertyNames) override; diff --git a/cui/source/options/tsaurls.hxx b/cui/source/options/tsaurls.hxx index 15d6fe5f11b0..5d321e8cc34d 100644 --- a/cui/source/options/tsaurls.hxx +++ b/cui/source/options/tsaurls.hxx @@ -31,7 +31,7 @@ private: public: explicit TSAURLsDialog(vcl::Window* pParent); - virtual ~TSAURLsDialog(); + virtual ~TSAURLsDialog() override; virtual void dispose() override; }; diff --git a/cui/source/options/webconninfo.hxx b/cui/source/options/webconninfo.hxx index a8e06940a81c..b829aa969c03 100644 --- a/cui/source/options/webconninfo.hxx +++ b/cui/source/options/webconninfo.hxx @@ -60,7 +60,7 @@ namespace svx public: explicit WebConnectionInfoDialog( vcl::Window* pParent ); - virtual ~WebConnectionInfoDialog(); + virtual ~WebConnectionInfoDialog() override; virtual void dispose() override; }; diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 00363a51e0fd..bcfe6e8b592b 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -312,7 +312,7 @@ public: { get(m_pPrcntMF, "margin"); } - virtual ~OfaAutoFmtPrcntSet() { disposeOnce(); } + virtual ~OfaAutoFmtPrcntSet() override { disposeOnce(); } virtual void dispose() override { m_pPrcntMF.clear(); ModalDialog::dispose(); } MetricField& GetPrcntFld() diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index 535074e71325..16cbc1d72266 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -150,7 +150,7 @@ class BackgroundPreviewImpl : public vcl::Window public: explicit BackgroundPreviewImpl(vcl::Window* pParent); void setBmp(bool bBmp); - virtual ~BackgroundPreviewImpl(); + virtual ~BackgroundPreviewImpl() override; virtual void dispose() override; void NotifyChange( const Color& rColor ); diff --git a/cui/source/tabpages/borderconn.cxx b/cui/source/tabpages/borderconn.cxx index 6d16ab177131..a3049990bde9 100644 --- a/cui/source/tabpages/borderconn.cxx +++ b/cui/source/tabpages/borderconn.cxx @@ -42,7 +42,7 @@ class LineItemWrapper : public sfx::SingleItemWrapper< SvxLineItem, const editen public: inline explicit LineItemWrapper( sal_uInt16 nSlot ) : SingleItemWrapperType( nSlot ) {} - virtual ~LineItemWrapper() {} + virtual ~LineItemWrapper() override {} virtual const editeng::SvxBorderLine* GetItemValue( const SvxLineItem& rItem ) const override { return rItem.GetLine(); } diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx index 6588e2a05679..142c75b72b26 100644 --- a/cui/source/tabpages/tabstpge.cxx +++ b/cui/source/tabpages/tabstpge.cxx @@ -51,7 +51,7 @@ public: , nTabStyle(0) { } - virtual ~TabWin_Impl() { disposeOnce(); } + virtual ~TabWin_Impl() override { disposeOnce(); } virtual void dispose() override { mpPage.clear(); vcl::Window::dispose(); } virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; 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() diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index c90bfdb0d7d7..f7e7e9265560 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -70,7 +70,7 @@ class Desktop : public Application }; Desktop(); - virtual ~Desktop(); + virtual ~Desktop() override; virtual int Main( ) override; virtual void Init() override; virtual void InitFinished() override; diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx index db281688c2f9..e202344450ff 100644 --- a/desktop/inc/lib/init.hxx +++ b/desktop/inc/lib/init.hxx @@ -32,7 +32,7 @@ namespace desktop { { public: explicit CallbackFlushHandler(LibreOfficeKitDocument* pDocument, LibreOfficeKitCallback pCallback, void* pData); - virtual ~CallbackFlushHandler(); + virtual ~CallbackFlushHandler() override; virtual void Invoke() override; static void callback(const int type, const char* payload, void* data); void queue(const int type, const char* data); diff --git a/desktop/qa/desktop_app/test_desktop_app.cxx b/desktop/qa/desktop_app/test_desktop_app.cxx index 8fc7576f8a03..fe663dc0a6bd 100644 --- a/desktop/qa/desktop_app/test_desktop_app.cxx +++ b/desktop/qa/desktop_app/test_desktop_app.cxx @@ -48,7 +48,7 @@ public: class TestSupplier : public desktop::CommandLineArgs::Supplier { public: explicit TestSupplier(const std::initializer_list<OUString>& args) : m_args(args) {} - virtual ~TestSupplier() {} + virtual ~TestSupplier() override {} virtual boost::optional< OUString > getCwdUrl() override { return boost::optional< OUString >(); } virtual bool next(OUString * argument) override { CPPUNIT_ASSERT(argument != nullptr); diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index aa8286e7e437..9e5832777c83 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -50,7 +50,7 @@ public: { } - virtual ~DesktopLOKTest() + virtual ~DesktopLOKTest() override { } diff --git a/desktop/source/app/check_ext_deps.cxx b/desktop/source/app/check_ext_deps.cxx index ad5d077c6d33..f22a3e1a63d3 100644 --- a/desktop/source/app/check_ext_deps.cxx +++ b/desktop/source/app/check_ext_deps.cxx @@ -81,7 +81,7 @@ public: SilentCommandEnv( uno::Reference<uno::XComponentContext> const & xContext, Desktop* pDesktop ); - virtual ~SilentCommandEnv(); + virtual ~SilentCommandEnv() override; // XCommandEnvironment virtual uno::Reference<task::XInteractionHandler > SAL_CALL diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx index 1211cafaa545..0ddc29ac92ee 100644 --- a/desktop/source/app/cmdlineargs.cxx +++ b/desktop/source/app/cmdlineargs.cxx @@ -82,7 +82,7 @@ public: } } - virtual ~ExtCommandLineSupplier() {} + virtual ~ExtCommandLineSupplier() override {} virtual boost::optional< OUString > getCwdUrl() override { return m_cwdUrl; } diff --git a/desktop/source/app/dispatchwatcher.hxx b/desktop/source/app/dispatchwatcher.hxx index cabbe9b2e7ff..79f0858ee145 100644 --- a/desktop/source/app/dispatchwatcher.hxx +++ b/desktop/source/app/dispatchwatcher.hxx @@ -67,7 +67,7 @@ class DispatchWatcher : public ::cppu::WeakImplHelper< css::frame::XDispatchResu DispatchWatcher(); - virtual ~DispatchWatcher(); + virtual ~DispatchWatcher() override; // XEventListener virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index 279e173963d0..aa0d0745560d 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -140,7 +140,7 @@ public: } } - virtual ~Parser() {} + virtual ~Parser() override {} virtual boost::optional< OUString > getCwdUrl() override { return m_cwdUrl; } @@ -375,7 +375,7 @@ public: protected: explicit IpcThread(char const * name): Thread(name), m_handler(nullptr) {} - virtual ~IpcThread() {} + virtual ~IpcThread() override {} bool process(OString const & arguments, bool * waitProcessed); @@ -391,7 +391,7 @@ private: IpcThread("PipeIPC"), pipe_(pipe) {} - virtual ~PipeIpcThread() {} + virtual ~PipeIpcThread() override {} void execute() override; @@ -452,7 +452,7 @@ private: IpcThread("DbusIPC"), connection_(std::move(connection)) {} - virtual ~DbusIpcThread() {} + virtual ~DbusIpcThread() override {} void execute() override; diff --git a/desktop/source/app/officeipcthread.hxx b/desktop/source/app/officeipcthread.hxx index 5e8957d1c165..2826aba9c32d 100644 --- a/desktop/source/app/officeipcthread.hxx +++ b/desktop/source/app/officeipcthread.hxx @@ -99,7 +99,7 @@ class RequestHandler: public salhelper::SimpleReferenceObject RequestHandler(); - virtual ~RequestHandler(); + virtual ~RequestHandler() override; public: enum Status @@ -135,7 +135,7 @@ class RequestHandlerController : public ::cppu::WeakImplHelper< { public: RequestHandlerController() {} - virtual ~RequestHandlerController() {} + virtual ~RequestHandlerController() override {} // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/desktop/source/deployment/dp_log.cxx b/desktop/source/deployment/dp_log.cxx index a11b0d9560e8..1e7daa70ca68 100644 --- a/desktop/source/deployment/dp_log.cxx +++ b/desktop/source/deployment/dp_log.cxx @@ -49,7 +49,7 @@ class ProgressLogImpl : public ::dp_misc::MutexHolder, public t_log_helper protected: virtual void SAL_CALL disposing() override; - virtual ~ProgressLogImpl(); + virtual ~ProgressLogImpl() override; public: ProgressLogImpl( Sequence<Any> const & args, diff --git a/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx b/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx index f5464222acdc..aee364554899 100644 --- a/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx @@ -37,7 +37,7 @@ class DependencyDialog: public ModalDialog { public: DependencyDialog( vcl::Window * parent, std::vector< OUString > const & dependencies); - virtual ~DependencyDialog(); + virtual ~DependencyDialog() override; virtual void dispose() override; private: diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 9dfca89c66a0..b97a70fae2e8 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -136,7 +136,7 @@ class ExtBoxWithBtns_Impl : public ExtensionBox_Impl public: explicit ExtBoxWithBtns_Impl(vcl::Window* pParent); - virtual ~ExtBoxWithBtns_Impl(); + virtual ~ExtBoxWithBtns_Impl() override; virtual void dispose() override; void InitFromDialog(ExtMgrDialog *pParentDialog); diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.hxx b/desktop/source/deployment/gui/dp_gui_dialog2.hxx index 4012cfcafaea..703803025750 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.hxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.hxx @@ -144,7 +144,7 @@ class ExtMgrDialog : public ModelessDialog, public: ExtMgrDialog( vcl::Window * pParent, TheExtensionManager *pManager, Dialog::InitFlag eFlag = Dialog::InitFlag::Default ); - virtual ~ExtMgrDialog(); + virtual ~ExtMgrDialog() override; virtual void dispose() override; virtual bool Notify( NotifyEvent& rNEvt ) override; @@ -213,7 +213,7 @@ class UpdateRequiredDialog : public ModalDialog, public: UpdateRequiredDialog( vcl::Window * pParent, TheExtensionManager *pManager ); - virtual ~UpdateRequiredDialog(); + virtual ~UpdateRequiredDialog() override; virtual void dispose() override; virtual short Execute() override; @@ -240,7 +240,7 @@ class ShowLicenseDialog : public ModalDialog VclPtr<VclMultiLineEdit> m_pLicenseText; public: ShowLicenseDialog(vcl::Window * pParent, const css::uno::Reference< css::deployment::XPackage > &xPackage); - virtual ~ShowLicenseDialog(); + virtual ~ShowLicenseDialog() override; virtual void dispose() override; }; diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx index c1b083c3ceb5..7105f899f384 100644 --- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx +++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx @@ -131,7 +131,7 @@ class ProgressCmdEnv void update_( uno::Any const & Status ) throw ( uno::RuntimeException ); public: - virtual ~ProgressCmdEnv(); + virtual ~ProgressCmdEnv() override; /** When param bAskWhenInstalling = true, then the user is asked if he agrees to install this extension. In case this extension is already installed @@ -230,7 +230,7 @@ public: bool isBusy(); private: - virtual ~Thread(); + virtual ~Thread() override; virtual void execute() override; diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx index 3cee982becdf..6c70e41d8623 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx @@ -97,7 +97,7 @@ class ExtensionRemovedListener : public ::cppu::WeakImplHelper<css::lang::XEvent public: explicit ExtensionRemovedListener( ExtensionBox_Impl *pParent ) { m_pParent = pParent; } - virtual ~ExtensionRemovedListener(); + virtual ~ExtensionRemovedListener() override; // XEventListener @@ -168,7 +168,7 @@ class ExtensionBox_Impl : public ::svt::IExtensionListBox void Init(); public: explicit ExtensionBox_Impl(vcl::Window* pParent); - virtual ~ExtensionBox_Impl(); + virtual ~ExtensionBox_Impl() override; virtual void dispose() override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; diff --git a/desktop/source/deployment/gui/dp_gui_service.cxx b/desktop/source/deployment/gui/dp_gui_service.cxx index a62c07671bf2..750336ee8580 100644 --- a/desktop/source/deployment/gui/dp_gui_service.cxx +++ b/desktop/source/deployment/gui/dp_gui_service.cxx @@ -53,7 +53,7 @@ class MyApp : public Application { public: MyApp(); - virtual ~MyApp(); + virtual ~MyApp() override; MyApp(const MyApp&) = delete; const MyApp& operator=(const MyApp&) = delete; diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.hxx b/desktop/source/deployment/gui/dp_gui_theextmgr.hxx index 6d7436cfb5e6..794d9258c6f0 100644 --- a/desktop/source/deployment/gui/dp_gui_theextmgr.hxx +++ b/desktop/source/deployment/gui/dp_gui_theextmgr.hxx @@ -65,7 +65,7 @@ public: TheExtensionManager( const css::uno::Reference< css::awt::XWindow > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext ); - virtual ~TheExtensionManager(); + virtual ~TheExtensionManager() override; void createDialog( const bool bCreateUpdDlg ); sal_Int16 execute(); diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx index 53548167ca85..edac3f0cb38e 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx @@ -202,7 +202,7 @@ public: void stop(); private: - virtual ~Thread(); + virtual ~Thread() override; virtual void execute() override; diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx index ce0c6394ecc4..910d662a32ef 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx @@ -84,7 +84,7 @@ public: css::deployment::XPackage > > & vExtensionList, std::vector< dp_gui::UpdateData > * updateData); - virtual ~UpdateDialog(); + virtual ~UpdateDialog() override; virtual void dispose() override; virtual bool Close() override; diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx index f8c5ea11215d..79d55a2f6109 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx @@ -87,7 +87,7 @@ public: void stop(); private: - virtual ~Thread(); + virtual ~Thread() override; virtual void execute() override; void downloadExtensions(); @@ -121,7 +121,7 @@ class UpdateCommandEnv cssu::Reference< cssu::XComponentContext > m_xContext; public: - virtual ~UpdateCommandEnv(); + virtual ~UpdateCommandEnv() override; UpdateCommandEnv( cssu::Reference< cssu::XComponentContext > const & xCtx, ::rtl::Reference<UpdateInstallDialog::Thread>const & thread); diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx index 040a9f790863..bd30805ddffa 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx @@ -59,7 +59,7 @@ public: UpdateInstallDialog(vcl::Window * parent, std::vector<UpdateData> & aVecUpdateData, css::uno::Reference< css::uno::XComponentContext > const & xCtx); - virtual ~UpdateInstallDialog(); + virtual ~UpdateInstallDialog() override; virtual void dispose() override; bool Close() override; diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx index 212acccf4527..6d4de1fe7805 100644 --- a/desktop/source/deployment/gui/license_dialog.cxx +++ b/desktop/source/deployment/gui/license_dialog.cxx @@ -55,7 +55,7 @@ class LicenseView : public MultiLineEdit, public SfxListener public: LicenseView( vcl::Window* pParent, WinBits nStyle ); - virtual ~LicenseView(); + virtual ~LicenseView() override; virtual void dispose() override; void ScrollDown( ScrollType eScroll ); @@ -96,7 +96,7 @@ struct LicenseDialogImpl : public ModalDialog vcl::Window * pParent, const OUString & sExtensionName, const OUString & sLicenseText); - virtual ~LicenseDialogImpl() { disposeOnce(); } + virtual ~LicenseDialogImpl() override { disposeOnce(); } virtual void dispose() override; virtual void Activate() override; diff --git a/desktop/source/deployment/manager/dp_commandenvironments.hxx b/desktop/source/deployment/manager/dp_commandenvironments.hxx index fcc44ce5858d..5f4ab2429dcb 100644 --- a/desktop/source/deployment/manager/dp_commandenvironments.hxx +++ b/desktop/source/deployment/manager/dp_commandenvironments.hxx @@ -40,7 +40,7 @@ protected: void handle_(bool approve, bool abort, css::uno::Reference< css::task::XInteractionRequest> const & xRequest ); public: - virtual ~BaseCommandEnv(); + virtual ~BaseCommandEnv() override; BaseCommandEnv(); explicit BaseCommandEnv( css::uno::Reference< css::task::XInteractionHandler> const & handler); diff --git a/desktop/source/deployment/manager/dp_extensionmanager.hxx b/desktop/source/deployment/manager/dp_extensionmanager.hxx index 1d9e3be32f62..c565a2f8a288 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.hxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.hxx @@ -45,7 +45,7 @@ class ExtensionManager : private ::dp_misc::MutexHolder, { public: explicit ExtensionManager( css::uno::Reference< css::uno::XComponentContext >const& xContext); - virtual ~ExtensionManager(); + virtual ~ExtensionManager() override; void check(); void fireModified(); diff --git a/desktop/source/deployment/manager/dp_informationprovider.cxx b/desktop/source/deployment/manager/dp_informationprovider.cxx index b56993456c6a..ca82cf215b6f 100644 --- a/desktop/source/deployment/manager/dp_informationprovider.cxx +++ b/desktop/source/deployment/manager/dp_informationprovider.cxx @@ -63,7 +63,7 @@ class PackageInformationProvider : { public: explicit PackageInformationProvider( uno::Reference< uno::XComponentContext >const& xContext); - virtual ~PackageInformationProvider(); + virtual ~PackageInformationProvider() override; // XPackageInformationProvider virtual OUString SAL_CALL getPackageLocation( const OUString& extensionId ) diff --git a/desktop/source/deployment/manager/dp_manager.h b/desktop/source/deployment/manager/dp_manager.h index ab49b7ee17d6..841eb0b9d90f 100644 --- a/desktop/source/deployment/manager/dp_manager.h +++ b/desktop/source/deployment/manager/dp_manager.h @@ -97,7 +97,7 @@ class PackageManagerImpl : private ::dp_misc::MutexHolder, public t_pm_helper m_xUserInteractionHandler; public: - virtual ~CmdEnvWrapperImpl(); + virtual ~CmdEnvWrapperImpl() override; CmdEnvWrapperImpl( css::uno::Reference<css::ucb::XCommandEnvironment> const & xUserCmdEnv, @@ -121,7 +121,7 @@ protected: inline void check(); virtual void SAL_CALL disposing() override; - virtual ~PackageManagerImpl(); + virtual ~PackageManagerImpl() override; inline PackageManagerImpl( css::uno::Reference<css::uno::XComponentContext> const & xComponentContext, OUString const & context ) diff --git a/desktop/source/deployment/manager/dp_managerfac.cxx b/desktop/source/deployment/manager/dp_managerfac.cxx index 97bba6c5901c..cf8be3c18efc 100644 --- a/desktop/source/deployment/manager/dp_managerfac.cxx +++ b/desktop/source/deployment/manager/dp_managerfac.cxx @@ -55,7 +55,7 @@ protected: virtual void SAL_CALL disposing() override; public: - virtual ~PackageManagerFactoryImpl(); + virtual ~PackageManagerFactoryImpl() override; explicit PackageManagerFactoryImpl( Reference<XComponentContext> const & xComponentContext ); diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx index bfb2fd68e7da..8fc9ed308fb8 100644 --- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx +++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx @@ -62,7 +62,7 @@ class EmptyNodeList: public: EmptyNodeList(); - virtual ~EmptyNodeList(); + virtual ~EmptyNodeList() override; EmptyNodeList(const EmptyNodeList&) = delete; const EmptyNodeList& operator=(const EmptyNodeList&) = delete; @@ -146,7 +146,7 @@ class FileDoesNotExistFilter css::uno::Reference< css::ucb::XCommandEnvironment > m_xCommandEnv; public: - virtual ~FileDoesNotExistFilter(); + virtual ~FileDoesNotExistFilter() override; explicit FileDoesNotExistFilter( const css::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv); diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx index 02419477b926..d1b77a020af9 100644 --- a/desktop/source/deployment/registry/dp_registry.cxx +++ b/desktop/source/deployment/registry/dp_registry.cxx @@ -94,7 +94,7 @@ protected: inline void check(); virtual void SAL_CALL disposing() override; - virtual ~PackageRegistryImpl(); + virtual ~PackageRegistryImpl() override; PackageRegistryImpl() : t_helper( getMutex() ) {} diff --git a/desktop/source/deployment/registry/inc/dp_backend.h b/desktop/source/deployment/registry/inc/dp_backend.h index cb7b8fcbe026..d94d30f1b25c 100644 --- a/desktop/source/deployment/registry/inc/dp_backend.h +++ b/desktop/source/deployment/registry/inc/dp_backend.h @@ -89,7 +89,7 @@ protected: css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) = 0; - virtual ~Package(); + virtual ~Package() override; Package( ::rtl::Reference<PackageRegistryBackend> const & myBackend, OUString const & url, OUString const & name, @@ -109,7 +109,7 @@ public: const OUString m_shortDescr; const sal_uInt16 m_smallIcon; public: - virtual ~TypeInfo(); + virtual ~TypeInfo() override; TypeInfo( OUString const & mediaType, OUString const & fileFilter, OUString const & shortDescr, @@ -308,7 +308,7 @@ protected: void check(); virtual void SAL_CALL disposing() override; - virtual ~PackageRegistryBackend(); + virtual ~PackageRegistryBackend() override; PackageRegistryBackend( css::uno::Sequence<css::uno::Any> const & args, css::uno::Reference<css::uno::XComponentContext> const & xContext ); diff --git a/desktop/source/deployment/registry/inc/dp_backenddb.hxx b/desktop/source/deployment/registry/inc/dp_backenddb.hxx index 8731cdc3d51e..85b4ee684bcc 100644 --- a/desktop/source/deployment/registry/inc/dp_backenddb.hxx +++ b/desktop/source/deployment/registry/inc/dp_backenddb.hxx @@ -155,7 +155,7 @@ class RegisteredDb: public BackendDb public: RegisteredDb( css::uno::Reference<css::uno::XComponentContext> const & xContext, OUString const & url); - virtual ~RegisteredDb() {}; + virtual ~RegisteredDb() override {}; void addEntry(OUString const & url); diff --git a/desktop/source/lib/lokinteractionhandler.hxx b/desktop/source/lib/lokinteractionhandler.hxx index 942ee92b038e..d6716eb51b2d 100644 --- a/desktop/source/lib/lokinteractionhandler.hxx +++ b/desktop/source/lib/lokinteractionhandler.hxx @@ -86,7 +86,7 @@ public: desktop::LibLibreOffice_Impl *, desktop::LibLODocument_Impl *pLOKDocumt = nullptr); - virtual ~LOKInteractionHandler(); + virtual ~LOKInteractionHandler() override; virtual OUString SAL_CALL getImplementationName() throw (com::sun::star::uno::RuntimeException, std::exception) override; diff --git a/desktop/source/migration/services/basicmigration.hxx b/desktop/source/migration/services/basicmigration.hxx index 784d7f972da1..53791d64ba4b 100644 --- a/desktop/source/migration/services/basicmigration.hxx +++ b/desktop/source/migration/services/basicmigration.hxx @@ -63,7 +63,7 @@ namespace migration public: BasicMigration(); - virtual ~BasicMigration(); + virtual ~BasicMigration() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/desktop/source/migration/services/jvmfwk.cxx b/desktop/source/migration/services/jvmfwk.cxx index 02d26b3a303d..aa3e15deb494 100644 --- a/desktop/source/migration/services/jvmfwk.cxx +++ b/desktop/source/migration/services/jvmfwk.cxx @@ -190,7 +190,7 @@ public: css::lang::WrappedTargetException, std::exception ) override; - virtual ~JavaMigration(); + virtual ~JavaMigration() override; private: OUString m_sUserDir; diff --git a/desktop/source/migration/services/oo3extensionmigration.hxx b/desktop/source/migration/services/oo3extensionmigration.hxx index b2c14bf11bc4..482dfe844909 100644 --- a/desktop/source/migration/services/oo3extensionmigration.hxx +++ b/desktop/source/migration/services/oo3extensionmigration.hxx @@ -87,7 +87,7 @@ namespace migration public: explicit OO3ExtensionMigration(css::uno::Reference< css::uno::XComponentContext > const & ctx); - virtual ~OO3ExtensionMigration(); + virtual ~OO3ExtensionMigration() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() @@ -114,7 +114,7 @@ namespace migration css::ucb::XProgressHandler > { public: - virtual ~TmpRepositoryCommandEnv(); + virtual ~TmpRepositoryCommandEnv() override; TmpRepositoryCommandEnv(); // XCommandEnvironment diff --git a/desktop/source/migration/services/wordbookmigration.hxx b/desktop/source/migration/services/wordbookmigration.hxx index d9266f693ba1..86013ce36d89 100644 --- a/desktop/source/migration/services/wordbookmigration.hxx +++ b/desktop/source/migration/services/wordbookmigration.hxx @@ -63,7 +63,7 @@ namespace migration public: WordbookMigration(); - virtual ~WordbookMigration(); + virtual ~WordbookMigration() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/desktop/source/offacc/acceptor.hxx b/desktop/source/offacc/acceptor.hxx index 42ae671bc4f6..0dc1889d0adb 100644 --- a/desktop/source/offacc/acceptor.hxx +++ b/desktop/source/offacc/acceptor.hxx @@ -71,7 +71,7 @@ private: public: explicit Acceptor( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~Acceptor(); + virtual ~Acceptor() override; void run(); @@ -101,7 +101,7 @@ private: public: AccInstanceProvider(const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference< css::connection::XConnection >& rConnection); - virtual ~AccInstanceProvider(); + virtual ~AccInstanceProvider() override; // XInstanceProvider virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getInstance (const OUString& aName ) diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index 86ae42221ed8..afd58d754a77 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -68,7 +68,7 @@ class CommandEnvironmentImpl bool & accept, bool & decline); public: - virtual ~CommandEnvironmentImpl(); + virtual ~CommandEnvironmentImpl() override; CommandEnvironmentImpl( Reference<XComponentContext> const & xComponentContext, OUString const & log_file, diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx index aa33a5c16fca..c86db11363d4 100644 --- a/desktop/source/splash/splash.cxx +++ b/desktop/source/splash/splash.cxx @@ -55,7 +55,7 @@ public: SplashScreen *pSpl; ScopedVclPtr<VirtualDevice> _vdev; explicit SplashScreenWindow(SplashScreen *); - virtual ~SplashScreenWindow() { disposeOnce(); } + virtual ~SplashScreenWindow() override { disposeOnce(); } virtual void dispose() override; // workwindow virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle&) override; @@ -73,7 +73,7 @@ private: VclPtr<SplashScreenWindow> pWindow; DECL_LINK_TYPED( AppEventListenerHdl, VclSimpleEvent&, void ); - virtual ~SplashScreen(); + virtual ~SplashScreen() override; void loadConfig(); void updateStatus(); void SetScreenBitmap(BitmapEx &rBitmap); diff --git a/desktop/source/splash/unxsplash.hxx b/desktop/source/splash/unxsplash.hxx index 4935777eaf2d..e854387fa3ff 100644 --- a/desktop/source/splash/unxsplash.hxx +++ b/desktop/source/splash/unxsplash.hxx @@ -34,7 +34,7 @@ private: UnxSplashScreen( const UnxSplashScreen& ) = delete; UnxSplashScreen operator =( const UnxSplashScreen& ) = delete; - virtual ~UnxSplashScreen(); + virtual ~UnxSplashScreen() override; static UnxSplashScreen *m_pINSTANCE; diff --git a/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx b/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx index 2d7be59624f9..1092de8d796d 100644 --- a/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx +++ b/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx @@ -52,7 +52,7 @@ namespace drawinglayer { public: XPrimitive2DRenderer(); - virtual ~XPrimitive2DRenderer(); + virtual ~XPrimitive2DRenderer() override; XPrimitive2DRenderer(const XPrimitive2DRenderer&) = delete; const XPrimitive2DRenderer& operator=(const XPrimitive2DRenderer&) = delete; diff --git a/drawinglayer/source/primitive2d/textlayoutdevice.cxx b/drawinglayer/source/primitive2d/textlayoutdevice.cxx index 4f6d40701c79..3c64903a64b6 100644 --- a/drawinglayer/source/primitive2d/textlayoutdevice.cxx +++ b/drawinglayer/source/primitive2d/textlayoutdevice.cxx @@ -65,7 +65,7 @@ namespace public: explicit ImpTimedRefDev(scoped_timed_RefDev& rOwnerofMe); - virtual ~ImpTimedRefDev(); + virtual ~ImpTimedRefDev() override; virtual void Invoke() override; VirtualDevice& acquireVirtualDevice(); diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx index bf735d7be1bd..aadf09f080ee 100644 --- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx +++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx @@ -56,7 +56,7 @@ namespace public: VDevBuffer(); - virtual ~VDevBuffer(); + virtual ~VDevBuffer() override; VirtualDevice* alloc(OutputDevice& rOutDev, const Size& rSizePixel, bool bClear, bool bMonoChrome); void free(VirtualDevice& rDevice); diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx index d216fcc3f3c9..360c0433518e 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx @@ -138,7 +138,7 @@ namespace drawinglayer VclMetafileProcessor2D( const geometry::ViewInformation2D& rViewInformation, OutputDevice& rOutDev); - virtual ~VclMetafileProcessor2D(); + virtual ~VclMetafileProcessor2D() override; }; } // end of namespace processor2d } // end of namespace drawinglayer diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx index f7b6748bb3e2..0a8e97d748b8 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx @@ -71,7 +71,7 @@ namespace drawinglayer VclPixelProcessor2D( const geometry::ViewInformation2D& rViewInformation, OutputDevice& rOutDev); - virtual ~VclPixelProcessor2D(); + virtual ~VclPixelProcessor2D() override; }; } // end of namespace processor2d } // end of namespace drawinglayer diff --git a/drawinglayer/source/processor2d/vclprocessor2d.hxx b/drawinglayer/source/processor2d/vclprocessor2d.hxx index 019043b0bc38..48de1b903d5d 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.hxx @@ -117,7 +117,7 @@ namespace drawinglayer VclProcessor2D( const geometry::ViewInformation2D& rViewInformation, OutputDevice& rOutDev); - virtual ~VclProcessor2D(); + virtual ~VclProcessor2D() override; // access to Drawinglayer configuration options const SvtOptionsDrawinglayer& getOptionsDrawinglayer() const { return maDrawinglayerOpt; } diff --git a/editeng/source/accessibility/AccessibleHyperlink.hxx b/editeng/source/accessibility/AccessibleHyperlink.hxx index 6419e307b982..9dda555ab78a 100644 --- a/editeng/source/accessibility/AccessibleHyperlink.hxx +++ b/editeng/source/accessibility/AccessibleHyperlink.hxx @@ -48,7 +48,7 @@ namespace accessibility public: AccessibleHyperlink( SvxAccessibleTextAdapter& r, SvxFieldItem* p, sal_Int32 nP, sal_uInt16 nR, sal_Int32 nStt, sal_Int32 nEnd, const OUString& rD ); - virtual ~AccessibleHyperlink(); + virtual ~AccessibleHyperlink() override; // XAccessibleAction virtual sal_Int32 SAL_CALL getAccessibleActionCount() throw (css::uno::RuntimeException, std::exception) override; diff --git a/editeng/source/editeng/editattr.hxx b/editeng/source/editeng/editattr.hxx index 13bf5a297f66..3dffbe2197d7 100644 --- a/editeng/source/editeng/editattr.hxx +++ b/editeng/source/editeng/editattr.hxx @@ -369,7 +369,7 @@ class EditCharAttribField: public EditCharAttrib public: EditCharAttribField( const SvxFieldItem& rAttr, sal_uInt16 nPos ); EditCharAttribField( const EditCharAttribField& rAttr ); - virtual ~EditCharAttribField(); + virtual ~EditCharAttribField() override; bool operator == ( const EditCharAttribField& rAttr ) const; bool operator != ( const EditCharAttribField& rAttr ) const diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index 063a54475195..cd3fd86a0c2b 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -825,7 +825,7 @@ class EditEngineItemPool : public SfxItemPool public: EditEngineItemPool( bool bPersistenRefCounts ); protected: - virtual ~EditEngineItemPool(); + virtual ~EditEngineItemPool() override; public: virtual SvStream& Store( SvStream& rStream ) const override; diff --git a/editeng/source/editeng/editundo.hxx b/editeng/source/editeng/editundo.hxx index 5efcfd02d58d..1364b0c1db35 100644 --- a/editeng/source/editeng/editundo.hxx +++ b/editeng/source/editeng/editundo.hxx @@ -42,7 +42,7 @@ private: public: EditUndoDelContent(EditEngine* pEE, ContentNode* pNode, sal_Int32 nPortion); - virtual ~EditUndoDelContent(); + virtual ~EditUndoDelContent() override; virtual void Undo() override; virtual void Redo() override; @@ -71,7 +71,7 @@ public: EditUndoConnectParas(EditEngine* pEE, sal_Int32 nNode, sal_uInt16 nSepPos, const SfxItemSet& rLeftParaAttribs, const SfxItemSet& rRightParaAttribs, const SfxStyleSheet* pLeftStyle, const SfxStyleSheet* pRightStyle, bool bBackward); - virtual ~EditUndoConnectParas(); + virtual ~EditUndoConnectParas() override; virtual void Undo() override; virtual void Redo() override; @@ -88,7 +88,7 @@ private: public: EditUndoSplitPara(EditEngine* pEE, sal_Int32 nNode, sal_uInt16 nSepPos); - virtual ~EditUndoSplitPara(); + virtual ~EditUndoSplitPara() override; virtual void Undo() override; virtual void Redo() override; @@ -139,7 +139,7 @@ private: public: EditUndoInsertFeature(EditEngine* pEE, const EPaM& rEPaM, const SfxPoolItem& rFeature); - virtual ~EditUndoInsertFeature(); + virtual ~EditUndoInsertFeature() override; virtual void Undo() override; virtual void Redo() override; @@ -156,7 +156,7 @@ private: public: EditUndoMoveParagraphs(EditEngine* pEE, const Range& rParas, sal_Int32 nDest); - virtual ~EditUndoMoveParagraphs(); + virtual ~EditUndoMoveParagraphs() override; virtual void Undo() override; virtual void Redo() override; @@ -180,7 +180,7 @@ public: const OUString& rPrevName, SfxStyleFamily ePrevFamily, const OUString& rNewName, SfxStyleFamily eNewFamily, const SfxItemSet& rPrevParaAttribs); - virtual ~EditUndoSetStyleSheet(); + virtual ~EditUndoSetStyleSheet() override; virtual void Undo() override; virtual void Redo() override; @@ -198,7 +198,7 @@ private: public: EditUndoSetParaAttribs(EditEngine* pEE, sal_Int32 nPara, const SfxItemSet& rPrevItems, const SfxItemSet& rNewItems); - virtual ~EditUndoSetParaAttribs(); + virtual ~EditUndoSetParaAttribs() override; virtual void Undo() override; virtual void Redo() override; @@ -226,7 +226,7 @@ private: public: EditUndoSetAttribs(EditEngine* pEE, const ESelection& rESel, const SfxItemSet& rNewItems); - virtual ~EditUndoSetAttribs(); + virtual ~EditUndoSetAttribs() override; SfxItemSet& GetNewAttribs() { return aNewAttribs; } @@ -256,7 +256,7 @@ private: public: EditUndoTransliteration(EditEngine* pEE, const ESelection& rESel, sal_Int32 nMode); - virtual ~EditUndoTransliteration(); + virtual ~EditUndoTransliteration() override; void SetText( const OUString& rText ) { aText = rText; } void SetText( EditTextObject* pObj ) { pTxtObj = pObj; } @@ -276,7 +276,7 @@ private: public: EditUndoMarkSelection(EditEngine* pEE, const ESelection& rSel); - virtual ~EditUndoMarkSelection(); + virtual ~EditUndoMarkSelection() override; virtual void Undo() override; virtual void Redo() override; diff --git a/editeng/source/editeng/edtspell.hxx b/editeng/source/editeng/edtspell.hxx index baf7b7721e91..1a2bca363b84 100644 --- a/editeng/source/editeng/edtspell.hxx +++ b/editeng/source/editeng/edtspell.hxx @@ -129,7 +129,7 @@ protected: public: EdtAutoCorrDoc(EditEngine* pE, ContentNode* pCurNode, sal_Int32 nCrsr, sal_Unicode cIns); - virtual ~EdtAutoCorrDoc(); + virtual ~EdtAutoCorrDoc() override; virtual bool Delete( sal_Int32 nStt, sal_Int32 nEnd ) override; virtual bool Insert( sal_Int32 nPos, const OUString& rTxt ) override; diff --git a/editeng/source/editeng/eehtml.hxx b/editeng/source/editeng/eehtml.hxx index 66af55ee2a32..b952a66ff2a4 100644 --- a/editeng/source/editeng/eehtml.hxx +++ b/editeng/source/editeng/eehtml.hxx @@ -70,7 +70,7 @@ protected: public: EditHTMLParser(SvStream& rIn, const OUString& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs); - virtual ~EditHTMLParser(); + virtual ~EditHTMLParser() override; SvParserState CallParser(EditEngine* pEE, const EditPaM& rPaM); diff --git a/editeng/source/editeng/eeobj.hxx b/editeng/source/editeng/eeobj.hxx index 728d791aad85..59bc1e9c77de 100644 --- a/editeng/source/editeng/eeobj.hxx +++ b/editeng/source/editeng/eeobj.hxx @@ -38,7 +38,7 @@ private: public: EditDataObject(); - virtual ~EditDataObject(); + virtual ~EditDataObject() override; SvMemoryStream& GetStream() { return maBinData; } SvMemoryStream& GetRTFStream() { return maRTFData; } diff --git a/editeng/source/editeng/eertfpar.hxx b/editeng/source/editeng/eertfpar.hxx index 86194a097c5d..250000a8b7cc 100644 --- a/editeng/source/editeng/eertfpar.hxx +++ b/editeng/source/editeng/eertfpar.hxx @@ -59,7 +59,7 @@ protected: public: EditRTFParser(SvStream& rIn, EditSelection aCurSel, SfxItemPool& rAttrPool, EditEngine* pEditEngine); - virtual ~EditRTFParser(); + virtual ~EditRTFParser() override; virtual SvParserState CallParser() override; diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 69bac8d1d099..612fe41f7236 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -197,7 +197,7 @@ private: public: IdleFormattter(); - virtual ~IdleFormattter(); + virtual ~IdleFormattter() override; void DoIdleFormat( EditView* pV ); void ForceTimeout(); @@ -273,7 +273,7 @@ protected: public: ImpEditView( EditView* pView, EditEngine* pEng, vcl::Window* pWindow ); - virtual ~ImpEditView(); + virtual ~ImpEditView() override; EditView* GetEditViewPtr() { return pEditView; } @@ -700,7 +700,7 @@ protected: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; public: - virtual ~ImpEditEngine(); + virtual ~ImpEditEngine() override; ImpEditEngine(const ImpEditEngine&) = delete; ImpEditEngine& operator=(const ImpEditEngine&) = delete; diff --git a/editeng/source/editeng/textconv.hxx b/editeng/source/editeng/textconv.hxx index e7209fc983e0..301fcf746f09 100644 --- a/editeng/source/editeng/textconv.hxx +++ b/editeng/source/editeng/textconv.hxx @@ -102,7 +102,7 @@ public: bool bIsInteractive, bool bIsStart, EditView* pView ); - virtual ~TextConvWrapper(); + virtual ~TextConvWrapper() override; void Convert(); }; diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index 52681d11b106..262a5c7e8073 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -588,7 +588,7 @@ public: nKern( _nKrn ) { } - virtual ~SvxDoGetCapitalSize() {} + virtual ~SvxDoGetCapitalSize() override {} virtual void Do( const OUString &rTxt, const sal_Int32 nIdx, const sal_Int32 nLen, const bool bUpper ) override; diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.hxx b/editeng/source/misc/SvXMLAutoCorrectExport.hxx index 73df5592a5b3..3b3de1dc0622 100644 --- a/editeng/source/misc/SvXMLAutoCorrectExport.hxx +++ b/editeng/source/misc/SvXMLAutoCorrectExport.hxx @@ -36,7 +36,7 @@ public: const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler); - virtual ~SvXMLAutoCorrectExport() {} + virtual ~SvXMLAutoCorrectExport() override {} sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID) override; void ExportAutoStyles_() override {} void ExportMasterStyles_ () override {} @@ -56,7 +56,7 @@ public: const OUString &rFileName, css::uno::Reference< css::xml::sax::XDocumentHandler> &rHandler); - virtual ~SvXMLExceptionListExport() {} + virtual ~SvXMLExceptionListExport() override {} sal_uInt32 exportDoc(enum ::xmloff::token::XMLTokenEnum eClass = ::xmloff::token::XML_TOKEN_INVALID) override; void ExportAutoStyles_() override {} void ExportMasterStyles_ () override {} diff --git a/editeng/source/misc/SvXMLAutoCorrectImport.hxx b/editeng/source/misc/SvXMLAutoCorrectImport.hxx index b69e42cb2490..c27219f70b7b 100644 --- a/editeng/source/misc/SvXMLAutoCorrectImport.hxx +++ b/editeng/source/misc/SvXMLAutoCorrectImport.hxx @@ -44,7 +44,7 @@ public: SvxAutoCorrect &rNewAutoCorrect, const css::uno::Reference < css::embed::XStorage >& rNewStorage); - virtual ~SvXMLAutoCorrectImport() throw (); + virtual ~SvXMLAutoCorrectImport() throw () override; }; class SvXMLWordListContext : public SvXMLImportContext @@ -59,7 +59,7 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - virtual ~SvXMLWordListContext(); + virtual ~SvXMLWordListContext() override; }; class SvXMLWordContext : public SvXMLImportContext @@ -70,7 +70,7 @@ public: SvXMLWordContext ( SvXMLAutoCorrectImport& rImport, sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ); - virtual ~SvXMLWordContext(); + virtual ~SvXMLWordContext() override; }; @@ -89,7 +89,7 @@ public: const css::uno::Reference< css::uno::XComponentContext > & xContext, SvStringsISortDtor & rNewList ); - virtual ~SvXMLExceptionListImport() throw (); + virtual ~SvXMLExceptionListImport() throw () override; }; class SvXMLExceptionListContext : public SvXMLImportContext @@ -104,7 +104,7 @@ public: const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) throw (css::uno::RuntimeException, css::xml::sax::SAXException, std::exception) override; - virtual ~SvXMLExceptionListContext(); + virtual ~SvXMLExceptionListContext() override; }; class SvXMLExceptionContext : public SvXMLImportContext @@ -115,7 +115,7 @@ public: SvXMLExceptionContext ( SvXMLExceptionListImport& rImport, sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ); - virtual ~SvXMLExceptionContext(); + virtual ~SvXMLExceptionContext() override; }; diff --git a/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx b/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx index 66068e251be2..9913a0dd9294 100644 --- a/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx +++ b/editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx @@ -36,7 +36,7 @@ class SvXMLAutoCorrectTokenHandler : public { public: explicit SvXMLAutoCorrectTokenHandler(); - virtual ~SvXMLAutoCorrectTokenHandler(); + virtual ~SvXMLAutoCorrectTokenHandler() override; //XFastTokenHandler virtual sal_Int32 SAL_CALL getTokenFromUTF8( const css::uno::Sequence< sal_Int8 >& Identifier ) diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index a9d28011fb69..e8af80883467 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -84,7 +84,7 @@ class ThesDummy_Impl : public: ThesDummy_Impl() : pLocaleSeq(nullptr) {} - virtual ~ThesDummy_Impl(); + virtual ~ThesDummy_Impl() override; // XSupportedLocales virtual css::uno::Sequence< css::lang::Locale > SAL_CALL @@ -435,7 +435,7 @@ class LinguMgrExitLstnr : public cppu::WeakImplHelper<XEventListener> public: LinguMgrExitLstnr(); - virtual ~LinguMgrExitLstnr(); + virtual ~LinguMgrExitLstnr() override; // lang::XEventListener virtual void SAL_CALL disposing(const EventObject& rSource) diff --git a/editeng/source/outliner/outleeng.hxx b/editeng/source/outliner/outleeng.hxx index f165e3220d86..daaa6696c367 100644 --- a/editeng/source/outliner/outleeng.hxx +++ b/editeng/source/outliner/outleeng.hxx @@ -36,7 +36,7 @@ protected: public: OutlinerEditEng( Outliner* pOwner, SfxItemPool* pPool ); - virtual ~OutlinerEditEng(); + virtual ~OutlinerEditEng() override; virtual void PaintingFirstLine( sal_Int32 nPara, const Point& rStartPos, long nBaseLineY, const Point& rOrigin, short nOrientation, OutputDevice* pOutDev ) override; diff --git a/editeng/source/outliner/outlundo.hxx b/editeng/source/outliner/outlundo.hxx index adc15549593b..f1d5fc9696d3 100644 --- a/editeng/source/outliner/outlundo.hxx +++ b/editeng/source/outliner/outlundo.hxx @@ -109,7 +109,7 @@ class OLUndoExpand : public EditUndo void Restore( bool bUndo ); public: OLUndoExpand( Outliner* pOut, sal_uInt16 nId ); - virtual ~OLUndoExpand(); + virtual ~OLUndoExpand() override; virtual void Undo() override; virtual void Redo() override; diff --git a/editeng/source/xml/editsource.hxx b/editeng/source/xml/editsource.hxx index a22728f34e4b..335427808690 100644 --- a/editeng/source/xml/editsource.hxx +++ b/editeng/source/xml/editsource.hxx @@ -29,7 +29,7 @@ class SvxEditEngineSource : public SvxEditSource { public: explicit SvxEditEngineSource( EditEngine* pEditEngine ); - virtual ~SvxEditEngineSource(); + virtual ~SvxEditEngineSource() override; virtual SvxEditSource* Clone() const override; virtual SvxTextForwarder* GetTextForwarder() override; diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index 348aa2e73eb7..cb4f208ca649 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -65,7 +65,7 @@ private: EditEngine* mpEditEngine; SvxTextForwarder* mpTextForwarder; - virtual ~SvxEditEngineSourceImpl(); + virtual ~SvxEditEngineSourceImpl() override; public: explicit SvxEditEngineSourceImpl( EditEngine* pEditEngine ); @@ -130,7 +130,7 @@ class SvxSimpleUnoModel : public cppu::WeakAggImplHelper4< { public: SvxSimpleUnoModel(); - virtual ~SvxSimpleUnoModel(); + virtual ~SvxSimpleUnoModel() override; // XMultiServiceFactory @@ -301,7 +301,7 @@ public: const OUString& rFileName, const css::uno::Reference< css::xml::sax::XDocumentHandler >& rHandler ); - virtual ~SvxXMLTextExportComponent(); + virtual ~SvxXMLTextExportComponent() override; // methods without content: virtual void ExportAutoStyles_() override; diff --git a/editeng/source/xml/xmltxtimp.cxx b/editeng/source/xml/xmltxtimp.cxx index 8cedcbc3a8e9..8a09a5732121 100644 --- a/editeng/source/xml/xmltxtimp.cxx +++ b/editeng/source/xml/xmltxtimp.cxx @@ -56,7 +56,7 @@ class SvxXMLTextImportContext : public SvXMLImportContext { public: SvxXMLTextImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< XAttributeList >& xAttrList, const uno::Reference< XText >& xText ); - virtual ~SvxXMLTextImportContext(); + virtual ~SvxXMLTextImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< XAttributeList >& xAttrList ) override; @@ -108,7 +108,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& rContext, const uno::Reference< XText > & rText ); - virtual ~SvxXMLXTextImportComponent() throw (); + virtual ~SvxXMLXTextImportComponent() throw () override; private: const uno::Reference< XText > mxText; diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx index 72217defd907..174e110b3d10 100644 --- a/embeddedobj/source/inc/commonembobj.hxx +++ b/embeddedobj/source/inc/commonembobj.hxx @@ -238,7 +238,7 @@ public: const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr, const css::uno::Sequence< css::beans::PropertyValue >& aObjectDescr ); - virtual ~OCommonEmbeddedObject(); + virtual ~OCommonEmbeddedObject() override; void SaveObject_Impl(); diff --git a/embeddedobj/source/inc/docholder.hxx b/embeddedobj/source/inc/docholder.hxx index 3e627257e31e..2fac504a68ce 100644 --- a/embeddedobj/source/inc/docholder.hxx +++ b/embeddedobj/source/inc/docholder.hxx @@ -115,7 +115,7 @@ public: DocumentHolder( const css::uno::Reference< css::uno::XComponentContext >& xContext, OCommonEmbeddedObject* pEmbObj ); - virtual ~DocumentHolder(); + virtual ~DocumentHolder() override; OCommonEmbeddedObject* GetEmbedObject() { return m_pEmbedObj; } diff --git a/embeddedobj/source/inc/dummyobject.hxx b/embeddedobj/source/inc/dummyobject.hxx index 4e2d90f29a3b..afec254ff13f 100644 --- a/embeddedobj/source/inc/dummyobject.hxx +++ b/embeddedobj/source/inc/dummyobject.hxx @@ -87,7 +87,7 @@ public: , m_bWaitSaveCompleted( false ) {} - virtual ~ODummyEmbeddedObject(); + virtual ~ODummyEmbeddedObject() override; // XEmbeddedObject diff --git a/embeddedobj/source/inc/intercept.hxx b/embeddedobj/source/inc/intercept.hxx index 7df7f686d741..c71f441daeb6 100644 --- a/embeddedobj/source/inc/intercept.hxx +++ b/embeddedobj/source/inc/intercept.hxx @@ -38,7 +38,7 @@ class Interceptor : public ::cppu::WeakImplHelper< css::frame::XDispatchProvider public: Interceptor( DocumentHolder* pDocHolder ); - virtual ~Interceptor(); + virtual ~Interceptor() override; void DisconnectDocHolder(); diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx index 6b914f47172b..d30b17cea6bf 100644 --- a/embeddedobj/source/inc/oleembobj.hxx +++ b/embeddedobj/source/inc/oleembobj.hxx @@ -295,7 +295,7 @@ public: OleEmbeddedObject( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ); #endif - virtual ~OleEmbeddedObject(); + virtual ~OleEmbeddedObject() override; #ifdef _WIN32 void OnIconChanged_Impl(); diff --git a/embeddedobj/source/msole/ownview.cxx b/embeddedobj/source/msole/ownview.cxx index 6d81bef30754..352279d01534 100644 --- a/embeddedobj/source/msole/ownview.cxx +++ b/embeddedobj/source/msole/ownview.cxx @@ -53,7 +53,7 @@ class DummyHandler_Impl : public ::cppu::WeakImplHelper< task::XInteractionHandl { public: DummyHandler_Impl() {} - virtual ~DummyHandler_Impl(); + virtual ~DummyHandler_Impl() override; virtual void SAL_CALL handle( const uno::Reference< task::XInteractionRequest >& xRequest ) throw( uno::RuntimeException, std::exception ) override; diff --git a/embeddedobj/source/msole/ownview.hxx b/embeddedobj/source/msole/ownview.hxx index 8c25b0982812..8878583bf5c7 100644 --- a/embeddedobj/source/msole/ownview.hxx +++ b/embeddedobj/source/msole/ownview.hxx @@ -64,7 +64,7 @@ public: OwnView_Impl( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory, const css::uno::Reference< css::io::XInputStream >& xStream ); - virtual ~OwnView_Impl(); + virtual ~OwnView_Impl() override; bool Open(); diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index ee81d8c38a9e..a5c400513c10 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -209,7 +209,7 @@ class EventAttacherImpl : public WeakImplHelper < XEventAttacher2, XInitializati { public: explicit EventAttacherImpl( const Reference< XComponentContext >& ); - virtual ~EventAttacherImpl(); + virtual ~EventAttacherImpl() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw(RuntimeException, std::exception) override; diff --git a/extensions/source/abpilot/abpfinalpage.hxx b/extensions/source/abpilot/abpfinalpage.hxx index bb435a7f765e..6fa03f4b4bb5 100644 --- a/extensions/source/abpilot/abpfinalpage.hxx +++ b/extensions/source/abpilot/abpfinalpage.hxx @@ -51,7 +51,7 @@ namespace abp public: explicit FinalPage(OAddressBookSourcePilot* _pParent); - virtual ~FinalPage(); + virtual ~FinalPage() override; virtual void dispose() override; protected: diff --git a/extensions/source/abpilot/admininvokationpage.hxx b/extensions/source/abpilot/admininvokationpage.hxx index 4c0ac532fe17..ce94f61dc9a8 100644 --- a/extensions/source/abpilot/admininvokationpage.hxx +++ b/extensions/source/abpilot/admininvokationpage.hxx @@ -33,7 +33,7 @@ namespace abp public: explicit AdminDialogInvokationPage(OAddressBookSourcePilot* _pParent); - virtual ~AdminDialogInvokationPage(); + virtual ~AdminDialogInvokationPage() override; virtual void dispose() override; protected: // TabDialog overridables diff --git a/extensions/source/abpilot/fieldmappingpage.hxx b/extensions/source/abpilot/fieldmappingpage.hxx index 146ece80f2f6..32b23133a826 100644 --- a/extensions/source/abpilot/fieldmappingpage.hxx +++ b/extensions/source/abpilot/fieldmappingpage.hxx @@ -35,7 +35,7 @@ namespace abp public: explicit FieldMappingPage(OAddressBookSourcePilot* _pParent); - virtual ~FieldMappingPage(); + virtual ~FieldMappingPage() override; virtual void dispose() override; protected: // OWizardPage overridables diff --git a/extensions/source/abpilot/tableselectionpage.hxx b/extensions/source/abpilot/tableselectionpage.hxx index dac8e5f33c7e..681d9dc90fc2 100644 --- a/extensions/source/abpilot/tableselectionpage.hxx +++ b/extensions/source/abpilot/tableselectionpage.hxx @@ -35,7 +35,7 @@ namespace abp public: explicit TableSelectionPage( OAddressBookSourcePilot* _pParent ); - virtual ~TableSelectionPage(); + virtual ~TableSelectionPage() override; virtual void dispose() override; protected: // OWizardPage overridables diff --git a/extensions/source/abpilot/typeselectionpage.hxx b/extensions/source/abpilot/typeselectionpage.hxx index f5471681b122..8bfa4aa13dfb 100644 --- a/extensions/source/abpilot/typeselectionpage.hxx +++ b/extensions/source/abpilot/typeselectionpage.hxx @@ -59,7 +59,7 @@ namespace abp public: explicit TypeSelectionPage( OAddressBookSourcePilot* _pParent ); - virtual ~TypeSelectionPage(); + virtual ~TypeSelectionPage() override; virtual void dispose() override; // retrieves the currently selected type diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx index 812b30568c44..d0a488dc77b1 100644 --- a/extensions/source/bibliography/bibbeam.cxx +++ b/extensions/source/bibliography/bibbeam.cxx @@ -85,7 +85,7 @@ namespace bib public: BibGridwin(vcl::Window* pParent, WinBits nStyle = WB_3DLOOK ); - virtual ~BibGridwin(); + virtual ~BibGridwin() override; virtual void dispose() override; void createGridWin(const Reference< awt::XControlModel > & xDbForm); diff --git a/extensions/source/bibliography/bibbeam.hxx b/extensions/source/bibliography/bibbeam.hxx index 19d5f0e7b1db..ea03b209c55a 100644 --- a/extensions/source/bibliography/bibbeam.hxx +++ b/extensions/source/bibliography/bibbeam.hxx @@ -66,7 +66,7 @@ namespace bib getDispatchProviderInterception(); BibBeamer(vcl::Window* pParent,BibDataManager* pDatMan ); - virtual ~BibBeamer(); + virtual ~BibBeamer() override; virtual void dispose() override; void SetXController(const css::uno::Reference< css::frame::XController > &); diff --git a/extensions/source/bibliography/bibconfig.hxx b/extensions/source/bibliography/bibconfig.hxx index f4dba759f2e0..2b1ed8ceb880 100644 --- a/extensions/source/bibliography/bibconfig.hxx +++ b/extensions/source/bibliography/bibconfig.hxx @@ -107,7 +107,7 @@ class BibConfig : public utl::ConfigItem public: BibConfig(); - virtual ~BibConfig(); + virtual ~BibConfig() override; virtual void Notify( const css::uno::Sequence<OUString>& aPropertyNames) override; diff --git a/extensions/source/bibliography/bibcont.hxx b/extensions/source/bibliography/bibcont.hxx index a47cafb01b83..6b6435c1c8b9 100644 --- a/extensions/source/bibliography/bibcont.hxx +++ b/extensions/source/bibliography/bibcont.hxx @@ -42,7 +42,7 @@ class BibWindowContainer : public BibWindow //Window public: BibWindowContainer( vcl::Window* pParent, BibShortCutHandler* pChild); - virtual ~BibWindowContainer(); + virtual ~BibWindowContainer() override; virtual void dispose() override; inline vcl::Window* GetChild(); @@ -83,7 +83,7 @@ class BibBookContainer: public BibSplitWindow public: BibBookContainer(vcl::Window* pParent ); - virtual ~BibBookContainer(); + virtual ~BibBookContainer() override; virtual void dispose() override; // !BibShortCutHandler is also always a Window! diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 3d9d4756afc2..6144d9ef0ff1 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -94,7 +94,7 @@ private: public: BibliographyLoader(); - virtual ~BibliographyLoader(); + virtual ~BibliographyLoader() override; // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) override; diff --git a/extensions/source/bibliography/bibshortcuthandler.hxx b/extensions/source/bibliography/bibshortcuthandler.hxx index daef09c081e9..12e28ebff577 100644 --- a/extensions/source/bibliography/bibshortcuthandler.hxx +++ b/extensions/source/bibliography/bibshortcuthandler.hxx @@ -56,7 +56,7 @@ class BibWindow : public vcl::Window, public BibShortCutHandler { public: BibWindow( vcl::Window* pParent,WinBits nStyle = WB_3DLOOK); - virtual ~BibWindow(); + virtual ~BibWindow() override; }; class BibSplitWindow : public SplitWindow, public BibShortCutHandler diff --git a/extensions/source/bibliography/bibview.hxx b/extensions/source/bibliography/bibview.hxx index 8bc191c04765..8e68191a9ec1 100644 --- a/extensions/source/bibliography/bibview.hxx +++ b/extensions/source/bibliography/bibview.hxx @@ -71,7 +71,7 @@ namespace bib public: BibView( vcl::Window* _pParent, BibDataManager* _pDatMan, WinBits nStyle = WB_3DLOOK ); - virtual ~BibView(); + virtual ~BibView() override; virtual void dispose() override; void UpdatePages(); diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 8ce8ba0f6f37..5062274d449a 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -241,7 +241,7 @@ class MappingDialog_Impl : public ModalDialog public: MappingDialog_Impl(vcl::Window* pParent, BibDataManager* pDatMan); - virtual ~MappingDialog_Impl(); + virtual ~MappingDialog_Impl() override; virtual void dispose() override; void SetModified() {bModified = true;} @@ -476,7 +476,7 @@ class DBChangeDialog_Impl : public ModalDialog DECL_LINK_TYPED(DoubleClickHdl, ListBox&, void); public: DBChangeDialog_Impl(vcl::Window* pParent, BibDataManager* pMan ); - virtual ~DBChangeDialog_Impl(); + virtual ~DBChangeDialog_Impl() override; virtual void dispose() override; OUString GetCurrentURL()const; diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx index 3ba10aac8047..c8d1b4c61595 100644 --- a/extensions/source/bibliography/datman.hxx +++ b/extensions/source/bibliography/datman.hxx @@ -56,7 +56,7 @@ private: css::uno::Reference< css::frame::XDispatchProviderInterception > xInterception; protected: - virtual ~BibInterceptorHelper( ); + virtual ~BibInterceptorHelper( ) override; public: BibInterceptorHelper( ::bib::BibBeamer* pBibBeamer, css::uno::Reference< css::frame::XDispatch > const & xDispatch); @@ -124,7 +124,7 @@ protected: public: BibDataManager(); - virtual ~BibDataManager(); + virtual ~BibDataManager() override; virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent& evt) throw( css::uno::RuntimeException, std::exception ) override; diff --git a/extensions/source/bibliography/formcontrolcontainer.hxx b/extensions/source/bibliography/formcontrolcontainer.hxx index f67ee4a09c63..3f35df98268e 100644 --- a/extensions/source/bibliography/formcontrolcontainer.hxx +++ b/extensions/source/bibliography/formcontrolcontainer.hxx @@ -40,7 +40,7 @@ namespace bib protected: FormControlContainer( ); - virtual ~FormControlContainer( ); + virtual ~FormControlContainer( ) override; bool isFormConnected() const { return nullptr != m_pFormAdapter; } void connectForm( const css::uno::Reference< css::form::XLoadable >& _rxForm ); diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 6da8c22c8a1e..b1bceba699fb 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -144,7 +144,7 @@ public: , pController(nullptr) {} - virtual ~BibFrameCtrl_Impl(); + virtual ~BibFrameCtrl_Impl() override; virtual void SAL_CALL frameAction(const FrameActionEvent& aEvent) throw( RuntimeException, std::exception ) override; virtual void SAL_CALL disposing( const lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/bibliography/framectr.hxx b/extensions/source/bibliography/framectr.hxx index a68b4b933dfe..2efbbd0d3eed 100644 --- a/extensions/source/bibliography/framectr.hxx +++ b/extensions/source/bibliography/framectr.hxx @@ -76,7 +76,7 @@ friend class BibFrameCtrl_Impl; public: BibFrameController_Impl( const css::uno::Reference< css::awt::XWindow > & xComponent, BibDataManager* pDatMan); - virtual ~BibFrameController_Impl(); + virtual ~BibFrameController_Impl() override; void ChangeDataSource(const css::uno::Sequence< css::beans::PropertyValue >& aArgs); diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx index 65fd646b0490..37005847bc38 100644 --- a/extensions/source/bibliography/general.hxx +++ b/extensions/source/bibliography/general.hxx @@ -141,7 +141,7 @@ protected: public: BibGeneralPage(vcl::Window* pParent, BibDataManager* pDatMan); - virtual ~BibGeneralPage(); + virtual ~BibGeneralPage() override; virtual void dispose() override; inline const OUString& GetErrorString() const; diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index 136f8382ee64..e8ae3c5cd54d 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -49,7 +49,7 @@ protected: public: BibToolBarListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - virtual ~BibToolBarListener(); + virtual ~BibToolBarListener() override; const OUString& GetCommand() const { return aCommand;} @@ -69,7 +69,7 @@ class BibTBListBoxListener: public BibToolBarListener public: BibTBListBoxListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - virtual ~BibTBListBoxListener(); + virtual ~BibTBListBoxListener() override; virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) throw( css::uno::RuntimeException, std::exception ) override; @@ -81,7 +81,7 @@ class BibTBEditListener: public BibToolBarListener public: BibTBEditListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - virtual ~BibTBEditListener(); + virtual ~BibTBEditListener() override; virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) throw( css::uno::RuntimeException, std::exception ) override; @@ -93,7 +93,7 @@ class BibTBQueryMenuListener: public BibToolBarListener public: BibTBQueryMenuListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - virtual ~BibTBQueryMenuListener(); + virtual ~BibTBQueryMenuListener() override; virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) throw( css::uno::RuntimeException, std::exception ) override; @@ -156,7 +156,7 @@ class BibToolBar: public ToolBox public: BibToolBar(vcl::Window* pParent, Link<void*,void> aLink); - virtual ~BibToolBar(); + virtual ~BibToolBar() override; virtual void dispose() override; sal_uInt16 GetChangeSourceId() const { return nTBC_BT_CHANGESOURCE; } diff --git a/extensions/source/config/ldap/ldapuserprofilebe.hxx b/extensions/source/config/ldap/ldapuserprofilebe.hxx index 0a3d731abdb4..2a50c44bfab7 100644 --- a/extensions/source/config/ldap/ldapuserprofilebe.hxx +++ b/extensions/source/config/ldap/ldapuserprofilebe.hxx @@ -55,7 +55,7 @@ class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase public: explicit LdapUserProfileBe(const uno::Reference<uno::XComponentContext>& xContext); - virtual ~LdapUserProfileBe() ; + virtual ~LdapUserProfileBe() override ; // XServiceInfo virtual OUString SAL_CALL diff --git a/extensions/source/dbpilots/commonpagesdbp.hxx b/extensions/source/dbpilots/commonpagesdbp.hxx index ffe47dad7baf..71c2a5f5e5bc 100644 --- a/extensions/source/dbpilots/commonpagesdbp.hxx +++ b/extensions/source/dbpilots/commonpagesdbp.hxx @@ -42,7 +42,7 @@ namespace dbp public: explicit OTableSelectionPage(OControlWizard* _pParent); - virtual ~OTableSelectionPage(); + virtual ~OTableSelectionPage() override; virtual void dispose() override; protected: @@ -75,7 +75,7 @@ namespace dbp public: OMaybeListSelectionPage( OControlWizard* _pParent, const OString& _rID, const OUString& _rUIXMLDescription ); - virtual ~OMaybeListSelectionPage(); + virtual ~OMaybeListSelectionPage() override; virtual void dispose() override; protected: @@ -106,7 +106,7 @@ namespace dbp public: explicit ODBFieldPage( OControlWizard* _pParent ); - virtual ~ODBFieldPage(); + virtual ~ODBFieldPage() override; virtual void dispose() override; protected: diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx index 59b66560ec39..7c62c45214f9 100644 --- a/extensions/source/dbpilots/controlwizard.hxx +++ b/extensions/source/dbpilots/controlwizard.hxx @@ -66,7 +66,7 @@ namespace dbp getFormConnection() const; public: OControlWizardPage( OControlWizard* _pParent, const OString& rID, const OUString& rUIXMLDescription ); - virtual ~OControlWizardPage(); + virtual ~OControlWizardPage() override; virtual void dispose() override; protected: @@ -101,7 +101,7 @@ namespace dbp const css::uno::Reference< css::beans::XPropertySet >& _rxObjectModel, const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~OControlWizard(); + virtual ~OControlWizard() override; // make the some base class methods public bool travelNext() { return OControlWizard_Base::travelNext(); } diff --git a/extensions/source/dbpilots/gridwizard.hxx b/extensions/source/dbpilots/gridwizard.hxx index 4e5a52dc507c..b03a754e267a 100644 --- a/extensions/source/dbpilots/gridwizard.hxx +++ b/extensions/source/dbpilots/gridwizard.hxx @@ -81,7 +81,7 @@ namespace dbp public: explicit OGridFieldsSelection( OGridWizard* _pParent ); - virtual ~OGridFieldsSelection(); + virtual ~OGridFieldsSelection() override; virtual void dispose() override; protected: diff --git a/extensions/source/dbpilots/groupboxwiz.hxx b/extensions/source/dbpilots/groupboxwiz.hxx index 2c3262dd216e..e028357515f0 100644 --- a/extensions/source/dbpilots/groupboxwiz.hxx +++ b/extensions/source/dbpilots/groupboxwiz.hxx @@ -87,7 +87,7 @@ namespace dbp public: explicit ORadioSelectionPage( OControlWizard* _pParent ); - virtual ~ORadioSelectionPage(); + virtual ~ORadioSelectionPage() override; virtual void dispose() override; protected: @@ -115,7 +115,7 @@ namespace dbp public: explicit ODefaultFieldSelectionPage( OControlWizard* _pParent ); - virtual ~ODefaultFieldSelectionPage(); + virtual ~ODefaultFieldSelectionPage() override; virtual void dispose() override; protected: @@ -138,7 +138,7 @@ namespace dbp public: explicit OOptionValuesPage( OControlWizard* _pParent ); - virtual ~OOptionValuesPage(); + virtual ~OOptionValuesPage() override; virtual void dispose() override; protected: @@ -173,7 +173,7 @@ namespace dbp public: explicit OFinalizeGBWPage( OControlWizard* _pParent ); - virtual ~OFinalizeGBWPage(); + virtual ~OFinalizeGBWPage() override; virtual void dispose() override; protected: diff --git a/extensions/source/dbpilots/listcombowizard.hxx b/extensions/source/dbpilots/listcombowizard.hxx index cd7c8a82b941..a1d0e4237111 100644 --- a/extensions/source/dbpilots/listcombowizard.hxx +++ b/extensions/source/dbpilots/listcombowizard.hxx @@ -100,7 +100,7 @@ namespace dbp public: explicit OContentTableSelection( OListComboWizard* _pParent ); - virtual ~OContentTableSelection(); + virtual ~OContentTableSelection() override; virtual void dispose() override; protected: @@ -127,7 +127,7 @@ namespace dbp public: explicit OContentFieldSelection( OListComboWizard* _pParent ); - virtual ~OContentFieldSelection(); + virtual ~OContentFieldSelection() override; virtual void dispose() override; protected: @@ -152,7 +152,7 @@ namespace dbp public: explicit OLinkFieldsPage( OListComboWizard* _pParent ); - virtual ~OLinkFieldsPage(); + virtual ~OLinkFieldsPage() override; virtual void dispose() override; protected: diff --git a/extensions/source/logging/consolehandler.cxx b/extensions/source/logging/consolehandler.cxx index 964b6da10674..ea6af6884ddd 100644 --- a/extensions/source/logging/consolehandler.cxx +++ b/extensions/source/logging/consolehandler.cxx @@ -61,7 +61,7 @@ namespace logging public: ConsoleHandler(const Reference<XComponentContext> &context, const css::uno::Sequence<css::uno::Any> &arguments); - virtual ~ConsoleHandler(); + virtual ~ConsoleHandler() override; private: // XConsoleHandler diff --git a/extensions/source/logging/csvformatter.cxx b/extensions/source/logging/csvformatter.cxx index 3b91daefc1d7..3da67b366b77 100644 --- a/extensions/source/logging/csvformatter.cxx +++ b/extensions/source/logging/csvformatter.cxx @@ -46,7 +46,7 @@ namespace logging virtual OUString SAL_CALL formatMultiColumn(const Sequence< OUString>& column_data) throw (RuntimeException, std::exception) override; CsvFormatter(); - virtual ~CsvFormatter(); + virtual ~CsvFormatter() override; private: // XCsvLogFormatter diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx index ae155fbc544f..c1bd711346cb 100644 --- a/extensions/source/logging/filehandler.cxx +++ b/extensions/source/logging/filehandler.cxx @@ -83,7 +83,7 @@ namespace logging public: FileHandler(const css::uno::Reference<XComponentContext> &context, const css::uno::Sequence<css::uno::Any> &arguments); - virtual ~FileHandler(); + virtual ~FileHandler() override; private: // XLogHandler diff --git a/extensions/source/logging/logger.cxx b/extensions/source/logging/logger.cxx index 6e8d757cfeb7..ff3d731879e7 100644 --- a/extensions/source/logging/logger.cxx +++ b/extensions/source/logging/logger.cxx @@ -76,7 +76,7 @@ namespace logging virtual void SAL_CALL logp( ::sal_Int32 Level, const OUString& SourceClass, const OUString& SourceMethod, const OUString& Message ) throw (RuntimeException, std::exception) override; protected: - virtual ~EventLogger(); + virtual ~EventLogger() override; private: /** logs the given log record diff --git a/extensions/source/logging/plaintextformatter.cxx b/extensions/source/logging/plaintextformatter.cxx index 838d7686f032..c88a1f7bd3fa 100644 --- a/extensions/source/logging/plaintextformatter.cxx +++ b/extensions/source/logging/plaintextformatter.cxx @@ -43,7 +43,7 @@ namespace logging { public: PlainTextFormatter(); - virtual ~PlainTextFormatter(); + virtual ~PlainTextFormatter() override; private: // XLogFormatter diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index bbe2b92f62d6..86bd00caec55 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -160,7 +160,7 @@ namespace pcr virtual void SAL_CALL release() throw() override; protected: - virtual ~PropertyControlContext_Impl(); + virtual ~PropertyControlContext_Impl() override; // XPropertyControlObserver virtual void SAL_CALL focusGained( const Reference< XPropertyControl >& Control ) throw (RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/browserlistbox.hxx b/extensions/source/propctrlr/browserlistbox.hxx index 60e42da4ca3c..325afbe8fe76 100644 --- a/extensions/source/propctrlr/browserlistbox.hxx +++ b/extensions/source/propctrlr/browserlistbox.hxx @@ -104,7 +104,7 @@ namespace pcr public: OBrowserListBox( vcl::Window* pParent ); - virtual ~OBrowserListBox(); + virtual ~OBrowserListBox() override; virtual void dispose() override; void UpdateAll(); diff --git a/extensions/source/propctrlr/browserpage.hxx b/extensions/source/propctrlr/browserpage.hxx index 86bbfb9cefff..55288a0a08a2 100644 --- a/extensions/source/propctrlr/browserpage.hxx +++ b/extensions/source/propctrlr/browserpage.hxx @@ -38,7 +38,7 @@ namespace pcr public: explicit OBrowserPage(vcl::Window* pParent); - virtual ~OBrowserPage(); + virtual ~OBrowserPage() override; virtual void dispose() override; sal_Int32 getMinimumWidth(); diff --git a/extensions/source/propctrlr/browserview.hxx b/extensions/source/propctrlr/browserview.hxx index 12885d427ea0..2589a833a6bb 100644 --- a/extensions/source/propctrlr/browserview.hxx +++ b/extensions/source/propctrlr/browserview.hxx @@ -46,7 +46,7 @@ namespace pcr public: explicit OPropertyBrowserView( vcl::Window* pParent); - virtual ~OPropertyBrowserView(); + virtual ~OPropertyBrowserView() override; virtual void dispose() override; OPropertyEditor& getPropertyBox() { return *m_pPropBox; } diff --git a/extensions/source/propctrlr/buttonnavigationhandler.hxx b/extensions/source/propctrlr/buttonnavigationhandler.hxx index 7f930af1f3dc..48190361ba6b 100644 --- a/extensions/source/propctrlr/buttonnavigationhandler.hxx +++ b/extensions/source/propctrlr/buttonnavigationhandler.hxx @@ -44,7 +44,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~ButtonNavigationHandler(); + virtual ~ButtonNavigationHandler() override; static bool isNavigationCapableButton( const css::uno::Reference< css::beans::XPropertySet >& _rxComponent ); diff --git a/extensions/source/propctrlr/cellbindinghandler.hxx b/extensions/source/propctrlr/cellbindinghandler.hxx index 21f50d7dcc7a..b8422b6e20ba 100644 --- a/extensions/source/propctrlr/cellbindinghandler.hxx +++ b/extensions/source/propctrlr/cellbindinghandler.hxx @@ -52,7 +52,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~CellBindingPropertyHandler(); + virtual ~CellBindingPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx index 8295cdd3bd76..2bf17ca2fa02 100644 --- a/extensions/source/propctrlr/composeduiupdate.cxx +++ b/extensions/source/propctrlr/composeduiupdate.cxx @@ -145,7 +145,7 @@ namespace pcr virtual void SAL_CALL setHelpSectionText( const OUString& HelpText ) throw (NoSupportException, RuntimeException, std::exception) override; protected: - virtual ~CachedInspectorUI(); + virtual ~CachedInspectorUI() override; /// determines whether the instance is already disposed inline bool isDisposed() const { return m_bDisposed; } diff --git a/extensions/source/propctrlr/controlfontdialog.hxx b/extensions/source/propctrlr/controlfontdialog.hxx index 9c8c59a18aff..de7917327aab 100644 --- a/extensions/source/propctrlr/controlfontdialog.hxx +++ b/extensions/source/propctrlr/controlfontdialog.hxx @@ -51,7 +51,7 @@ namespace pcr public: explicit OControlFontDialog(const css::uno::Reference< css::uno::XComponentContext >& _rxContext); - virtual ~OControlFontDialog(); + virtual ~OControlFontDialog() override; // XTypeProvider virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/defaultforminspection.hxx b/extensions/source/propctrlr/defaultforminspection.hxx index ba4f2856b8ce..cf0fa74a76d3 100644 --- a/extensions/source/propctrlr/defaultforminspection.hxx +++ b/extensions/source/propctrlr/defaultforminspection.hxx @@ -40,7 +40,7 @@ namespace pcr ::std::unique_ptr< OPropertyInfoService > m_pInfoService; protected: - virtual ~DefaultFormComponentInspectorModel(); + virtual ~DefaultFormComponentInspectorModel() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/defaulthelpprovider.hxx b/extensions/source/propctrlr/defaulthelpprovider.hxx index 0bac31f580c3..92dbd28f6b30 100644 --- a/extensions/source/propctrlr/defaulthelpprovider.hxx +++ b/extensions/source/propctrlr/defaulthelpprovider.hxx @@ -56,7 +56,7 @@ namespace pcr Create(const css::uno::Reference< css::uno::XComponentContext >&); protected: - virtual ~DefaultHelpProvider(); + virtual ~DefaultHelpProvider() override; // XPropertyControlObserver virtual void SAL_CALL focusGained( const css::uno::Reference< css::inspection::XPropertyControl >& Control ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/editpropertyhandler.hxx b/extensions/source/propctrlr/editpropertyhandler.hxx index a7fe7a551f2e..27f8c034c1e7 100644 --- a/extensions/source/propctrlr/editpropertyhandler.hxx +++ b/extensions/source/propctrlr/editpropertyhandler.hxx @@ -44,7 +44,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~EditPropertyHandler(); + virtual ~EditPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/eformspropertyhandler.hxx b/extensions/source/propctrlr/eformspropertyhandler.hxx index 17b8fd267a4e..6d34ceaf3c5b 100644 --- a/extensions/source/propctrlr/eformspropertyhandler.hxx +++ b/extensions/source/propctrlr/eformspropertyhandler.hxx @@ -55,7 +55,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~EFormsPropertyHandler(); + virtual ~EFormsPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/enumrepresentation.hxx b/extensions/source/propctrlr/enumrepresentation.hxx index f88ae0365e67..309af3c6f745 100644 --- a/extensions/source/propctrlr/enumrepresentation.hxx +++ b/extensions/source/propctrlr/enumrepresentation.hxx @@ -55,7 +55,7 @@ namespace pcr const css::uno::Any& _rEnumValue ) const = 0; - virtual ~IPropertyEnumRepresentation() { }; + virtual ~IPropertyEnumRepresentation() override { }; }; diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index d51301b47b05..a1b6240f08d4 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -337,7 +337,7 @@ namespace pcr virtual sal_Bool SAL_CALL hasElements( ) throw (RuntimeException, std::exception) override; protected: - virtual ~EventHolder( ); + virtual ~EventHolder( ) override; private: ScriptEventDescriptor impl_getDescriptor_throw( const OUString& _rEventName ) const; diff --git a/extensions/source/propctrlr/eventhandler.hxx b/extensions/source/propctrlr/eventhandler.hxx index afa9e7f0a775..634b2f92d8cf 100644 --- a/extensions/source/propctrlr/eventhandler.hxx +++ b/extensions/source/propctrlr/eventhandler.hxx @@ -105,7 +105,7 @@ namespace pcr const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~EventHandler(); + virtual ~EventHandler() override; protected: // XPropertyHandler overridables diff --git a/extensions/source/propctrlr/fontdialog.hxx b/extensions/source/propctrlr/fontdialog.hxx index e04134949242..ca0b4380dce5 100644 --- a/extensions/source/propctrlr/fontdialog.hxx +++ b/extensions/source/propctrlr/fontdialog.hxx @@ -35,7 +35,7 @@ namespace pcr { public: ControlCharacterDialog(vcl::Window* _pParent, const SfxItemSet& _rCoreSet); - virtual ~ControlCharacterDialog(); + virtual ~ControlCharacterDialog() override; /// creates an item set to be used with this dialog static SfxItemSet* createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rpPool, SfxPoolItem**& _rppDefaults); diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx index b3e6c76504a8..71c83c57dcd0 100644 --- a/extensions/source/propctrlr/formcomponenthandler.hxx +++ b/extensions/source/propctrlr/formcomponenthandler.hxx @@ -107,7 +107,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~FormComponentPropertyHandler(); + virtual ~FormComponentPropertyHandler() override; protected: virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const override; diff --git a/extensions/source/propctrlr/formcontroller.hxx b/extensions/source/propctrlr/formcontroller.hxx index b08276bef45a..53be685e7563 100644 --- a/extensions/source/propctrlr/formcontroller.hxx +++ b/extensions/source/propctrlr/formcontroller.hxx @@ -74,7 +74,7 @@ namespace pcr Create(const css::uno::Reference< css::uno::XComponentContext >&); protected: - virtual ~FormController(); + virtual ~FormController() override; DECLARE_XINTERFACE() DECLARE_XTYPEPROVIDER() diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx index fda8276fbdb0..8f35c95d0e11 100644 --- a/extensions/source/propctrlr/formgeometryhandler.cxx +++ b/extensions/source/propctrlr/formgeometryhandler.cxx @@ -173,7 +173,7 @@ namespace pcr virtual void SAL_CALL disposing( const EventObject& _event ) throw (RuntimeException, std::exception) override; protected: - virtual ~ShapeGeometryChangeNotifier() + virtual ~ShapeGeometryChangeNotifier() override { if ( !getBroadcastHelper().bDisposed ) { @@ -213,7 +213,7 @@ namespace pcr static Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (RuntimeException); protected: - virtual ~FormGeometryHandler(); + virtual ~FormGeometryHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/formlinkdialog.cxx b/extensions/source/propctrlr/formlinkdialog.cxx index 326d9a6b75ce..22e9dc321382 100644 --- a/extensions/source/propctrlr/formlinkdialog.cxx +++ b/extensions/source/propctrlr/formlinkdialog.cxx @@ -73,7 +73,7 @@ namespace pcr public: explicit FieldLinkRow( vcl::Window* _pParent ); - virtual ~FieldLinkRow(); + virtual ~FieldLinkRow() override; virtual void dispose() override; inline void SetLinkChangeHandler( const Link<FieldLinkRow&,void>& _rHdl ) { m_aLinkChangeHandler = _rHdl; } diff --git a/extensions/source/propctrlr/formlinkdialog.hxx b/extensions/source/propctrlr/formlinkdialog.hxx index 896c94180d24..215f02e7c9a3 100644 --- a/extensions/source/propctrlr/formlinkdialog.hxx +++ b/extensions/source/propctrlr/formlinkdialog.hxx @@ -77,7 +77,7 @@ namespace pcr const OUString& _sDetailLabel = OUString(), const OUString& _sMasterLabel = OUString() ); - virtual ~FormLinkDialog( ); + virtual ~FormLinkDialog( ) override; virtual void dispose() override; // Dialog overridables diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx index 4e3f3b18ba6b..7208a00676c1 100644 --- a/extensions/source/propctrlr/formmetadata.hxx +++ b/extensions/source/propctrlr/formmetadata.hxx @@ -85,7 +85,7 @@ namespace pcr DefaultEnumRepresentation( const IPropertyInfoService& _rInfo, const css::uno::Type& _rType, sal_Int32 _nPropertyId ); protected: - virtual ~DefaultEnumRepresentation(); + virtual ~DefaultEnumRepresentation() override; protected: // IPropertyEnumRepresentation implementqation diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx index 4cef8339ae9d..175613312aa5 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.cxx +++ b/extensions/source/propctrlr/genericpropertyhandler.cxx @@ -184,7 +184,7 @@ namespace pcr UrlClickHandler( const Reference<XComponentContext>& _rContext, const Reference< XHyperlinkControl >& _rxControl ); protected: - virtual ~UrlClickHandler(); + virtual ~UrlClickHandler() override; // XActionListener virtual void SAL_CALL actionPerformed( const ActionEvent& rEvent ) throw (RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/genericpropertyhandler.hxx b/extensions/source/propctrlr/genericpropertyhandler.hxx index 384297a7db0e..7027a272eb9f 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.hxx +++ b/extensions/source/propctrlr/genericpropertyhandler.hxx @@ -90,7 +90,7 @@ namespace pcr const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~GenericPropertyHandler(); + virtual ~GenericPropertyHandler() override; protected: // XPropertyHandler overridables diff --git a/extensions/source/propctrlr/inspectorhelpwindow.hxx b/extensions/source/propctrlr/inspectorhelpwindow.hxx index 11ba385a040e..4cae0bace1bd 100644 --- a/extensions/source/propctrlr/inspectorhelpwindow.hxx +++ b/extensions/source/propctrlr/inspectorhelpwindow.hxx @@ -40,7 +40,7 @@ namespace pcr public: explicit InspectorHelpWindow( vcl::Window* _pParent ); - virtual ~InspectorHelpWindow(); + virtual ~InspectorHelpWindow() override; virtual void dispose() override; virtual void SetText( const OUString& rStr ) override; diff --git a/extensions/source/propctrlr/inspectormodelbase.hxx b/extensions/source/propctrlr/inspectormodelbase.hxx index eae50b565909..747fd7aabd0b 100644 --- a/extensions/source/propctrlr/inspectormodelbase.hxx +++ b/extensions/source/propctrlr/inspectormodelbase.hxx @@ -57,7 +57,7 @@ namespace pcr ::std::unique_ptr< InspectorModelProperties > m_pProperties; protected: - virtual ~ImplInspectorModel(); + virtual ~ImplInspectorModel() override; public: ImplInspectorModel(); diff --git a/extensions/source/propctrlr/listselectiondlg.hxx b/extensions/source/propctrlr/listselectiondlg.hxx index 6404aeb82a24..1d2d9b08b0cb 100644 --- a/extensions/source/propctrlr/listselectiondlg.hxx +++ b/extensions/source/propctrlr/listselectiondlg.hxx @@ -44,7 +44,7 @@ namespace pcr const OUString& _rPropertyName, const OUString& _rPropertyUIName ); - virtual ~ListSelectionDialog(); + virtual ~ListSelectionDialog() override; virtual void dispose() override; // Dialog overridables diff --git a/extensions/source/propctrlr/newdatatype.hxx b/extensions/source/propctrlr/newdatatype.hxx index 24358f907fd0..94fd4e8b396b 100644 --- a/extensions/source/propctrlr/newdatatype.hxx +++ b/extensions/source/propctrlr/newdatatype.hxx @@ -43,7 +43,7 @@ namespace pcr public: NewDataTypeDialog(vcl::Window* _pParent, const OUString& _rNameBase, const ::std::vector< OUString >& _rProhibitedNames ); - virtual ~NewDataTypeDialog(); + virtual ~NewDataTypeDialog() override; virtual void dispose() override; OUString GetName() const { return m_pName->GetText(); } diff --git a/extensions/source/propctrlr/pcrunodialogs.hxx b/extensions/source/propctrlr/pcrunodialogs.hxx index 65db4dd16f37..6e99e89ebc51 100644 --- a/extensions/source/propctrlr/pcrunodialogs.hxx +++ b/extensions/source/propctrlr/pcrunodialogs.hxx @@ -50,7 +50,7 @@ namespace pcr public: explicit OTabOrderDialog( const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~OTabOrderDialog(); + virtual ~OTabOrderDialog() override; // XTypeProvider virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/extensions/source/propctrlr/propcontroller.hxx b/extensions/source/propctrlr/propcontroller.hxx index b7b02ac3e874..e7e289a59941 100644 --- a/extensions/source/propctrlr/propcontroller.hxx +++ b/extensions/source/propctrlr/propcontroller.hxx @@ -186,7 +186,7 @@ namespace pcr const css::uno::Reference< css::uno::XComponentContext >& _rxContext); protected: - virtual ~OPropertyBrowserController(); + virtual ~OPropertyBrowserController() override; public: // XServiceInfo - static versions diff --git a/extensions/source/propctrlr/propertycontrolextender.hxx b/extensions/source/propctrlr/propertycontrolextender.hxx index aa615184f77c..e0103d8bcbb2 100644 --- a/extensions/source/propctrlr/propertycontrolextender.hxx +++ b/extensions/source/propctrlr/propertycontrolextender.hxx @@ -51,7 +51,7 @@ namespace pcr virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~PropertyControlExtender(); + virtual ~PropertyControlExtender() override; private: ::std::unique_ptr< PropertyControlExtender_Data > m_pData; diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx index 9cc621119262..e5cba4ecb2f8 100644 --- a/extensions/source/propctrlr/propertyeditor.hxx +++ b/extensions/source/propctrlr/propertyeditor.hxx @@ -71,7 +71,7 @@ namespace pcr public: OPropertyEditor (vcl::Window* pParent); - virtual ~OPropertyEditor(); + virtual ~OPropertyEditor() override; virtual void dispose() override; void EnableUpdate(); diff --git a/extensions/source/propctrlr/propertyhandler.hxx b/extensions/source/propctrlr/propertyhandler.hxx index 93c47830a81e..a1b6a429db1d 100644 --- a/extensions/source/propctrlr/propertyhandler.hxx +++ b/extensions/source/propctrlr/propertyhandler.hxx @@ -100,7 +100,7 @@ namespace pcr explicit PropertyHandler( const css::uno::Reference< css::uno::XComponentContext >& _rxContext ); - virtual ~PropertyHandler(); + virtual ~PropertyHandler() override; // default implementations for XPropertyHandler virtual void SAL_CALL inspect( const css::uno::Reference< css::uno::XInterface >& _rxIntrospectee ) throw (css::uno::RuntimeException, css::lang::NullPointerException, std::exception) override; diff --git a/extensions/source/propctrlr/selectlabeldialog.hxx b/extensions/source/propctrlr/selectlabeldialog.hxx index a02c64bf5bee..3cdfee4927f8 100644 --- a/extensions/source/propctrlr/selectlabeldialog.hxx +++ b/extensions/source/propctrlr/selectlabeldialog.hxx @@ -56,7 +56,7 @@ namespace pcr public: OSelectLabelDialog(vcl::Window* pParent, css::uno::Reference< css::beans::XPropertySet > const & _xControlModel); - virtual ~OSelectLabelDialog(); + virtual ~OSelectLabelDialog() override; virtual void dispose() override; css::uno::Reference< css::beans::XPropertySet > GetSelected() const { return m_pNoAssignment->IsChecked() ? css::uno::Reference< css::beans::XPropertySet > () : m_xSelectedControl; } diff --git a/extensions/source/propctrlr/sqlcommanddesign.hxx b/extensions/source/propctrlr/sqlcommanddesign.hxx index 88cb0fa8dfd4..d712312c52bd 100644 --- a/extensions/source/propctrlr/sqlcommanddesign.hxx +++ b/extensions/source/propctrlr/sqlcommanddesign.hxx @@ -116,7 +116,7 @@ namespace pcr virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~SQLCommandDesigner(); + virtual ~SQLCommandDesigner() override; /** opens a new frame for interactively designing an SQL command @precond @@ -193,7 +193,7 @@ namespace pcr /// sets a new EscapeProcessing property value virtual void setEscapeProcessing( const bool _bEscapeProcessing ) const = 0; - virtual ~ISQLCommandAdapter(); + virtual ~ISQLCommandAdapter() override; }; diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 78b5ea6f8511..ce0f6ecdc850 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -961,7 +961,7 @@ namespace pcr public: explicit OMultilineFloatingEdit(vcl::Window* _pParen); - virtual ~OMultilineFloatingEdit(); + virtual ~OMultilineFloatingEdit() override; virtual void dispose() override; MultiLineEdit& getEdit() { return *m_aImplEdit.get(); } diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx index a339c7112a72..5da40afbb358 100644 --- a/extensions/source/propctrlr/standardcontrol.hxx +++ b/extensions/source/propctrlr/standardcontrol.hxx @@ -364,7 +364,7 @@ namespace pcr public: DropDownEditControl( vcl::Window* _pParent, WinBits _nStyle ); - virtual ~DropDownEditControl(); + virtual ~DropDownEditControl() override; virtual void dispose() override; void setControlHelper( CommonBehaviourControlHelper& _rControlHelper ); diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index c570ef989549..8f3407597676 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -86,7 +86,7 @@ public: virtual void SAL_CALL initialize(const uno::Sequence< uno::Any > & aArguments) throw (uno::RuntimeException, uno::Exception, std::exception) override; private: - virtual ~StringRepresentation() {} + virtual ~StringRepresentation() override {} /** converts a generic value into a string representation diff --git a/extensions/source/propctrlr/submissionhandler.hxx b/extensions/source/propctrlr/submissionhandler.hxx index 7a64cc35ba07..45d29bb7439a 100644 --- a/extensions/source/propctrlr/submissionhandler.hxx +++ b/extensions/source/propctrlr/submissionhandler.hxx @@ -80,7 +80,7 @@ namespace pcr static OUString SAL_CALL getImplementationName_static( ) throw (css::uno::RuntimeException); static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); - virtual ~SubmissionPropertyHandler(); + virtual ~SubmissionPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/taborder.hxx b/extensions/source/propctrlr/taborder.hxx index c254ade89c9c..cd6963a609c2 100644 --- a/extensions/source/propctrlr/taborder.hxx +++ b/extensions/source/propctrlr/taborder.hxx @@ -46,7 +46,7 @@ namespace pcr { public: TabOrderListBox( vcl::Window* pParent, WinBits nBits ); - virtual ~TabOrderListBox(); + virtual ~TabOrderListBox() override; void MoveSelection( long nRelPos ); @@ -99,7 +99,7 @@ namespace pcr const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); - virtual ~TabOrderDialog(); + virtual ~TabOrderDialog() override; virtual void dispose() override; void SetModified(); diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx index 2188f540f000..973e99e926c7 100644 --- a/extensions/source/propctrlr/usercontrol.hxx +++ b/extensions/source/propctrlr/usercontrol.hxx @@ -118,7 +118,7 @@ namespace pcr void SetThousandsSep(bool bEnable) { getTypedControlWindow()->SetThousandsSep(bEnable); } protected: - virtual ~OFormattedNumericControl(); + virtual ~OFormattedNumericControl() override; }; @@ -136,7 +136,7 @@ namespace pcr virtual css::uno::Type SAL_CALL getValueType() throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~OFileUrlControl(); + virtual ~OFileUrlControl() override; }; @@ -146,7 +146,7 @@ namespace pcr { public: OTimeDurationControl( vcl::Window* pParent ); - virtual ~OTimeDurationControl(); + virtual ~OTimeDurationControl() override; // XPropertyControl ::sal_Int16 SAL_CALL getControlType() throw (css::uno::RuntimeException) override; diff --git a/extensions/source/propctrlr/xsddatatypes.hxx b/extensions/source/propctrlr/xsddatatypes.hxx index 0732abb1f5ae..76bd10f3a3f9 100644 --- a/extensions/source/propctrlr/xsddatatypes.hxx +++ b/extensions/source/propctrlr/xsddatatypes.hxx @@ -76,7 +76,7 @@ namespace pcr void copyFacetsFrom( const ::rtl::Reference< XSDDataType >& _pSourceType ); protected: - virtual ~XSDDataType(); + virtual ~XSDDataType() override; private: XSDDataType( const XSDDataType& ) = delete; diff --git a/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx b/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx index e4f2464e65d8..cd7ef544e767 100644 --- a/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx +++ b/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx @@ -49,7 +49,7 @@ namespace pcr static css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (css::uno::RuntimeException); protected: - virtual ~XSDValidationPropertyHandler(); + virtual ~XSDValidationPropertyHandler() override; protected: // XPropertyHandler overriables diff --git a/extensions/source/resource/oooresourceloader.cxx b/extensions/source/resource/oooresourceloader.cxx index df3c6c22edd3..e8880ffeaa3f 100644 --- a/extensions/source/resource/oooresourceloader.cxx +++ b/extensions/source/resource/oooresourceloader.cxx @@ -95,7 +95,7 @@ namespace extensions { namespace resource ); protected: - virtual ~OpenOfficeResourceBundle(); + virtual ~OpenOfficeResourceBundle() override; public: // XResourceBundle diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 41917afe421b..c0687e369104 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -120,7 +120,7 @@ class GridWindow : public vcl::Window public: explicit GridWindow(vcl::Window* pParent); void Init(double* pXValues, double* pYValues, int nValues, bool bCutValues, const BitmapEx &rMarkerBitmap); - virtual ~GridWindow(); + virtual ~GridWindow() override; virtual void dispose() override; void setBoundings( double fMinX, double fMinY, double fMaxX, double fMaxY ); diff --git a/extensions/source/scanner/grid.hxx b/extensions/source/scanner/grid.hxx index 1167a84c27db..146e06b98344 100644 --- a/extensions/source/scanner/grid.hxx +++ b/extensions/source/scanner/grid.hxx @@ -49,7 +49,7 @@ class GridDialog : public ModalDialog public: GridDialog(double* pXValues, double* pYValues, int nValues, vcl::Window* pParent); - virtual ~GridDialog(); + virtual ~GridDialog() override; virtual void dispose() override; void setBoundings(double fMinX, double fMinY, double fMaxX, double fMaxY); double* getNewYValues(); diff --git a/extensions/source/scanner/sane.hxx b/extensions/source/scanner/sane.hxx index 1257cf32824c..327410e7d9c7 100644 --- a/extensions/source/scanner/sane.hxx +++ b/extensions/source/scanner/sane.hxx @@ -34,7 +34,7 @@ class BitmapTransporter: public cppu::WeakImplHelper<css::awt::XBitmap> public: BitmapTransporter(); - virtual ~BitmapTransporter(); + virtual ~BitmapTransporter() override; virtual css::awt::Size SAL_CALL getSize() throw(std::exception) override; virtual Sequence< sal_Int8 > SAL_CALL getDIB() throw(std::exception) override; diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index e2b8c68586ff..1f9bd5d27c65 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -92,7 +92,7 @@ public: { } - virtual ~ScanPreview() + virtual ~ScanPreview() override { disposeOnce(); } diff --git a/extensions/source/scanner/sanedlg.hxx b/extensions/source/scanner/sanedlg.hxx index bbd46e990243..7044b5f13e21 100644 --- a/extensions/source/scanner/sanedlg.hxx +++ b/extensions/source/scanner/sanedlg.hxx @@ -104,7 +104,7 @@ private: bool SetAdjustedNumericalValue( const char* pOption, double fValue, int nElement = 0 ); public: SaneDlg( vcl::Window*, Sane&, bool ); - virtual ~SaneDlg(); + virtual ~SaneDlg() override; virtual void dispose() override; virtual short Execute() override; diff --git a/extensions/source/scanner/scanner.hxx b/extensions/source/scanner/scanner.hxx index 8b777b6c9f94..c854f3fab958 100644 --- a/extensions/source/scanner/scanner.hxx +++ b/extensions/source/scanner/scanner.hxx @@ -52,7 +52,7 @@ protected: public: ScannerManager(); - virtual ~ScannerManager(); + virtual ~ScannerManager() override; // XScannerManager virtual Sequence< ScannerContext > SAL_CALL getAvailableScanners() throw(std::exception) override; diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx index a57f52961673..bca0c194a35f 100644 --- a/extensions/source/scanner/scanunx.cxx +++ b/extensions/source/scanner/scanunx.cxx @@ -135,7 +135,7 @@ public: ScannerThread( const std::shared_ptr<SaneHolder>& pHolder, const Reference< css::lang::XEventListener >& listener, ScannerManager* pManager ); - virtual ~ScannerThread(); + virtual ~ScannerThread() override; }; diff --git a/extensions/source/update/check/actionlistener.hxx b/extensions/source/update/check/actionlistener.hxx index 25deba207292..33304b711118 100644 --- a/extensions/source/update/check/actionlistener.hxx +++ b/extensions/source/update/check/actionlistener.hxx @@ -35,7 +35,7 @@ class IActionListener : public virtual salhelper::SimpleReferenceObject virtual void closeAfterFailure() = 0; protected: - virtual ~IActionListener() {} + virtual ~IActionListener() override {} }; #endif // INCLUDED_EXTENSIONS_SOURCE_UPDATE_CHECK_ACTIONLISTENER_HXX diff --git a/extensions/source/update/check/download.hxx b/extensions/source/update/check/download.hxx index 4096308c0a74..9ecce2e55119 100644 --- a/extensions/source/update/check/download.hxx +++ b/extensions/source/update/check/download.hxx @@ -48,7 +48,7 @@ struct DownloadInteractionHandler : public virtual salhelper::SimpleReferenceObj virtual void downloadFinished(const OUString& rFileName) = 0; protected: - virtual ~DownloadInteractionHandler() {} + virtual ~DownloadInteractionHandler() override {} }; diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 25a84c978ae2..7bee406f8b2d 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -234,7 +234,7 @@ public: virtual void cancel() override; protected: - virtual ~UpdateCheckThread(); + virtual ~UpdateCheckThread() override; virtual void SAL_CALL run() override; virtual void SAL_CALL onTerminated() override; @@ -319,7 +319,7 @@ public: virtual void SAL_CALL onTerminated() override; protected: - virtual ~DownloadThread(); + virtual ~DownloadThread() override; private: osl::Condition& m_aCondition; @@ -338,7 +338,7 @@ public: virtual void SAL_CALL onTerminated() override; protected: - virtual ~ShutdownThread(); + virtual ~ShutdownThread() override; private: osl::Condition m_aCondition; diff --git a/extensions/source/update/check/updatecheck.hxx b/extensions/source/update/check/updatecheck.hxx index f2a344ac55f0..e7e9c4fed089 100644 --- a/extensions/source/update/check/updatecheck.hxx +++ b/extensions/source/update/check/updatecheck.hxx @@ -58,7 +58,7 @@ class UpdateCheck : { UpdateCheck(); - virtual ~UpdateCheck(); + virtual ~UpdateCheck() override; public: inline SAL_CALL operator rtl::Reference< UpdateCheckConfigListener > () diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx index 42b46cf4fdb4..9380bf6cada5 100644 --- a/extensions/source/update/check/updatecheckconfig.hxx +++ b/extensions/source/update/check/updatecheckconfig.hxx @@ -86,7 +86,7 @@ class UpdateCheckConfig : public ::cppu::WeakImplHelper< const css::uno::Reference< css::container::XNameContainer >& xIgnoredUpdates, const ::rtl::Reference< UpdateCheckConfigListener >& rListener ); - virtual ~UpdateCheckConfig(); + virtual ~UpdateCheckConfig() override; public: diff --git a/extensions/source/update/check/updatecheckconfiglistener.hxx b/extensions/source/update/check/updatecheckconfiglistener.hxx index b96355ae1cbe..277ca23e0643 100644 --- a/extensions/source/update/check/updatecheckconfiglistener.hxx +++ b/extensions/source/update/check/updatecheckconfiglistener.hxx @@ -33,7 +33,7 @@ struct UpdateCheckConfigListener : public virtual salhelper::SimpleReferenceObje virtual void autoCheckIntervalChanged() = 0; protected: - virtual ~UpdateCheckConfigListener() {} + virtual ~UpdateCheckConfigListener() override {} }; #endif diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx index 5d48471f0869..4abdb50ddd3a 100644 --- a/extensions/source/update/check/updatecheckjob.cxx +++ b/extensions/source/update/check/updatecheckjob.cxx @@ -65,7 +65,7 @@ private: class UpdateCheckJob : public ::cppu::WeakImplHelper< task::XJob, lang::XServiceInfo, frame::XTerminateListener > { - virtual ~UpdateCheckJob(); + virtual ~UpdateCheckJob() override; public: diff --git a/extensions/source/update/check/updatehdl.hxx b/extensions/source/update/check/updatehdl.hxx index f509c73bbbc3..da93b1f9dc44 100644 --- a/extensions/source/update/check/updatehdl.hxx +++ b/extensions/source/update/check/updatehdl.hxx @@ -155,7 +155,7 @@ private: public: UpdateHandler( const css::uno::Reference< css::uno::XComponentContext > & rxContext, const rtl::Reference< IActionListener > & rxActionListener ); - virtual ~UpdateHandler(); + virtual ~UpdateHandler() override; UpdateHandler(const UpdateHandler&) = delete; UpdateHandler& operator=(const UpdateHandler&) = delete; diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx index 155b0ff862df..d0e779be0c5f 100644 --- a/extensions/source/update/feed/updatefeed.cxx +++ b/extensions/source/update/feed/updatefeed.cxx @@ -187,7 +187,7 @@ public: protected: - virtual ~UpdateInformationProvider(); + virtual ~UpdateInformationProvider() override; static OUString getConfigurationItem(uno::Reference<lang::XMultiServiceFactory> const & configurationProvider, OUString const & node, OUString const & item); static uno::Any getConfigurationItemAny(uno::Reference<lang::XMultiServiceFactory> const & configurationProvider, OUString const & node, OUString const & item); @@ -233,7 +233,7 @@ public: { }; - virtual ~UpdateInformationEnumeration() {}; + virtual ~UpdateInformationEnumeration() override {}; // XEnumeration sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return m_nCount < m_nNodes; }; @@ -292,7 +292,7 @@ class SingleUpdateInformationEnumeration : public ::cppu::WeakImplHelper< contai public: explicit SingleUpdateInformationEnumeration(const uno::Reference< xml::dom::XElement >& xElement) : m_nCount(0) { m_aEntry.UpdateDocument = xElement; }; - virtual ~SingleUpdateInformationEnumeration() {}; + virtual ~SingleUpdateInformationEnumeration() override {}; // XEnumeration sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) override { return 0 == m_nCount; }; diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 8bbc834d83b1..7fb23d197b44 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -103,7 +103,7 @@ private: public: BubbleWindow( vcl::Window* pParent, const OUString& rTitle, const OUString& rText, const Image& rImage ); - virtual ~BubbleWindow(); + virtual ~BubbleWindow() override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override; @@ -155,7 +155,7 @@ private: public: explicit UpdateCheckUI(const uno::Reference<uno::XComponentContext>&); - virtual ~UpdateCheckUI(); + virtual ~UpdateCheckUI() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx index 95589b2b9abb..2d5d4595530c 100644 --- a/filter/source/config/cache/basecontainer.hxx +++ b/filter/source/config/cache/basecontainer.hxx @@ -121,7 +121,7 @@ class BaseContainer : public BaseLock /** @short standard dtor. */ - virtual ~BaseContainer(); + virtual ~BaseContainer() override; /** @short initialize this generic intsnace with some specialized values diff --git a/filter/source/config/cache/cacheupdatelistener.hxx b/filter/source/config/cache/cacheupdatelistener.hxx index babc0aebd4a2..17e4db5831de 100644 --- a/filter/source/config/cache/cacheupdatelistener.hxx +++ b/filter/source/config/cache/cacheupdatelistener.hxx @@ -83,7 +83,7 @@ class CacheUpdateListener : public BaseLock // must be the first one to guarante /** @short standard dtor. */ - virtual ~CacheUpdateListener(); + virtual ~CacheUpdateListener() override; /** @short starts listening. diff --git a/filter/source/config/cache/configflush.hxx b/filter/source/config/cache/configflush.hxx index 62ac5ed71732..0239334c8023 100644 --- a/filter/source/config/cache/configflush.hxx +++ b/filter/source/config/cache/configflush.hxx @@ -66,7 +66,7 @@ class ConfigFlush : public BaseLock /** @short standard dtor. */ - virtual ~ConfigFlush(); + virtual ~ConfigFlush() override; // uno interface diff --git a/filter/source/config/cache/contenthandlerfactory.hxx b/filter/source/config/cache/contenthandlerfactory.hxx index 89e9077062c3..eebd5b52eb0e 100644 --- a/filter/source/config/cache/contenthandlerfactory.hxx +++ b/filter/source/config/cache/contenthandlerfactory.hxx @@ -56,7 +56,7 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine /** @short standard dtor. */ - virtual ~ContentHandlerFactory(); + virtual ~ContentHandlerFactory() override; // uno interface diff --git a/filter/source/config/cache/filterfactory.hxx b/filter/source/config/cache/filterfactory.hxx index 0e9f7d8ef50f..8007f85235ff 100644 --- a/filter/source/config/cache/filterfactory.hxx +++ b/filter/source/config/cache/filterfactory.hxx @@ -57,7 +57,7 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer /** @short standard dtor. */ - virtual ~FilterFactory(); + virtual ~FilterFactory() override; // uno interface diff --git a/filter/source/config/cache/frameloaderfactory.hxx b/filter/source/config/cache/frameloaderfactory.hxx index eb7e506eb7d6..39772ad3f994 100644 --- a/filter/source/config/cache/frameloaderfactory.hxx +++ b/filter/source/config/cache/frameloaderfactory.hxx @@ -56,7 +56,7 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer /** @short standard dtor. */ - virtual ~FrameLoaderFactory(); + virtual ~FrameLoaderFactory() override; // uno interface diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx index 548a14343925..a0c6bc818fa8 100644 --- a/filter/source/config/cache/typedetection.hxx +++ b/filter/source/config/cache/typedetection.hxx @@ -56,7 +56,7 @@ public: /** @short standard dtor. */ - virtual ~TypeDetection(); + virtual ~TypeDetection() override; // private helper diff --git a/filter/source/flash/impswfdialog.hxx b/filter/source/flash/impswfdialog.hxx index 3cef0c180e0a..5d5f152902f0 100644 --- a/filter/source/flash/impswfdialog.hxx +++ b/filter/source/flash/impswfdialog.hxx @@ -55,7 +55,7 @@ private: public: ImpSWFDialog( vcl::Window* pParent, css::uno::Sequence< css::beans::PropertyValue >& rFilterData ); - virtual ~ImpSWFDialog(); + virtual ~ImpSWFDialog() override; virtual void dispose() override; css::uno::Sequence< css::beans::PropertyValue > GetFilterData(); diff --git a/filter/source/flash/swfdialog.hxx b/filter/source/flash/swfdialog.hxx index 50034d5a9369..f8a403d4ac92 100644 --- a/filter/source/flash/swfdialog.hxx +++ b/filter/source/flash/swfdialog.hxx @@ -70,7 +70,7 @@ protected: public: explicit SWFDialog( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~SWFDialog(); + virtual ~SWFDialog() override; }; diff --git a/filter/source/graphic/GraphicExportDialog.hxx b/filter/source/graphic/GraphicExportDialog.hxx index 36869afac7f1..d6aead53f278 100644 --- a/filter/source/graphic/GraphicExportDialog.hxx +++ b/filter/source/graphic/GraphicExportDialog.hxx @@ -53,7 +53,7 @@ class GraphicExportDialog : public cppu::WeakImplHelper public: explicit GraphicExportDialog( const Reference<XComponentContext>& rxContext ); - virtual ~GraphicExportDialog(); + virtual ~GraphicExportDialog() override; // XInitialization virtual void SAL_CALL initialize( const Sequence<Any>& aArguments ) throw (Exception, RuntimeException, std::exception ) override; diff --git a/filter/source/graphic/GraphicExportFilter.hxx b/filter/source/graphic/GraphicExportFilter.hxx index b0ae945d0e53..d998befe99ef 100644 --- a/filter/source/graphic/GraphicExportFilter.hxx +++ b/filter/source/graphic/GraphicExportFilter.hxx @@ -56,7 +56,7 @@ class GraphicExportFilter : public: explicit GraphicExportFilter( const Reference<XComponentContext>& rxContext ); - virtual ~GraphicExportFilter(); + virtual ~GraphicExportFilter() override; // XFilter virtual sal_Bool SAL_CALL filter( const Sequence<PropertyValue>& rDescriptor ) throw(RuntimeException, std::exception) override; diff --git a/filter/source/graphicfilter/icgm/bundles.hxx b/filter/source/graphicfilter/icgm/bundles.hxx index abb8e0419c01..929c92677de7 100644 --- a/filter/source/graphicfilter/icgm/bundles.hxx +++ b/filter/source/graphicfilter/icgm/bundles.hxx @@ -81,7 +81,7 @@ public: virtual Bundle* Clone() override { return new MarkerBundle( *this ); } ; MarkerBundle& operator=( const MarkerBundle& rMarkerBundle ); - virtual ~MarkerBundle() {}; + virtual ~MarkerBundle() override {}; }; @@ -119,7 +119,7 @@ public: virtual Bundle* Clone() override { return new TextBundle( *this ); } ; TextBundle& operator=( const TextBundle& rTextBundle ); - virtual ~TextBundle() {}; + virtual ~TextBundle() override {}; }; diff --git a/filter/source/graphicfilter/idxf/dxfentrd.hxx b/filter/source/graphicfilter/idxf/dxfentrd.hxx index 2258c6c3da51..63b69b86eb46 100644 --- a/filter/source/graphicfilter/idxf/dxfentrd.hxx +++ b/filter/source/graphicfilter/idxf/dxfentrd.hxx @@ -334,7 +334,7 @@ class DXFLWPolyLineEntity : public DXFBasicEntity DXFVector* pP; DXFLWPolyLineEntity(); - virtual ~DXFLWPolyLineEntity(); + virtual ~DXFLWPolyLineEntity() override; protected: @@ -358,7 +358,7 @@ struct DXFEdgeTypeLine : public DXFEdgeType DXFVector aStartPoint; // 10,20 DXFVector aEndPoint; // 11,21 DXFEdgeTypeLine(); - virtual ~DXFEdgeTypeLine(); + virtual ~DXFEdgeTypeLine() override; virtual bool EvaluateGroup( DXFGroupReader & rDGR ) override; }; struct DXFEdgeTypeCircularArc : public DXFEdgeType @@ -369,7 +369,7 @@ struct DXFEdgeTypeCircularArc : public DXFEdgeType double fEndAngle; // 51 sal_Int32 nIsCounterClockwiseFlag; // 73 DXFEdgeTypeCircularArc(); - virtual ~DXFEdgeTypeCircularArc(); + virtual ~DXFEdgeTypeCircularArc() override; virtual bool EvaluateGroup( DXFGroupReader & rDGR ) override; }; struct DXFEdgeTypeEllipticalArc : public DXFEdgeType @@ -382,7 +382,7 @@ struct DXFEdgeTypeEllipticalArc : public DXFEdgeType sal_Int32 nIsCounterClockwiseFlag; // 73 DXFEdgeTypeEllipticalArc(); - virtual ~DXFEdgeTypeEllipticalArc(); + virtual ~DXFEdgeTypeEllipticalArc() override; virtual bool EvaluateGroup( DXFGroupReader & rDGR ) override; }; struct DXFEdgeTypeSpline : public DXFEdgeType @@ -394,7 +394,7 @@ struct DXFEdgeTypeSpline : public DXFEdgeType sal_Int32 nControlCount; // 76 DXFEdgeTypeSpline(); - virtual ~DXFEdgeTypeSpline(); + virtual ~DXFEdgeTypeSpline() override; virtual bool EvaluateGroup( DXFGroupReader & rDGR ) override; }; @@ -443,7 +443,7 @@ class DXFHatchEntity : public DXFBasicEntity DXFBoundaryPathData* pBoundaryPathData; DXFHatchEntity(); - virtual ~DXFHatchEntity(); + virtual ~DXFHatchEntity() override; protected: diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 148b15854302..f204391cf1bb 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -4954,7 +4954,7 @@ protected: public: SvNullStream() : SvStream() {} - virtual ~SvNullStream() {} + virtual ~SvNullStream() override {} }; EscherEx::EscherEx(const std::shared_ptr<EscherExGlobal>& rxGlobal, SvStream* pOutStrm, bool bOOXML) diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index 99e9a0fb3d81..62c9ea373265 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -62,7 +62,7 @@ private: public: explicit ImplErrorDialog( const std::set< vcl::PDFWriter::ErrorCode >& ); - virtual ~ImplErrorDialog(); + virtual ~ImplErrorDialog() override; virtual void dispose() override; }; @@ -173,7 +173,7 @@ public: ImpPDFTabDialog( vcl::Window* pParent, Sequence< PropertyValue >& rFilterData, const css::uno::Reference< XComponent >& rDoc); - virtual ~ImpPDFTabDialog(); + virtual ~ImpPDFTabDialog() override; virtual void dispose() override; @@ -253,7 +253,7 @@ public: DECL_LINK_TYPED( ToggleExportPDFAHdl, CheckBox&, void ); ImpPDFTabGeneralPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~ImpPDFTabGeneralPage(); + virtual ~ImpPDFTabGeneralPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet); @@ -293,7 +293,7 @@ class ImpPDFTabOpnFtrPage : public SfxTabPage public: ImpPDFTabOpnFtrPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~ImpPDFTabOpnFtrPage(); + virtual ~ImpPDFTabOpnFtrPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); @@ -326,7 +326,7 @@ class ImpPDFTabViewerPage : public SfxTabPage public: ImpPDFTabViewerPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~ImpPDFTabViewerPage(); + virtual ~ImpPDFTabViewerPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); @@ -380,7 +380,7 @@ class ImpPDFTabSecurityPage : public SfxTabPage public: ImpPDFTabSecurityPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~ImpPDFTabSecurityPage(); + virtual ~ImpPDFTabSecurityPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); @@ -411,7 +411,7 @@ class ImpPDFTabLinksPage : public SfxTabPage public: ImpPDFTabLinksPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~ImpPDFTabLinksPage(); + virtual ~ImpPDFTabLinksPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); @@ -440,7 +440,7 @@ class ImpPDFTabSigningPage : public SfxTabPage public: ImpPDFTabSigningPage( vcl::Window* pParent, const SfxItemSet& rSet ); - virtual ~ImpPDFTabSigningPage(); + virtual ~ImpPDFTabSigningPage() override; virtual void dispose() override; static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet ); diff --git a/filter/source/pdf/pdfdialog.hxx b/filter/source/pdf/pdfdialog.hxx index 70ed93cac052..b20cd4cd65a7 100644 --- a/filter/source/pdf/pdfdialog.hxx +++ b/filter/source/pdf/pdfdialog.hxx @@ -62,7 +62,7 @@ protected: public: explicit PDFDialog( const Reference< XComponentContext >& rxContext ); - virtual ~PDFDialog(); + virtual ~PDFDialog() override; }; diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx index 6e4d644ef950..14840bd92f3c 100644 --- a/filter/source/pdf/pdfexport.cxx +++ b/filter/source/pdf/pdfexport.cxx @@ -264,7 +264,7 @@ public: : m_xSrcDoc( xDoc ), m_aPreparedPassword( rPwd ) {} - virtual ~PDFExportStreamDoc(); + virtual ~PDFExportStreamDoc() override; virtual void write( const Reference< XOutputStream >& xStream ) override; }; diff --git a/filter/source/pdf/pdffilter.hxx b/filter/source/pdf/pdffilter.hxx index 90cb749d371f..3c93d8a7a675 100644 --- a/filter/source/pdf/pdffilter.hxx +++ b/filter/source/pdf/pdffilter.hxx @@ -78,7 +78,7 @@ protected: public: explicit PDFFilter( const Reference< XComponentContext >& rxContext ); - virtual ~PDFFilter(); + virtual ~PDFFilter() override; }; diff --git a/filter/source/pdf/pdfinteract.hxx b/filter/source/pdf/pdfinteract.hxx index fe4a600260c5..8968c77e5db8 100644 --- a/filter/source/pdf/pdfinteract.hxx +++ b/filter/source/pdf/pdfinteract.hxx @@ -49,7 +49,7 @@ protected: public: PDFInteractionHandler(); - virtual ~PDFInteractionHandler(); + virtual ~PDFInteractionHandler() override; }; diff --git a/filter/source/storagefilterdetect/filterdetect.hxx b/filter/source/storagefilterdetect/filterdetect.hxx index fa026aa62b03..af2c7c53d7e3 100644 --- a/filter/source/storagefilterdetect/filterdetect.hxx +++ b/filter/source/storagefilterdetect/filterdetect.hxx @@ -37,7 +37,7 @@ class StorageFilterDetect : public cppu::WeakImplHelper< public: explicit StorageFilterDetect (const css::uno::Reference<css::uno::XComponentContext>& xCxt); - virtual ~StorageFilterDetect(); + virtual ~StorageFilterDetect() override; // XExtendedFilterDetection virtual OUString SAL_CALL detect(css::uno::Sequence<css::beans::PropertyValue>& rDescriptor) diff --git a/filter/source/svg/impsvgdialog.hxx b/filter/source/svg/impsvgdialog.hxx index d3a7b31f42bc..3bb35e98bee5 100644 --- a/filter/source/svg/impsvgdialog.hxx +++ b/filter/source/svg/impsvgdialog.hxx @@ -64,7 +64,7 @@ public: ImpSVGDialog( vcl::Window* pParent, /*ResMgr& rResMgr,*/ css::uno::Sequence< css::beans::PropertyValue >& rFilterData ); - virtual ~ImpSVGDialog(); + virtual ~ImpSVGDialog() override; virtual void dispose() override; css::uno::Sequence< css::beans::PropertyValue > GetFilterData(); diff --git a/filter/source/svg/svgdialog.hxx b/filter/source/svg/svgdialog.hxx index 0dad0f74ad19..24f80de25c69 100644 --- a/filter/source/svg/svgdialog.hxx +++ b/filter/source/svg/svgdialog.hxx @@ -70,7 +70,7 @@ protected: public: explicit SVGDialog( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~SVGDialog(); + virtual ~SVGDialog() override; }; diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx index 715f25b3037e..9c9ac5fadc13 100644 --- a/filter/source/svg/svgexport.cxx +++ b/filter/source/svg/svgexport.cxx @@ -163,7 +163,7 @@ public: SvXMLElementExport aExp( *pSVGExport, XML_NAMESPACE_NONE, "g", true, true ); pSVGExport->GetDocHandler()->characters( text ); } - virtual ~FixedTextField() {} + virtual ~FixedTextField() override {} }; @@ -179,7 +179,7 @@ public: { implGrowCharSet( aTextFieldCharSets, text, aOOOAttrDateTimeField ); } - virtual ~FixedDateTimeField() {} + virtual ~FixedDateTimeField() override {} }; @@ -196,7 +196,7 @@ public: static const OUString sFieldId = aOOOAttrFooterField; implGrowCharSet( aTextFieldCharSets, text, sFieldId ); } - virtual ~FooterField() {} + virtual ~FooterField() override {} }; @@ -207,7 +207,7 @@ public: { return OUString( "VariableTextField" ); } - virtual ~VariableTextField() {} + virtual ~VariableTextField() override {} }; @@ -306,7 +306,7 @@ public: aTextFieldCharSets[ *aMasterPageIt ][ sFieldId ].insert( (sal_Unicode)( format ) ); } } - virtual ~VariableDateTimeField() {} + virtual ~VariableDateTimeField() override {} }; diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx index f99e79ec4bda..447bf77921bc 100644 --- a/filter/source/svg/svgfilter.hxx +++ b/filter/source/svg/svgfilter.hxx @@ -99,7 +99,7 @@ public: const Reference< XDocumentHandler >& rxHandler, const Sequence< PropertyValue >& rFilterData ); - virtual ~SVGExport(); + virtual ~SVGExport() override; bool IsUseTinyProfile() const { return mbIsUseTinyProfile; }; bool IsEmbedFonts() const { return mbIsEmbedFonts; }; @@ -304,7 +304,7 @@ protected: public: explicit SVGFilter( const Reference< XComponentContext >& rxCtx ); - virtual ~SVGFilter(); + virtual ~SVGFilter() override; }; #endif // INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX diff --git a/filter/source/svg/svgwriter.hxx b/filter/source/svg/svgwriter.hxx index 74cda8a7bee7..0ea1c7cca727 100644 --- a/filter/source/svg/svgwriter.hxx +++ b/filter/source/svg/svgwriter.hxx @@ -398,7 +398,7 @@ private: public: explicit SVGWriter( const Sequence<Any>& args, const Reference< XComponentContext >& rxCtx ); - virtual ~SVGWriter(); + virtual ~SVGWriter() override; // XSVGWriter virtual void SAL_CALL write( const Reference<XDocumentHandler>& rxDocHandler, diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx index 631e6e1b77a5..f9ccc0526af0 100644 --- a/filter/source/t602/t602filter.hxx +++ b/filter/source/t602/t602filter.hxx @@ -102,7 +102,7 @@ class T602ImportFilterDialog : public cppu::WeakImplHelper < OUString getResStr( sal_Int16 resid ); void initLocale(); - virtual ~T602ImportFilterDialog(); + virtual ~T602ImportFilterDialog() override; // XExecutableDialog virtual void SAL_CALL setTitle( const OUString& aTitle ) @@ -254,7 +254,7 @@ private: public: explicit T602ImportFilter(const css::uno::Reference<css::lang::XMultiServiceFactory > &r ); explicit T602ImportFilter(css::uno::Reference<css::io::XInputStream> const & xInputStream); - virtual ~T602ImportFilter(); + virtual ~T602ImportFilter() override; // XFilter virtual sal_Bool SAL_CALL filter( const css::uno::Sequence< css::beans::PropertyValue >& aDescriptor ) diff --git a/filter/source/textfilterdetect/filterdetect.hxx b/filter/source/textfilterdetect/filterdetect.hxx index 8ca373ea8125..cb8090c555ba 100644 --- a/filter/source/textfilterdetect/filterdetect.hxx +++ b/filter/source/textfilterdetect/filterdetect.hxx @@ -35,7 +35,7 @@ class PlainTextFilterDetect : public cppu::WeakImplHelper< public: PlainTextFilterDetect(); - virtual ~PlainTextFilterDetect(); + virtual ~PlainTextFilterDetect() override; // XExtendedFilterDetection diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx index 65f6d654c066..6bfde48082d2 100644 --- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx +++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx @@ -75,7 +75,7 @@ public: { } - virtual ~XmlFilterAdaptor() {} + virtual ~XmlFilterAdaptor() override {} // XFilter diff --git a/filter/source/xmlfilterdetect/filterdetect.hxx b/filter/source/xmlfilterdetect/filterdetect.hxx index 299f519ecb48..9f781582949c 100644 --- a/filter/source/xmlfilterdetect/filterdetect.hxx +++ b/filter/source/xmlfilterdetect/filterdetect.hxx @@ -43,7 +43,7 @@ public: explicit FilterDetect( const css::uno::Reference< css::uno::XComponentContext > &rxCtx) : mxCtx( rxCtx ) {} - virtual ~FilterDetect() {} + virtual ~FilterDetect() override {} //XExtendedFilterDetection virtual OUString SAL_CALL detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ) diff --git a/filter/source/xsltdialog/typedetectionimport.hxx b/filter/source/xsltdialog/typedetectionimport.hxx index ccdcd6d054c3..8118c2b7f6de 100644 --- a/filter/source/xsltdialog/typedetectionimport.hxx +++ b/filter/source/xsltdialog/typedetectionimport.hxx @@ -62,7 +62,7 @@ class TypeDetectionImporter : public cppu::WeakImplHelper < css::xml::sax::XDocu { public: TypeDetectionImporter(); - virtual ~TypeDetectionImporter(); + virtual ~TypeDetectionImporter() override; static void doImport( const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference < css::io::XInputStream >& xOS, XMLFilterVector& rFilters ); diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx index abf579ef3b2f..2baa87a5b6c4 100644 --- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx +++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx @@ -69,7 +69,7 @@ class XMLFilterDialogComponent : public XMLFilterDialogComponentBase, { public: explicit XMLFilterDialogComponent( const Reference< XComponentContext >& rxContext ); - virtual ~XMLFilterDialogComponent(); + virtual ~XMLFilterDialogComponent() override; protected: // XInterface diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx index 02b01823754d..ea40b64dd802 100644 --- a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx @@ -49,7 +49,7 @@ public: explicit SvxPathControl(vcl::Window* pParent); HeaderBar* getHeaderBar() { return m_pHeaderBar; } XMLFilterListBox* getListBox() { return m_pFocusCtrl; } - virtual ~SvxPathControl(); + virtual ~SvxPathControl() override; virtual void dispose() override; virtual bool Notify( NotifyEvent& rNEvt ) override; @@ -69,7 +69,7 @@ private: public: XMLFilterListBox(Window* pParent, SvxPathControl* pPathControl); - virtual ~XMLFilterListBox(); + virtual ~XMLFilterListBox() override; virtual void dispose() override; /** adds a new filter info entry to the ui filter list */ @@ -87,7 +87,7 @@ public: XMLFilterSettingsDialog(vcl::Window* pParent, const css::uno::Reference< css::uno::XComponentContext >& rxContext, Dialog::InitFlag eFlag = Dialog::InitFlag::Default); - virtual ~XMLFilterSettingsDialog(); + virtual ~XMLFilterSettingsDialog() override; virtual void dispose() override; DECL_LINK_TYPED(ClickHdl_Impl, Button *, void ); diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.hxx b/filter/source/xsltdialog/xmlfiltertabdialog.hxx index 067a22ac9d22..7d164f0c1799 100644 --- a/filter/source/xsltdialog/xmlfiltertabdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltertabdialog.hxx @@ -35,7 +35,7 @@ class XMLFilterTabDialog: public TabDialog { public: XMLFilterTabDialog(vcl::Window *pParent, ResMgr& rResMgr, const css::uno::Reference< css::uno::XComponentContext >& rxContext, const filter_info_impl* pInfo); - virtual ~XMLFilterTabDialog(); + virtual ~XMLFilterTabDialog() override; virtual void dispose() override; bool onOk(); diff --git a/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx b/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx index e5809faf5cd6..ce6e9fc20d48 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagebasic.hxx @@ -33,7 +33,7 @@ class XMLFilterTabPageBasic : public TabPage { public: explicit XMLFilterTabPageBasic(vcl::Window* pParent); - virtual ~XMLFilterTabPageBasic(); + virtual ~XMLFilterTabPageBasic() override; virtual void dispose() override; void FillInfo( filter_info_impl* pInfo ); diff --git a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx index 7b0309c4c51d..880e5d530c4e 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx @@ -34,7 +34,7 @@ class XMLFilterTabPageXSLT : public TabPage { public: explicit XMLFilterTabPageXSLT(vcl::Window* pParent); - virtual ~XMLFilterTabPageXSLT(); + virtual ~XMLFilterTabPageXSLT() override; virtual void dispose() override; void FillInfo( filter_info_impl* pInfo ); diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.hxx b/filter/source/xsltdialog/xmlfiltertestdialog.hxx index 39261c4d07d8..7825dd24fe5a 100644 --- a/filter/source/xsltdialog/xmlfiltertestdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltertestdialog.hxx @@ -36,7 +36,7 @@ class XMLFilterTestDialog : public ModalDialog public: XMLFilterTestDialog(vcl::Window* pParent, const css::uno::Reference< css::uno::XComponentContext >& rxContext); - virtual ~XMLFilterTestDialog(); + virtual ~XMLFilterTestDialog() override; virtual void dispose() override; void test( const filter_info_impl& rFilterInfo ); diff --git a/filter/source/xsltfilter/LibXSLTTransformer.hxx b/filter/source/xsltfilter/LibXSLTTransformer.hxx index 9c4485bb28b2..87f3225c86b7 100644 --- a/filter/source/xsltfilter/LibXSLTTransformer.hxx +++ b/filter/source/xsltfilter/LibXSLTTransformer.hxx @@ -64,7 +64,7 @@ namespace XSLT int SAL_CALL closeOutput(); private: - virtual ~Reader(); + virtual ~Reader() override; static const sal_Int32 OUTPUT_BUFFER_SIZE; static const sal_Int32 INPUT_BUFFER_SIZE; @@ -118,7 +118,7 @@ namespace XSLT rtl::Reference<Reader> m_Reader; protected: - virtual ~LibXSLTTransformer() { + virtual ~LibXSLTTransformer() override { if (m_Reader.is()) { m_Reader->terminate(); m_Reader->forceStateStopped(); diff --git a/forms/source/component/Button.hxx b/forms/source/component/Button.hxx index f0b2cd2d7ebf..c3d088f17939 100644 --- a/forms/source/component/Button.hxx +++ b/forms/source/component/Button.hxx @@ -131,7 +131,7 @@ protected: public: explicit OButtonControl(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); - virtual ~OButtonControl(); + virtual ~OButtonControl() override; // XServiceInfo OUString SAL_CALL getImplementationName() diff --git a/forms/source/component/Columns.hxx b/forms/source/component/Columns.hxx index ee769e67eab6..29f35b645c09 100644 --- a/forms/source/component/Columns.hxx +++ b/forms/source/component/Columns.hxx @@ -64,7 +64,7 @@ protected: public: OGridColumn(const css::uno::Reference<css::uno::XComponentContext>& _rContext, const OUString& _sModelName = OUString()); explicit OGridColumn(const OGridColumn* _pOriginal ); - virtual ~OGridColumn(); + virtual ~OGridColumn() override; // UNO binding DECLARE_UNO3_AGG_DEFAULTS(OGridControlModel, OGridColumn_BASE) diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx index b7b601495e52..e76fc51352a5 100644 --- a/forms/source/component/DatabaseForm.hxx +++ b/forms/source/component/DatabaseForm.hxx @@ -214,7 +214,7 @@ class ODatabaseForm :public OFormComponents public: explicit ODatabaseForm(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); ODatabaseForm( const ODatabaseForm& _cloneSource ); - virtual ~ODatabaseForm(); + virtual ~ODatabaseForm() override; // UNO binding DECLARE_UNO3_AGG_DEFAULTS(ODatabaseForm, OFormComponents) diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx index 8a44722f7ed8..6fca35367a47 100644 --- a/forms/source/component/Edit.hxx +++ b/forms/source/component/Edit.hxx @@ -132,7 +132,7 @@ class OEditControl : public OBoundControl public: explicit OEditControl(const css::uno::Reference< css::uno::XComponentContext>& _rxContext); - virtual ~OEditControl(); + virtual ~OEditControl() override; DECLARE_UNO3_AGG_DEFAULTS(OEditControl, OBoundControl) virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type& _rType) throw(css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/component/EditBase.hxx b/forms/source/component/EditBase.hxx index 33b157d8cc26..569b42240f77 100644 --- a/forms/source/component/EditBase.hxx +++ b/forms/source/component/EditBase.hxx @@ -66,7 +66,7 @@ public: const bool _bSupportsValidation ); DECLARE_DEFAULT_CLONE_CTOR( OEditBaseModel ) - virtual ~OEditBaseModel(); + virtual ~OEditBaseModel() override; // XPersistObject virtual void SAL_CALL write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) throw ( css::io::IOException, css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/component/EventThread.hxx b/forms/source/component/EventThread.hxx index 7934fb37078b..71edb846e855 100644 --- a/forms/source/component/EventThread.hxx +++ b/forms/source/component/EventThread.hxx @@ -87,7 +87,7 @@ public: virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) throw (css::uno::RuntimeException, std::exception) override; explicit OComponentEventThread(::cppu::OComponentHelper* pCompImpl); - virtual ~OComponentEventThread(); + virtual ~OComponentEventThread() override; void addEvent( const css::lang::EventObject* _pEvt ); void addEvent( const css::lang::EventObject* _pEvt, const css::uno::Reference< css::awt::XControl>& rControl, diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index 66cf6f05056f..9c9c7e12d3b3 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -85,7 +85,7 @@ public: using SvNumberFormatsSupplierObj::operator delete; protected: StandardFormatsSupplier(const Reference< XComponentContext >& _rxFactory,LanguageType _eSysLanguage); - virtual ~StandardFormatsSupplier(); + virtual ~StandardFormatsSupplier() override; protected: virtual bool queryTermination() const override; virtual void notifyTermination() override; diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx index 38ddf3596831..75399df9be49 100644 --- a/forms/source/component/FormattedField.hxx +++ b/forms/source/component/FormattedField.hxx @@ -150,7 +150,7 @@ class OFormattedModel public: explicit OFormattedControl(const css::uno::Reference< css::uno::XComponentContext>& _rxContext); - virtual ~OFormattedControl(); + virtual ~OFormattedControl() override; DECLARE_UNO3_AGG_DEFAULTS(OFormattedControl, OBoundControl) virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type& _rType) throw(css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/component/FormattedFieldWrapper.hxx b/forms/source/component/FormattedFieldWrapper.hxx index a017bb389707..e780b0ed6d0a 100644 --- a/forms/source/component/FormattedFieldWrapper.hxx +++ b/forms/source/component/FormattedFieldWrapper.hxx @@ -52,7 +52,7 @@ private: OFormattedFieldWrapper(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); protected: - virtual ~OFormattedFieldWrapper(); + virtual ~OFormattedFieldWrapper() override; public: // if we act as formatted, this is the PersistObject interface of our aggregate, used diff --git a/forms/source/component/FormsCollection.hxx b/forms/source/component/FormsCollection.hxx index df7279f17c86..f0e64b3d4946 100644 --- a/forms/source/component/FormsCollection.hxx +++ b/forms/source/component/FormsCollection.hxx @@ -51,7 +51,7 @@ class OFormsCollection public: explicit OFormsCollection(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); OFormsCollection( const OFormsCollection& _cloneSource ); - virtual ~OFormsCollection(); + virtual ~OFormsCollection() override; public: DECLARE_UNO3_AGG_DEFAULTS(OFormsCollection, FormsCollectionComponentBase) diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx index a8f45f39c7f0..d0b45fd5f424 100644 --- a/forms/source/component/GroupManager.hxx +++ b/forms/source/component/GroupManager.hxx @@ -175,7 +175,7 @@ class OGroupManager : public ::cppu::WeakImplHelper< css::beans::XPropertyChange public: explicit OGroupManager(const css::uno::Reference< css::container::XContainer >& _rxContainer); - virtual ~OGroupManager(); + virtual ~OGroupManager() override; // css::lang::XEventListener virtual void SAL_CALL disposing(const css::lang::EventObject& _rSource) throw(css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx index b1e32e2550e9..2da96b921108 100644 --- a/forms/source/component/ListBox.hxx +++ b/forms/source/component/ListBox.hxx @@ -270,7 +270,7 @@ protected: public: explicit OListBoxControl(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); - virtual ~OListBoxControl(); + virtual ~OListBoxControl() override; // UNO Anbindung DECLARE_UNO3_AGG_DEFAULTS(OListBoxControl, OBoundControl) diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx index b1ea4dcbdfb9..4a9b6880f6ff 100644 --- a/forms/source/component/clickableimage.hxx +++ b/forms/source/component/clickableimage.hxx @@ -97,7 +97,7 @@ namespace frm const OUString& _rDefault ); DECLARE_DEFAULT_CLONE_CTOR( OClickableImageBaseModel ) - virtual ~OClickableImageBaseModel(); + virtual ~OClickableImageBaseModel() override; // UNO Binding DECLARE_UNO3_AGG_DEFAULTS(OClickableImageBaseModel, OControlModel) @@ -213,7 +213,7 @@ namespace frm OClickableImageBaseControl( const css::uno::Reference< css::uno::XComponentContext>& _rxFactory, const OUString& _aService); - virtual ~OClickableImageBaseControl(); + virtual ~OClickableImageBaseControl() override; protected: // UNO Binding diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx index e90bbfc30cee..b40d892bdcc8 100644 --- a/forms/source/component/imgprod.cxx +++ b/forms/source/component/imgprod.cxx @@ -42,7 +42,7 @@ public: ImgProdLockBytes( SvStream* pStm, bool bOwner ); explicit ImgProdLockBytes( css::uno::Reference< css::io::XInputStream > & rStreamRef ); - virtual ~ImgProdLockBytes(); + virtual ~ImgProdLockBytes() override; virtual ErrCode ReadAt( sal_uInt64 nPos, void* pBuffer, sal_Size nCount, sal_Size * pRead ) const override; virtual ErrCode WriteAt( sal_uInt64 nPos, const void* pBuffer, sal_Size nCount, sal_Size * pWritten ) override; diff --git a/forms/source/component/imgprod.hxx b/forms/source/component/imgprod.hxx index 49e1107893d2..ceb9bf35e047 100644 --- a/forms/source/component/imgprod.hxx +++ b/forms/source/component/imgprod.hxx @@ -61,7 +61,7 @@ private: public: ImageProducer(); - virtual ~ImageProducer(); + virtual ~ImageProducer() override; void SetImage( const OUString& rPath ); void SetImage( SvStream& rStm ); diff --git a/forms/source/component/refvaluecomponent.hxx b/forms/source/component/refvaluecomponent.hxx index bedfc4f7c8c6..5f727df6370c 100644 --- a/forms/source/component/refvaluecomponent.hxx +++ b/forms/source/component/refvaluecomponent.hxx @@ -54,7 +54,7 @@ namespace frm const OUString& _rDefault ); DECLARE_DEFAULT_CLONE_CTOR( OReferenceValueComponent ) - virtual ~OReferenceValueComponent(); + virtual ~OReferenceValueComponent() override; // OPropertySet and friends virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const override; diff --git a/forms/source/helper/commandimageprovider.cxx b/forms/source/helper/commandimageprovider.cxx index e051eb31436b..88e9bc6713e6 100644 --- a/forms/source/helper/commandimageprovider.cxx +++ b/forms/source/helper/commandimageprovider.cxx @@ -59,7 +59,7 @@ namespace frm { impl_init_nothrow( _rContext, _rxDocument ); } - virtual ~DocumentCommandImageProvider() + virtual ~DocumentCommandImageProvider() override { } diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index 1b7c08d488a1..ac9f100e285a 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -197,7 +197,7 @@ public: ); protected: - virtual ~OControl(); + virtual ~OControl() override; /** sets the control as delegator at the aggregate @@ -276,7 +276,7 @@ public: const bool _bSetDelegator = true ); - virtual ~OBoundControl(); + virtual ~OBoundControl() override; DECLARE_UNO3_AGG_DEFAULTS(OBoundControl, OControl) virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& _rType ) throw(css::uno::RuntimeException, std::exception) override; @@ -362,7 +362,7 @@ protected: const bool _bCloneAggregate = true, // should the aggregate of the original be cloned, too? const bool _bSetDelegator = true // set to sal_False if you want to call setDelegator later (after returning from this ctor) ); - virtual ~OControlModel(); + virtual ~OControlModel() override; /** to be called after a OBoundControlModel (a derivee, respectively) has been cloned @@ -522,7 +522,7 @@ public: const classname* _pOriginal, \ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory \ ); \ - virtual ~classname() \ + virtual ~classname() override \ #define IMPLEMENT_DEFAULT_CLONING( classname ) \ @@ -657,7 +657,7 @@ protected: const css::uno::Reference< css::uno::XComponentContext>& _rxContext // factory to create the aggregate with ); - virtual ~OBoundControlModel(); + virtual ~OBoundControlModel() override; /// late ctor after cloning virtual void clonedFrom( const OControlModel* _pOriginal ) override; diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx index 1bb167620e84..90163803a4e8 100644 --- a/forms/source/inc/InterfaceContainer.hxx +++ b/forms/source/inc/InterfaceContainer.hxx @@ -286,7 +286,7 @@ protected: public: OFormComponents(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); OFormComponents( const OFormComponents& _cloneSource ); - virtual ~OFormComponents(); + virtual ~OFormComponents() override; DECLARE_UNO3_AGG_DEFAULTS(OFormComponents, FormComponentsBase) diff --git a/forms/source/richtext/attributedispatcher.hxx b/forms/source/richtext/attributedispatcher.hxx index 358a2df57513..a2e89f829be2 100644 --- a/forms/source/richtext/attributedispatcher.hxx +++ b/forms/source/richtext/attributedispatcher.hxx @@ -55,7 +55,7 @@ namespace frm ); protected: - virtual ~OAttributeDispatcher( ); + virtual ~OAttributeDispatcher( ) override; // XDispatch virtual void SAL_CALL dispatch( const css::util::URL& URL, const css::uno::Sequence< css::beans::PropertyValue >& Arguments ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx index d0041b3963d0..b3ecf9006d5b 100644 --- a/forms/source/richtext/clipboarddispatcher.hxx +++ b/forms/source/richtext/clipboarddispatcher.hxx @@ -73,7 +73,7 @@ namespace frm explicit OPasteClipboardDispatcher( EditView& _rView ); protected: - virtual ~OPasteClipboardDispatcher(); + virtual ~OPasteClipboardDispatcher() override; // OClipboardDispatcher virtual bool implIsEnabled( ) const override; diff --git a/forms/source/richtext/featuredispatcher.hxx b/forms/source/richtext/featuredispatcher.hxx index a15558cb5455..425735b582ac 100644 --- a/forms/source/richtext/featuredispatcher.hxx +++ b/forms/source/richtext/featuredispatcher.hxx @@ -55,7 +55,7 @@ namespace frm protected: ORichTextFeatureDispatcher( EditView& _rView, const css::util::URL& _rURL ); - virtual ~ORichTextFeatureDispatcher( ); + virtual ~ORichTextFeatureDispatcher( ) override; public: /// clean up resources associated with this instance diff --git a/forms/source/richtext/parametrizedattributedispatcher.hxx b/forms/source/richtext/parametrizedattributedispatcher.hxx index 0b531f78cf4b..0dbe9d48ca34 100644 --- a/forms/source/richtext/parametrizedattributedispatcher.hxx +++ b/forms/source/richtext/parametrizedattributedispatcher.hxx @@ -38,7 +38,7 @@ namespace frm ); protected: - virtual ~OParametrizedAttributeDispatcher(); + virtual ~OParametrizedAttributeDispatcher() override; // XDispatch virtual void SAL_CALL dispatch( const css::util::URL& URL, const css::uno::Sequence< css::beans::PropertyValue >& Arguments ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index 5bda91b38949..993bd21edff5 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -49,7 +49,7 @@ namespace frm ORichTextControl(); protected: - virtual ~ORichTextControl(); + virtual ~ORichTextControl() override; public: // XServiceInfo - static version @@ -106,7 +106,7 @@ namespace frm protected: ORichTextPeer(); - virtual ~ORichTextPeer(); + virtual ~ORichTextPeer() override; // XView void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index e2beb7fc35c9..63b08a3765e5 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -49,7 +49,7 @@ namespace frm static RichTextEngine* Create(); RichTextEngine* Clone(); - virtual ~RichTextEngine( ); + virtual ~RichTextEngine( ) override; // for multiplexing the StatusChanged events of the edit engine void registerEngineStatusListener( IEngineStatusListener* _pListener ); diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx index 4de0d6ffb2d5..7f2fba8cedf9 100644 --- a/forms/source/richtext/richtextunowrapper.hxx +++ b/forms/source/richtext/richtextunowrapper.hxx @@ -42,7 +42,7 @@ namespace frm ORichTextUnoWrapper( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener ); protected: - virtual ~ORichTextUnoWrapper() throw(); + virtual ~ORichTextUnoWrapper() throw() override; private: @@ -66,7 +66,7 @@ namespace frm virtual void UpdateData() override; protected: - virtual ~RichTextEditSource(); + virtual ~RichTextEditSource() override; private: RichTextEditSource( const RichTextEditSource& _rSource ) = delete; diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index 9d9ce3bdbb05..6725ab78bd5f 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -52,7 +52,7 @@ namespace frm ITextSelectionListener* _pSelectionListener ); - virtual ~RichTextControl( ); + virtual ~RichTextControl( ) override; virtual void dispose() override; /* enables the change notifications for a particular attribute diff --git a/forms/source/richtext/rtattributehandler.hxx b/forms/source/richtext/rtattributehandler.hxx index 70118a8bbca4..c8c2fcb6cf73 100644 --- a/forms/source/richtext/rtattributehandler.hxx +++ b/forms/source/richtext/rtattributehandler.hxx @@ -62,7 +62,7 @@ namespace frm virtual AttributeCheckState implGetCheckState( const SfxPoolItem& _rItem ) const; protected: - virtual ~AttributeHandler(); + virtual ~AttributeHandler() override; }; namespace AttributeHandlerFactory diff --git a/forms/source/richtext/specialdispatchers.hxx b/forms/source/richtext/specialdispatchers.hxx index df56daffa464..f7b2e0f0a169 100644 --- a/forms/source/richtext/specialdispatchers.hxx +++ b/forms/source/richtext/specialdispatchers.hxx @@ -32,7 +32,7 @@ namespace frm OSelectAllDispatcher( EditView& _rView, const css::util::URL& _rURL ); protected: - virtual ~OSelectAllDispatcher(); + virtual ~OSelectAllDispatcher() override; // XDispatch virtual void SAL_CALL dispatch( const css::util::URL& URL, const css::uno::Sequence< css::beans::PropertyValue >& Arguments ) diff --git a/forms/source/runtime/formoperations.hxx b/forms/source/runtime/formoperations.hxx index 06aec6a3a1b8..47acd3fe48b6 100644 --- a/forms/source/runtime/formoperations.hxx +++ b/forms/source/runtime/formoperations.hxx @@ -102,7 +102,7 @@ namespace frm } protected: - virtual ~FormOperations(); + virtual ~FormOperations() override; // XInitialization virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx index b871e115fdf0..3fa62b30ac7c 100644 --- a/forms/source/solar/component/navbarcontrol.hxx +++ b/forms/source/solar/component/navbarcontrol.hxx @@ -49,7 +49,7 @@ namespace frm ); protected: - virtual ~ONavigationBarControl(); + virtual ~ONavigationBarControl() override; public: // XServiceInfo - static version @@ -98,7 +98,7 @@ namespace frm explicit ONavigationBarPeer( const css::uno::Reference< css::uno::XComponentContext >& _rxORB ); - virtual ~ONavigationBarPeer(); + virtual ~ONavigationBarPeer() override; public: // XInterface diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx index a9b92b68932c..b195f7ba9b55 100644 --- a/forms/source/solar/inc/navtoolbar.hxx +++ b/forms/source/solar/inc/navtoolbar.hxx @@ -69,7 +69,7 @@ namespace frm const std::shared_ptr< const ICommandImageProvider >& _pImageProvider, const OUString & sModuleId ); - virtual ~NavigationToolBar( ); + virtual ~NavigationToolBar( ) override; virtual void dispose() override; /** sets the dispatcher which is to be used for the features diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx index e32797772e36..8e4cd809dbcc 100644 --- a/forms/source/xforms/NameContainer.hxx +++ b/forms/source/xforms/NameContainer.hxx @@ -84,7 +84,7 @@ protected: public: NameContainer() {} - virtual ~NameContainer() {} + virtual ~NameContainer() override {} // methods for XElementAccess diff --git a/forms/source/xforms/binding.hxx b/forms/source/xforms/binding.hxx index a413e39eda63..42fba2ca7d72 100644 --- a/forms/source/xforms/binding.hxx +++ b/forms/source/xforms/binding.hxx @@ -157,7 +157,7 @@ private: public: Binding(); - virtual ~Binding(); + virtual ~Binding() override; // property methods: get/set value diff --git a/forms/source/xforms/collection.hxx b/forms/source/xforms/collection.hxx index 11ae4de55108..8ea1ae147c6e 100644 --- a/forms/source/xforms/collection.hxx +++ b/forms/source/xforms/collection.hxx @@ -61,7 +61,7 @@ protected: public: Collection() {} - virtual ~Collection() {} + virtual ~Collection() override {} const T& getItem( sal_Int32 n ) const { diff --git a/forms/source/xforms/datatyperepository.hxx b/forms/source/xforms/datatyperepository.hxx index 0d3723cdba48..15c7702c19f3 100644 --- a/forms/source/xforms/datatyperepository.hxx +++ b/forms/source/xforms/datatyperepository.hxx @@ -47,7 +47,7 @@ namespace xforms ODataTypeRepository( ); protected: - virtual ~ODataTypeRepository( ); + virtual ~ODataTypeRepository( ) override; // XDataTypeRepository virtual css::uno::Reference< css::xsd::XDataType > SAL_CALL getBasicDataType( sal_Int16 dataTypeClass ) throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override; diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx index a319c56975ac..5f1d40551535 100644 --- a/forms/source/xforms/datatypes.hxx +++ b/forms/source/xforms/datatypes.hxx @@ -75,7 +75,7 @@ namespace xforms protected: // create basic data type OXSDDataType( const OUString& _rName, sal_Int16 _nTypeClass ); - virtual ~OXSDDataType(); + virtual ~OXSDDataType() override; public: DECLARE_XINTERFACE() diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx index 70e067c8834c..87fe6066be3d 100644 --- a/forms/source/xforms/model.hxx +++ b/forms/source/xforms/model.hxx @@ -117,7 +117,7 @@ public: /// create a new model with an empty, default instance Model(); - virtual ~Model() throw(); + virtual ~Model() throw() override; // get Model implementation from API object static Model* getModel( const css::uno::Reference<css::xforms::XModel>& ); diff --git a/forms/source/xforms/model_helper.hxx b/forms/source/xforms/model_helper.hxx index c331861efd8d..23423b4a031f 100644 --- a/forms/source/xforms/model_helper.hxx +++ b/forms/source/xforms/model_helper.hxx @@ -53,7 +53,7 @@ class BindingCollection : public NamedCollection<css::uno::Reference<css::beans: public: explicit BindingCollection( Model* pModel ) : mpModel( pModel ) {} - virtual ~BindingCollection() {} + virtual ~BindingCollection() override {} virtual bool isValid( const T& t ) const override { @@ -80,7 +80,7 @@ class SubmissionCollection : public NamedCollection<css::uno::Reference<css::bea public: explicit SubmissionCollection( Model* pModel ) : mpModel( pModel ) {} - virtual ~SubmissionCollection() {} + virtual ~SubmissionCollection() override {} public: virtual bool isValid( const T& t ) const override diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx index 8563f0b9160c..4408f8a23c94 100644 --- a/forms/source/xforms/propertysetbase.hxx +++ b/forms/source/xforms/propertysetbase.hxx @@ -45,7 +45,7 @@ class PropertyAccessorBase : public salhelper::SimpleReferenceObject { protected: PropertyAccessorBase() { } - virtual ~PropertyAccessorBase(); + virtual ~PropertyAccessorBase() override; public: @@ -188,7 +188,7 @@ private: protected: PropertySetBase(); - virtual ~PropertySetBase(); + virtual ~PropertySetBase() override; /** registers a new property to be supported by this instance @param rProperty diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index b847477298a5..d4521818839d 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -94,7 +94,7 @@ private: public: Submission(); - virtual ~Submission() throw(); + virtual ~Submission() throw() override; // property methods: get/set value diff --git a/forms/source/xforms/xformsevent.hxx b/forms/source/xforms/xformsevent.hxx index 414458c04128..e3aff320f306 100644 --- a/forms/source/xforms/xformsevent.hxx +++ b/forms/source/xforms/xformsevent.hxx @@ -40,7 +40,7 @@ class XFormsEventConcrete : public cppu::WeakImplHelper< XFormsEvent > { , m_cancelable(false) { } - virtual ~XFormsEventConcrete() {} + virtual ~XFormsEventConcrete() override {} virtual OUString SAL_CALL getType() throw (css::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::xml::dom::events::XEventTarget > SAL_CALL getTarget() throw (css::uno::RuntimeException, std::exception) override; diff --git a/formula/source/ui/dlg/ControlHelper.hxx b/formula/source/ui/dlg/ControlHelper.hxx index 0057a3afde2e..b1a6ed81d8a5 100644 --- a/formula/source/ui/dlg/ControlHelper.hxx +++ b/formula/source/ui/dlg/ControlHelper.hxx @@ -47,7 +47,7 @@ protected: public: EditBox( vcl::Window* pParent, WinBits nBits ); - virtual ~EditBox(); + virtual ~EditBox() override; virtual void dispose() override; MultiLineEdit* GetEdit() {return pMEdit;} @@ -64,7 +64,7 @@ class ArgEdit : public RefEdit { public: ArgEdit( vcl::Window* pParent, WinBits nBits ); - virtual ~ArgEdit(); + virtual ~ArgEdit() override; virtual void dispose() override; void Init( ArgEdit* pPrevEdit, ArgEdit* pNextEdit, diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index c6eaea1f818a..f7ef009c3b0f 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -83,7 +83,7 @@ protected: public: FuncPage( vcl::Window* pParent,const IFunctionManager* _pFunctionManager); - virtual ~FuncPage(); + virtual ~FuncPage() override; virtual void dispose() override; void SetCategory(sal_Int32 nCat); diff --git a/formula/source/ui/dlg/parawin.hxx b/formula/source/ui/dlg/parawin.hxx index 431b3521dbcf..b50192017591 100644 --- a/formula/source/ui/dlg/parawin.hxx +++ b/formula/source/ui/dlg/parawin.hxx @@ -123,7 +123,7 @@ protected: public: ParaWin(vcl::Window* pParent,IControlReferenceHandler* _pDlg); - virtual ~ParaWin(); + virtual ~ParaWin() override; virtual void dispose() override; void SetFunctionDesc(const IFunctionDescription* pFDesc); diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index 95b0f47bcf02..5dab3c593808 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -86,7 +86,7 @@ protected: public: explicit StructPage(vcl::Window* pParent); - virtual ~StructPage(); + virtual ~StructPage() override; virtual void dispose() override; void ClearStruct(); diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 5f8f331a7f3c..1c9f19da76f0 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -83,7 +83,7 @@ protected: public: SvtFilePicker(); - virtual ~SvtFilePicker(); + virtual ~SvtFilePicker() override; // disambiguate XInterface diff --git a/fpicker/source/office/OfficeFolderPicker.hxx b/fpicker/source/office/OfficeFolderPicker.hxx index 155f5a31bd60..31e7dbd27089 100644 --- a/fpicker/source/office/OfficeFolderPicker.hxx +++ b/fpicker/source/office/OfficeFolderPicker.hxx @@ -50,7 +50,7 @@ private: public: SvtFolderPicker(); - virtual ~SvtFolderPicker(); + virtual ~SvtFolderPicker() override; // XFolderPicker2 functions diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx index 05c2637883aa..5ea96efa3ce2 100644 --- a/fpicker/source/office/PlacesListBox.hxx +++ b/fpicker/source/office/PlacesListBox.hxx @@ -28,7 +28,7 @@ class PlacesListBox_Impl : public SvHeaderTabListBox public: PlacesListBox_Impl( PlacesListBox* pParent, const OUString& rTitle ); - virtual ~PlacesListBox_Impl( ); + virtual ~PlacesListBox_Impl( ) override; virtual void dispose() override; virtual void MouseButtonUp( const MouseEvent& rMEvt ) override; @@ -50,7 +50,7 @@ class PlacesListBox : public Control public: PlacesListBox( vcl::Window* pParent, SvtFileDialog* pFileDlg, const OUString& rTitle, WinBits nBits ); - virtual ~PlacesListBox( ); + virtual ~PlacesListBox( ) override; virtual void dispose() override; void AppendPlace( const PlacePtr& pPlace ); diff --git a/fpicker/source/office/QueryFolderName.hxx b/fpicker/source/office/QueryFolderName.hxx index 11373dff5bd0..31cbc6485c56 100644 --- a/fpicker/source/office/QueryFolderName.hxx +++ b/fpicker/source/office/QueryFolderName.hxx @@ -38,7 +38,7 @@ private: public: QueryFolderNameDialog(vcl::Window* _pParent, const OUString& rTitle, const OUString& rDefaultText); - virtual ~QueryFolderNameDialog(); + virtual ~QueryFolderNameDialog() override; virtual void dispose() override; OUString GetName() const { return m_pNameEdit->GetText(); } }; diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 59f77918f6b0..cc74021ade8f 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -38,7 +38,7 @@ class FileViewContainer : public vcl::Window { } - virtual ~FileViewContainer() + virtual ~FileViewContainer() override { disposeOnce(); } diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx index 8291eb9ce193..672e2fa3ff33 100644 --- a/fpicker/source/office/RemoteFilesDialog.hxx +++ b/fpicker/source/office/RemoteFilesDialog.hxx @@ -71,7 +71,7 @@ class RemoteFilesDialog : public SvtFileDialog_Base { public: RemoteFilesDialog( vcl::Window* pParent, PickerFlags nBits ); - virtual ~RemoteFilesDialog(); + virtual ~RemoteFilesDialog() override; virtual void dispose() override; virtual void Resize() override; diff --git a/fpicker/source/office/asyncfilepicker.hxx b/fpicker/source/office/asyncfilepicker.hxx index 864c330c044f..51089d35b349 100644 --- a/fpicker/source/office/asyncfilepicker.hxx +++ b/fpicker/source/office/asyncfilepicker.hxx @@ -80,7 +80,7 @@ namespace svt void cancel(); protected: - virtual ~AsyncPickerAction(); + virtual ~AsyncPickerAction() override; private: DECL_LINK_TYPED( OnActionDone, void*, void ); diff --git a/fpicker/source/office/commonpicker.hxx b/fpicker/source/office/commonpicker.hxx index 9e0c4a484105..5039254d7515 100644 --- a/fpicker/source/office/commonpicker.hxx +++ b/fpicker/source/office/commonpicker.hxx @@ -86,7 +86,7 @@ namespace svt OCommonPicker(); protected: - virtual ~OCommonPicker(); + virtual ~OCommonPicker() override; // overridables diff --git a/fpicker/source/office/fpinteraction.hxx b/fpicker/source/office/fpinteraction.hxx index 2524082cf14e..26d82bc61151 100644 --- a/fpicker/source/office/fpinteraction.hxx +++ b/fpicker/source/office/fpinteraction.hxx @@ -72,7 +72,7 @@ namespace svt virtual void SAL_CALL handle( const css::uno::Reference< css::task::XInteractionRequest >& _rxRequest ) throw (css::uno::RuntimeException, std::exception) override; private: - virtual ~OFilePickerInteractionHandler(); + virtual ~OFilePickerInteractionHandler() override; }; diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index eb15bfa19d54..6a8b5a26a8b4 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -348,7 +348,7 @@ public: , m_nCurrentFocus(FocusState::Prev) { } - virtual ~CustomContainer() { disposeOnce(); } + virtual ~CustomContainer() override { disposeOnce(); } virtual void dispose() override { _pFileView.clear(); diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx index 016319a9e656..a097aeaf1c88 100644 --- a/fpicker/source/office/iodlg.hxx +++ b/fpicker/source/office/iodlg.hxx @@ -160,7 +160,7 @@ protected: public: SvtFileDialog( vcl::Window* _pParent, PickerFlags nBits ); - virtual ~SvtFileDialog(); + virtual ~SvtFileDialog() override; virtual void dispose() override; virtual short Execute() override; diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx index 7ad944300e56..7781a2e73f52 100644 --- a/fpicker/source/office/iodlgimp.hxx +++ b/fpicker/source/office/iodlgimp.hxx @@ -80,7 +80,7 @@ enum SvtFileDlgType class SvtFileDialogURLSelector : public MenuButton { public: - virtual ~SvtFileDialogURLSelector(); + virtual ~SvtFileDialogURLSelector() override; virtual void dispose() override; private: VclPtr<SvtFileDialog> m_pDlg; @@ -103,7 +103,7 @@ private: public: SvtUpButton_Impl( vcl::Window* pParent, SvtFileDialog* pDlg, WinBits nBits ); - virtual ~SvtUpButton_Impl(); + virtual ~SvtUpButton_Impl() override; protected: virtual void FillURLMenu( PopupMenu* _pMenu ) override; diff --git a/framework/inc/classes/actiontriggercontainer.hxx b/framework/inc/classes/actiontriggercontainer.hxx index 778f6c35dac0..7408392e5a76 100644 --- a/framework/inc/classes/actiontriggercontainer.hxx +++ b/framework/inc/classes/actiontriggercontainer.hxx @@ -39,7 +39,7 @@ class FWE_DLLPUBLIC ActionTriggerContainer : public PropertySetContainer, { public: ActionTriggerContainer(); - virtual ~ActionTriggerContainer(); + virtual ~ActionTriggerContainer() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) diff --git a/framework/inc/classes/actiontriggerpropertyset.hxx b/framework/inc/classes/actiontriggerpropertyset.hxx index a1cddc6eefd1..7b190399745d 100644 --- a/framework/inc/classes/actiontriggerpropertyset.hxx +++ b/framework/inc/classes/actiontriggerpropertyset.hxx @@ -47,7 +47,7 @@ class ActionTriggerPropertySet : private cppu::BaseMutex, { public: FWE_DLLPUBLIC ActionTriggerPropertySet(); - FWE_DLLPUBLIC virtual ~ActionTriggerPropertySet(); + FWE_DLLPUBLIC virtual ~ActionTriggerPropertySet() override; // XInterface virtual FWE_DLLPUBLIC css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) diff --git a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx index c50555621571..6addfcd0dfd0 100644 --- a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx +++ b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx @@ -45,7 +45,7 @@ class ActionTriggerSeparatorPropertySet : private cppu::BaseMutex, { public: ActionTriggerSeparatorPropertySet(); - virtual ~ActionTriggerSeparatorPropertySet(); + virtual ~ActionTriggerSeparatorPropertySet() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) diff --git a/framework/inc/classes/imagewrapper.hxx b/framework/inc/classes/imagewrapper.hxx index 964907c17d96..41b75fcd93ec 100644 --- a/framework/inc/classes/imagewrapper.hxx +++ b/framework/inc/classes/imagewrapper.hxx @@ -36,7 +36,7 @@ class FWE_DLLPUBLIC ImageWrapper : { public: ImageWrapper( const Image& aImage ); - virtual ~ImageWrapper(); + virtual ~ImageWrapper() override; const Image& GetImage() const { diff --git a/framework/inc/classes/rootactiontriggercontainer.hxx b/framework/inc/classes/rootactiontriggercontainer.hxx index 53d009cec6ab..131ead076040 100644 --- a/framework/inc/classes/rootactiontriggercontainer.hxx +++ b/framework/inc/classes/rootactiontriggercontainer.hxx @@ -43,7 +43,7 @@ class FWE_DLLPUBLIC RootActionTriggerContainer : public PropertySetContainer, { public: RootActionTriggerContainer( const Menu* pMenu, const OUString* pMenuIdentifier); - virtual ~RootActionTriggerContainer(); + virtual ~RootActionTriggerContainer() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx index b7b65fa7d874..a20db060d711 100644 --- a/framework/inc/dispatch/closedispatcher.hxx +++ b/framework/inc/dispatch/closedispatcher.hxx @@ -127,7 +127,7 @@ class CloseDispatcher : public ::cppu::WeakImplHelper< const OUString& sTarget); /** @short does nothing real. */ - virtual ~CloseDispatcher(); + virtual ~CloseDispatcher() override; // uno interface diff --git a/framework/inc/dispatch/dispatchinformationprovider.hxx b/framework/inc/dispatch/dispatchinformationprovider.hxx index 169e289255a0..b59c8785c1b8 100644 --- a/framework/inc/dispatch/dispatchinformationprovider.hxx +++ b/framework/inc/dispatch/dispatchinformationprovider.hxx @@ -52,7 +52,7 @@ class DispatchInformationProvider : public ::cppu::WeakImplHelper< css::frame:: DispatchInformationProvider(const css::uno::Reference< css::uno::XComponentContext >& xContext , const css::uno::Reference< css::frame::XFrame >& xFrame); - virtual ~DispatchInformationProvider(); + virtual ~DispatchInformationProvider() override; virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups() throw (css::uno::RuntimeException, std::exception) override; diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx index 945fbaa83d4c..af0d9105145b 100644 --- a/framework/inc/dispatch/dispatchprovider.hxx +++ b/framework/inc/dispatch/dispatchprovider.hxx @@ -96,7 +96,7 @@ class DispatchProvider: public ::cppu::WeakImplHelper< css::frame::XDispatchProv /* helper */ protected: // Let him protected! So nobody can use us as base ... - virtual ~DispatchProvider(); + virtual ~DispatchProvider() override; private: css::uno::Reference< css::frame::XDispatch > implts_getOrCreateDispatchHelper ( EDispatchHelper eHelper , diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx index 7a67b7083222..7c6e55505071 100644 --- a/framework/inc/dispatch/interceptionhelper.hxx +++ b/framework/inc/dispatch/interceptionhelper.hxx @@ -165,7 +165,7 @@ class InterceptionHelper : public ::cppu::WeakImplHelper< This method is protected, because its not allowed to use this class as a direct member! You MUST use a dynamical instance (pointer). That's the reason for a protected dtor. */ - virtual ~InterceptionHelper(); + virtual ~InterceptionHelper() override; // uno interface diff --git a/framework/inc/dispatch/mailtodispatcher.hxx b/framework/inc/dispatch/mailtodispatcher.hxx index f3fb8ed3d02b..f1dbabbde40f 100644 --- a/framework/inc/dispatch/mailtodispatcher.hxx +++ b/framework/inc/dispatch/mailtodispatcher.hxx @@ -64,7 +64,7 @@ class MailToDispatcher : public ::cppu::WeakImplHelper< // ctor/dtor MailToDispatcher( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~MailToDispatcher( ); + virtual ~MailToDispatcher( ) override; // XInterface, XTypeProvider, XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/dispatch/oxt_handler.hxx b/framework/inc/dispatch/oxt_handler.hxx index 96920adf642f..c3cfddb3b601 100644 --- a/framework/inc/dispatch/oxt_handler.hxx +++ b/framework/inc/dispatch/oxt_handler.hxx @@ -59,7 +59,7 @@ class Oxt_Handler : public ::cppu::WeakImplHelper< public: Oxt_Handler( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ); - virtual ~Oxt_Handler( ); + virtual ~Oxt_Handler( ) override; // XInterface, XTypeProvider, XServiceInfo diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx index fcd5718104f0..c4dd32b9cedf 100644 --- a/framework/inc/dispatch/popupmenudispatcher.hxx +++ b/framework/inc/dispatch/popupmenudispatcher.hxx @@ -116,7 +116,7 @@ class PopupMenuDispatcher : public ::cppu::WeakImplHelper< // protected methods protected: - virtual ~PopupMenuDispatcher(); + virtual ~PopupMenuDispatcher() override; void impl_RetrievePopupControllerQuery(); void impl_CreateUriRefFactory(); diff --git a/framework/inc/dispatch/servicehandler.hxx b/framework/inc/dispatch/servicehandler.hxx index bd75de8d7f96..ea3a66d23589 100644 --- a/framework/inc/dispatch/servicehandler.hxx +++ b/framework/inc/dispatch/servicehandler.hxx @@ -68,7 +68,7 @@ class ServiceHandler : public ::cppu::WeakImplHelper< // ctor/dtor ServiceHandler( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ); - virtual ~ServiceHandler( ); + virtual ~ServiceHandler( ) override; // XInterface, XTypeProvider, XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/dispatch/startmoduledispatcher.hxx b/framework/inc/dispatch/startmoduledispatcher.hxx index 1a978777357c..3fbc3ee01618 100644 --- a/framework/inc/dispatch/startmoduledispatcher.hxx +++ b/framework/inc/dispatch/startmoduledispatcher.hxx @@ -76,7 +76,7 @@ class StartModuleDispatcher : public ::cppu::WeakImplHelper< StartModuleDispatcher(const css::uno::Reference< css::uno::XComponentContext >& rxContext); /** @short does nothing real. */ - virtual ~StartModuleDispatcher(); + virtual ~StartModuleDispatcher() override; // uno interface diff --git a/framework/inc/dispatch/systemexec.hxx b/framework/inc/dispatch/systemexec.hxx index b14d4ffda6d6..fe87a90e35dd 100644 --- a/framework/inc/dispatch/systemexec.hxx +++ b/framework/inc/dispatch/systemexec.hxx @@ -66,7 +66,7 @@ class SystemExec : public ::cppu::WeakImplHelper< // ctor/dtor SystemExec( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~SystemExec( ); + virtual ~SystemExec( ) override; // XInterface, XTypeProvider, XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/helper/dockingareadefaultacceptor.hxx b/framework/inc/helper/dockingareadefaultacceptor.hxx index 0fd863af6238..9581c77f171b 100644 --- a/framework/inc/helper/dockingareadefaultacceptor.hxx +++ b/framework/inc/helper/dockingareadefaultacceptor.hxx @@ -52,7 +52,7 @@ class DockingAreaDefaultAcceptor : public ::cppu::WeakImplHelper< css::ui:: *//*-*****************************************************************************************************/ DockingAreaDefaultAcceptor( const css::uno::Reference< css::frame::XFrame >& xOwner ); - virtual ~DockingAreaDefaultAcceptor(); + virtual ~DockingAreaDefaultAcceptor() override; // XDockingAreaAcceptor diff --git a/framework/inc/helper/mischelper.hxx b/framework/inc/helper/mischelper.hxx index 99998563bde8..49fd219ba55d 100644 --- a/framework/inc/helper/mischelper.hxx +++ b/framework/inc/helper/mischelper.hxx @@ -153,7 +153,7 @@ class WeakContainerListener : public ::cppu::WeakImplHelper<css::container::XCon { } - virtual ~WeakContainerListener() + virtual ~WeakContainerListener() override { } @@ -208,7 +208,7 @@ class WeakChangesListener : public ::cppu::WeakImplHelper<css::util::XChangesLis { } - virtual ~WeakChangesListener() + virtual ~WeakChangesListener() override { } @@ -245,7 +245,7 @@ class WeakDocumentEventListener : public ::cppu::WeakImplHelper<css::document::X { } - virtual ~WeakDocumentEventListener() + virtual ~WeakDocumentEventListener() override { } diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx index 9f7c88d6e679..1d541b15f8fb 100644 --- a/framework/inc/helper/ocomponentaccess.hxx +++ b/framework/inc/helper/ocomponentaccess.hxx @@ -127,7 +127,7 @@ class OComponentAccess : public ::cppu::WeakImplHelper< css::container::XEnum @seealso class Desktop *//*-*****************************************************************************************************/ - virtual ~OComponentAccess(); + virtual ~OComponentAccess() override; private: diff --git a/framework/inc/helper/ocomponentenumeration.hxx b/framework/inc/helper/ocomponentenumeration.hxx index ea3f1b57f976..a055d88f8c68 100644 --- a/framework/inc/helper/ocomponentenumeration.hxx +++ b/framework/inc/helper/ocomponentenumeration.hxx @@ -125,7 +125,7 @@ class OComponentEnumeration : public ::cppu::WeakImplHelper< css::container::X You must create it dynamical in memory and use a pointer. *//*-*****************************************************************************************************/ - virtual ~OComponentEnumeration(); + virtual ~OComponentEnumeration() override; /*-**************************************************************************************************** @short reset instance to default values diff --git a/framework/inc/helper/oframes.hxx b/framework/inc/helper/oframes.hxx index 63f2d91150d4..3eae713bf941 100644 --- a/framework/inc/helper/oframes.hxx +++ b/framework/inc/helper/oframes.hxx @@ -165,7 +165,7 @@ class OFrames : public ::cppu::WeakImplHelper< css::frame::XFrames > This method is protected, because its not allowed to use this class as a member! You MUST use a dynamical instance (pointer). That's the reason for a protected dtor. *//*-*****************************************************************************************************/ - virtual ~OFrames(); + virtual ~OFrames() override; /*-**************************************************************************************************** @short reset instance to default values diff --git a/framework/inc/helper/persistentwindowstate.hxx b/framework/inc/helper/persistentwindowstate.hxx index b129d32fb31f..4e84cb5c12f8 100644 --- a/framework/inc/helper/persistentwindowstate.hxx +++ b/framework/inc/helper/persistentwindowstate.hxx @@ -76,7 +76,7 @@ class PersistentWindowState : public ::cppu::WeakImplHelper< // ctor/dtor PersistentWindowState(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~PersistentWindowState( ); + virtual ~PersistentWindowState( ) override; // XInitialization virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any >& lArguments) diff --git a/framework/inc/helper/propertysetcontainer.hxx b/framework/inc/helper/propertysetcontainer.hxx index a04f2020e9a4..b2248a45fe74 100644 --- a/framework/inc/helper/propertysetcontainer.hxx +++ b/framework/inc/helper/propertysetcontainer.hxx @@ -37,7 +37,7 @@ class FWE_DLLPUBLIC PropertySetContainer : public css::container::XIndexContaine { public: PropertySetContainer(); - virtual ~PropertySetContainer(); + virtual ~PropertySetContainer() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) diff --git a/framework/inc/helper/statusindicator.hxx b/framework/inc/helper/statusindicator.hxx index 7885fa986906..c1e39f90486a 100644 --- a/framework/inc/helper/statusindicator.hxx +++ b/framework/inc/helper/statusindicator.hxx @@ -83,7 +83,7 @@ class StatusIndicator : public ::cppu::WeakImplHelper< css::task::XStatusIndica /** @short does nothing real .... */ - virtual ~StatusIndicator(); + virtual ~StatusIndicator() override; // uno interface public: diff --git a/framework/inc/helper/statusindicatorfactory.hxx b/framework/inc/helper/statusindicatorfactory.hxx index 1a0ada7c6d1b..21fa060c9134 100644 --- a/framework/inc/helper/statusindicatorfactory.hxx +++ b/framework/inc/helper/statusindicatorfactory.hxx @@ -245,7 +245,7 @@ class StatusIndicatorFactory : public ::cppu::WeakImplHelper< protected: - virtual ~StatusIndicatorFactory(); + virtual ~StatusIndicatorFactory() override; // helper private: diff --git a/framework/inc/helper/tagwindowasmodified.hxx b/framework/inc/helper/tagwindowasmodified.hxx index edf9d15f5fdc..fdc26596c0d3 100644 --- a/framework/inc/helper/tagwindowasmodified.hxx +++ b/framework/inc/helper/tagwindowasmodified.hxx @@ -71,7 +71,7 @@ class TagWindowAsModified : public ::cppu::WeakImplHelper< // ctor/dtor TagWindowAsModified(); - virtual ~TagWindowAsModified( ); + virtual ~TagWindowAsModified( ) override; // XInterface, XTypeProvider diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx index f085ba62cd60..6fc4cb4c1be5 100644 --- a/framework/inc/helper/titlebarupdate.hxx +++ b/framework/inc/helper/titlebarupdate.hxx @@ -78,7 +78,7 @@ class TitleBarUpdate : public ::cppu::WeakImplHelper< // ctor/dtor TitleBarUpdate(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~TitleBarUpdate( ); + virtual ~TitleBarUpdate( ) override; // XInterface, XTypeProvider diff --git a/framework/inc/helper/uiconfigelementwrapperbase.hxx b/framework/inc/helper/uiconfigelementwrapperbase.hxx index ff694c9c4e41..4813125d31ef 100644 --- a/framework/inc/helper/uiconfigelementwrapperbase.hxx +++ b/framework/inc/helper/uiconfigelementwrapperbase.hxx @@ -59,7 +59,7 @@ class UIConfigElementWrapperBase : private cppu::BaseMutex, public: UIConfigElementWrapperBase( sal_Int16 nType ); - virtual ~UIConfigElementWrapperBase(); + virtual ~UIConfigElementWrapperBase() override; // XInterface virtual void SAL_CALL acquire() throw () override diff --git a/framework/inc/helper/uielementwrapperbase.hxx b/framework/inc/helper/uielementwrapperbase.hxx index f8d9b4fa1c52..e856fbc35c94 100644 --- a/framework/inc/helper/uielementwrapperbase.hxx +++ b/framework/inc/helper/uielementwrapperbase.hxx @@ -53,7 +53,7 @@ class UIElementWrapperBase : private cppu::BaseMutex, public: UIElementWrapperBase( sal_Int16 nType ); - virtual ~UIElementWrapperBase(); + virtual ~UIElementWrapperBase() override; // XInterface virtual void SAL_CALL acquire() throw () override diff --git a/framework/inc/helper/vclstatusindicator.hxx b/framework/inc/helper/vclstatusindicator.hxx index d4907a385365..6c4c389fca76 100644 --- a/framework/inc/helper/vclstatusindicator.hxx +++ b/framework/inc/helper/vclstatusindicator.hxx @@ -70,7 +70,7 @@ class VCLStatusIndicator : public ::cppu::WeakImplHelper< css::task::XStatusInd VCLStatusIndicator(const css::uno::Reference< css::awt::XWindow >& xParentWindow); /// dtor - virtual ~VCLStatusIndicator(); + virtual ~VCLStatusIndicator() override; /// XStatusIndicator virtual void SAL_CALL start(const OUString& sText , diff --git a/framework/inc/jobs/helponstartup.hxx b/framework/inc/jobs/helponstartup.hxx index 6b9841d9109c..e26bb74ed410 100644 --- a/framework/inc/jobs/helponstartup.hxx +++ b/framework/inc/jobs/helponstartup.hxx @@ -87,7 +87,7 @@ class HelpOnStartup : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,css so this class can't make trouble related to inline/symbols etcpp.! */ - virtual ~HelpOnStartup(); + virtual ~HelpOnStartup() override; // uno interface public: diff --git a/framework/inc/jobs/job.hxx b/framework/inc/jobs/job.hxx index d108c5d9ce27..5f0a02d4bbaf 100644 --- a/framework/inc/jobs/job.hxx +++ b/framework/inc/jobs/job.hxx @@ -171,7 +171,7 @@ class Job : public ::cppu::WeakImplHelper< const css::uno::Reference< css::frame::XFrame >& xFrame ); Job( const css::uno::Reference< css::uno::XComponentContext >& xContext , const css::uno::Reference< css::frame::XModel >& xModel ); - virtual ~Job( ); + virtual ~Job( ) override; void setDispatchResultFake( const css::uno::Reference< css::frame::XDispatchResultListener >& xListener , const css::uno::Reference< css::uno::XInterface >& xSourceFake ); diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx index aa54eaf60cc7..162eca14c3e8 100644 --- a/framework/inc/jobs/shelljob.hxx +++ b/framework/inc/jobs/shelljob.hxx @@ -71,7 +71,7 @@ class ShellJob : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,css::tas so this class can't make trouble related to inline/symbols etcpp.! */ - virtual ~ShellJob(); + virtual ~ShellJob() override; // uno interface public: diff --git a/framework/inc/recording/dispatchrecorder.hxx b/framework/inc/recording/dispatchrecorder.hxx index a03f6f16c7f2..94e0882b361e 100644 --- a/framework/inc/recording/dispatchrecorder.hxx +++ b/framework/inc/recording/dispatchrecorder.hxx @@ -59,7 +59,7 @@ class DispatchRecorder // public interface public: DispatchRecorder( const css::uno::Reference< css::uno::XComponentContext >& xSMGR ); - virtual ~DispatchRecorder(); + virtual ~DispatchRecorder() override; // XInterface, XTypeProvider, XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/recording/dispatchrecordersupplier.hxx b/framework/inc/recording/dispatchrecordersupplier.hxx index d49b459990d5..c00e877ed8c0 100644 --- a/framework/inc/recording/dispatchrecordersupplier.hxx +++ b/framework/inc/recording/dispatchrecordersupplier.hxx @@ -81,7 +81,7 @@ class DispatchRecorderSupplier : public ::cppu::WeakImplHelper< public: DispatchRecorderSupplier( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ); - virtual ~DispatchRecorderSupplier(); + virtual ~DispatchRecorderSupplier() override; }; // class DispatchRecorderSupplier diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx index 6e0c21551589..4c9f19c3d1f0 100644 --- a/framework/inc/services/desktop.hxx +++ b/framework/inc/services/desktop.hxx @@ -115,7 +115,7 @@ class Desktop : private cppu::BaseMutex, // constructor / destructor Desktop( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~Desktop( ); + virtual ~Desktop( ) override; void constructorInit(); diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index 8051dc60ac96..5a1ec877fe9d 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -81,7 +81,7 @@ namespace framework enum { DOCKINGAREAS_COUNT = 4 }; LayoutManager( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~LayoutManager(); + virtual ~LayoutManager() override; /** declaration of XInterface, XTypeProvider, XServiceInfo */ FWK_DECLARE_XINTERFACE diff --git a/framework/inc/services/mediatypedetectionhelper.hxx b/framework/inc/services/mediatypedetectionhelper.hxx index e19923a84184..7c5af808c924 100644 --- a/framework/inc/services/mediatypedetectionhelper.hxx +++ b/framework/inc/services/mediatypedetectionhelper.hxx @@ -65,7 +65,7 @@ class MediaTypeDetectionHelper : public ::cppu::WeakImplHelper< css::util::XS @descr This method destruct an instance of this class and clear some member. *//*-*****************************************************************************************************/ - virtual ~MediaTypeDetectionHelper(); + virtual ~MediaTypeDetectionHelper() override; // XInterface, XTypeProvider, XServiceInfo diff --git a/framework/inc/services/uriabbreviation.hxx b/framework/inc/services/uriabbreviation.hxx index 79b38831c0af..9357a6255fbc 100644 --- a/framework/inc/services/uriabbreviation.hxx +++ b/framework/inc/services/uriabbreviation.hxx @@ -48,7 +48,7 @@ private: UriAbbreviation(UriAbbreviation &) = delete; void operator =(UriAbbreviation &) = delete; - virtual ~UriAbbreviation() {} + virtual ~UriAbbreviation() override {} }; } // namespace framework diff --git a/framework/inc/tabwin/tabwindow.hxx b/framework/inc/tabwin/tabwindow.hxx index 98ab0d73717c..7d30485243b4 100644 --- a/framework/inc/tabwin/tabwindow.hxx +++ b/framework/inc/tabwin/tabwindow.hxx @@ -61,7 +61,7 @@ class TabWindow : public css::lang::XTypeProvider , { public: TabWindow( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~TabWindow(); + virtual ~TabWindow() override; // XInterface, XTypeProvider, XServiceInfo FWK_DECLARE_XINTERFACE diff --git a/framework/inc/tabwin/tabwinfactory.hxx b/framework/inc/tabwin/tabwinfactory.hxx index a10775a2c2c7..daf06bc229b3 100644 --- a/framework/inc/tabwin/tabwinfactory.hxx +++ b/framework/inc/tabwin/tabwinfactory.hxx @@ -43,7 +43,7 @@ class TabWinFactory : public ::cppu::WeakImplHelper< css::lang::XSingleComponen { public: TabWinFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~TabWinFactory(); + virtual ~TabWinFactory() override; // XInterface, XTypeProvider, XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uiconfiguration/graphicnameaccess.hxx b/framework/inc/uiconfiguration/graphicnameaccess.hxx index b18ab5c7d3bc..3bf7ce48c81b 100644 --- a/framework/inc/uiconfiguration/graphicnameaccess.hxx +++ b/framework/inc/uiconfiguration/graphicnameaccess.hxx @@ -32,7 +32,7 @@ namespace framework { public: GraphicNameAccess(); - virtual ~GraphicNameAccess(); + virtual ~GraphicNameAccess() override; void addElement( const OUString& rName, const css::uno::Reference< css::graphic::XGraphic >& rElement ); diff --git a/framework/inc/uiconfiguration/imagemanager.hxx b/framework/inc/uiconfiguration/imagemanager.hxx index 8c46073d84e3..812a69d28d57 100644 --- a/framework/inc/uiconfiguration/imagemanager.hxx +++ b/framework/inc/uiconfiguration/imagemanager.hxx @@ -52,7 +52,7 @@ namespace framework { public: ImageManager( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~ImageManager(); + virtual ~ImageManager() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/inc/uiconfiguration/moduleimagemanager.hxx b/framework/inc/uiconfiguration/moduleimagemanager.hxx index e3009a872a99..a5ddc372bb83 100644 --- a/framework/inc/uiconfiguration/moduleimagemanager.hxx +++ b/framework/inc/uiconfiguration/moduleimagemanager.hxx @@ -56,7 +56,7 @@ namespace framework { public: ModuleImageManager( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~ModuleImageManager(); + virtual ~ModuleImageManager() override; // XComponent virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override; diff --git a/framework/inc/uielement/addonstoolbarmanager.hxx b/framework/inc/uielement/addonstoolbarmanager.hxx index 28305d801940..526ff5e206d0 100644 --- a/framework/inc/uielement/addonstoolbarmanager.hxx +++ b/framework/inc/uielement/addonstoolbarmanager.hxx @@ -47,7 +47,7 @@ class AddonsToolBarManager : public ToolBarManager const css::uno::Reference< css::frame::XFrame >& rFrame, const OUString& rResourceName, ToolBox* pToolBar ); - virtual ~AddonsToolBarManager(); + virtual ~AddonsToolBarManager() override; // XComponent void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/addonstoolbarwrapper.hxx b/framework/inc/uielement/addonstoolbarwrapper.hxx index 6fb3c625a89e..7e8cc87bcb1a 100644 --- a/framework/inc/uielement/addonstoolbarwrapper.hxx +++ b/framework/inc/uielement/addonstoolbarwrapper.hxx @@ -34,7 +34,7 @@ class AddonsToolBarWrapper : public UIElementWrapperBase { public: AddonsToolBarWrapper( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~AddonsToolBarWrapper(); + virtual ~AddonsToolBarWrapper() override; // XComponent virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override; diff --git a/framework/inc/uielement/buttontoolbarcontroller.hxx b/framework/inc/uielement/buttontoolbarcontroller.hxx index a935839e605c..570ffe483410 100644 --- a/framework/inc/uielement/buttontoolbarcontroller.hxx +++ b/framework/inc/uielement/buttontoolbarcontroller.hxx @@ -53,7 +53,7 @@ class ButtonToolbarController : public css::frame::XStatusListener, ButtonToolbarController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, ToolBox* pToolBar, const OUString& aCommand ); - virtual ~ButtonToolbarController(); + virtual ~ButtonToolbarController() override; // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/framework/inc/uielement/comboboxtoolbarcontroller.hxx b/framework/inc/uielement/comboboxtoolbarcontroller.hxx index 3c32442bb91a..5b333fd3b70f 100644 --- a/framework/inc/uielement/comboboxtoolbarcontroller.hxx +++ b/framework/inc/uielement/comboboxtoolbarcontroller.hxx @@ -43,7 +43,7 @@ class ComboboxToolbarController : public ComplexToolbarController sal_uInt16 nID, sal_Int32 nWidth, const OUString& aCommand ); - virtual ~ComboboxToolbarController(); + virtual ~ComboboxToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/complextoolbarcontroller.hxx b/framework/inc/uielement/complextoolbarcontroller.hxx index a20e4b7ee6de..d82ba10d02df 100644 --- a/framework/inc/uielement/complextoolbarcontroller.hxx +++ b/framework/inc/uielement/complextoolbarcontroller.hxx @@ -45,7 +45,7 @@ class ComplexToolbarController : public svt::ToolboxController ToolBox* pToolBar, sal_uInt16 nID, const OUString& aCommand ); - virtual ~ComplexToolbarController(); + virtual ~ComplexToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/constitemcontainer.hxx b/framework/inc/uielement/constitemcontainer.hxx index 387d770b9f05..5537238cadc8 100644 --- a/framework/inc/uielement/constitemcontainer.hxx +++ b/framework/inc/uielement/constitemcontainer.hxx @@ -56,7 +56,7 @@ class FWI_DLLPUBLIC ConstItemContainer : public ::cppu::WeakImplHelper< ConstItemContainer(); ConstItemContainer( const ItemContainer& rtemContainer ); ConstItemContainer( const css::uno::Reference< css::container::XIndexAccess >& rSourceContainer, bool bFastCopy = false ); - virtual ~ConstItemContainer(); + virtual ~ConstItemContainer() override; // XUnoTunnel static const css::uno::Sequence< sal_Int8 >& GetUnoTunnelId() throw(); diff --git a/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx b/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx index f47cf21a8065..d45b0d943acd 100644 --- a/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx +++ b/framework/inc/uielement/dropdownboxtoolbarcontroller.hxx @@ -45,7 +45,7 @@ class DropdownToolbarController : public ComplexToolbarController sal_uInt16 nID, sal_Int32 nWidth, const OUString& aCommand ); - virtual ~DropdownToolbarController(); + virtual ~DropdownToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/edittoolbarcontroller.hxx b/framework/inc/uielement/edittoolbarcontroller.hxx index 639bed84c144..3a4ee3897455 100644 --- a/framework/inc/uielement/edittoolbarcontroller.hxx +++ b/framework/inc/uielement/edittoolbarcontroller.hxx @@ -44,7 +44,7 @@ class EditToolbarController : public ComplexToolbarController sal_uInt16 nID, sal_Int32 nWidth, const OUString& aCommand ); - virtual ~EditToolbarController(); + virtual ~EditToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/fontmenucontroller.hxx b/framework/inc/uielement/fontmenucontroller.hxx index 0fe79589bc71..a303a54947e8 100644 --- a/framework/inc/uielement/fontmenucontroller.hxx +++ b/framework/inc/uielement/fontmenucontroller.hxx @@ -45,7 +45,7 @@ namespace framework public: FontMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~FontMenuController(); + virtual ~FontMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/fontsizemenucontroller.hxx b/framework/inc/uielement/fontsizemenucontroller.hxx index fdbd716153f3..13673a971816 100644 --- a/framework/inc/uielement/fontsizemenucontroller.hxx +++ b/framework/inc/uielement/fontsizemenucontroller.hxx @@ -46,7 +46,7 @@ namespace framework public: FontSizeMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~FontSizeMenuController(); + virtual ~FontSizeMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/footermenucontroller.hxx b/framework/inc/uielement/footermenucontroller.hxx index afd61f7cdf2f..cbdf3e003f7b 100644 --- a/framework/inc/uielement/footermenucontroller.hxx +++ b/framework/inc/uielement/footermenucontroller.hxx @@ -28,7 +28,7 @@ namespace framework { public: FooterMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~FooterMenuController(); + virtual ~FooterMenuController() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName ( ) throw( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/genericstatusbarcontroller.hxx b/framework/inc/uielement/genericstatusbarcontroller.hxx index abb5702cb6b4..3d2c11580cac 100644 --- a/framework/inc/uielement/genericstatusbarcontroller.hxx +++ b/framework/inc/uielement/genericstatusbarcontroller.hxx @@ -35,7 +35,7 @@ class GenericStatusbarController : public svt::StatusbarController const css::uno::Reference< css::frame::XFrame >& rFrame, const css::uno::Reference< css::ui::XStatusbarItem >& rxItem, AddonStatusbarItemData *pItemData ); - virtual ~GenericStatusbarController(); + virtual ~GenericStatusbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/generictoolbarcontroller.hxx b/framework/inc/uielement/generictoolbarcontroller.hxx index 69f57f7f5e54..c171d7bb287f 100644 --- a/framework/inc/uielement/generictoolbarcontroller.hxx +++ b/framework/inc/uielement/generictoolbarcontroller.hxx @@ -39,7 +39,7 @@ class GenericToolbarController : public svt::ToolboxController ToolBox* pToolBar, sal_uInt16 nID, const OUString& aCommand ); - virtual ~GenericToolbarController(); + virtual ~GenericToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; @@ -82,7 +82,7 @@ class MenuToolbarController : public GenericToolbarController const OUString& aModuleIdentifier, const css::uno::Reference< css::container::XIndexAccess >& xMenuDesc ); - virtual ~MenuToolbarController(); + virtual ~MenuToolbarController() override; // XToolbarController virtual void SAL_CALL click() throw ( css::uno::RuntimeException, std::exception ) override; virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() throw (css::uno::RuntimeException, std::exception) override; diff --git a/framework/inc/uielement/headermenucontroller.hxx b/framework/inc/uielement/headermenucontroller.hxx index 6a7295489e71..a32162665139 100644 --- a/framework/inc/uielement/headermenucontroller.hxx +++ b/framework/inc/uielement/headermenucontroller.hxx @@ -47,7 +47,7 @@ namespace framework public: HeaderMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext, bool _bFooter = false ); - virtual ~HeaderMenuController(); + virtual ~HeaderMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/imagebuttontoolbarcontroller.hxx b/framework/inc/uielement/imagebuttontoolbarcontroller.hxx index 04aa0f94410a..511f51903672 100644 --- a/framework/inc/uielement/imagebuttontoolbarcontroller.hxx +++ b/framework/inc/uielement/imagebuttontoolbarcontroller.hxx @@ -41,7 +41,7 @@ class ImageButtonToolbarController : public ComplexToolbarController ToolBox* pToolBar, sal_uInt16 nID, const OUString& aCommand ); - virtual ~ImageButtonToolbarController(); + virtual ~ImageButtonToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/itemcontainer.hxx b/framework/inc/uielement/itemcontainer.hxx index a784602593a9..3a673d0a088f 100644 --- a/framework/inc/uielement/itemcontainer.hxx +++ b/framework/inc/uielement/itemcontainer.hxx @@ -45,7 +45,7 @@ class FWI_DLLPUBLIC ItemContainer : public ::cppu::WeakImplHelper< css::contai ItemContainer( const ShareableMutex& ); ItemContainer( const ConstItemContainer& rConstItemContainer, const ShareableMutex& rMutex ); ItemContainer( const css::uno::Reference< css::container::XIndexAccess >& rItemAccessContainer, const ShareableMutex& rMutex ); - virtual ~ItemContainer(); + virtual ~ItemContainer() override; // XInterface, XTypeProvider diff --git a/framework/inc/uielement/langselectionmenucontroller.hxx b/framework/inc/uielement/langselectionmenucontroller.hxx index 94f9c6ce80eb..97e86e86972a 100644 --- a/framework/inc/uielement/langselectionmenucontroller.hxx +++ b/framework/inc/uielement/langselectionmenucontroller.hxx @@ -48,7 +48,7 @@ namespace framework public: LanguageSelectionMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~LanguageSelectionMenuController(); + virtual ~LanguageSelectionMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/macrosmenucontroller.hxx b/framework/inc/uielement/macrosmenucontroller.hxx index 79fddf0394a1..263d0d3905fb 100644 --- a/framework/inc/uielement/macrosmenucontroller.hxx +++ b/framework/inc/uielement/macrosmenucontroller.hxx @@ -48,7 +48,7 @@ namespace framework public: MacrosMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~MacrosMenuController(); + virtual ~MacrosMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/menubarmanager.hxx b/framework/inc/uielement/menubarmanager.hxx index 0fe3db5b185c..cd70a562278b 100644 --- a/framework/inc/uielement/menubarmanager.hxx +++ b/framework/inc/uielement/menubarmanager.hxx @@ -98,7 +98,7 @@ class MenuBarManager : public css::frame::XStatusListener , bool bDeleteChildren, bool bHasMenuBar = true ); - virtual ~MenuBarManager(); + virtual ~MenuBarManager() override; // XInterface virtual void SAL_CALL acquire() throw() override; diff --git a/framework/inc/uielement/menubarwrapper.hxx b/framework/inc/uielement/menubarwrapper.hxx index fbf972fb10f4..6b5c3eea89e8 100644 --- a/framework/inc/uielement/menubarwrapper.hxx +++ b/framework/inc/uielement/menubarwrapper.hxx @@ -39,7 +39,7 @@ class MenuBarWrapper : public UIConfigElementWrapperBase, public: MenuBarWrapper( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~MenuBarWrapper(); + virtual ~MenuBarWrapper() override; // XInterface, XTypeProvider diff --git a/framework/inc/uielement/newmenucontroller.hxx b/framework/inc/uielement/newmenucontroller.hxx index 293101c40b56..17c9791a1b91 100644 --- a/framework/inc/uielement/newmenucontroller.hxx +++ b/framework/inc/uielement/newmenucontroller.hxx @@ -59,7 +59,7 @@ namespace framework public: NewMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~NewMenuController(); + virtual ~NewMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/notebookbarmenucontroller.hxx b/framework/inc/uielement/notebookbarmenucontroller.hxx index 754933f5ec75..1407c155b37b 100644 --- a/framework/inc/uielement/notebookbarmenucontroller.hxx +++ b/framework/inc/uielement/notebookbarmenucontroller.hxx @@ -47,7 +47,7 @@ namespace framework public: NotebookbarMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~NotebookbarMenuController(); + virtual ~NotebookbarMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/progressbarwrapper.hxx b/framework/inc/uielement/progressbarwrapper.hxx index 73f93283050c..e5e81d7149a4 100644 --- a/framework/inc/uielement/progressbarwrapper.hxx +++ b/framework/inc/uielement/progressbarwrapper.hxx @@ -39,7 +39,7 @@ class ProgressBarWrapper : public UIElementWrapperBase // constructor / destructor ProgressBarWrapper(); - virtual ~ProgressBarWrapper(); + virtual ~ProgressBarWrapper() override; // public interfaces void setStatusBar( const css::uno::Reference< css::awt::XWindow >& rStatusBar, bool bOwnsInstance = false ); diff --git a/framework/inc/uielement/rootitemcontainer.hxx b/framework/inc/uielement/rootitemcontainer.hxx index 31f723e00007..f58af322cb55 100644 --- a/framework/inc/uielement/rootitemcontainer.hxx +++ b/framework/inc/uielement/rootitemcontainer.hxx @@ -58,7 +58,7 @@ class RootItemContainer : private cppu::BaseMutex, public: FWI_DLLPUBLIC RootItemContainer(); FWI_DLLPUBLIC RootItemContainer( const css::uno::Reference< css::container::XIndexAccess >& rItemAccessContainer ); - virtual FWI_DLLPUBLIC ~RootItemContainer(); + virtual FWI_DLLPUBLIC ~RootItemContainer() override; // XInterface virtual void SAL_CALL acquire() throw () override diff --git a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx index 58f77e8bc933..5f66ccaa1f85 100644 --- a/framework/inc/uielement/spinfieldtoolbarcontroller.hxx +++ b/framework/inc/uielement/spinfieldtoolbarcontroller.hxx @@ -45,7 +45,7 @@ class SpinfieldToolbarController : public ComplexToolbarController sal_uInt16 nID, sal_Int32 nWidth, const OUString& aCommand ); - virtual ~SpinfieldToolbarController(); + virtual ~SpinfieldToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/statusbaritem.hxx b/framework/inc/uielement/statusbaritem.hxx index 8c73bffb308d..6666fe600aa7 100644 --- a/framework/inc/uielement/statusbaritem.hxx +++ b/framework/inc/uielement/statusbaritem.hxx @@ -42,7 +42,7 @@ public: AddonStatusbarItemData *pItemData, sal_uInt16 nId, const rtl::OUString& aCommand ); - virtual ~StatusbarItem(); + virtual ~StatusbarItem() override; void SAL_CALL disposing() override; diff --git a/framework/inc/uielement/statusbarmanager.hxx b/framework/inc/uielement/statusbarmanager.hxx index 305da2cc5594..50c92944823c 100644 --- a/framework/inc/uielement/statusbarmanager.hxx +++ b/framework/inc/uielement/statusbarmanager.hxx @@ -55,7 +55,7 @@ class StatusBarManager : public ::cppu::WeakImplHelper< StatusBarManager( const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference< css::frame::XFrame >& rFrame, StatusBar* pStatusBar ); - virtual ~StatusBarManager(); + virtual ~StatusBarManager() override; StatusBar* GetStatusBar() const; diff --git a/framework/inc/uielement/statusbarwrapper.hxx b/framework/inc/uielement/statusbarwrapper.hxx index 6ecd128198a8..c8140a0708a0 100644 --- a/framework/inc/uielement/statusbarwrapper.hxx +++ b/framework/inc/uielement/statusbarwrapper.hxx @@ -35,7 +35,7 @@ class StatusBarWrapper : public UIConfigElementWrapperBase public: StatusBarWrapper( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~StatusBarWrapper(); + virtual ~StatusBarWrapper() override; // XComponent virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override; diff --git a/framework/inc/uielement/statusindicatorinterfacewrapper.hxx b/framework/inc/uielement/statusindicatorinterfacewrapper.hxx index 3801e081a9e4..fc3566cc3079 100644 --- a/framework/inc/uielement/statusindicatorinterfacewrapper.hxx +++ b/framework/inc/uielement/statusindicatorinterfacewrapper.hxx @@ -39,7 +39,7 @@ class StatusIndicatorInterfaceWrapper : public ::cppu::WeakImplHelper< css::ta { public: StatusIndicatorInterfaceWrapper( const css::uno::Reference< css::lang::XComponent >& rStatusIndicatorImpl ); - virtual ~StatusIndicatorInterfaceWrapper(); + virtual ~StatusIndicatorInterfaceWrapper() override; // XStatusIndicator diff --git a/framework/inc/uielement/togglebuttontoolbarcontroller.hxx b/framework/inc/uielement/togglebuttontoolbarcontroller.hxx index fd34368d5ef4..51744d08ad46 100644 --- a/framework/inc/uielement/togglebuttontoolbarcontroller.hxx +++ b/framework/inc/uielement/togglebuttontoolbarcontroller.hxx @@ -50,7 +50,7 @@ class ToggleButtonToolbarController : public ComplexToolbarController sal_uInt16 nID, Style eStyle, const OUString& aCommand ); - virtual ~ToggleButtonToolbarController(); + virtual ~ToggleButtonToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index 0e2d89c6bfd6..306f9f3a4811 100644 --- a/framework/inc/uielement/toolbarmanager.hxx +++ b/framework/inc/uielement/toolbarmanager.hxx @@ -72,7 +72,7 @@ class ToolBarManager : public ToolbarManager_Base const css::uno::Reference< css::frame::XFrame >& rFrame, const OUString& rResourceName, ToolBox* pToolBar ); - virtual ~ToolBarManager(); + virtual ~ToolBarManager() override; ToolBox* GetToolBar() const; diff --git a/framework/inc/uielement/toolbarmodemenucontroller.hxx b/framework/inc/uielement/toolbarmodemenucontroller.hxx index 6f084b733010..7bbf2fd2df0a 100644 --- a/framework/inc/uielement/toolbarmodemenucontroller.hxx +++ b/framework/inc/uielement/toolbarmodemenucontroller.hxx @@ -47,7 +47,7 @@ namespace framework public: ToolbarModeMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~ToolbarModeMenuController(); + virtual ~ToolbarModeMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/toolbarsmenucontroller.hxx b/framework/inc/uielement/toolbarsmenucontroller.hxx index f8240df92f29..69f06f236be3 100644 --- a/framework/inc/uielement/toolbarsmenucontroller.hxx +++ b/framework/inc/uielement/toolbarsmenucontroller.hxx @@ -52,7 +52,7 @@ namespace framework public: ToolbarsMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~ToolbarsMenuController(); + virtual ~ToolbarsMenuController() override; // XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/uielement/toolbarwrapper.hxx b/framework/inc/uielement/toolbarwrapper.hxx index 79278b25fc43..c5f5f2c6caf4 100644 --- a/framework/inc/uielement/toolbarwrapper.hxx +++ b/framework/inc/uielement/toolbarwrapper.hxx @@ -37,7 +37,7 @@ class ToolBarWrapper : public css::ui::XUIFunctionListener, { public: ToolBarWrapper( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~ToolBarWrapper(); + virtual ~ToolBarWrapper() override; // XInterface virtual void SAL_CALL acquire() throw() override; diff --git a/framework/inc/uielement/uicommanddescription.hxx b/framework/inc/uielement/uicommanddescription.hxx index 083cffe71ac2..df7bf36388ad 100644 --- a/framework/inc/uielement/uicommanddescription.hxx +++ b/framework/inc/uielement/uicommanddescription.hxx @@ -42,7 +42,7 @@ class UICommandDescription : private cppu::BaseMutex, { public: UICommandDescription( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~UICommandDescription(); + virtual ~UICommandDescription() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/inc/uifactory/configurationaccessfactorymanager.hxx b/framework/inc/uifactory/configurationaccessfactorymanager.hxx index 917d3d4240a4..05ae5e8ecca0 100644 --- a/framework/inc/uifactory/configurationaccessfactorymanager.hxx +++ b/framework/inc/uifactory/configurationaccessfactorymanager.hxx @@ -39,7 +39,7 @@ namespace framework { { public: ConfigurationAccess_FactoryManager( const css::uno::Reference< css::uno::XComponentContext>& rxContext, const OUString& _sRoot ); - virtual ~ConfigurationAccess_FactoryManager(); + virtual ~ConfigurationAccess_FactoryManager() override; void readConfigurationData(); diff --git a/framework/inc/uifactory/factoryconfiguration.hxx b/framework/inc/uifactory/factoryconfiguration.hxx index 183b09cb70ec..f0d308d3d966 100644 --- a/framework/inc/uifactory/factoryconfiguration.hxx +++ b/framework/inc/uifactory/factoryconfiguration.hxx @@ -47,7 +47,7 @@ class ConfigurationAccess_ControllerFactory : // interfaces { public: ConfigurationAccess_ControllerFactory( const css::uno::Reference< css::uno::XComponentContext >& rxContext, const OUString& _sRoot ); - virtual ~ConfigurationAccess_ControllerFactory(); + virtual ~ConfigurationAccess_ControllerFactory() override; void readConfigurationData(); void updateConfigurationData(); diff --git a/framework/inc/uifactory/menubarfactory.hxx b/framework/inc/uifactory/menubarfactory.hxx index 27401f889182..ca7d0ed44fc6 100644 --- a/framework/inc/uifactory/menubarfactory.hxx +++ b/framework/inc/uifactory/menubarfactory.hxx @@ -40,7 +40,7 @@ typedef ::cppu::WeakImplHelper< { public: MenuBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~MenuBarFactory(); + virtual ~MenuBarFactory() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/inc/xml/acceleratorconfigurationreader.hxx b/framework/inc/xml/acceleratorconfigurationreader.hxx index 55605bc1ebe0..cccdb1740286 100644 --- a/framework/inc/xml/acceleratorconfigurationreader.hxx +++ b/framework/inc/xml/acceleratorconfigurationreader.hxx @@ -98,7 +98,7 @@ class AcceleratorConfigurationReader : public ::cppu::WeakImplHelper< css::xml:: AcceleratorConfigurationReader(AcceleratorCache& rContainer); /** @short does nothing real ... */ - virtual ~AcceleratorConfigurationReader(); + virtual ~AcceleratorConfigurationReader() override; // XDocumentHandler virtual void SAL_CALL startDocument() diff --git a/framework/inc/xml/imagesdocumenthandler.hxx b/framework/inc/xml/imagesdocumenthandler.hxx index 16ffcbea0d65..8527642cab11 100644 --- a/framework/inc/xml/imagesdocumenthandler.hxx +++ b/framework/inc/xml/imagesdocumenthandler.hxx @@ -65,7 +65,7 @@ class OReadImagesDocumentHandler : public ::cppu::WeakImplHelper< css::xml::sax: }; OReadImagesDocumentHandler( ImageListsDescriptor& aItems ); - virtual ~OReadImagesDocumentHandler(); + virtual ~OReadImagesDocumentHandler() override; // XDocumentHandler virtual void SAL_CALL startDocument() diff --git a/framework/inc/xml/menudocumenthandler.hxx b/framework/inc/xml/menudocumenthandler.hxx index ce51a1d2ccc4..6a1d99a5dafd 100644 --- a/framework/inc/xml/menudocumenthandler.hxx +++ b/framework/inc/xml/menudocumenthandler.hxx @@ -39,7 +39,7 @@ class FWE_DLLPUBLIC ReadMenuDocumentHandlerBase : { public: ReadMenuDocumentHandlerBase(); - virtual ~ReadMenuDocumentHandlerBase(); + virtual ~ReadMenuDocumentHandlerBase() override; // XDocumentHandler virtual void SAL_CALL startDocument() @@ -100,7 +100,7 @@ class FWE_DLLPUBLIC OReadMenuDocumentHandler : public ReadMenuDocumentHandlerBas public: OReadMenuDocumentHandler( const css::uno::Reference< css::container::XIndexContainer >& rItemContainer ); - virtual ~OReadMenuDocumentHandler(); + virtual ~OReadMenuDocumentHandler() override; // XDocumentHandler virtual void SAL_CALL startDocument() @@ -139,7 +139,7 @@ class FWE_DLLPUBLIC OReadMenuBarHandler : public ReadMenuDocumentHandlerBase OReadMenuBarHandler( const css::uno::Reference< css::container::XIndexContainer >& rMenuBarContainer, const css::uno::Reference< css::lang::XSingleComponentFactory >& rContainerFactory ); - virtual ~OReadMenuBarHandler(); + virtual ~OReadMenuBarHandler() override; // XDocumentHandler virtual void SAL_CALL startDocument() @@ -176,7 +176,7 @@ class FWE_DLLPUBLIC OReadMenuHandler : public ReadMenuDocumentHandlerBase public: OReadMenuHandler( const css::uno::Reference< css::container::XIndexContainer >& rMenuContainer, const css::uno::Reference< css::lang::XSingleComponentFactory >& rContainerFactory ); - virtual ~OReadMenuHandler(); + virtual ~OReadMenuHandler() override; // XDocumentHandler virtual void SAL_CALL startDocument() @@ -213,7 +213,7 @@ class FWE_DLLPUBLIC OReadMenuPopupHandler : public ReadMenuDocumentHandlerBase public: OReadMenuPopupHandler( const css::uno::Reference< css::container::XIndexContainer >& rMenuContainer, const css::uno::Reference< css::lang::XSingleComponentFactory >& rContainerFactory ); - virtual ~OReadMenuPopupHandler(); + virtual ~OReadMenuPopupHandler() override; // XDocumentHandler virtual void SAL_CALL startDocument() diff --git a/framework/inc/xml/saxnamespacefilter.hxx b/framework/inc/xml/saxnamespacefilter.hxx index cd4c30aa81b0..d137cf04db3c 100644 --- a/framework/inc/xml/saxnamespacefilter.hxx +++ b/framework/inc/xml/saxnamespacefilter.hxx @@ -37,7 +37,7 @@ class FWE_DLLPUBLIC SaxNamespaceFilter : { public: SaxNamespaceFilter( css::uno::Reference< css::xml::sax::XDocumentHandler >& rSax1DocumentHandler ); - virtual ~SaxNamespaceFilter(); + virtual ~SaxNamespaceFilter() override; // XDocumentHandler virtual void SAL_CALL startDocument() diff --git a/framework/inc/xml/statusbardocumenthandler.hxx b/framework/inc/xml/statusbardocumenthandler.hxx index 1ad108fa0d91..0c1c3aaab854 100644 --- a/framework/inc/xml/statusbardocumenthandler.hxx +++ b/framework/inc/xml/statusbardocumenthandler.hxx @@ -62,7 +62,7 @@ class FWE_DLLPUBLIC OReadStatusBarDocumentHandler : }; OReadStatusBarDocumentHandler( const css::uno::Reference< css::container::XIndexContainer >& aStatusBarItems ); - virtual ~OReadStatusBarDocumentHandler(); + virtual ~OReadStatusBarDocumentHandler() override; // XDocumentHandler virtual void SAL_CALL startDocument() diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx index 514606118fd4..16d398679185 100644 --- a/framework/inc/xml/toolboxdocumenthandler.hxx +++ b/framework/inc/xml/toolboxdocumenthandler.hxx @@ -62,7 +62,7 @@ class FWE_DLLPUBLIC OReadToolBoxDocumentHandler : }; OReadToolBoxDocumentHandler( const css::uno::Reference< css::container::XIndexContainer >& rItemContainer ); - virtual ~OReadToolBoxDocumentHandler(); + virtual ~OReadToolBoxDocumentHandler() override; // XDocumentHandler virtual void SAL_CALL startDocument() diff --git a/framework/source/accelerators/documentacceleratorconfiguration.cxx b/framework/source/accelerators/documentacceleratorconfiguration.cxx index 634d1a105779..6bb7d6ef9e15 100644 --- a/framework/source/accelerators/documentacceleratorconfiguration.cxx +++ b/framework/source/accelerators/documentacceleratorconfiguration.cxx @@ -70,7 +70,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Sequence< css::uno::Any >& lArguments); - virtual ~DocumentAcceleratorConfiguration(); + virtual ~DocumentAcceleratorConfiguration() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx index eb7ddedb34b7..318326e98ee7 100644 --- a/framework/source/accelerators/globalacceleratorconfiguration.cxx +++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx @@ -55,7 +55,7 @@ public: explicit GlobalAcceleratorConfiguration(const css::uno::Reference< css::uno::XComponentContext >& xContext); /** TODO */ - virtual ~GlobalAcceleratorConfiguration() {} + virtual ~GlobalAcceleratorConfiguration() override {} virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/accelerators/moduleacceleratorconfiguration.cxx b/framework/source/accelerators/moduleacceleratorconfiguration.cxx index fb1b86eb6664..30745d883e67 100644 --- a/framework/source/accelerators/moduleacceleratorconfiguration.cxx +++ b/framework/source/accelerators/moduleacceleratorconfiguration.cxx @@ -69,7 +69,7 @@ public: const css::uno::Sequence< css::uno::Any >& lArguments); /** TODO */ - virtual ~ModuleAcceleratorConfiguration(); + virtual ~ModuleAcceleratorConfiguration() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index 1e5e38520ab6..08db9b86ed03 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -165,7 +165,7 @@ class AddonsOptions_Impl : public ConfigItem // constructor / destructor AddonsOptions_Impl(); - virtual ~AddonsOptions_Impl(); + virtual ~AddonsOptions_Impl() override; // overridden methods of baseclass diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index 19c55755d54a..7efb8bfce4c4 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -66,7 +66,7 @@ namespace framework explicit UndoActionWrapper( Reference< XUndoAction > const& i_undoAction ); - virtual ~UndoActionWrapper(); + virtual ~UndoActionWrapper() override; virtual OUString GetComment() const override; virtual void Undo() override; @@ -170,7 +170,7 @@ namespace framework } protected: - virtual ~UndoManagerRequest() + virtual ~UndoManagerRequest() override { } diff --git a/framework/source/inc/accelerators/acceleratorconfiguration.hxx b/framework/source/inc/accelerators/acceleratorconfiguration.hxx index e0d875590305..ca2bae697177 100644 --- a/framework/source/inc/accelerators/acceleratorconfiguration.hxx +++ b/framework/source/inc/accelerators/acceleratorconfiguration.hxx @@ -91,7 +91,7 @@ class XMLBasedAcceleratorConfiguration : public ::cppu::WeakImplHelper< public: XMLBasedAcceleratorConfiguration( const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~XMLBasedAcceleratorConfiguration( ); + virtual ~XMLBasedAcceleratorConfiguration( ) override; // uno interface! @@ -260,7 +260,7 @@ class XCUBasedAcceleratorConfiguration : public ::cppu::WeakImplHelper< public: XCUBasedAcceleratorConfiguration( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~XCUBasedAcceleratorConfiguration( ); + virtual ~XCUBasedAcceleratorConfiguration( ) override; // uno interface! diff --git a/framework/source/inc/dispatch/dispatchdisabler.hxx b/framework/source/inc/dispatch/dispatchdisabler.hxx index 046bbb1d4972..7948ff856471 100644 --- a/framework/source/inc/dispatch/dispatchdisabler.hxx +++ b/framework/source/inc/dispatch/dispatchdisabler.hxx @@ -46,7 +46,7 @@ class DispatchDisabler : public ::cppu::WeakImplHelper< css::uno::Reference< css::frame::XDispatchProvider > mxMaster; public: DispatchDisabler(const css::uno::Reference< css::uno::XComponentContext >& rxContext); - virtual ~DispatchDisabler() {} + virtual ~DispatchDisabler() override {} // XInitialization virtual void SAL_CALL initialize( const ::css::uno::Sequence< ::css::uno::Any >& aArguments ) diff --git a/framework/source/inc/dispatch/loaddispatcher.hxx b/framework/source/inc/dispatch/loaddispatcher.hxx index 8321bec19053..9d49e46b711a 100644 --- a/framework/source/inc/dispatch/loaddispatcher.hxx +++ b/framework/source/inc/dispatch/loaddispatcher.hxx @@ -89,7 +89,7 @@ class LoadDispatcher : public ::cppu::WeakImplHelper< css::frame::XNotifyingDis /** @short used to free internal resources. */ - virtual ~LoadDispatcher(); + virtual ~LoadDispatcher() override; // uno interface diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx index d85fb0e34566..e11c8228b6f8 100644 --- a/framework/source/jobs/jobdispatch.cxx +++ b/framework/source/jobs/jobdispatch.cxx @@ -77,7 +77,7 @@ private: public: explicit JobDispatch(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~JobDispatch(); + virtual ~JobDispatch() override; void impl_dispatchEvent ( const OUString& sEvent , const css::uno::Sequence< css::beans::PropertyValue >& lArgs , diff --git a/framework/source/jobs/jobexecutor.cxx b/framework/source/jobs/jobexecutor.cxx index eaff5b5efa0a..9912dafc0f9d 100644 --- a/framework/source/jobs/jobexecutor.cxx +++ b/framework/source/jobs/jobexecutor.cxx @@ -84,7 +84,7 @@ private: public: explicit JobExecutor(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~JobExecutor(); + virtual ~JobExecutor() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx index 2f0beb0a7fe7..200ef47635d7 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx @@ -74,7 +74,7 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< css::awt::XDockableW ToolbarLayoutManager( const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference< css::ui::XUIElementFactory >& xUIElementFactory, LayoutManager* pParentLayouter ); - virtual ~ToolbarLayoutManager(); + virtual ~ToolbarLayoutManager() override; void reset(); void attach( const css::uno::Reference< css::frame::XFrame >& xFrame, diff --git a/framework/source/services/ContextChangeEventMultiplexer.cxx b/framework/source/services/ContextChangeEventMultiplexer.cxx index 9ea52275db80..1f666691c91f 100644 --- a/framework/source/services/ContextChangeEventMultiplexer.cxx +++ b/framework/source/services/ContextChangeEventMultiplexer.cxx @@ -53,7 +53,7 @@ class ContextChangeEventMultiplexer { public: ContextChangeEventMultiplexer(); - virtual ~ContextChangeEventMultiplexer(); + virtual ~ContextChangeEventMultiplexer() override; ContextChangeEventMultiplexer(const ContextChangeEventMultiplexer&) = delete; ContextChangeEventMultiplexer& operator=(const ContextChangeEventMultiplexer&) = delete; diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 5a9e4e626bcd..76033d84bf96 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -436,7 +436,7 @@ private: public: explicit AutoRecovery(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~AutoRecovery( ); + virtual ~AutoRecovery( ) override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx index 250170b40d0f..5cb7b4bf6460 100644 --- a/framework/source/services/modulemanager.cxx +++ b/framework/source/services/modulemanager.cxx @@ -61,7 +61,7 @@ public: explicit ModuleManager(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~ModuleManager(); + virtual ~ModuleManager() override; ModuleManager(const ModuleManager&) = delete; ModuleManager& operator=(const ModuleManager&) = delete; diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 5b22b36b8aab..64963abf1945 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -183,7 +183,7 @@ public: explicit PathSettings(const css::uno::Reference< css::uno::XComponentContext >& xContext); /** free all used resources ... if it was not already done. */ - virtual ~PathSettings(); + virtual ~PathSettings() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx index befbfc4ff6f7..28feccbf107d 100644 --- a/framework/source/services/sessionlistener.cxx +++ b/framework/source/services/sessionlistener.cxx @@ -108,7 +108,7 @@ private: public: explicit SessionListener(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~SessionListener(); + virtual ~SessionListener() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index b46cb213821f..5130ae39a8e9 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -114,7 +114,7 @@ class SubstitutePathVariables_Impl : public utl::ConfigItem { public: SubstitutePathVariables_Impl(); - virtual ~SubstitutePathVariables_Impl(); + virtual ~SubstitutePathVariables_Impl() override; static OperatingSystem GetOperatingSystemFromString( const OUString& ); static EnvironmentType GetEnvTypeFromString( const OUString& ); @@ -229,7 +229,7 @@ friend class SubstitutePathVariables_Impl; public: explicit SubstitutePathVariables(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~SubstitutePathVariables(); + virtual ~SubstitutePathVariables() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx index 6f73c4df7942..265b30e773dc 100644 --- a/framework/source/services/taskcreatorsrv.cxx +++ b/framework/source/services/taskcreatorsrv.cxx @@ -64,7 +64,7 @@ private: public: explicit TaskCreatorService(const css::uno::Reference< css::uno::XComponentContext >& xContext); - virtual ~TaskCreatorService( ); + virtual ~TaskCreatorService( ) override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/services/urltransformer.cxx b/framework/source/services/urltransformer.cxx index e3075df9262d..d5811e4b868a 100644 --- a/framework/source/services/urltransformer.cxx +++ b/framework/source/services/urltransformer.cxx @@ -37,7 +37,7 @@ class URLTransformer : public ::cppu::WeakImplHelper< css::util::XURLTransformer public: URLTransformer() {} - virtual ~URLTransformer() {} + virtual ~URLTransformer() override {} virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uiconfiguration/globalsettings.cxx b/framework/source/uiconfiguration/globalsettings.cxx index 51e319287e53..aa8a15af8a09 100644 --- a/framework/source/uiconfiguration/globalsettings.cxx +++ b/framework/source/uiconfiguration/globalsettings.cxx @@ -57,7 +57,7 @@ class GlobalSettings_Access : public ::cppu::WeakImplHelper< { public: explicit GlobalSettings_Access( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~GlobalSettings_Access(); + virtual ~GlobalSettings_Access() override; // XComponent virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override; diff --git a/framework/source/uiconfiguration/imagemanagerimpl.hxx b/framework/source/uiconfiguration/imagemanagerimpl.hxx index b1310f56c236..1d5022b868ff 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.hxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.hxx @@ -77,7 +77,7 @@ namespace framework { public: explicit GlobalImageList(const css::uno::Reference< css::uno::XComponentContext >& rxContext); - virtual ~GlobalImageList(); + virtual ~GlobalImageList() override; virtual Image getImageFromCommandURL( vcl::ImageType nImageType, const OUString& rCommandURL ) override; virtual bool hasImage( vcl::ImageType nImageType, const OUString& rCommandURL ) override; diff --git a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx index 2c707dc18325..f53b3584678e 100644 --- a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx +++ b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx @@ -63,7 +63,7 @@ class ModuleUIConfigurationManagerSupplier : private cppu::BaseMutex, { public: explicit ModuleUIConfigurationManagerSupplier( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~ModuleUIConfigurationManagerSupplier(); + virtual ~ModuleUIConfigurationManagerSupplier() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index 5f79341edd2c..104b485570a0 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -78,7 +78,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& xServiceManager, const css::uno::Sequence< css::uno::Any >& aArguments); - virtual ~ModuleUIConfigurationManager(); + virtual ~ModuleUIConfigurationManager() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx index d82c24224ea6..a7319de194f0 100644 --- a/framework/source/uiconfiguration/uicategorydescription.cxx +++ b/framework/source/uiconfiguration/uicategorydescription.cxx @@ -61,7 +61,7 @@ class ConfigurationAccess_UICategory : public ::cppu::WeakImplHelper<XNameAccess osl::Mutex aMutex; public: ConfigurationAccess_UICategory( const OUString& aModuleName, const Reference< XNameAccess >& xGenericUICommands, const Reference< XComponentContext >& rxContext ); - virtual ~ConfigurationAccess_UICategory(); + virtual ~ConfigurationAccess_UICategory() override; // XNameAccess virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) @@ -373,7 +373,7 @@ class UICategoryDescription : public UICommandDescription { public: explicit UICategoryDescription( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~UICategoryDescription(); + virtual ~UICategoryDescription() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx index 61056c1b35f0..33b7cd1a7ad0 100644 --- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx @@ -85,7 +85,7 @@ public: } explicit UIConfigurationManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext ); - virtual ~UIConfigurationManager(); + virtual ~UIConfigurationManager() override; // XComponent virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override; diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index 1e6463996949..cc2a6052396d 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -104,7 +104,7 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper< XNameCon { public: ConfigurationAccess_WindowState( const OUString& aWindowStateConfigFile, const Reference< XComponentContext >& rxContext ); - virtual ~ConfigurationAccess_WindowState(); + virtual ~ConfigurationAccess_WindowState() override; // XNameAccess virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) @@ -1267,7 +1267,7 @@ class WindowStateConfiguration : private cppu::BaseMutex, { public: explicit WindowStateConfiguration( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~WindowStateConfiguration(); + virtual ~WindowStateConfiguration() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uielement/comboboxtoolbarcontroller.cxx b/framework/source/uielement/comboboxtoolbarcontroller.cxx index c0953b223ea1..eef9ac9bf288 100644 --- a/framework/source/uielement/comboboxtoolbarcontroller.cxx +++ b/framework/source/uielement/comboboxtoolbarcontroller.cxx @@ -54,7 +54,7 @@ class ComboBoxControl : public ComboBox { public: ComboBoxControl( vcl::Window* pParent, WinBits nStyle, ComboboxToolbarController* pComboboxToolbarController ); - virtual ~ComboBoxControl(); + virtual ~ComboBoxControl() override; virtual void dispose() override; virtual void Select() override; diff --git a/framework/source/uielement/controlmenucontroller.cxx b/framework/source/uielement/controlmenucontroller.cxx index f9852acbceab..a124f2eecc57 100644 --- a/framework/source/uielement/controlmenucontroller.cxx +++ b/framework/source/uielement/controlmenucontroller.cxx @@ -179,7 +179,7 @@ class ControlMenuController : public svt::PopupMenuControllerBase public: explicit ControlMenuController( const uno::Reference< uno::XComponentContext >& xContext ); - virtual ~ControlMenuController(); + virtual ~ControlMenuController() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx index 48b9c386895c..e0de120fd08b 100644 --- a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx +++ b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx @@ -53,7 +53,7 @@ class ListBoxControl : public ListBox { public: ListBoxControl( vcl::Window* pParent, WinBits nStyle, DropdownToolbarController* pListBoxListener ); - virtual ~ListBoxControl(); + virtual ~ListBoxControl() override; virtual void dispose() override; virtual void Select() override; diff --git a/framework/source/uielement/edittoolbarcontroller.cxx b/framework/source/uielement/edittoolbarcontroller.cxx index d860d1f65f16..ccd7a383e42f 100644 --- a/framework/source/uielement/edittoolbarcontroller.cxx +++ b/framework/source/uielement/edittoolbarcontroller.cxx @@ -52,7 +52,7 @@ class EditControl : public Edit { public: EditControl( vcl::Window* pParent, WinBits nStyle, EditToolbarController* pEditToolbarController ); - virtual ~EditControl(); + virtual ~EditControl() override; virtual void dispose() override; virtual void Modify() override; diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx index 46fd4e0f9799..b4ec343fdc44 100644 --- a/framework/source/uielement/generictoolbarcontroller.cxx +++ b/framework/source/uielement/generictoolbarcontroller.cxx @@ -313,7 +313,7 @@ class Toolbarmenu : public ::PopupMenu { public: Toolbarmenu(); - virtual ~Toolbarmenu(); + virtual ~Toolbarmenu() override; virtual void dispose() override; }; diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx index 5298d40b253a..180842d1c1d7 100644 --- a/framework/source/uielement/langselectionstatusbarcontroller.cxx +++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx @@ -95,7 +95,7 @@ public: virtual void SAL_CALL click( const css::awt::Point& aPos ) throw (css::uno::RuntimeException, std::exception) override; private: - virtual ~LangSelectionStatusbarController() {} + virtual ~LangSelectionStatusbarController() override {} bool m_bShowMenu; // if the menu is to be displayed or not (depending on the selected object/text) SvtScriptType m_nScriptType; // the flags for the different script types available in the selection, LATIN = 0x0001, ASIAN = 0x0002, COMPLEX = 0x0004 diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index af030ff3fc0a..8e1f55917dc0 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -717,7 +717,7 @@ public: QuietInteractionContext& operator=(const QuietInteractionContext&) = delete; private: - virtual ~QuietInteractionContext() {} + virtual ~QuietInteractionContext() override {} virtual css::uno::Any SAL_CALL getValueByName( OUString const & Name) diff --git a/framework/source/uielement/objectmenucontroller.cxx b/framework/source/uielement/objectmenucontroller.cxx index ba6464785ed9..69ea33010a41 100644 --- a/framework/source/uielement/objectmenucontroller.cxx +++ b/framework/source/uielement/objectmenucontroller.cxx @@ -57,7 +57,7 @@ class ObjectMenuController : public svt::PopupMenuControllerBase public: explicit ObjectMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~ObjectMenuController(); + virtual ~ObjectMenuController() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx index 52d6746196fe..e23f64ce2fa8 100644 --- a/framework/source/uielement/popuptoolbarcontroller.cxx +++ b/framework/source/uielement/popuptoolbarcontroller.cxx @@ -62,7 +62,7 @@ typedef cppu::ImplInheritanceHelper< svt::ToolboxController, class PopupMenuToolbarController : public ToolBarBase { public: - virtual ~PopupMenuToolbarController(); + virtual ~PopupMenuToolbarController() override; // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx index 57574e93b3c4..1495d5d79903 100644 --- a/framework/source/uielement/recentfilesmenucontroller.cxx +++ b/framework/source/uielement/recentfilesmenucontroller.cxx @@ -61,7 +61,7 @@ class RecentFilesMenuController : public svt::PopupMenuControllerBase public: RecentFilesMenuController( const uno::Reference< uno::XComponentContext >& xContext, const uno::Sequence< uno::Any >& args ); - virtual ~RecentFilesMenuController(); + virtual ~RecentFilesMenuController() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/framework/source/uielement/resourcemenucontroller.cxx b/framework/source/uielement/resourcemenucontroller.cxx index cfb2d839b565..0b65e07d49c4 100644 --- a/framework/source/uielement/resourcemenucontroller.cxx +++ b/framework/source/uielement/resourcemenucontroller.cxx @@ -28,7 +28,7 @@ class ResourceMenuController : public cppu::ImplInheritanceHelper< svt::PopupMen public: ResourceMenuController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Sequence< css::uno::Any >& rxArgs, bool bToolbarContainer ); - virtual ~ResourceMenuController(); + virtual ~ResourceMenuController() override; // XPopupMenuController virtual void SAL_CALL updatePopupMenu() throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/source/uielement/saveasmenucontroller.cxx b/framework/source/uielement/saveasmenucontroller.cxx index f591c405accc..0941552678d4 100644 --- a/framework/source/uielement/saveasmenucontroller.cxx +++ b/framework/source/uielement/saveasmenucontroller.cxx @@ -32,7 +32,7 @@ class SaveAsMenuController : public svt::PopupMenuControllerBase { public: explicit SaveAsMenuController( const uno::Reference< uno::XComponentContext >& xContext ); - virtual ~SaveAsMenuController(); + virtual ~SaveAsMenuController() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx index 19b324d57fce..799e44407c84 100644 --- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx +++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx @@ -57,7 +57,7 @@ class SpinfieldControl : public SpinField { public: SpinfieldControl( vcl::Window* pParent, WinBits nStyle, SpinfieldToolbarController* pSpinfieldToolbarController ); - virtual ~SpinfieldControl(); + virtual ~SpinfieldControl() override; virtual void dispose() override; virtual void Up() override; diff --git a/framework/source/uielement/subtoolbarcontroller.cxx b/framework/source/uielement/subtoolbarcontroller.cxx index 40f7630b0876..858933b3e48c 100644 --- a/framework/source/uielement/subtoolbarcontroller.cxx +++ b/framework/source/uielement/subtoolbarcontroller.cxx @@ -48,7 +48,7 @@ class SubToolBarController : public ToolBarBase void disposeUIElement(); public: explicit SubToolBarController( const css::uno::Sequence< css::uno::Any >& rxArgs ); - virtual ~SubToolBarController(); + virtual ~SubToolBarController() override; // XInitialization virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& rxArgs ) throw ( css::uno::Exception, css::uno::RuntimeException, std::exception ) override; diff --git a/framework/source/uielement/thesaurusmenucontroller.cxx b/framework/source/uielement/thesaurusmenucontroller.cxx index bf46b799f297..9d55af45c520 100644 --- a/framework/source/uielement/thesaurusmenucontroller.cxx +++ b/framework/source/uielement/thesaurusmenucontroller.cxx @@ -30,7 +30,7 @@ class ThesaurusMenuController : public svt::PopupMenuControllerBase { public: explicit ThesaurusMenuController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~ThesaurusMenuController(); + virtual ~ThesaurusMenuController() override; // XStatusListener virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) override; diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx index 5d5b44732e87..63fd3e9fa5c3 100644 --- a/framework/source/uielement/uicommanddescription.cxx +++ b/framework/source/uielement/uicommanddescription.cxx @@ -84,7 +84,7 @@ class ConfigurationAccess_UICommand : // Order is necessary for right initializa osl::Mutex m_aMutex; public: ConfigurationAccess_UICommand( const OUString& aModuleName, const Reference< XNameAccess >& xGenericUICommands, const Reference< XComponentContext >& rxContext ); - virtual ~ConfigurationAccess_UICommand(); + virtual ~ConfigurationAccess_UICommand() override; // XNameAccess virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) diff --git a/framework/source/uifactory/addonstoolbarfactory.cxx b/framework/source/uifactory/addonstoolbarfactory.cxx index 2003669ceff7..776ea27edebb 100644 --- a/framework/source/uifactory/addonstoolbarfactory.cxx +++ b/framework/source/uifactory/addonstoolbarfactory.cxx @@ -55,7 +55,7 @@ class AddonsToolBarFactory : public ::cppu::WeakImplHelper< css::lang::XService { public: explicit AddonsToolBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~AddonsToolBarFactory(); + virtual ~AddonsToolBarFactory() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uifactory/uicontrollerfactory.cxx b/framework/source/uifactory/uicontrollerfactory.cxx index fb6cdb48fb45..ad280b406c59 100644 --- a/framework/source/uifactory/uicontrollerfactory.cxx +++ b/framework/source/uifactory/uicontrollerfactory.cxx @@ -47,7 +47,7 @@ class UIControllerFactory : private cppu::BaseMutex, public UIControllerFactory_BASE { public: - virtual ~UIControllerFactory(); + virtual ~UIControllerFactory() override; // XMultiComponentFactory virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithContext( const OUString& aServiceSpecifier, const css::uno::Reference< css::uno::XComponentContext >& Context ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override; diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx index dea425323d5a..fab00c2e49a4 100644 --- a/framework/source/uifactory/uielementfactorymanager.cxx +++ b/framework/source/uifactory/uielementfactorymanager.cxx @@ -352,7 +352,7 @@ class UIElementFactoryManager : private cppu::BaseMutex, virtual void SAL_CALL disposing() override; public: explicit UIElementFactoryManager( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~UIElementFactoryManager(); + virtual ~UIElementFactoryManager() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/framework/source/uifactory/windowcontentfactorymanager.cxx b/framework/source/uifactory/windowcontentfactorymanager.cxx index 1e93334efbec..08cbbe3f30b4 100644 --- a/framework/source/uifactory/windowcontentfactorymanager.cxx +++ b/framework/source/uifactory/windowcontentfactorymanager.cxx @@ -50,7 +50,7 @@ class WindowContentFactoryManager : private cppu::BaseMutex, { public: explicit WindowContentFactoryManager( const css::uno::Reference< css::uno::XComponentContext>& rxContext ); - virtual ~WindowContentFactoryManager(); + virtual ~WindowContentFactoryManager() override; virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) override diff --git a/hwpfilter/source/attributes.hxx b/hwpfilter/source/attributes.hxx index a23058e66256..8d4c0cdce768 100644 --- a/hwpfilter/source/attributes.hxx +++ b/hwpfilter/source/attributes.hxx @@ -33,7 +33,7 @@ struct AttributeListImpl_impl; class AttributeListImpl : public WeakImplHelper< XAttributeList > { protected: - virtual ~AttributeListImpl(); + virtual ~AttributeListImpl() override; public: AttributeListImpl(); diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h index fd4b22a566d6..064521925f51 100644 --- a/hwpfilter/source/hbox.h +++ b/hwpfilter/source/hbox.h @@ -76,7 +76,7 @@ struct SkipData: public HBox char *data_block; explicit SkipData(hchar); - virtual ~SkipData(); + virtual ~SkipData() override; virtual bool Read(HWPFile &hwpf) override; }; struct DateCode; @@ -94,7 +94,7 @@ struct FieldCode : public HBox DateCode *m_pDate; FieldCode(); - virtual ~FieldCode(); + virtual ~FieldCode() override; virtual bool Read(HWPFile &hwpf) override; }; /** @@ -119,7 +119,7 @@ struct Bookmark: public HBox unsigned short type; Bookmark(); - virtual ~Bookmark(); + virtual ~Bookmark() override; virtual bool Read(HWPFile &hwpf) override; }; @@ -322,7 +322,7 @@ struct FBox: public HBox FBox *prev, *next; explicit FBox( hchar hch ); - virtual ~FBox(); + virtual ~FBox() override; }; struct Table; @@ -374,7 +374,7 @@ struct TxtBox: public FBox std::list<HWPPara*> caption; TxtBox(); - virtual ~TxtBox(); + virtual ~TxtBox() override; /** * @returns Count of cell. @@ -647,7 +647,7 @@ struct Picture: public FBox bool ishyper; Picture(); - virtual ~Picture(); + virtual ~Picture() override; virtual bool Read (HWPFile &hwpf) override; }; @@ -684,7 +684,7 @@ struct Hidden: public HBox std::list<HWPPara*> plist; Hidden(); - virtual ~Hidden(); + virtual ~Hidden() override; virtual bool Read(HWPFile &hwpf) override; }; @@ -713,7 +713,7 @@ struct HeaderFooter: public HBox std::list<HWPPara*> plist; HeaderFooter(); - virtual ~HeaderFooter(); + virtual ~HeaderFooter() override; virtual bool Read(HWPFile &hwpf) override; }; @@ -746,7 +746,7 @@ struct Footnote: public HBox std::list<HWPPara*> plist; Footnote(); - virtual ~Footnote(); + virtual ~Footnote() override; virtual bool Read(HWPFile &hwpf) override; }; diff --git a/hwpfilter/source/hiodev.h b/hwpfilter/source/hiodev.h index 0a43d44763d6..b30a79f843c4 100644 --- a/hwpfilter/source/hiodev.h +++ b/hwpfilter/source/hiodev.h @@ -81,7 +81,7 @@ class HStreamIODev : public HIODev gz_stream *_gzfp; public: explicit HStreamIODev(HStream* stream); - virtual ~HStreamIODev(); + virtual ~HStreamIODev() override; /** * Check whether the stream is available */ @@ -145,7 +145,7 @@ class HMemIODev : public HIODev int pos, length; public: HMemIODev(char *s, int len); - virtual ~HMemIODev(); + virtual ~HMemIODev() override; virtual bool open() override; virtual void close() override; diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index 82efdd40b4fe..73d4378f5435 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -76,7 +76,7 @@ class HwpReader : public WeakImplHelper<XFilter> public: HwpReader(); - virtual ~HwpReader(); + virtual ~HwpReader() override; public: /** @@ -153,7 +153,7 @@ class HwpImportFilter : public WeakImplHelper< XFilter, XImporter, XServiceInfo, { public: explicit HwpImportFilter(const Reference< XMultiServiceFactory >& rFact); - virtual ~HwpImportFilter(); + virtual ~HwpImportFilter() override; public: static Sequence< OUString > getSupportedServiceNames_Static() throw(); diff --git a/i18nlangtag/qa/cppunit/test_languagetag.cxx b/i18nlangtag/qa/cppunit/test_languagetag.cxx index a5d40f9afb0b..ae1fd2ae5ace 100644 --- a/i18nlangtag/qa/cppunit/test_languagetag.cxx +++ b/i18nlangtag/qa/cppunit/test_languagetag.cxx @@ -32,7 +32,7 @@ class TestLanguageTag : public CppUnit::TestFixture { public: TestLanguageTag() {} - virtual ~TestLanguageTag() {} + virtual ~TestLanguageTag() override {} void testAllTags(); void testAllIsoLangEntries(); diff --git a/i18npool/inc/breakiteratorImpl.hxx b/i18npool/inc/breakiteratorImpl.hxx index 82547e32fc11..77b4d33190b9 100644 --- a/i18npool/inc/breakiteratorImpl.hxx +++ b/i18npool/inc/breakiteratorImpl.hxx @@ -48,7 +48,7 @@ class BreakIteratorImpl : public cppu::WeakImplHelper public: BreakIteratorImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); BreakIteratorImpl(); - virtual ~BreakIteratorImpl(); + virtual ~BreakIteratorImpl() override; virtual sal_Int32 SAL_CALL nextCharacters( const OUString& Text, sal_Int32 nStartPos, const css::lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, diff --git a/i18npool/inc/breakiterator_cjk.hxx b/i18npool/inc/breakiterator_cjk.hxx index a477558f7bee..8731745385c6 100644 --- a/i18npool/inc/breakiterator_cjk.hxx +++ b/i18npool/inc/breakiterator_cjk.hxx @@ -54,7 +54,7 @@ protected: class BreakIterator_##lang : public BreakIterator_CJK {\ public:\ BreakIterator_##lang (); \ - virtual ~BreakIterator_##lang (); \ + virtual ~BreakIterator_##lang () override; \ }; BREAKITERATOR_CJK( zh ) diff --git a/i18npool/inc/breakiterator_ctl.hxx b/i18npool/inc/breakiterator_ctl.hxx index 7715a2e3e50a..e9498a82b8f7 100644 --- a/i18npool/inc/breakiterator_ctl.hxx +++ b/i18npool/inc/breakiterator_ctl.hxx @@ -31,7 +31,7 @@ class BreakIterator_CTL : public BreakIterator_Unicode { public: BreakIterator_CTL(); - virtual ~BreakIterator_CTL(); + virtual ~BreakIterator_CTL() override; virtual sal_Int32 SAL_CALL previousCharacters(const OUString& text, sal_Int32 start, const lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 count, sal_Int32& nDone) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/breakiterator_th.hxx b/i18npool/inc/breakiterator_th.hxx index dccafea9c24f..943c8f33cabb 100644 --- a/i18npool/inc/breakiterator_th.hxx +++ b/i18npool/inc/breakiterator_th.hxx @@ -29,7 +29,7 @@ class BreakIterator_th : public BreakIterator_CTL { public: BreakIterator_th(); - virtual ~BreakIterator_th(); + virtual ~BreakIterator_th() override; protected: void SAL_CALL makeIndex(const OUString& text, sal_Int32 pos) throw(css::uno::RuntimeException) override; diff --git a/i18npool/inc/breakiterator_unicode.hxx b/i18npool/inc/breakiterator_unicode.hxx index 22bcbb751797..ffcb4fe44d1b 100644 --- a/i18npool/inc/breakiterator_unicode.hxx +++ b/i18npool/inc/breakiterator_unicode.hxx @@ -37,7 +37,7 @@ class BreakIterator_Unicode : public BreakIteratorImpl { public: BreakIterator_Unicode(); - virtual ~BreakIterator_Unicode(); + virtual ~BreakIterator_Unicode() override; virtual sal_Int32 SAL_CALL previousCharacters( const OUString& Text, sal_Int32 nStartPos, const css::lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, diff --git a/i18npool/inc/calendarImpl.hxx b/i18npool/inc/calendarImpl.hxx index 286972e4b7be..8cca72220ff7 100644 --- a/i18npool/inc/calendarImpl.hxx +++ b/i18npool/inc/calendarImpl.hxx @@ -49,7 +49,7 @@ public: /** * Destructor */ - virtual ~CalendarImpl(); + virtual ~CalendarImpl() override; // Methods diff --git a/i18npool/inc/calendar_gregorian.hxx b/i18npool/inc/calendar_gregorian.hxx index 283e1b7c60e9..98f48bc1e0e6 100644 --- a/i18npool/inc/calendar_gregorian.hxx +++ b/i18npool/inc/calendar_gregorian.hxx @@ -54,7 +54,7 @@ public: /** * Destructor */ - virtual ~Calendar_gregorian(); + virtual ~Calendar_gregorian() override; // Methods in XCalendar virtual void SAL_CALL loadCalendar(const OUString& uniqueID, const css::lang::Locale& rLocale) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx index cbcb6f9baaa7..122e1ee7136b 100644 --- a/i18npool/inc/cclass_unicode.hxx +++ b/i18npool/inc/cclass_unicode.hxx @@ -39,7 +39,7 @@ class cclass_Unicode : public cppu::WeakImplHelper < XCharacterClassification, c { public: cclass_Unicode(const css::uno::Reference < css::uno::XComponentContext >& rxContext ); - virtual ~cclass_Unicode(); + virtual ~cclass_Unicode() override; virtual OUString SAL_CALL toUpper( const OUString& Text, sal_Int32 nPos, sal_Int32 nCount, const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/chaptercollator.hxx b/i18npool/inc/chaptercollator.hxx index 57adfd27e228..863e408598e0 100644 --- a/i18npool/inc/chaptercollator.hxx +++ b/i18npool/inc/chaptercollator.hxx @@ -33,7 +33,7 @@ public: // Constructors ChapterCollator( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); // Destructor - virtual ~ChapterCollator(); + virtual ~ChapterCollator() override; sal_Int32 SAL_CALL compareSubstring( const OUString& s1, sal_Int32 off1, sal_Int32 len1, const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/characterclassificationImpl.hxx b/i18npool/inc/characterclassificationImpl.hxx index b775e10a7110..d0d8f29a1142 100644 --- a/i18npool/inc/characterclassificationImpl.hxx +++ b/i18npool/inc/characterclassificationImpl.hxx @@ -37,7 +37,7 @@ class CharacterClassificationImpl : public cppu::WeakImplHelper public: CharacterClassificationImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); - virtual ~CharacterClassificationImpl(); + virtual ~CharacterClassificationImpl() override; virtual OUString SAL_CALL toUpper( const OUString& Text, sal_Int32 nPos, sal_Int32 nCount, const css::lang::Locale& rLocale ) diff --git a/i18npool/inc/collatorImpl.hxx b/i18npool/inc/collatorImpl.hxx index f9b135c964db..e1e7c5b4ea09 100644 --- a/i18npool/inc/collatorImpl.hxx +++ b/i18npool/inc/collatorImpl.hxx @@ -45,7 +45,7 @@ public: // Constructors CollatorImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); // Destructor - virtual ~CollatorImpl(); + virtual ~CollatorImpl() override; virtual sal_Int32 SAL_CALL compareSubstring(const OUString& s1, sal_Int32 off1, sal_Int32 len1, const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/collator_unicode.hxx b/i18npool/inc/collator_unicode.hxx index 38522a5d96c3..ac76c215295a 100644 --- a/i18npool/inc/collator_unicode.hxx +++ b/i18npool/inc/collator_unicode.hxx @@ -38,7 +38,7 @@ public: // Constructors Collator_Unicode(); // Destructor - virtual ~Collator_Unicode(); + virtual ~Collator_Unicode() override; sal_Int32 SAL_CALL compareSubstring( const OUString& s1, sal_Int32 off1, sal_Int32 len1, const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/defaultnumberingprovider.hxx b/i18npool/inc/defaultnumberingprovider.hxx index 4e72d3014bc6..d65ef5e6c29a 100644 --- a/i18npool/inc/defaultnumberingprovider.hxx +++ b/i18npool/inc/defaultnumberingprovider.hxx @@ -43,7 +43,7 @@ class DefaultNumberingProvider : public cppu::WeakImplHelper public: DefaultNumberingProvider( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); - virtual ~DefaultNumberingProvider(); + virtual ~DefaultNumberingProvider() override; //XDefaultNumberingProvider virtual css::uno::Sequence< css::uno::Reference< diff --git a/i18npool/inc/indexentrysupplier_asian.hxx b/i18npool/inc/indexentrysupplier_asian.hxx index 8f68dfc63b06..1ae075046314 100644 --- a/i18npool/inc/indexentrysupplier_asian.hxx +++ b/i18npool/inc/indexentrysupplier_asian.hxx @@ -32,7 +32,7 @@ namespace com { namespace sun { namespace star { namespace i18n { class IndexEntrySupplier_asian : public IndexEntrySupplier_Common { public: IndexEntrySupplier_asian( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); - virtual ~IndexEntrySupplier_asian(); + virtual ~IndexEntrySupplier_asian() override; OUString SAL_CALL getIndexCharacter( const OUString& rIndexEntry, const css::lang::Locale& rLocale, const OUString& rAlgorithm ) diff --git a/i18npool/inc/indexentrysupplier_common.hxx b/i18npool/inc/indexentrysupplier_common.hxx index aab4a4c5668e..cf3120b36276 100644 --- a/i18npool/inc/indexentrysupplier_common.hxx +++ b/i18npool/inc/indexentrysupplier_common.hxx @@ -39,7 +39,7 @@ class IndexEntrySupplier_Common : public cppu::WeakImplHelper { public: IndexEntrySupplier_Common( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); - virtual ~IndexEntrySupplier_Common(); + virtual ~IndexEntrySupplier_Common() override; virtual css::uno::Sequence < css::lang::Locale > SAL_CALL getLocaleList() throw (css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/indexentrysupplier_default.hxx b/i18npool/inc/indexentrysupplier_default.hxx index 79934b2016d3..49b35580e3f4 100644 --- a/i18npool/inc/indexentrysupplier_default.hxx +++ b/i18npool/inc/indexentrysupplier_default.hxx @@ -31,7 +31,7 @@ class Index; class IndexEntrySupplier_Unicode : public IndexEntrySupplier_Common { public: IndexEntrySupplier_Unicode( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); - virtual ~IndexEntrySupplier_Unicode(); + virtual ~IndexEntrySupplier_Unicode() override; virtual sal_Bool SAL_CALL loadAlgorithm( const css::lang::Locale& rLocale, diff --git a/i18npool/inc/inputsequencechecker.hxx b/i18npool/inc/inputsequencechecker.hxx index 953aa9d2faca..b89d4061e0e5 100644 --- a/i18npool/inc/inputsequencechecker.hxx +++ b/i18npool/inc/inputsequencechecker.hxx @@ -41,7 +41,7 @@ class InputSequenceCheckerImpl : public cppu::WeakImplHelper public: InputSequenceCheckerImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); InputSequenceCheckerImpl(const char *pServiceName); - virtual ~InputSequenceCheckerImpl(); + virtual ~InputSequenceCheckerImpl() override; virtual sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos, sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/inputsequencechecker_hi.hxx b/i18npool/inc/inputsequencechecker_hi.hxx index 27938f4591fc..dbbe12129a4d 100644 --- a/i18npool/inc/inputsequencechecker_hi.hxx +++ b/i18npool/inc/inputsequencechecker_hi.hxx @@ -33,7 +33,7 @@ class InputSequenceChecker_hi : public InputSequenceCheckerImpl { public: InputSequenceChecker_hi(); - virtual ~InputSequenceChecker_hi(); + virtual ~InputSequenceChecker_hi() override; sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos, sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/inputsequencechecker_th.hxx b/i18npool/inc/inputsequencechecker_th.hxx index bf1ede02348f..8c288ec511f8 100644 --- a/i18npool/inc/inputsequencechecker_th.hxx +++ b/i18npool/inc/inputsequencechecker_th.hxx @@ -30,7 +30,7 @@ class InputSequenceChecker_th : public InputSequenceCheckerImpl { public: InputSequenceChecker_th(); - virtual ~InputSequenceChecker_th(); + virtual ~InputSequenceChecker_th() override; sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos, sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx index c36e71175864..ae33218583d3 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -67,7 +67,7 @@ class LocaleDataImpl : public cppu::WeakImplHelper { public: LocaleDataImpl(); - virtual ~LocaleDataImpl(); + virtual ~LocaleDataImpl() override; static rtl::Reference<LocaleDataImpl> get() { return new LocaleDataImpl; } diff --git a/i18npool/inc/numberformatcode.hxx b/i18npool/inc/numberformatcode.hxx index 9c7d78066d3e..62261f2e550d 100644 --- a/i18npool/inc/numberformatcode.hxx +++ b/i18npool/inc/numberformatcode.hxx @@ -38,7 +38,7 @@ class NumberFormatCodeMapper : public cppu::WeakImplHelper public: NumberFormatCodeMapper( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); - virtual ~NumberFormatCodeMapper(); + virtual ~NumberFormatCodeMapper() override; virtual css::i18n::NumberFormatCode SAL_CALL getDefault( sal_Int16 nFormatType, sal_Int16 nFormatUsage, const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override; virtual css::i18n::NumberFormatCode SAL_CALL getFormatCode( sal_Int16 nFormatIndex, const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/ordinalsuffix.hxx b/i18npool/inc/ordinalsuffix.hxx index f87f5b87b2bc..a62c28bef6d6 100644 --- a/i18npool/inc/ordinalsuffix.hxx +++ b/i18npool/inc/ordinalsuffix.hxx @@ -36,7 +36,7 @@ class OrdinalSuffixService : public cppu::WeakImplHelper { public: OrdinalSuffixService(); - virtual ~OrdinalSuffixService(); + virtual ~OrdinalSuffixService() override; // XOrdinalSuffix virtual css::uno::Sequence< OUString > SAL_CALL getOrdinalSuffix( sal_Int32 nNumber, const css::lang::Locale &rLocale ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/i18npool/inc/textToPronounce_zh.hxx b/i18npool/inc/textToPronounce_zh.hxx index a428fdd378d4..ed33fad20e51 100644 --- a/i18npool/inc/textToPronounce_zh.hxx +++ b/i18npool/inc/textToPronounce_zh.hxx @@ -39,7 +39,7 @@ public: #else TextToPronounce_zh(sal_uInt16 ** (*function)()); #endif - virtual ~TextToPronounce_zh(); + virtual ~TextToPronounce_zh() override; OUString SAL_CALL folding(const OUString & inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > & offset) diff --git a/i18npool/inc/textconversion.hxx b/i18npool/inc/textconversion.hxx index 6071cdfc1a4d..5b1670b03c15 100644 --- a/i18npool/inc/textconversion.hxx +++ b/i18npool/inc/textconversion.hxx @@ -41,7 +41,7 @@ class TextConversionService: public cppu::WeakImplHelper { public: TextConversionService(const char* pImplName); - virtual ~TextConversionService(); + virtual ~TextConversionService() override; // Methods virtual css::i18n::TextConversionResult SAL_CALL getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx index 21ffd6c03a56..7714ac3c5b52 100644 --- a/i18npool/inc/transliterationImpl.hxx +++ b/i18npool/inc/transliterationImpl.hxx @@ -38,7 +38,7 @@ public: // Constructors TransliterationImpl(const css::uno::Reference < css::uno::XComponentContext >& xContext); // Destructor - virtual ~TransliterationImpl(); + virtual ~TransliterationImpl() override; // Methods virtual OUString SAL_CALL getName( ) throw(css::uno::RuntimeException, std::exception) override ; diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 5c7d4f8100f9..99a865e181cd 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -1328,7 +1328,7 @@ class OutlineNumbering : public cppu::WeakImplHelper < container::XIndexAccess > sal_Int16 m_nCount; public: OutlineNumbering(const OutlineNumberingLevel_Impl* pOutlineLevels, int nLevels); - virtual ~OutlineNumbering(); + virtual ~OutlineNumbering() override; //XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw(RuntimeException, std::exception) override; diff --git a/i18npool/source/localedata/saxparser.cxx b/i18npool/source/localedata/saxparser.cxx index f367a5d50ea1..26da63a5e69c 100644 --- a/i18npool/source/localedata/saxparser.cxx +++ b/i18npool/source/localedata/saxparser.cxx @@ -160,7 +160,7 @@ public: theLocale[sizeof(theLocale)-1] = 0; } - virtual ~TestDocumentHandler( ) + virtual ~TestDocumentHandler( ) override { of.closeOutput(); delete rootNode; diff --git a/i18npool/source/search/textsearch.hxx b/i18npool/source/search/textsearch.hxx index 49c1dfb24fef..5ed122b73dd5 100644 --- a/i18npool/source/search/textsearch.hxx +++ b/i18npool/source/search/textsearch.hxx @@ -130,7 +130,7 @@ public: explicit TextSearch( const css::uno::Reference < css::uno::XComponentContext >& rxContext ); - virtual ~TextSearch(); + virtual ~TextSearch() override; // XTextSearch virtual void SAL_CALL diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx index c0dd517190ce..a510fbd35a80 100644 --- a/idl/inc/hash.hxx +++ b/idl/inc/hash.hxx @@ -83,7 +83,7 @@ protected: virtual bool equals( const OString &rElement, sal_uInt32 nIndex ) const override; public: SvStringHashTable( sal_uInt32 nMaxEntries ); // max size of hash-tabel - virtual ~SvStringHashTable(); + virtual ~SvStringHashTable() override; OString GetNearString( const OString& rName ) const; virtual bool IsEntry( sal_uInt32 nIndex ) const override; diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx index 167e902947de..fb051699339a 100644 --- a/idl/inc/types.hxx +++ b/idl/inc/types.hxx @@ -68,7 +68,7 @@ public: SvMetaType(); SvMetaType( const OString& rTypeName ); - virtual ~SvMetaType(); + virtual ~SvMetaType() override; virtual void ReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) override; diff --git a/idlc/inc/astattribute.hxx b/idlc/inc/astattribute.hxx index 2d88b47e4082..e4bbd517318f 100644 --- a/idlc/inc/astattribute.hxx +++ b/idlc/inc/astattribute.hxx @@ -41,7 +41,7 @@ public: , m_flags(flags) , m_pType(pType) {} - virtual ~AstAttribute() {} + virtual ~AstAttribute() override {} void setExceptions( OUString const * getDoc, DeclList const * getExc, diff --git a/idlc/inc/astbasetype.hxx b/idlc/inc/astbasetype.hxx index a7edf3d817b0..35d0cc1276d0 100644 --- a/idlc/inc/astbasetype.hxx +++ b/idlc/inc/astbasetype.hxx @@ -31,7 +31,7 @@ public: , m_exprType(type) {} - virtual ~AstBaseType() {} + virtual ~AstBaseType() override {} virtual bool isUnsigned() const override { switch (m_exprType) { diff --git a/idlc/inc/astconstant.hxx b/idlc/inc/astconstant.hxx index 7453c47954b3..e092b7340ee1 100644 --- a/idlc/inc/astconstant.hxx +++ b/idlc/inc/astconstant.hxx @@ -31,7 +31,7 @@ public: AstExpression* pExpr, const OString& name, AstScope* pScope); AstConstant(const ExprType type, AstExpression* pExpr, const OString& name, AstScope* pScope); - virtual ~AstConstant(); + virtual ~AstConstant() override; AstExpression* getConstValue() { return m_pConstValue; } diff --git a/idlc/inc/astconstants.hxx b/idlc/inc/astconstants.hxx index f3f7f3bed2d1..fb990f92dda8 100644 --- a/idlc/inc/astconstants.hxx +++ b/idlc/inc/astconstants.hxx @@ -27,7 +27,7 @@ public: AstConstants(const OString& name, AstScope* pScope) : AstModule(NT_constants, name, pScope) {} - virtual ~AstConstants() {} + virtual ~AstConstants() override {} }; #endif // INCLUDED_IDLC_INC_ASTCONSTANTS_HXX diff --git a/idlc/inc/astenum.hxx b/idlc/inc/astenum.hxx index d7c8977fb932..6d6324353ce3 100644 --- a/idlc/inc/astenum.hxx +++ b/idlc/inc/astenum.hxx @@ -29,7 +29,7 @@ class AstEnum : public AstType public: AstEnum(const OString& name, AstScope* pScope); - virtual ~AstEnum(); + virtual ~AstEnum() override; sal_Int32 getEnumValueCount() { return m_enumValueCount++; } diff --git a/idlc/inc/astexception.hxx b/idlc/inc/astexception.hxx index 64790c694048..e00e28895b11 100644 --- a/idlc/inc/astexception.hxx +++ b/idlc/inc/astexception.hxx @@ -28,7 +28,7 @@ public: : AstStruct(NT_exception, name, pBaseType, pScope) {} - virtual ~AstException() {} + virtual ~AstException() override {} }; #endif // INCLUDED_IDLC_INC_ASTEXCEPTION_HXX diff --git a/idlc/inc/astinterface.hxx b/idlc/inc/astinterface.hxx index caabbe669f11..1f789a304b35 100644 --- a/idlc/inc/astinterface.hxx +++ b/idlc/inc/astinterface.hxx @@ -49,7 +49,7 @@ public: AstInterface( const OString& name, AstInterface const * pInherits, AstScope* pScope); - virtual ~AstInterface(); + virtual ~AstInterface() override; InheritedInterfaces const & getAllInheritedInterfaces() const { return m_inheritedInterfaces; } diff --git a/idlc/inc/astinterfacemember.hxx b/idlc/inc/astinterfacemember.hxx index 1740d3518085..a627b0d91bfe 100644 --- a/idlc/inc/astinterfacemember.hxx +++ b/idlc/inc/astinterfacemember.hxx @@ -30,7 +30,7 @@ public: , m_flags(flags) , m_pRealInterface(pRealInterface) {} - virtual ~AstInterfaceMember() {} + virtual ~AstInterfaceMember() override {} AstInterface* getRealInterface() { return m_pRealInterface; } diff --git a/idlc/inc/astmember.hxx b/idlc/inc/astmember.hxx index d01dbde7922c..0563eb8c7971 100644 --- a/idlc/inc/astmember.hxx +++ b/idlc/inc/astmember.hxx @@ -31,7 +31,7 @@ public: AstType const * pType, OString const & name, AstScope * pScope): AstDeclaration(NT_member, name, pScope), m_pType(pType) {} - virtual ~AstMember() {} + virtual ~AstMember() override {} AstType const * getType() const { return m_pType; } diff --git a/idlc/inc/astmodule.hxx b/idlc/inc/astmodule.hxx index 770c11a856a9..6f41b2d7cabe 100644 --- a/idlc/inc/astmodule.hxx +++ b/idlc/inc/astmodule.hxx @@ -34,7 +34,7 @@ public: : AstDeclaration(type, name, pScope) , AstScope(type) {} - virtual ~AstModule() {} + virtual ~AstModule() override {} virtual bool dump(RegistryKey& rKey) override; }; diff --git a/idlc/inc/astneeds.hxx b/idlc/inc/astneeds.hxx index 6674e2804695..0df77f2edd01 100644 --- a/idlc/inc/astneeds.hxx +++ b/idlc/inc/astneeds.hxx @@ -28,7 +28,7 @@ public: : AstDeclaration(NT_needs, name, pScope) , m_pRealService(pRealService) {} - virtual ~AstNeeds() {} + virtual ~AstNeeds() override {} AstService* getRealService() { return m_pRealService; } diff --git a/idlc/inc/astobserves.hxx b/idlc/inc/astobserves.hxx index c7760096a095..8e4c404eb122 100644 --- a/idlc/inc/astobserves.hxx +++ b/idlc/inc/astobserves.hxx @@ -28,7 +28,7 @@ public: : AstDeclaration(NT_observes, name, pScope) , m_pRealInterface(pRealInterface) {} - virtual ~AstObserves() {} + virtual ~AstObserves() override {} AstInterface* getRealInterface() { return m_pRealInterface; } diff --git a/idlc/inc/astoperation.hxx b/idlc/inc/astoperation.hxx index 5a5194f92605..85b12c8321d0 100644 --- a/idlc/inc/astoperation.hxx +++ b/idlc/inc/astoperation.hxx @@ -35,7 +35,7 @@ public: , AstScope(NT_operation) , m_pReturnType(pReturnType) {} - virtual ~AstOperation() {} + virtual ~AstOperation() override {} bool isVariadic() const; diff --git a/idlc/inc/astparameter.hxx b/idlc/inc/astparameter.hxx index 250aeaed33f5..ba7933c0ea09 100644 --- a/idlc/inc/astparameter.hxx +++ b/idlc/inc/astparameter.hxx @@ -32,7 +32,7 @@ public: AstMember(NT_parameter, type, name, scope), m_direction(direction), m_rest(rest) {} - virtual ~AstParameter() {} + virtual ~AstParameter() override {} Direction getDirection() const { return m_direction; } diff --git a/idlc/inc/astsequence.hxx b/idlc/inc/astsequence.hxx index bdc132872455..aa800ca9e052 100644 --- a/idlc/inc/astsequence.hxx +++ b/idlc/inc/astsequence.hxx @@ -29,7 +29,7 @@ public: , m_pMemberType(pMemberType) , m_pRelativName(nullptr) {} - virtual ~AstSequence() + virtual ~AstSequence() override { if ( m_pRelativName ) delete m_pRelativName; diff --git a/idlc/inc/astservice.hxx b/idlc/inc/astservice.hxx index 400e7c6f2313..8a7c0cf7edd5 100644 --- a/idlc/inc/astservice.hxx +++ b/idlc/inc/astservice.hxx @@ -38,7 +38,7 @@ public: , m_singleInterfaceBasedService(false) , m_defaultConstructor(false) {} - virtual ~AstService() {} + virtual ~AstService() override {} virtual bool dump(RegistryKey& rKey) override; diff --git a/idlc/inc/astservicemember.hxx b/idlc/inc/astservicemember.hxx index 13cd97298bf7..eba1cd95aa45 100644 --- a/idlc/inc/astservicemember.hxx +++ b/idlc/inc/astservicemember.hxx @@ -30,7 +30,7 @@ public: , m_flags(flags) , m_pRealService(pRealService) {} - virtual ~AstServiceMember() {} + virtual ~AstServiceMember() override {} AstService* getRealService() { return m_pRealService; } diff --git a/idlc/inc/aststruct.hxx b/idlc/inc/aststruct.hxx index 280f23165d43..083cd30018f1 100644 --- a/idlc/inc/aststruct.hxx +++ b/idlc/inc/aststruct.hxx @@ -38,7 +38,7 @@ public: const OString& name, AstStruct const* pBaseType, AstScope* pScope); - virtual ~AstStruct(); + virtual ~AstStruct() override; DeclList::size_type getTypeParameterCount() const { return m_typeParameters.size(); } diff --git a/idlc/inc/asttype.hxx b/idlc/inc/asttype.hxx index 67f8d4d075ee..083bd3b42184 100644 --- a/idlc/inc/asttype.hxx +++ b/idlc/inc/asttype.hxx @@ -28,7 +28,7 @@ public: : AstDeclaration(type, name, pScope) {} - virtual ~AstType() {} + virtual ~AstType() override {} virtual bool isUnsigned() const { return false; } }; diff --git a/idlc/inc/asttypedef.hxx b/idlc/inc/asttypedef.hxx index 2f9017200592..64eb14848d71 100644 --- a/idlc/inc/asttypedef.hxx +++ b/idlc/inc/asttypedef.hxx @@ -28,7 +28,7 @@ public: AstType const * baseType, OString const & name, AstScope * scope): AstType(NT_typedef, name, scope), m_pBaseType(baseType) {} - virtual ~AstTypeDef() {} + virtual ~AstTypeDef() override {} AstType const * getBaseType() const { return m_pBaseType; } diff --git a/include/avmedia/mediaitem.hxx b/include/avmedia/mediaitem.hxx index 1144885aa870..4819d62c9d87 100644 --- a/include/avmedia/mediaitem.hxx +++ b/include/avmedia/mediaitem.hxx @@ -68,7 +68,7 @@ public: explicit MediaItem( sal_uInt16 i_nWhich = 0, AVMediaSetMask nMaskSet = AVMediaSetMask::NONE ); MediaItem( const MediaItem& rMediaItem ); - virtual ~MediaItem(); + virtual ~MediaItem() override; virtual bool operator==( const SfxPoolItem& ) const override; virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override; diff --git a/include/avmedia/mediaplayer.hxx b/include/avmedia/mediaplayer.hxx index 878954325d8c..ac45b92d42ed 100644 --- a/include/avmedia/mediaplayer.hxx +++ b/include/avmedia/mediaplayer.hxx @@ -32,7 +32,7 @@ class AVMEDIA_DLLPUBLIC MediaPlayer : public SfxChildWindow { public: MediaPlayer( vcl::Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* ); - virtual ~MediaPlayer(); + virtual ~MediaPlayer() override; SFX_DECL_CHILDWINDOW_WITHID( MediaPlayer ); }; @@ -44,7 +44,7 @@ class AVMEDIA_DLLPUBLIC MediaFloater : public SfxDockingWindow public: MediaFloater( SfxBindings* pBindings, SfxChildWindow* pCW, vcl::Window* pParent ); - virtual ~MediaFloater(); + virtual ~MediaFloater() override; virtual void dispose() override; void setURL( const OUString& rURL, const OUString& rReferer, bool bPlayImmediately ); diff --git a/include/avmedia/mediatoolbox.hxx b/include/avmedia/mediatoolbox.hxx index 89e6083cf986..887db1a0b697 100644 --- a/include/avmedia/mediatoolbox.hxx +++ b/include/avmedia/mediatoolbox.hxx @@ -38,7 +38,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); MediaToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbX ); - virtual ~MediaToolBoxControl(); + virtual ~MediaToolBoxControl() override; virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) override; virtual VclPtr<vcl::Window> CreateItemWindow( vcl::Window* pParent ) override; diff --git a/include/basegfx/color/bcolormodifier.hxx b/include/basegfx/color/bcolormodifier.hxx index 73f9fbbe1aa3..355a6b199117 100644 --- a/include/basegfx/color/bcolormodifier.hxx +++ b/include/basegfx/color/bcolormodifier.hxx @@ -98,7 +98,7 @@ namespace basegfx { } - virtual ~BColorModifier_gray(); + virtual ~BColorModifier_gray() override; // compare operator virtual bool operator==(const BColorModifier& rCompare) const override; @@ -125,7 +125,7 @@ namespace basegfx { } - virtual ~BColorModifier_invert(); + virtual ~BColorModifier_invert() override; // compare operator virtual bool operator==(const BColorModifier& rCompare) const override; @@ -156,7 +156,7 @@ namespace basegfx { } - virtual ~BColorModifier_luminance_to_alpha(); + virtual ~BColorModifier_luminance_to_alpha() override; // compare operator virtual bool operator==(const BColorModifier& rCompare) const override; @@ -188,7 +188,7 @@ namespace basegfx { } - virtual ~BColorModifier_replace(); + virtual ~BColorModifier_replace() override; // data access const ::basegfx::BColor& getBColor() const { return maBColor; } @@ -226,7 +226,7 @@ namespace basegfx { } - virtual ~BColorModifier_interpolate(); + virtual ~BColorModifier_interpolate() override; // data access const ::basegfx::BColor& getBColor() const { return maBColor; } @@ -261,7 +261,7 @@ namespace basegfx { } - virtual ~BColorModifier_black_and_white(); + virtual ~BColorModifier_black_and_white() override; // data access double getValue() const { return mfValue; } @@ -296,7 +296,7 @@ namespace basegfx public: BColorModifier_gamma(double fValue); - virtual ~BColorModifier_gamma(); + virtual ~BColorModifier_gamma() override; // data access double getValue() const { return mfValue; } @@ -340,7 +340,7 @@ namespace basegfx public: BColorModifier_RGBLuminanceContrast(double fRed, double fGreen, double fBlue, double fLuminance, double fContrast); - virtual ~BColorModifier_RGBLuminanceContrast(); + virtual ~BColorModifier_RGBLuminanceContrast() override; // data access double getRed() const { return mfRed; } diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx index c6a54016d599..baf6d56715fd 100644 --- a/include/basic/basmgr.hxx +++ b/include/basic/basmgr.hxx @@ -129,7 +129,7 @@ protected: static bool ImplEncryptStream( SvStream& rStream ); BasicLibInfo* FindLibInfo( StarBASIC* pBasic ); static void CheckModules( StarBASIC* pBasic, bool bReference ); - virtual ~BasicManager(); + virtual ~BasicManager() override; public: BasicManager( SotStorage& rStorage, const OUString& rBaseURL, StarBASIC* pParentFromStdLib = nullptr, OUString* pLibPath = nullptr, bool bDocMgr = false ); diff --git a/include/basic/sbmeth.hxx b/include/basic/sbmeth.hxx index a49bcf245c26..49f22199b37e 100644 --- a/include/basic/sbmeth.hxx +++ b/include/basic/sbmeth.hxx @@ -48,7 +48,7 @@ class BASIC_DLLPUBLIC SbMethod : public SbxMethod BASIC_DLLPRIVATE SbMethod( const SbMethod& ); virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual bool StoreData( SvStream& ) const override; - virtual ~SbMethod(); + virtual ~SbMethod() override; public: SBX_DECL_PERSIST_NODATA(SBXID_BASICMETHOD,2); @@ -78,7 +78,7 @@ public: : SbMethod( rName, pImplMeth->GetType(), nullptr ) , mxImplMeth( pImplMeth ) {} - virtual ~SbIfaceMapperMethod(); + virtual ~SbIfaceMapperMethod() override; SbMethod* getImplMethod() { return mxImplMeth; } }; diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx index ca6f57f1e701..3ac306a6d487 100644 --- a/include/basic/sbmod.hxx +++ b/include/basic/sbmod.hxx @@ -92,7 +92,7 @@ protected: virtual bool LoadCompleted() override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; void handleProcedureProperties( SfxBroadcaster& rBC, const SfxHint& rHint ); - virtual ~SbModule(); + virtual ~SbModule() override; public: SBX_DECL_PERSIST_NODATA(SBXID_BASICMOD,2); SbModule( const OUString&, bool bCompat = false ); @@ -147,7 +147,7 @@ class BASIC_DLLPUBLIC SbClassModuleObject : public SbModule public: SbClassModuleObject( SbModule* pClassModule ); - virtual ~SbClassModuleObject(); + virtual ~SbClassModuleObject() override; // Overridden to support NameAccess etc. virtual SbxVariable* Find( const OUString&, SbxClassType ) override; diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx index 3ec0693a6bd6..814e47812daa 100644 --- a/include/basic/sbstar.hxx +++ b/include/basic/sbstar.hxx @@ -81,7 +81,7 @@ private: protected: bool ErrorHdl(); sal_uInt16 BreakHdl(); - virtual ~StarBASIC(); + virtual ~StarBASIC() override; public: diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx index ac0f80bce160..96fe6dbff9b1 100644 --- a/include/basic/sbx.hxx +++ b/include/basic/sbx.hxx @@ -76,7 +76,7 @@ class BASIC_DLLPUBLIC SbxInfo : public SvRefBase protected: void LoadData( SvStream&, sal_uInt16 ); void StoreData( SvStream& ) const; - virtual ~SbxInfo(); + virtual ~SbxInfo() override; public: SbxInfo(); SbxInfo( const OUString&, sal_uInt32 ); @@ -102,7 +102,7 @@ public: class BASIC_DLLPUBLIC SbxAlias : public SbxVariable, public SfxListener { SbxVariableRef xAlias; - virtual ~SbxAlias(); + virtual ~SbxAlias() override; virtual void Broadcast( sal_uInt32 ) override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; public: @@ -128,7 +128,7 @@ class BASIC_DLLPUBLIC SbxArray : public SbxBase protected: SbxDataType eType; // Data type of the array - virtual ~SbxArray(); + virtual ~SbxArray() override; virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual bool StoreData( SvStream& ) const override; @@ -178,7 +178,7 @@ protected: sal_uInt32 Offset32( SbxArray* ); virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual bool StoreData( SvStream& ) const override; - virtual ~SbxDimArray(); + virtual ~SbxDimArray() override; public: SBX_DECL_PERSIST_NODATA(SBXID_DIMARRAY,1); SbxDimArray( SbxDataType=SbxVARIANT ); @@ -213,7 +213,7 @@ class BASIC_DLLPUBLIC SbxCollection : public SbxObject { BASIC_DLLPRIVATE void Initialize(); protected: - virtual ~SbxCollection(); + virtual ~SbxCollection() override; virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; // Overridable methods (why not pure virtual?): @@ -236,7 +236,7 @@ class BASIC_DLLPUBLIC SbxStdCollection : public SbxCollection protected: OUString aElemClass; bool bAddRemoveOk; - virtual ~SbxStdCollection(); + virtual ~SbxStdCollection() override; virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual bool StoreData( SvStream& ) const override; virtual void CollAdd( SbxArray* pPar ) override; diff --git a/include/basic/sbxcore.hxx b/include/basic/sbxcore.hxx index d6d6a9097ff5..afa7e393f56c 100644 --- a/include/basic/sbxcore.hxx +++ b/include/basic/sbxcore.hxx @@ -50,7 +50,7 @@ protected: SbxBase(); SbxBase( const SbxBase& ); SbxBase& operator=( const SbxBase& ); - virtual ~SbxBase(); + virtual ~SbxBase() override; virtual sal_uInt16 GetVersion() const = 0; virtual sal_uInt16 GetSbxId() const = 0; diff --git a/include/basic/sbxmeth.hxx b/include/basic/sbxmeth.hxx index 81de1fb78119..b32a40f1454f 100644 --- a/include/basic/sbxmeth.hxx +++ b/include/basic/sbxmeth.hxx @@ -31,7 +31,7 @@ public: SBX_DECL_PERSIST_NODATA(SBXID_METHOD,1); SbxMethod( const OUString& r, SbxDataType t, bool bIsRuntimeFunction=false ); SbxMethod( const SbxMethod& r ); - virtual ~SbxMethod(); + virtual ~SbxMethod() override; SbxMethod& operator=( const SbxMethod& r ) { SbxVariable::operator=( r ); return *this; } virtual SbxClassType GetClass() const override; bool IsRuntimeFunction() const { return mbIsRuntimeFunction; } diff --git a/include/basic/sbxobj.hxx b/include/basic/sbxobj.hxx index 5115b7107fa2..6a0cf20ca2c9 100644 --- a/include/basic/sbxobj.hxx +++ b/include/basic/sbxobj.hxx @@ -39,7 +39,7 @@ protected: OUString aDfltPropName; virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual bool StoreData( SvStream& ) const override; - virtual ~SbxObject(); + virtual ~SbxObject() override; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; public: SBX_DECL_PERSIST_NODATA(SBXID_OBJECT,1); diff --git a/include/basic/sbxprop.hxx b/include/basic/sbxprop.hxx index 9f72d9fdbe61..4f23088273b3 100644 --- a/include/basic/sbxprop.hxx +++ b/include/basic/sbxprop.hxx @@ -29,7 +29,7 @@ public: SBX_DECL_PERSIST_NODATA(SBXID_PROPERTY,1); SbxProperty( const OUString& r, SbxDataType t ); SbxProperty( const SbxProperty& r ) : SvRefBase( r ), SbxVariable( r ) {} - virtual ~SbxProperty(); + virtual ~SbxProperty() override; SbxProperty& operator=( const SbxProperty& r ) { SbxVariable::operator=( r ); return *this; } virtual SbxClassType GetClass() const override; diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index 4f7765009ad7..4a625d1b8c8e 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -84,7 +84,7 @@ protected: OUString aToolString; // tool string copy virtual void Broadcast( sal_uInt32 ); // Broadcast-Call - virtual ~SbxValue(); + virtual ~SbxValue() override; virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual bool StoreData( SvStream& ) const override; public: @@ -236,7 +236,7 @@ protected: SbxInfoRef pInfo; // Probably called information sal_uInt32 nUserData; // User data for Call() SbxObject* pParent; // Currently attached object - virtual ~SbxVariable(); + virtual ~SbxVariable() override; virtual bool LoadData( SvStream&, sal_uInt16 ) override; virtual bool StoreData( SvStream& ) const override; public: diff --git a/include/canvas/base/cachedprimitivebase.hxx b/include/canvas/base/cachedprimitivebase.hxx index a467595202ba..23d98a3845b0 100644 --- a/include/canvas/base/cachedprimitivebase.hxx +++ b/include/canvas/base/cachedprimitivebase.hxx @@ -76,7 +76,7 @@ namespace canvas virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (css::uno::RuntimeException, std::exception) override; protected: - virtual ~CachedPrimitiveBase(); // we're a ref-counted UNO class. _We_ destroy ourselves. + virtual ~CachedPrimitiveBase() override; // we're a ref-counted UNO class. _We_ destroy ourselves. private: CachedPrimitiveBase( const CachedPrimitiveBase& ) = delete; diff --git a/include/canvas/parametricpolypolygon.hxx b/include/canvas/parametricpolypolygon.hxx index 8e21228416ba..598a010e9c90 100644 --- a/include/canvas/parametricpolypolygon.hxx +++ b/include/canvas/parametricpolypolygon.hxx @@ -114,7 +114,7 @@ namespace canvas Values getValues() const; protected: - virtual ~ParametricPolyPolygon(); // we're a ref-counted UNO class. _We_ destroy ourselves. + virtual ~ParametricPolyPolygon() override; // we're a ref-counted UNO class. _We_ destroy ourselves. ParametricPolyPolygon(const ParametricPolyPolygon&) = delete; ParametricPolyPolygon& operator=( const ParametricPolyPolygon& ) = delete; diff --git a/include/codemaker/typemanager.hxx b/include/codemaker/typemanager.hxx index 0d57a7ef80ff..3227393edb6e 100644 --- a/include/codemaker/typemanager.hxx +++ b/include/codemaker/typemanager.hxx @@ -56,7 +56,7 @@ public: rtl::Reference< unoidl::Entity > * entity) const; private: - virtual ~TypeManager(); + virtual ~TypeManager() override; rtl::Reference< unoidl::Manager > manager_; std::vector< rtl::Reference< unoidl::Provider > > primaryProviders_; diff --git a/include/comphelper/ChainablePropertySetInfo.hxx b/include/comphelper/ChainablePropertySetInfo.hxx index e7bcefe09857..a5885e2cd8b9 100644 --- a/include/comphelper/ChainablePropertySetInfo.hxx +++ b/include/comphelper/ChainablePropertySetInfo.hxx @@ -43,7 +43,7 @@ namespace comphelper private: virtual ~ChainablePropertySetInfo() - throw(); + throw() override; // XPropertySetInfo virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() diff --git a/include/comphelper/MasterPropertySetInfo.hxx b/include/comphelper/MasterPropertySetInfo.hxx index 80c1b32ad35e..55abed60a040 100644 --- a/include/comphelper/MasterPropertySetInfo.hxx +++ b/include/comphelper/MasterPropertySetInfo.hxx @@ -34,7 +34,7 @@ namespace comphelper private: virtual ~MasterPropertySetInfo() - throw(); + throw() override; void add( PropertyInfoHash &rHash, sal_uInt8 nMapId ); diff --git a/include/comphelper/SelectionMultiplex.hxx b/include/comphelper/SelectionMultiplex.hxx index 443e81721386..bc1c023f5a68 100644 --- a/include/comphelper/SelectionMultiplex.hxx +++ b/include/comphelper/SelectionMultiplex.hxx @@ -74,7 +74,7 @@ namespace comphelper OSelectionChangeMultiplexer(const OSelectionChangeMultiplexer&) = delete; OSelectionChangeMultiplexer& operator=(const OSelectionChangeMultiplexer&) = delete; protected: - virtual ~OSelectionChangeMultiplexer(); + virtual ~OSelectionChangeMultiplexer() override; public: OSelectionChangeMultiplexer(OSelectionChangeListener* _pListener, const css::uno::Reference< css::view::XSelectionSupplier>& _rxSet); diff --git a/include/comphelper/SettingsHelper.hxx b/include/comphelper/SettingsHelper.hxx index 5ed0029643ec..9998f3c07b32 100644 --- a/include/comphelper/SettingsHelper.hxx +++ b/include/comphelper/SettingsHelper.hxx @@ -43,7 +43,7 @@ namespace comphelper ChainableHelperNoState ( ChainablePropertySetInfo *pInfo, SolarMutex* pMutex = nullptr) : ChainablePropertySet ( pInfo, pMutex ) {} - virtual ~ChainableHelperNoState () throw( ) {} + virtual ~ChainableHelperNoState () throw( ) override {} css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override { return HelperBaseNoState::queryInterface( aType ); } void SAL_CALL acquire( ) throw () override diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx index 9370cdfae20e..de445a2ce5bc 100644 --- a/include/comphelper/accessiblecomponenthelper.hxx +++ b/include/comphelper/accessiblecomponenthelper.hxx @@ -42,7 +42,7 @@ namespace comphelper protected: /// see the respective base class ctor for an extensive comment on this, please OCommonAccessibleComponent( IMutex* _pExternalLock ); - virtual ~OCommonAccessibleComponent(); + virtual ~OCommonAccessibleComponent() override; protected: /// implements the calculation of the bounding rectangle - still waiting to be overwritten diff --git a/include/comphelper/accessiblecontexthelper.hxx b/include/comphelper/accessiblecontexthelper.hxx index 69759ee1aade..a7ad2c06a06f 100644 --- a/include/comphelper/accessiblecontexthelper.hxx +++ b/include/comphelper/accessiblecontexthelper.hxx @@ -90,7 +90,7 @@ namespace comphelper std::unique_ptr<OContextHelper_Impl> m_pImpl; protected: - virtual ~OAccessibleContextHelper( ); + virtual ~OAccessibleContextHelper( ) override; /** ctor diff --git a/include/comphelper/accessiblekeybindinghelper.hxx b/include/comphelper/accessiblekeybindinghelper.hxx index 89ea8d71b050..4ad6f425fff6 100644 --- a/include/comphelper/accessiblekeybindinghelper.hxx +++ b/include/comphelper/accessiblekeybindinghelper.hxx @@ -51,7 +51,7 @@ namespace comphelper protected: ::osl::Mutex m_aMutex; - virtual ~OAccessibleKeyBindingHelper(); + virtual ~OAccessibleKeyBindingHelper() override; public: OAccessibleKeyBindingHelper(); diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx index 4676d2c45bea..d2f769fea2c4 100644 --- a/include/comphelper/accessiblewrapper.hxx +++ b/include/comphelper/accessiblewrapper.hxx @@ -113,7 +113,7 @@ namespace comphelper ); protected: - virtual ~OAccessibleWrapper( ); + virtual ~OAccessibleWrapper( ) override; private: OAccessibleWrapper( const OAccessibleWrapper& ) = delete; @@ -224,7 +224,7 @@ namespace comphelper virtual void notifyTranslatedEvent( const css::accessibility::AccessibleEventObject& _rEvent ) throw (css::uno::RuntimeException) = 0; protected: - virtual ~OAccessibleContextWrapperHelper( ); + virtual ~OAccessibleContextWrapperHelper( ) override; OAccessibleContextWrapperHelper(const OAccessibleContextWrapperHelper&) = delete; OAccessibleContextWrapperHelper& operator=(const OAccessibleContextWrapperHelper&) = delete; @@ -299,7 +299,7 @@ namespace comphelper virtual void SAL_CALL disposing() throw (css::uno::RuntimeException) override; protected: - virtual ~OAccessibleContextWrapper(); + virtual ~OAccessibleContextWrapper() override; private: OAccessibleContextWrapper( const OAccessibleContextWrapper& ) = delete; @@ -385,7 +385,7 @@ namespace comphelper void implTranslateChildEventValue( const css::uno::Any& _rInValue, css::uno::Any& _rOutValue ); protected: - virtual ~OWrappedAccessibleChildrenManager( ); + virtual ~OWrappedAccessibleChildrenManager( ) override; private: OWrappedAccessibleChildrenManager( const OWrappedAccessibleChildrenManager& ) = delete; diff --git a/include/comphelper/asyncnotification.hxx b/include/comphelper/asyncnotification.hxx index a8439f8d36e7..f512b42f31b0 100644 --- a/include/comphelper/asyncnotification.hxx +++ b/include/comphelper/asyncnotification.hxx @@ -41,7 +41,7 @@ namespace comphelper AnyEvent(); protected: - virtual ~AnyEvent(); + virtual ~AnyEvent() override; private: AnyEvent( AnyEvent& ) = delete; @@ -147,7 +147,7 @@ namespace comphelper { private: - SAL_DLLPRIVATE virtual ~AsyncEventNotifier(); + SAL_DLLPRIVATE virtual ~AsyncEventNotifier() override; SAL_DLLPRIVATE virtual void execute() override; @@ -178,7 +178,7 @@ namespace comphelper public: // only public so shared_ptr finds it - SAL_DLLPRIVATE virtual ~AsyncEventNotifierAutoJoin(); + SAL_DLLPRIVATE virtual ~AsyncEventNotifierAutoJoin() override; static std::shared_ptr<AsyncEventNotifierAutoJoin> newAsyncEventNotifierAutoJoin(char const* name); diff --git a/include/comphelper/attributelist.hxx b/include/comphelper/attributelist.hxx index 0836e9c0e37d..49216967c02c 100644 --- a/include/comphelper/attributelist.hxx +++ b/include/comphelper/attributelist.hxx @@ -42,7 +42,7 @@ public: AttributeList(); AttributeList(const AttributeList &r); - virtual ~AttributeList(); + virtual ~AttributeList() override; // methods that are not contained in any interface void AddAttribute(const OUString &sName , const OUString &sType , const OUString &sValue); diff --git a/include/comphelper/configurationlistener.hxx b/include/comphelper/configurationlistener.hxx index 6d3091d1e7e4..d8cc06971ea3 100644 --- a/include/comphelper/configurationlistener.hxx +++ b/include/comphelper/configurationlistener.hxx @@ -55,7 +55,7 @@ public: inline ConfigurationListenerProperty(const rtl::Reference< ConfigurationListener > &xListener, const OUString &rProp ); - virtual inline ~ConfigurationListenerProperty(); + virtual inline ~ConfigurationListenerProperty() override; uno_type get() const { return maValue; } }; @@ -74,7 +74,7 @@ public: css::uno::UNO_QUERY_THROW ) { } - virtual ~ConfigurationListener() + virtual ~ConfigurationListener() override { dispose(); } diff --git a/include/comphelper/containermultiplexer.hxx b/include/comphelper/containermultiplexer.hxx index 39d0c7895ae3..8b3b545c68ca 100644 --- a/include/comphelper/containermultiplexer.hxx +++ b/include/comphelper/containermultiplexer.hxx @@ -77,7 +77,7 @@ namespace comphelper m_xContainer; OContainerListener* m_pListener; - virtual ~OContainerListenerAdapter(); + virtual ~OContainerListenerAdapter() override; public: OContainerListenerAdapter(OContainerListener* _pListener, diff --git a/include/comphelper/docpasswordrequest.hxx b/include/comphelper/docpasswordrequest.hxx index 3dce6c94d18f..f8b19b180218 100644 --- a/include/comphelper/docpasswordrequest.hxx +++ b/include/comphelper/docpasswordrequest.hxx @@ -44,7 +44,7 @@ class COMPHELPER_DLLPUBLIC SimplePasswordRequest : { public: explicit SimplePasswordRequest( css::task::PasswordRequestMode eMode ); - virtual ~SimplePasswordRequest(); + virtual ~SimplePasswordRequest() override; bool isPassword() const; @@ -74,7 +74,7 @@ public: css::task::PasswordRequestMode eMode, const OUString& rDocumentUrl, bool bPasswordToModify = false ); - virtual ~DocPasswordRequest(); + virtual ~DocPasswordRequest() override; bool isPassword() const; diff --git a/include/comphelper/enumhelper.hxx b/include/comphelper/enumhelper.hxx index e6d115eac9a5..6e116af61cb5 100644 --- a/include/comphelper/enumhelper.hxx +++ b/include/comphelper/enumhelper.hxx @@ -54,7 +54,7 @@ public: OEnumerationByName(const css::uno::Reference< css::container::XNameAccess >& _rxAccess); OEnumerationByName(const css::uno::Reference< css::container::XNameAccess >& _rxAccess, const css::uno::Sequence< OUString >& _aNames ); - virtual ~OEnumerationByName(); + virtual ~OEnumerationByName() override; virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Any SAL_CALL nextElement( ) @@ -80,7 +80,7 @@ class COMPHELPER_DLLPUBLIC OEnumerationByIndex : private OEnumerationLock public: OEnumerationByIndex(const css::uno::Reference< css::container::XIndexAccess >& _rxAccess); - virtual ~OEnumerationByIndex(); + virtual ~OEnumerationByIndex() override; virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Any SAL_CALL nextElement( ) @@ -109,7 +109,7 @@ class COMPHELPER_DLLPUBLIC OAnyEnumeration : private OEnumerationLock public: OAnyEnumeration(const css::uno::Sequence< css::uno::Any >& lItems); - virtual ~OAnyEnumeration(); + virtual ~OAnyEnumeration() override; virtual sal_Bool SAL_CALL hasMoreElements( ) throw(css::uno::RuntimeException, std::exception) override; virtual css::uno::Any SAL_CALL nextElement( ) diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx index 48379eaf4435..7af2f9e68fda 100644 --- a/include/comphelper/numberedcollection.hxx +++ b/include/comphelper/numberedcollection.hxx @@ -77,7 +77,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex /** @short free all internally used resources. */ - virtual ~NumberedCollection(); + virtual ~NumberedCollection() override; /** set an outside component which uses this container and must be set diff --git a/include/comphelper/oslfile2streamwrap.hxx b/include/comphelper/oslfile2streamwrap.hxx index 6bce31371fc1..842da52ea174 100644 --- a/include/comphelper/oslfile2streamwrap.hxx +++ b/include/comphelper/oslfile2streamwrap.hxx @@ -39,7 +39,7 @@ class COMPHELPER_DLLPUBLIC OSLInputStreamWrapper : public ::cppu::WeakImplHelper public: OSLInputStreamWrapper(::osl::File& _rStream); - virtual ~OSLInputStreamWrapper(); + virtual ~OSLInputStreamWrapper() override; // css::io::XInputStream virtual sal_Int32 SAL_CALL readBytes(css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::uno::RuntimeException, std::exception) override; @@ -59,7 +59,7 @@ public: COMPHELPER_DLLPUBLIC OSLOutputStreamWrapper(::osl::File& _rFile); private: - virtual ~OSLOutputStreamWrapper(); + virtual ~OSLOutputStreamWrapper() override; // css::io::XOutputStream virtual void SAL_CALL writeBytes(const css::uno::Sequence< sal_Int8 >& aData) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::uno::RuntimeException, std::exception) override; diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx index 2ecc05b5156b..7797782f325b 100644 --- a/include/comphelper/propagg.hxx +++ b/include/comphelper/propagg.hxx @@ -255,7 +255,7 @@ public: virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const css::uno::Any& _rValue ) throw ( css::uno::Exception, std::exception ) override; protected: - virtual ~OPropertySetAggregationHelper(); + virtual ~OPropertySetAggregationHelper() override; virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const override; void disposing(); diff --git a/include/comphelper/propertysetinfo.hxx b/include/comphelper/propertysetinfo.hxx index e30018f2ecca..48f257009cad 100644 --- a/include/comphelper/propertysetinfo.hxx +++ b/include/comphelper/propertysetinfo.hxx @@ -62,7 +62,7 @@ public: PropertySetInfo() throw(); PropertySetInfo( PropertyMapEntry const * pMap ) throw(); PropertySetInfo(css::uno::Sequence<css::beans::Property> const &) throw(); - virtual ~PropertySetInfo() throw(); + virtual ~PropertySetInfo() throw() override; /** returns a stl map with all PropertyMapEntry pointer.<p> The key is the property name. diff --git a/include/comphelper/propmultiplex.hxx b/include/comphelper/propmultiplex.hxx index 2bafa2411114..a65ce86865d6 100644 --- a/include/comphelper/propmultiplex.hxx +++ b/include/comphelper/propmultiplex.hxx @@ -80,7 +80,7 @@ namespace comphelper bool m_bAutoSetRelease : 1; - virtual ~OPropertyChangeMultiplexer(); + virtual ~OPropertyChangeMultiplexer() override; public: OPropertyChangeMultiplexer(OPropertyChangeListener* _pListener, const css::uno::Reference< css::beans::XPropertySet>& _rxSet, bool _bAutoReleaseSet = true); diff --git a/include/comphelper/propstate.hxx b/include/comphelper/propstate.hxx index a06296f9568a..fbce94e7951a 100644 --- a/include/comphelper/propstate.hxx +++ b/include/comphelper/propstate.hxx @@ -68,7 +68,7 @@ namespace comphelper virtual css::uno::Any getPropertyDefaultByHandle(sal_Int32 nHandle) const; protected: - virtual ~OPropertyStateHelper(); + virtual ~OPropertyStateHelper() override; void firePropertyChange(sal_Int32 nHandle, const css::uno::Any& aNewValue, const css::uno::Any& aOldValue); @@ -85,7 +85,7 @@ namespace comphelper { protected: OStatefulPropertySet(); - virtual ~OStatefulPropertySet(); + virtual ~OStatefulPropertySet() override; protected: DECLARE_XINTERFACE() diff --git a/include/comphelper/proxyaggregation.hxx b/include/comphelper/proxyaggregation.hxx index eadafbf9aefb..756004234be7 100644 --- a/include/comphelper/proxyaggregation.hxx +++ b/include/comphelper/proxyaggregation.hxx @@ -186,7 +186,7 @@ namespace comphelper const css::uno::Reference< css::lang::XComponent >& _rxComponent ); - virtual ~OComponentProxyAggregation(); + virtual ~OComponentProxyAggregation() override; // XInterface DECLARE_XINTERFACE() diff --git a/include/comphelper/seekableinput.hxx b/include/comphelper/seekableinput.hxx index 326db1a702e9..bbb566ade6f4 100644 --- a/include/comphelper/seekableinput.hxx +++ b/include/comphelper/seekableinput.hxx @@ -55,7 +55,7 @@ public: const css::uno::Reference< css::io::XInputStream >& xInStream, const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - virtual ~OSeekableInputWrapper(); + virtual ~OSeekableInputWrapper() override; static css::uno::Reference< css::io::XInputStream > CheckSeekableCanWrap( const css::uno::Reference< css::io::XInputStream >& xInStream, diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx index 49e4911f79bb..ab1f344c717b 100644 --- a/include/comphelper/seqstream.hxx +++ b/include/comphelper/seqstream.hxx @@ -93,7 +93,7 @@ protected: ::osl::Mutex m_aMutex; protected: - virtual ~OSequenceOutputStream() { if (m_bConnected) closeOutput(); } + virtual ~OSequenceOutputStream() override { if (m_bConnected) closeOutput(); } public: /** constructs the object. Everything written into the stream through the XOutputStream methods will be forwarded diff --git a/include/comphelper/simplefileaccessinteraction.hxx b/include/comphelper/simplefileaccessinteraction.hxx index fd05bb77fe1e..69cec86d1712 100644 --- a/include/comphelper/simplefileaccessinteraction.hxx +++ b/include/comphelper/simplefileaccessinteraction.hxx @@ -36,7 +36,7 @@ class COMPHELPER_DLLPUBLIC SimpleFileAccessInteraction : public ::ucbhelper::Int public: SimpleFileAccessInteraction(const css::uno::Reference< css::task::XInteractionHandler >& xHandler); - virtual ~SimpleFileAccessInteraction(); + virtual ~SimpleFileAccessInteraction() override; private: diff --git a/include/comphelper/unique_disposing_ptr.hxx b/include/comphelper/unique_disposing_ptr.hxx index 0f120b179392..75be7d6dabec 100644 --- a/include/comphelper/unique_disposing_ptr.hxx +++ b/include/comphelper/unique_disposing_ptr.hxx @@ -85,7 +85,7 @@ private: } } - virtual ~TerminateListener() + virtual ~TerminateListener() override { if ( m_xComponent.is() ) { diff --git a/include/comphelper/weak.hxx b/include/comphelper/weak.hxx index 635337c3462b..0d8d9d5b2965 100644 --- a/include/comphelper/weak.hxx +++ b/include/comphelper/weak.hxx @@ -38,7 +38,7 @@ class COMPHELPER_DLLPUBLIC OWeakTypeObject : public ::cppu::OWeakObject, public { public: OWeakTypeObject(); - virtual ~OWeakTypeObject(); + virtual ~OWeakTypeObject() override; virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type & rType ) throw (css::uno::RuntimeException, std::exception) override; virtual void SAL_CALL acquire() throw () override; diff --git a/include/connectivity/CommonTools.hxx b/include/connectivity/CommonTools.hxx index 594619d489d8..16f7e070d627 100644 --- a/include/connectivity/CommonTools.hxx +++ b/include/connectivity/CommonTools.hxx @@ -68,7 +68,7 @@ namespace connectivity std::vector< VectorVal > m_vector; protected: - virtual ~ORefVector(){} + virtual ~ORefVector() override {} public: typedef std::vector< VectorVal > Vector; diff --git a/include/connectivity/PColumn.hxx b/include/connectivity/PColumn.hxx index 76d61eee986f..153b57a53054 100644 --- a/include/connectivity/PColumn.hxx +++ b/include/connectivity/PColumn.hxx @@ -55,7 +55,7 @@ namespace connectivity virtual ::cppu::IPropertyArrayHelper* createArrayHelper() const override; virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override; - virtual ~OParseColumn(); + virtual ~OParseColumn() override; public: OParseColumn(const css::uno::Reference< css::beans::XPropertySet>& _xColumn, bool _bCase); OParseColumn(const OUString& Name, @@ -122,7 +122,7 @@ namespace connectivity virtual ::cppu::IPropertyArrayHelper* createArrayHelper() const override; virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override; - virtual ~OOrderColumn(); + virtual ~OOrderColumn() override; public: OOrderColumn( const css::uno::Reference< css::beans::XPropertySet>& _xColumn, diff --git a/include/connectivity/ParameterCont.hxx b/include/connectivity/ParameterCont.hxx index ff6686f5d7db..c2572ef8030b 100644 --- a/include/connectivity/ParameterCont.hxx +++ b/include/connectivity/ParameterCont.hxx @@ -41,7 +41,7 @@ namespace dbtools virtual void SAL_CALL setParameters( const css::uno::Sequence< css::beans::PropertyValue >& _rValues ) throw(css::uno::RuntimeException, std::exception) override; protected: - virtual ~OParameterContinuation() { } + virtual ~OParameterContinuation() override { } private: OParameterContinuation(const OParameterContinuation&) = delete; void operator =(const OParameterContinuation&) = delete; diff --git a/include/connectivity/TColumnsHelper.hxx b/include/connectivity/TColumnsHelper.hxx index d4e52960ef12..80de90eb10fc 100644 --- a/include/connectivity/TColumnsHelper.hxx +++ b/include/connectivity/TColumnsHelper.hxx @@ -49,7 +49,7 @@ namespace connectivity ,const TStringVector &_rVector ,bool _bUseHardRef = true ); - virtual ~OColumnsHelper(); + virtual ~OColumnsHelper() override; /** set the parent of the columns. Can also be <NULL/>. @param _pTable diff --git a/include/connectivity/TTableHelper.hxx b/include/connectivity/TTableHelper.hxx index 0000cf974a45..847094bf709b 100644 --- a/include/connectivity/TTableHelper.hxx +++ b/include/connectivity/TTableHelper.hxx @@ -112,7 +112,7 @@ namespace connectivity */ virtual OUString getRenameStart() const; - virtual ~OTableHelper(); + virtual ~OTableHelper() override; public: virtual void refreshColumns() override; diff --git a/include/connectivity/internalnode.hxx b/include/connectivity/internalnode.hxx index b0d3ead82752..600cab490bb1 100644 --- a/include/connectivity/internalnode.hxx +++ b/include/connectivity/internalnode.hxx @@ -42,7 +42,7 @@ namespace connectivity SQLNodeType eNodeType, sal_uInt32 nNodeID = 0); - virtual ~OSQLInternalNode(); + virtual ~OSQLInternalNode() override; }; } diff --git a/include/connectivity/paramwrapper.hxx b/include/connectivity/paramwrapper.hxx index 39e45674c20f..2ccd288f87dd 100644 --- a/include/connectivity/paramwrapper.hxx +++ b/include/connectivity/paramwrapper.hxx @@ -107,7 +107,7 @@ namespace param void SAL_CALL dispose(); protected: - virtual ~ParameterWrapper(); + virtual ~ParameterWrapper() override; // disambiguations using ::cppu::OPropertySetHelper::getFastPropertyValue; @@ -137,7 +137,7 @@ namespace param Parameters m_aParameters; protected: - virtual ~ParameterWrapperContainer(); + virtual ~ParameterWrapperContainer() override; public: /** creates an empty container diff --git a/include/connectivity/sdbcx/VCatalog.hxx b/include/connectivity/sdbcx/VCatalog.hxx index 4254fdb2ee78..f7eee9ea6a26 100644 --- a/include/connectivity/sdbcx/VCatalog.hxx +++ b/include/connectivity/sdbcx/VCatalog.hxx @@ -90,7 +90,7 @@ namespace connectivity public: OCatalog(const css::uno::Reference< css::sdbc::XConnection> &_xConnection); - virtual ~OCatalog(); + virtual ~OCatalog() override; DECLARE_SERVICE_INFO(); diff --git a/include/connectivity/sdbcx/VColumn.hxx b/include/connectivity/sdbcx/VColumn.hxx index 1bc671d8f29d..e28b01344d0b 100644 --- a/include/connectivity/sdbcx/VColumn.hxx +++ b/include/connectivity/sdbcx/VColumn.hxx @@ -71,7 +71,7 @@ namespace connectivity virtual ::cppu::IPropertyArrayHelper* createArrayHelper( sal_Int32 _nId) const override; virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override; - virtual ~OColumn(); + virtual ~OColumn() override; public: virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() throw() override; diff --git a/include/connectivity/sdbcx/VDescriptor.hxx b/include/connectivity/sdbcx/VDescriptor.hxx index 6aff71c61e5a..d2470578121e 100644 --- a/include/connectivity/sdbcx/VDescriptor.hxx +++ b/include/connectivity/sdbcx/VDescriptor.hxx @@ -59,7 +59,7 @@ namespace connectivity public: ODescriptor(::cppu::OBroadcastHelper& _rBHelper, bool _bCase, bool _bNew = false); - virtual ~ODescriptor(); + virtual ~ODescriptor() override; bool isNew() const { return m_bNew; } void setNew(bool _bNew); diff --git a/include/connectivity/sdbcx/VGroup.hxx b/include/connectivity/sdbcx/VGroup.hxx index bb985e69c55b..3ab99f5a4721 100644 --- a/include/connectivity/sdbcx/VGroup.hxx +++ b/include/connectivity/sdbcx/VGroup.hxx @@ -66,7 +66,7 @@ namespace connectivity public: OGroup(bool _bCase); OGroup( const OUString& Name, bool _bCase); - virtual ~OGroup(); + virtual ~OGroup() override; DECLARE_SERVICE_INFO(); // XInterface diff --git a/include/connectivity/sdbcx/VIndex.hxx b/include/connectivity/sdbcx/VIndex.hxx index 2f1345f75e42..4cd32c218671 100644 --- a/include/connectivity/sdbcx/VIndex.hxx +++ b/include/connectivity/sdbcx/VIndex.hxx @@ -73,7 +73,7 @@ namespace connectivity bool _isClustered, bool _bCase); - virtual ~OIndex( ); + virtual ~OIndex( ) override; DECLARE_SERVICE_INFO(); diff --git a/include/connectivity/sdbcx/VKey.hxx b/include/connectivity/sdbcx/VKey.hxx index d856e7399af2..2290ed7669e2 100644 --- a/include/connectivity/sdbcx/VKey.hxx +++ b/include/connectivity/sdbcx/VKey.hxx @@ -80,7 +80,7 @@ namespace connectivity OKey(bool _bCase); OKey(const OUString& Name,const std::shared_ptr<KeyProperties>& _rProps,bool _bCase); - virtual ~OKey( ); + virtual ~OKey( ) override; DECLARE_SERVICE_INFO(); //XInterface diff --git a/include/connectivity/sdbcx/VKeyColumn.hxx b/include/connectivity/sdbcx/VKeyColumn.hxx index 0db663491105..b01076093ead 100644 --- a/include/connectivity/sdbcx/VKeyColumn.hxx +++ b/include/connectivity/sdbcx/VKeyColumn.hxx @@ -55,7 +55,7 @@ namespace connectivity const OUString& SchemaName, const OUString& TableName); // just to make it not inline - virtual ~OKeyColumn(); + virtual ~OKeyColumn() override; virtual void construct() override; DECLARE_SERVICE_INFO(); diff --git a/include/connectivity/sdbcx/VTable.hxx b/include/connectivity/sdbcx/VTable.hxx index 00be9f3746a6..83047e6f31f4 100644 --- a/include/connectivity/sdbcx/VTable.hxx +++ b/include/connectivity/sdbcx/VTable.hxx @@ -94,7 +94,7 @@ namespace connectivity const OUString& SchemaName = OUString(), const OUString& CatalogName = OUString()); - virtual ~OTable(); + virtual ~OTable() override; DECLARE_SERVICE_INFO(); //XInterface diff --git a/include/connectivity/sdbcx/VUser.hxx b/include/connectivity/sdbcx/VUser.hxx index 2dcd02fdf755..0bef5e90cb97 100644 --- a/include/connectivity/sdbcx/VUser.hxx +++ b/include/connectivity/sdbcx/VUser.hxx @@ -64,7 +64,7 @@ namespace connectivity OUser(bool _bCase); OUser(const OUString& Name,bool _bCase); - virtual ~OUser( ); + virtual ~OUser( ) override; DECLARE_SERVICE_INFO(); diff --git a/include/connectivity/sdbcx/VView.hxx b/include/connectivity/sdbcx/VView.hxx index 7778ac179667..2cb6e25f8ca2 100644 --- a/include/connectivity/sdbcx/VView.hxx +++ b/include/connectivity/sdbcx/VView.hxx @@ -71,7 +71,7 @@ namespace connectivity const OUString& _rCommand = OUString(), const OUString& _rSchemaName = OUString(), const OUString& _rCatalogName = OUString()); - virtual ~OView(); + virtual ~OView() override; // ODescriptor virtual void construct() override; diff --git a/include/cppuhelper/compbase_ex.hxx b/include/cppuhelper/compbase_ex.hxx index 7c4179f96da2..611d0a10541f 100644 --- a/include/cppuhelper/compbase_ex.hxx +++ b/include/cppuhelper/compbase_ex.hxx @@ -55,7 +55,7 @@ protected: public: /** Destructor */ - virtual ~WeakComponentImplHelperBase(); + virtual ~WeakComponentImplHelperBase() SAL_OVERRIDE; // these are here to force memory de/allocation to sal lib. inline static void * SAL_CALL operator new( size_t nSize ) @@ -100,7 +100,7 @@ protected: WeakAggComponentImplHelperBase( ::osl::Mutex & rMutex ); public: - virtual ~WeakAggComponentImplHelperBase(); + virtual ~WeakAggComponentImplHelperBase() SAL_OVERRIDE; // these are here to force memory de/allocation to sal lib. inline static void * SAL_CALL operator new( size_t nSize ) diff --git a/include/cppuhelper/component.hxx b/include/cppuhelper/component.hxx index 0b43c488af11..e9a684f1b14c 100644 --- a/include/cppuhelper/component.hxx +++ b/include/cppuhelper/component.hxx @@ -57,7 +57,7 @@ public: OComponentHelper( ::osl::Mutex & rMutex ); /** Destructor. If this object was not disposed previously, object will be disposed manually. */ - virtual ~OComponentHelper(); + virtual ~OComponentHelper() SAL_OVERRIDE; // XAggregation virtual css::uno::Any SAL_CALL queryInterface( diff --git a/include/cppuhelper/implbase.hxx b/include/cppuhelper/implbase.hxx index 40a120545597..850224c49683 100644 --- a/include/cppuhelper/implbase.hxx +++ b/include/cppuhelper/implbase.hxx @@ -101,7 +101,7 @@ class SAL_NO_VTABLE SAL_DLLPUBLIC_TEMPLATE WeakImplHelper: protected: WeakImplHelper() {} - virtual ~WeakImplHelper() {} + virtual ~WeakImplHelper() SAL_OVERRIDE {} public: css::uno::Any SAL_CALL queryInterface(css::uno::Type const & aType) diff --git a/include/cppuhelper/weakagg.hxx b/include/cppuhelper/weakagg.hxx index c08f00408e37..25a06875c3ba 100644 --- a/include/cppuhelper/weakagg.hxx +++ b/include/cppuhelper/weakagg.hxx @@ -88,7 +88,7 @@ protected: Despite the fact that a RuntimeException is allowed to be thrown, you must not throw any exception upon destruction! */ - virtual ~OWeakAggObject(); + virtual ~OWeakAggObject() SAL_OVERRIDE; /** weak reference to delegator. */ diff --git a/include/dbaccess/dataview.hxx b/include/dbaccess/dataview.hxx index 289697ef0637..6e56e67cee43 100644 --- a/include/dbaccess/dataview.hxx +++ b/include/dbaccess/dataview.hxx @@ -60,7 +60,7 @@ namespace dbaui IController& _rController, const css::uno::Reference< css::uno::XComponentContext >& , WinBits nStyle = 0 ); - virtual ~ODataView(); + virtual ~ODataView() override; virtual void dispose() override; /// late construction diff --git a/include/dbaccess/dbsubcomponentcontroller.hxx b/include/dbaccess/dbsubcomponentcontroller.hxx index a43b28d61580..4259fd5a193e 100644 --- a/include/dbaccess/dbsubcomponentcontroller.hxx +++ b/include/dbaccess/dbsubcomponentcontroller.hxx @@ -171,7 +171,7 @@ namespace dbaui protected: DBSubComponentController(const css::uno::Reference< css::uno::XComponentContext>& _rxORB); - virtual ~DBSubComponentController(); + virtual ~DBSubComponentController() override; void disconnect(); virtual void reconnect( bool _bUI ); diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx index 7b7fed25b12f..40b9086a144d 100644 --- a/include/dbaccess/genericcontroller.hxx +++ b/include/dbaccess/genericcontroller.hxx @@ -409,7 +409,7 @@ namespace dbaui void releaseNumberForComponent(); - virtual ~OGenericUnoController(); + virtual ~OGenericUnoController() override; private: void fillSupportedFeatures(); diff --git a/include/drawinglayer/animation/animationtiming.hxx b/include/drawinglayer/animation/animationtiming.hxx index 0fcd2867cddb..59c3960008dc 100644 --- a/include/drawinglayer/animation/animationtiming.hxx +++ b/include/drawinglayer/animation/animationtiming.hxx @@ -57,7 +57,7 @@ namespace drawinglayer public: AnimationEntryFixed(double fDuration, double fState = 0.0); - virtual ~AnimationEntryFixed(); + virtual ~AnimationEntryFixed() override; virtual AnimationEntry* clone() const override; virtual bool operator==(const AnimationEntry& rCandidate) const override; @@ -77,7 +77,7 @@ namespace drawinglayer public: AnimationEntryLinear(double fDuration, double fFrequency = 250.0, double fStart = 0.0, double fStop = 1.0); - virtual ~AnimationEntryLinear(); + virtual ~AnimationEntryLinear() override; virtual AnimationEntry* clone() const override; virtual bool operator==(const AnimationEntry& rCandidate) const override; @@ -98,7 +98,7 @@ namespace drawinglayer public: AnimationEntryList(); - virtual ~AnimationEntryList(); + virtual ~AnimationEntryList() override; virtual AnimationEntry* clone() const override; virtual bool operator==(const AnimationEntry& rCandidate) const override; @@ -116,7 +116,7 @@ namespace drawinglayer public: AnimationEntryLoop(sal_uInt32 nRepeat = 0xffffffff); - virtual ~AnimationEntryLoop(); + virtual ~AnimationEntryLoop() override; virtual AnimationEntry* clone() const override; virtual bool operator==(const AnimationEntry& rCandidate) const override; diff --git a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx index 6241671f0607..89782b62c864 100644 --- a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx @@ -82,7 +82,7 @@ namespace drawinglayer bool bIsTextAnimation); /// destructor - needed due to mpAnimationEntry - virtual ~AnimatedSwitchPrimitive2D(); + virtual ~AnimatedSwitchPrimitive2D() override; /// data read access const animation::AnimationEntry& getAnimationEntry() const { return *mpAnimationEntry; } diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx index 945ebde3c9f1..195de7720423 100644 --- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx @@ -165,7 +165,7 @@ namespace drawinglayer public: // constructor/destructor BasePrimitive2D(); - virtual ~BasePrimitive2D(); + virtual ~BasePrimitive2D() override; /** the ==operator is mainly needed to allow testing newly-created primitives against their last incarnation which buffers/holds the made decompositions. The default implementation diff --git a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx index d44cb72b1dfb..9fa2cd4be8b8 100644 --- a/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/svggradientprimitive2d.hxx @@ -208,7 +208,7 @@ namespace drawinglayer const basegfx::B2DPoint& rEnd, bool bUseUnitCoordinates, SpreadMethod aSpreadMethod = SpreadMethod::Pad); - virtual ~SvgLinearGradientPrimitive2D(); + virtual ~SvgLinearGradientPrimitive2D() override; /// data read access const basegfx::B2DPoint& getEnd() const { return maEnd; } @@ -277,7 +277,7 @@ namespace drawinglayer bool bUseUnitCoordinates, SpreadMethod aSpreadMethod = SpreadMethod::Pad, const basegfx::B2DPoint* pFocal = nullptr); - virtual ~SvgRadialGradientPrimitive2D(); + virtual ~SvgRadialGradientPrimitive2D() override; /// data read access double getRadius() const { return mfRadius; } @@ -391,7 +391,7 @@ namespace drawinglayer SvgRadialAtomPrimitive2D( const basegfx::BColor& aColorA, double fScaleA, const basegfx::BColor& aColorB, double fScaleB); - virtual ~SvgRadialAtomPrimitive2D(); + virtual ~SvgRadialAtomPrimitive2D() override; /// data read access const basegfx::BColor& getColorA() const { return maColorA; } diff --git a/include/drawinglayer/primitive3d/baseprimitive3d.hxx b/include/drawinglayer/primitive3d/baseprimitive3d.hxx index 5326d58a3252..ef75d4e808e1 100644 --- a/include/drawinglayer/primitive3d/baseprimitive3d.hxx +++ b/include/drawinglayer/primitive3d/baseprimitive3d.hxx @@ -101,7 +101,7 @@ namespace drawinglayer public: // constructor/destructor BasePrimitive3D(); - virtual ~BasePrimitive3D(); + virtual ~BasePrimitive3D() override; /** the ==operator is mainly needed to allow testing newly-created high level primitives against their last incarnation which buffers/holds the decompositions. The default implementation diff --git a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx index fc4e7bc9ede9..5e67ffe45d0e 100644 --- a/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx +++ b/include/drawinglayer/primitive3d/sdrextrudeprimitive3d.hxx @@ -90,7 +90,7 @@ namespace drawinglayer bool bCharacterMode, bool bCloseFront, bool bCloseBack); - virtual ~SdrExtrudePrimitive3D(); + virtual ~SdrExtrudePrimitive3D() override; /// data read access const basegfx::B2DPolyPolygon& getPolyPolygon() const { return maPolyPolygon; } diff --git a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx index 3da2ac367e19..d4fabef127b4 100644 --- a/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx +++ b/include/drawinglayer/primitive3d/sdrlatheprimitive3d.hxx @@ -94,7 +94,7 @@ namespace drawinglayer bool bCharacterMode, bool bCloseFront, bool bCloseBack); - virtual ~SdrLathePrimitive3D(); + virtual ~SdrLathePrimitive3D() override; /// data read access const basegfx::B2DPolyPolygon& getPolyPolygon() const { return maPolyPolygon; } diff --git a/include/drawinglayer/processor2d/contourextractor2d.hxx b/include/drawinglayer/processor2d/contourextractor2d.hxx index 8414167a5e43..6520c2c378fe 100644 --- a/include/drawinglayer/processor2d/contourextractor2d.hxx +++ b/include/drawinglayer/processor2d/contourextractor2d.hxx @@ -52,7 +52,7 @@ namespace drawinglayer const geometry::ViewInformation2D& rViewInformation, bool bExtractFillOnly); - virtual ~ContourExtractor2D(); + virtual ~ContourExtractor2D() override; const basegfx::B2DPolyPolygonVector& getExtractedContour() const { return maExtractedContour; } }; diff --git a/include/drawinglayer/processor2d/hittestprocessor2d.hxx b/include/drawinglayer/processor2d/hittestprocessor2d.hxx index 56a87c53e3c5..237818694347 100644 --- a/include/drawinglayer/processor2d/hittestprocessor2d.hxx +++ b/include/drawinglayer/processor2d/hittestprocessor2d.hxx @@ -68,7 +68,7 @@ namespace drawinglayer const basegfx::B2DPoint& rLogicHitPosition, double fLogicHitTolerance, bool bHitTextOnly); - virtual ~HitTestProcessor2D(); + virtual ~HitTestProcessor2D() override; /// data read access const basegfx::B2DPoint& getDiscreteHitPosition() const { return maDiscreteHitPosition; } diff --git a/include/drawinglayer/processor2d/linegeometryextractor2d.hxx b/include/drawinglayer/processor2d/linegeometryextractor2d.hxx index 8d527d52bd55..c2213ea4231b 100644 --- a/include/drawinglayer/processor2d/linegeometryextractor2d.hxx +++ b/include/drawinglayer/processor2d/linegeometryextractor2d.hxx @@ -49,7 +49,7 @@ namespace drawinglayer public: LineGeometryExtractor2D(const geometry::ViewInformation2D& rViewInformation); - virtual ~LineGeometryExtractor2D(); + virtual ~LineGeometryExtractor2D() override; const basegfx::B2DPolygonVector& getExtractedHairlines() const { return maExtractedHairlines; } const basegfx::B2DPolyPolygonVector& getExtractedLineFills() const { return maExtractedLineFills; } diff --git a/include/drawinglayer/processor2d/objectinfoextractor2d.hxx b/include/drawinglayer/processor2d/objectinfoextractor2d.hxx index 32d204fb8a1e..293fdd0ca3a6 100644 --- a/include/drawinglayer/processor2d/objectinfoextractor2d.hxx +++ b/include/drawinglayer/processor2d/objectinfoextractor2d.hxx @@ -44,7 +44,7 @@ namespace drawinglayer public: ObjectInfoPrimitiveExtractor2D(const geometry::ViewInformation2D& rViewInformation); - virtual ~ObjectInfoPrimitiveExtractor2D(); + virtual ~ObjectInfoPrimitiveExtractor2D() override; const primitive2d::ObjectInfoPrimitive2D* getResult() const { return mpFound; } }; diff --git a/include/drawinglayer/processor2d/textaspolygonextractor2d.hxx b/include/drawinglayer/processor2d/textaspolygonextractor2d.hxx index b7900b29e882..cdd3e854b78e 100644 --- a/include/drawinglayer/processor2d/textaspolygonextractor2d.hxx +++ b/include/drawinglayer/processor2d/textaspolygonextractor2d.hxx @@ -82,7 +82,7 @@ namespace drawinglayer public: explicit TextAsPolygonExtractor2D(const geometry::ViewInformation2D& rViewInformation); - virtual ~TextAsPolygonExtractor2D(); + virtual ~TextAsPolygonExtractor2D() override; // data read access const TextAsPolygonDataNodeVector& getTarget() const { return maTarget; } diff --git a/include/drawinglayer/processor3d/defaultprocessor3d.hxx b/include/drawinglayer/processor3d/defaultprocessor3d.hxx index 53725d89a236..cbe6a613292c 100644 --- a/include/drawinglayer/processor3d/defaultprocessor3d.hxx +++ b/include/drawinglayer/processor3d/defaultprocessor3d.hxx @@ -126,7 +126,7 @@ namespace drawinglayer const geometry::ViewInformation3D& rViewInformation, const attribute::SdrSceneAttribute& rSdrSceneAttribute, const attribute::SdrLightingAttribute& rSdrLightingAttribute); - virtual ~DefaultProcessor3D(); + virtual ~DefaultProcessor3D() override; /// data read access const attribute::SdrSceneAttribute& getSdrSceneAttribute() const { return mrSdrSceneAttribute; } diff --git a/include/drawinglayer/processor3d/shadow3dextractor.hxx b/include/drawinglayer/processor3d/shadow3dextractor.hxx index 019a75f85d78..0a6d65ad79c5 100644 --- a/include/drawinglayer/processor3d/shadow3dextractor.hxx +++ b/include/drawinglayer/processor3d/shadow3dextractor.hxx @@ -92,7 +92,7 @@ namespace drawinglayer const basegfx::B3DVector& rLightNormal, double fShadowSlant, const basegfx::B3DRange& rContained3DRange); - virtual ~Shadow3DExtractingProcessor(); + virtual ~Shadow3DExtractingProcessor() override; /// data read access const primitive2d::Primitive2DContainer& getPrimitive2DSequence() const; diff --git a/include/drawinglayer/processor3d/zbufferprocessor3d.hxx b/include/drawinglayer/processor3d/zbufferprocessor3d.hxx index 0f58a7f1f0ab..9c1109eecaac 100644 --- a/include/drawinglayer/processor3d/zbufferprocessor3d.hxx +++ b/include/drawinglayer/processor3d/zbufferprocessor3d.hxx @@ -94,7 +94,7 @@ namespace drawinglayer basegfx::BZPixelRaster& rBZPixelRaster, sal_uInt32 nStartLine, sal_uInt32 nStopLine); - virtual ~ZBufferProcessor3D(); + virtual ~ZBufferProcessor3D() override; void finish(); }; diff --git a/include/drawinglayer/texture/texture.hxx b/include/drawinglayer/texture/texture.hxx index 6c70343989be..95bd5daf5d8e 100644 --- a/include/drawinglayer/texture/texture.hxx +++ b/include/drawinglayer/texture/texture.hxx @@ -86,7 +86,7 @@ namespace drawinglayer const basegfx::BColor& rEnd, sal_uInt32 nSteps, double fBorder); - virtual ~GeoTexSvxGradient(); + virtual ~GeoTexSvxGradient() override; // compare operator virtual bool operator==(const GeoTexSvx& rGeoTexSvx) const override; @@ -120,7 +120,7 @@ namespace drawinglayer sal_uInt32 nSteps, double fBorder, double fAngle); - virtual ~GeoTexSvxGradientLinear(); + virtual ~GeoTexSvxGradientLinear() override; virtual void appendTransformationsAndColors( std::vector< B2DHomMatrixAndBColor >& rEntries, @@ -150,7 +150,7 @@ namespace drawinglayer sal_uInt32 nSteps, double fBorder, double fAngle); - virtual ~GeoTexSvxGradientAxial(); + virtual ~GeoTexSvxGradientAxial() override; virtual void appendTransformationsAndColors( std::vector< B2DHomMatrixAndBColor >& rEntries, @@ -176,7 +176,7 @@ namespace drawinglayer double fBorder, double fOffsetX, double fOffsetY); - virtual ~GeoTexSvxGradientRadial(); + virtual ~GeoTexSvxGradientRadial() override; virtual void appendTransformationsAndColors( std::vector< B2DHomMatrixAndBColor >& rEntries, @@ -203,7 +203,7 @@ namespace drawinglayer double fOffsetX, double fOffsetY, double fAngle); - virtual ~GeoTexSvxGradientElliptical(); + virtual ~GeoTexSvxGradientElliptical() override; virtual void appendTransformationsAndColors( std::vector< B2DHomMatrixAndBColor >& rEntries, @@ -230,7 +230,7 @@ namespace drawinglayer double fOffsetX, double fOffsetY, double fAngle); - virtual ~GeoTexSvxGradientSquare(); + virtual ~GeoTexSvxGradientSquare() override; virtual void appendTransformationsAndColors( std::vector< B2DHomMatrixAndBColor >& rEntries, @@ -257,7 +257,7 @@ namespace drawinglayer double fOffsetX, double fOffsetY, double fAngle); - virtual ~GeoTexSvxGradientRect(); + virtual ~GeoTexSvxGradientRect() override; virtual void appendTransformationsAndColors( std::vector< B2DHomMatrixAndBColor >& rEntries, @@ -290,7 +290,7 @@ namespace drawinglayer const basegfx::B2DRange& rOutputRange, double fDistance, double fAngle); - virtual ~GeoTexSvxHatch(); + virtual ~GeoTexSvxHatch() override; // compare operator virtual bool operator==(const GeoTexSvx& rGeoTexSvx) const override; @@ -331,7 +331,7 @@ namespace drawinglayer const basegfx::B2DRange& rRange, double fOffsetX = 0.0, double fOffsetY = 0.0); - virtual ~GeoTexSvxTiled(); + virtual ~GeoTexSvxTiled() override; // compare operator virtual bool operator==(const GeoTexSvx& rGeoTexSvx) const override; diff --git a/include/drawinglayer/texture/texture3d.hxx b/include/drawinglayer/texture/texture3d.hxx index 72145ac3a461..dd21e0664ff7 100644 --- a/include/drawinglayer/texture/texture3d.hxx +++ b/include/drawinglayer/texture/texture3d.hxx @@ -79,7 +79,7 @@ namespace drawinglayer GeoTexSvxBitmapEx( const BitmapEx& rBitmapEx, const basegfx::B2DRange& rRange); - virtual ~GeoTexSvxBitmapEx(); + virtual ~GeoTexSvxBitmapEx() override; virtual void modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor, double& rfOpacity) const override; virtual void modifyOpacity(const basegfx::B2DPoint& rUV, double& rfOpacity) const override; @@ -136,7 +136,7 @@ namespace drawinglayer public: GeoTexSvxMultiHatch(const primitive3d::HatchTexturePrimitive3D& rPrimitive, double fLogicPixelSize); - virtual ~GeoTexSvxMultiHatch(); + virtual ~GeoTexSvxMultiHatch() override; virtual void modifyBColor(const basegfx::B2DPoint& rUV, basegfx::BColor& rBColor, double& rfOpacity) const override; virtual void modifyOpacity(const basegfx::B2DPoint& rUV, double& rfOpacity) const override; }; diff --git a/include/editeng/AccessibleContextBase.hxx b/include/editeng/AccessibleContextBase.hxx index 7f414ebe00dc..dc0c19a597d3 100644 --- a/include/editeng/AccessibleContextBase.hxx +++ b/include/editeng/AccessibleContextBase.hxx @@ -75,7 +75,7 @@ public: AccessibleContextBase ( const css::uno::Reference< css::accessibility::XAccessible>& rxParent, const sal_Int16 aRole); - virtual ~AccessibleContextBase(); + virtual ~AccessibleContextBase() override; /** Call all accessiblity event listeners to inform them about the diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx index adaa80e4af34..10b76a130352 100644 --- a/include/editeng/AccessibleEditableTextPara.hxx +++ b/include/editeng/AccessibleEditableTextPara.hxx @@ -78,7 +78,7 @@ namespace accessibility AccessibleEditableTextPara ( const css::uno::Reference< css::accessibility::XAccessible >& rParent, const AccessibleParaManager* _pParaManager = nullptr ); - virtual ~AccessibleEditableTextPara (); + virtual ~AccessibleEditableTextPara () override; // XInterface virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type & rType) throw (css::uno::RuntimeException, std::exception) override; diff --git a/include/editeng/AccessibleImageBullet.hxx b/include/editeng/AccessibleImageBullet.hxx index aaa94826b3f9..997a4ccb09e4 100644 --- a/include/editeng/AccessibleImageBullet.hxx +++ b/include/editeng/AccessibleImageBullet.hxx @@ -51,7 +51,7 @@ namespace accessibility /// Create accessible object for given parent AccessibleImageBullet ( const css::uno::Reference< css::accessibility::XAccessible >& rParent ); - virtual ~AccessibleImageBullet (); + virtual ~AccessibleImageBullet () override; // XInterface virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type & rType) throw (css::uno::RuntimeException, std::exception) override; diff --git a/include/editeng/UnoForbiddenCharsTable.hxx b/include/editeng/UnoForbiddenCharsTable.hxx index 1d58ca3230b9..bfe987e58a2e 100644 --- a/include/editeng/UnoForbiddenCharsTable.hxx +++ b/include/editeng/UnoForbiddenCharsTable.hxx @@ -41,7 +41,7 @@ protected: public: SvxUnoForbiddenCharsTable(rtl::Reference<SvxForbiddenCharactersTable> const & xForbiddenChars); - virtual ~SvxUnoForbiddenCharsTable(); + virtual ~SvxUnoForbiddenCharsTable() override; // XForbiddenCharacters virtual css::i18n::ForbiddenCharacters SAL_CALL getForbiddenCharacters( const css::lang::Locale& rLocale ) throw(css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override; diff --git a/include/editeng/acorrcfg.hxx b/include/editeng/acorrcfg.hxx index 855eb55fc690..b773c259c15c 100644 --- a/include/editeng/acorrcfg.hxx +++ b/include/editeng/acorrcfg.hxx @@ -34,7 +34,7 @@ private: public: SvxBaseAutoCorrCfg(SvxAutoCorrCfg& rParent); - virtual ~SvxBaseAutoCorrCfg(); + virtual ~SvxBaseAutoCorrCfg() override; void Load(bool bInit); virtual void Notify( const css::uno::Sequence<OUString>& aPropertyNames) override; @@ -51,7 +51,7 @@ private: public: SvxSwAutoCorrCfg(SvxAutoCorrCfg& rParent); - virtual ~SvxSwAutoCorrCfg(); + virtual ~SvxSwAutoCorrCfg() override; void Load(bool bInit); virtual void Notify( const css::uno::Sequence<OUString>& aPropertyNames) override; diff --git a/include/editeng/boxitem.hxx b/include/editeng/boxitem.hxx index 73f66d9cc982..11d055f47766 100644 --- a/include/editeng/boxitem.hxx +++ b/include/editeng/boxitem.hxx @@ -67,7 +67,7 @@ public: explicit SvxBoxItem( const sal_uInt16 nId ); SvxBoxItem( const SvxBoxItem &rCpy ); - virtual ~SvxBoxItem(); + virtual ~SvxBoxItem() override; SvxBoxItem &operator=( const SvxBoxItem& rBox ); // "pure virtual Methods" from SfxPoolItem @@ -183,7 +183,7 @@ public: explicit SvxBoxInfoItem( const sal_uInt16 nId ); SvxBoxInfoItem( const SvxBoxInfoItem &rCpy ); - virtual ~SvxBoxInfoItem(); + virtual ~SvxBoxInfoItem() override; SvxBoxInfoItem &operator=( const SvxBoxInfoItem &rCpy ); // "pure virtual Methods" from SfxPoolItem diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx index 82fdd0ce4bc1..75a8593de7dc 100644 --- a/include/editeng/brushitem.hxx +++ b/include/editeng/brushitem.hxx @@ -73,7 +73,7 @@ public: SvxBrushItem( const SvxBrushItem& ); SvxBrushItem( const CntWallpaperItem&, sal_uInt16 nWhich ); - virtual ~SvxBrushItem(); + virtual ~SvxBrushItem() override; public: diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx index 8eaee6b6cfa8..aef6d072bc9a 100644 --- a/include/editeng/bulletitem.hxx +++ b/include/editeng/bulletitem.hxx @@ -63,7 +63,7 @@ public: explicit SvxBulletItem( sal_uInt16 nWhich = 0 ); explicit SvxBulletItem( SvStream& rStrm, sal_uInt16 nWhich = 0 ); SvxBulletItem( const SvxBulletItem& ); - virtual ~SvxBulletItem(); + virtual ~SvxBulletItem() override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create( SvStream&, sal_uInt16 nVersion ) const override; diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx index 33f9dec7fdfd..d68282de5146 100644 --- a/include/editeng/colritem.hxx +++ b/include/editeng/colritem.hxx @@ -41,7 +41,7 @@ public: SvxColorItem(const Color& aColor, const sal_uInt16 nId); SvxColorItem(SvStream& rStream, const sal_uInt16 nId); SvxColorItem(const SvxColorItem& rCopy); - virtual ~SvxColorItem(); + virtual ~SvxColorItem() override; // "pure virtual Methods" from SfxPoolItem virtual bool operator==(const SfxPoolItem& rPoolItem) const override; diff --git a/include/editeng/editund2.hxx b/include/editeng/editund2.hxx index c6914d39e8b2..72f671c823cf 100644 --- a/include/editeng/editund2.hxx +++ b/include/editeng/editund2.hxx @@ -52,7 +52,7 @@ private: public: EditUndo(sal_uInt16 nI, EditEngine* pEE); - virtual ~EditUndo(); + virtual ~EditUndo() override; EditEngine* GetEditEngine() { return mpEditEngine;} diff --git a/include/editeng/edtdlg.hxx b/include/editeng/edtdlg.hxx index e9adddeaeac2..da9d347290ae 100644 --- a/include/editeng/edtdlg.hxx +++ b/include/editeng/edtdlg.hxx @@ -83,7 +83,7 @@ class AbstractHangulHanjaConversionDialog : public VclAbstractTerminatedDialog class EDITENG_DLLPUBLIC EditAbstractDialogFactory : virtual public VclAbstractDialogFactory { public: - virtual ~EditAbstractDialogFactory(); // needed for export of vtable + virtual ~EditAbstractDialogFactory() override; // needed for export of vtable static EditAbstractDialogFactory* Create(); virtual AbstractThesaurusDialog* CreateThesaurusDialog( vcl::Window*, css::uno::Reference< css::linguistic2::XThesaurus > xThesaurus, const OUString &rWord, sal_Int16 nLanguage ) = 0; diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index fd01faed6d83..272b919dc8a5 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -50,7 +50,7 @@ public: SV_DECL_PERSIST1( SvxFieldData, SvPersistBase, css::text::textfield::Type::UNSPECIFIED) SvxFieldData(); - virtual ~SvxFieldData(); + virtual ~SvxFieldData() override; virtual SvxFieldData* Clone() const; virtual bool operator==( const SvxFieldData& ) const; @@ -76,7 +76,7 @@ public: SvxFieldItem( const SvxFieldData& rField, const sal_uInt16 nId ); SvxFieldItem( const SvxFieldItem& rItem ); - virtual ~SvxFieldItem(); + virtual ~SvxFieldItem() override; virtual bool operator==( const SfxPoolItem& ) const override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; diff --git a/include/editeng/forbiddencharacterstable.hxx b/include/editeng/forbiddencharacterstable.hxx index 592179e5d368..bd5c7ccbdeea 100644 --- a/include/editeng/forbiddencharacterstable.hxx +++ b/include/editeng/forbiddencharacterstable.hxx @@ -43,7 +43,7 @@ private: public: SvxForbiddenCharactersTable( const css::uno::Reference< css::uno::XComponentContext >& rxContext); - virtual ~SvxForbiddenCharactersTable() {} + virtual ~SvxForbiddenCharactersTable() override {} Map& GetMap() { return maMap; } const css::i18n::ForbiddenCharacters* GetForbiddenCharacters( sal_uInt16 nLanguage, bool bGetDefault ); diff --git a/include/editeng/frmdiritem.hxx b/include/editeng/frmdiritem.hxx index b70f6947e2fb..40b8aa0b32fb 100644 --- a/include/editeng/frmdiritem.hxx +++ b/include/editeng/frmdiritem.hxx @@ -39,7 +39,7 @@ public: SvxFrameDirectionItem( SvxFrameDirection nValue /*= FRMDIR_HORI_LEFT_TOP*/, sal_uInt16 nWhich ); - virtual ~SvxFrameDirectionItem(); + virtual ~SvxFrameDirectionItem() override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override; diff --git a/include/editeng/lcolitem.hxx b/include/editeng/lcolitem.hxx index bfaec7d3f6e1..61d94b61c571 100644 --- a/include/editeng/lcolitem.hxx +++ b/include/editeng/lcolitem.hxx @@ -34,7 +34,7 @@ public: explicit SvxLineColorItem( const sal_uInt16 nId ); SvxLineColorItem( const SvxLineColorItem& rCopy ); - virtual ~SvxLineColorItem(); + virtual ~SvxLineColorItem() override; virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, diff --git a/include/editeng/lineitem.hxx b/include/editeng/lineitem.hxx index 43bb08947e6b..fa328a06f7df 100644 --- a/include/editeng/lineitem.hxx +++ b/include/editeng/lineitem.hxx @@ -42,7 +42,7 @@ public: explicit SvxLineItem( const sal_uInt16 nId ); SvxLineItem( const SvxLineItem& rCpy ); - virtual ~SvxLineItem(); + virtual ~SvxLineItem() override; SvxLineItem &operator=( const SvxLineItem& rLine ); virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; diff --git a/include/editeng/measfld.hxx b/include/editeng/measfld.hxx index 31dc1685b674..81e437f3068b 100644 --- a/include/editeng/measfld.hxx +++ b/include/editeng/measfld.hxx @@ -43,7 +43,7 @@ public: SV_DECL_PERSIST1(SdrMeasureField,SvxFieldData,css::text::textfield::Type::MEASURE) SdrMeasureField(): eMeasureFieldKind(SDRMEASUREFIELD_VALUE) {} SdrMeasureField(SdrMeasureFieldKind eNewKind): eMeasureFieldKind(eNewKind) {} - virtual ~SdrMeasureField(); + virtual ~SdrMeasureField() override; virtual SvxFieldData* Clone() const override; virtual bool operator==(const SvxFieldData&) const override; SdrMeasureFieldKind GetMeasureFieldKind() const { return eMeasureFieldKind; } diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index e87b74ffbce9..81131a493550 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -296,7 +296,7 @@ public: explicit SvxNumBulletItem(SvxNumRule& rRule); SvxNumBulletItem(SvxNumRule& rRule, sal_uInt16 nWhich ); SvxNumBulletItem(const SvxNumBulletItem& rCopy); - virtual ~SvxNumBulletItem(); + virtual ~SvxNumBulletItem() override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; virtual SfxPoolItem* Create(SvStream &rStream, sal_uInt16 nItemVersion) const override; diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 6b02e13a86cc..984db796dae1 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx |