diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:09:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 13:19:22 +0200 |
commit | 91dd2db17bd6cb9b357d1d69b187174e31eabef0 (patch) | |
tree | d634de3a1a6820904b5699c2136b79b1a5a807c7 /svtools/source | |
parent | 6f8ea7e89ea190b9462c945d55a3ad8777b2f3ef (diff) |
loplugin:override: No more need for the "MSVC dtor override" workaround
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark
overriding destructors as 'virtual'" appears to no longer be a problem with
MSVC 2013.
(The little change in the rewriting code of compilerplugins/clang/override.cxx
was necessary to prevent an endless loop when adding "override" to
OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager();
in chart2/source/inc/LifeTime.hxx, getting stuck in the leading
OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that
isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.)
Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
Diffstat (limited to 'svtools/source')
43 files changed, 62 insertions, 62 deletions
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx index b870e7d89037..266349b8434b 100644 --- a/svtools/source/brwbox/datwin.hxx +++ b/svtools/source/brwbox/datwin.hxx @@ -125,7 +125,7 @@ public: public: explicit BrowserDataWin( BrowseBox* pParent ); - virtual ~BrowserDataWin(); + virtual ~BrowserDataWin() override; virtual void dispose() override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; @@ -182,7 +182,7 @@ public: _nLastPos( ULONG_MAX ), _pDataWin( pDataWin ) {} - virtual ~BrowserScrollBar(); + virtual ~BrowserScrollBar() override; virtual void dispose() override; //ScrollBar( vcl::Window* pParent, const ResId& rResId ); diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx index f2ae5918c049..4af1d69ecf86 100644 --- a/svtools/source/config/colorcfg.cxx +++ b/svtools/source/config/colorcfg.cxx @@ -74,7 +74,7 @@ class ColorConfig_Impl : public utl::ConfigItem public: explicit ColorConfig_Impl(); - virtual ~ColorConfig_Impl(); + virtual ~ColorConfig_Impl() override; void Load(const OUString& rScheme); void CommitCurrentSchemeName(); diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx index 2267f3efeeb3..18c1807aa862 100644 --- a/svtools/source/config/extcolorcfg.cxx +++ b/svtools/source/config/extcolorcfg.cxx @@ -80,7 +80,7 @@ class ExtendedColorConfig_Impl : public utl::ConfigItem, public SfxBroadcaster public: explicit ExtendedColorConfig_Impl(); - virtual ~ExtendedColorConfig_Impl(); + virtual ~ExtendedColorConfig_Impl() override; void Load(const OUString& rScheme); void CommitCurrentSchemeName(); diff --git a/svtools/source/config/itemholder2.hxx b/svtools/source/config/itemholder2.hxx index 5126fcfd93a0..a94a3dc77acb 100644 --- a/svtools/source/config/itemholder2.hxx +++ b/svtools/source/config/itemholder2.hxx @@ -41,7 +41,7 @@ class ItemHolder2 : private ItemHolderMutexBase public: ItemHolder2(); - virtual ~ItemHolder2(); + virtual ~ItemHolder2() override; static void holdConfigItem(EItem eItem); diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx index 8475b7c1635b..9a561c7284e8 100644 --- a/svtools/source/config/menuoptions.cxx +++ b/svtools/source/config/menuoptions.cxx @@ -72,7 +72,7 @@ class SvtMenuOptions_Impl : public ConfigItem // constructor / destructor SvtMenuOptions_Impl(); - virtual ~SvtMenuOptions_Impl(); + virtual ~SvtMenuOptions_Impl() override; // override methods of baseclass diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx index 356b5cfbfa49..00d283b3d872 100644 --- a/svtools/source/config/miscopt.cxx +++ b/svtools/source/config/miscopt.cxx @@ -101,7 +101,7 @@ private: public: SvtMiscOptions_Impl(); - virtual ~SvtMiscOptions_Impl(); + virtual ~SvtMiscOptions_Impl() override; /*-**************************************************************************************************** @short called for notify of configmanager diff --git a/svtools/source/config/toolpanelopt.cxx b/svtools/source/config/toolpanelopt.cxx index 07aa4350d197..647037ad154f 100644 --- a/svtools/source/config/toolpanelopt.cxx +++ b/svtools/source/config/toolpanelopt.cxx @@ -59,7 +59,7 @@ class SvtToolPanelOptions_Impl : public ConfigItem public: SvtToolPanelOptions_Impl(); - virtual ~SvtToolPanelOptions_Impl(); + virtual ~SvtToolPanelOptions_Impl() override; /** called for notify of configmanager diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx index 13dd8d8bc286..70bfef23b479 100644 --- a/svtools/source/contnr/contentenumeration.hxx +++ b/svtools/source/contnr/contentenumeration.hxx @@ -246,7 +246,7 @@ namespace svt void cancel(); protected: - virtual ~FileViewContentEnumerator(); + virtual ~FileViewContentEnumerator() override; private: EnumerationResult enumerateFolderContent(); diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 43156a5d9860..3edd360176c2 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -187,7 +187,7 @@ protected: public: ViewTabListBox_Impl( vcl::Window* pParentWin, SvtFileView_Impl* pParent, FileViewFlags nFlags ); - virtual ~ViewTabListBox_Impl(); + virtual ~ViewTabListBox_Impl() override; virtual void dispose() override; virtual void Resize() override; diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 2cd7332e4c0c..c51f0f2815c7 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -77,7 +77,7 @@ public: const OUString& rData, const Link<LinkParamNone*,void>& rNotifyEditEnd ); - virtual ~IcnViewEdit_Impl(); + virtual ~IcnViewEdit_Impl() override; virtual void dispose() override; virtual void KeyInput( const KeyEvent& rKEvt ) override; virtual bool PreNotify( NotifyEvent& rNEvt ) override; diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 946975ff2df6..d4b15b260652 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -62,7 +62,7 @@ class MyEdit_Impl : public Edit SvInplaceEdit2* pOwner; public: MyEdit_Impl( vcl::Window* pParent, SvInplaceEdit2* pOwner ); - virtual ~MyEdit_Impl() { disposeOnce(); } + virtual ~MyEdit_Impl() override { disposeOnce(); } virtual void dispose() override { pOwner = nullptr; Edit::dispose(); } virtual void KeyInput( const KeyEvent& rKEvt ) override; virtual void LoseFocus() override; diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index b89b9061fde0..2f8abea7738a 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -1988,7 +1988,7 @@ private: public: explicit ImplCFieldFloatWin( vcl::Window* pParent ); - virtual ~ImplCFieldFloatWin(); + virtual ~ImplCFieldFloatWin() override; virtual void dispose() override; void SetCalendar( Calendar* pCalendar ) diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index b40f2626b238..68c5d50f96de 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -108,7 +108,7 @@ class SvtMatchContext_Impl: public salhelper::Thread DECL_LINK_TYPED( Select_Impl, void*, void ); - virtual ~SvtMatchContext_Impl(); + virtual ~SvtMatchContext_Impl() override; virtual void execute() override; void doExecute(); void Insert( const OUString& rCompletion, const OUString& rURL, bool bForce = false); diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx index 0138884a140e..2e6c0d04f96e 100644 --- a/svtools/source/control/toolbarmenuimp.hxx +++ b/svtools/source/control/toolbarmenuimp.hxx @@ -113,7 +113,7 @@ class ToolbarMenuAcc : public: explicit ToolbarMenuAcc( ToolbarMenu_Impl& rParent ); - virtual ~ToolbarMenuAcc(); + virtual ~ToolbarMenuAcc() override; void FireAccessibleEvent( short nEventId, const css::uno::Any& rOldValue, const css::uno::Any& rNewValue ); bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } @@ -193,7 +193,7 @@ class ToolbarMenuEntryAcc : public ::cppu::BaseMutex, { public: explicit ToolbarMenuEntryAcc( ToolbarMenuEntry* pParent ); - virtual ~ToolbarMenuEntryAcc(); + virtual ~ToolbarMenuEntryAcc() override; // XAccessible virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx index 4f8701be0b3b..04857d91d6a7 100644 --- a/svtools/source/control/valueimp.hxx +++ b/svtools/source/control/valueimp.hxx @@ -84,7 +84,7 @@ class ValueSetAcc : public: explicit ValueSetAcc(ValueSet* pParent); - virtual ~ValueSetAcc(); + virtual ~ValueSetAcc() override; void FireAccessibleEvent( short nEventId, const css::uno::Any& rOldValue, const css::uno::Any& rNewValue ); bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } @@ -210,7 +210,7 @@ private: public: ValueItemAcc( ValueSetItem* pParent, bool bIsTransientChildrenDisabled ); - virtual ~ValueItemAcc(); + virtual ~ValueItemAcc() override; void ParentDestroyed(); diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 71923ad342f5..e82d2a4b9a59 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -258,7 +258,7 @@ namespace svt public: AssignmentPersistentData(); - virtual ~AssignmentPersistentData(); + virtual ~AssignmentPersistentData() override; // IAssigmentData overridables virtual OUString getDatasourceName() const override; diff --git a/svtools/source/dialogs/restartdialog.cxx b/svtools/source/dialogs/restartdialog.cxx index adf4827d0a69..c5b3f0025129 100644 --- a/svtools/source/dialogs/restartdialog.cxx +++ b/svtools/source/dialogs/restartdialog.cxx @@ -71,7 +71,7 @@ public: btnYes_->SetClickHdl(LINK(this, RestartDialog, hdlYes)); btnNo_->SetClickHdl(LINK(this, RestartDialog, hdlNo)); } - virtual ~RestartDialog() { disposeOnce(); } + virtual ~RestartDialog() override { disposeOnce(); } virtual void dispose() override { reason_.clear(); diff --git a/svtools/source/edit/textwindowpeer.cxx b/svtools/source/edit/textwindowpeer.cxx index 8ceb80d050a2..ca5437972b0b 100644 --- a/svtools/source/edit/textwindowpeer.cxx +++ b/svtools/source/edit/textwindowpeer.cxx @@ -36,7 +36,7 @@ class TextWindowPeer: public VCLXWindow { public: explicit TextWindowPeer(TextView & view); - virtual ~TextWindowPeer() {} + virtual ~TextWindowPeer() override {} TextWindowPeer(const TextWindowPeer&) = delete; TextWindowPeer& operator=(const TextWindowPeer&) = delete; diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx index 047860a038e4..6013aba44686 100644 --- a/svtools/source/filter/SvFilterOptionsDialog.cxx +++ b/svtools/source/filter/SvFilterOptionsDialog.cxx @@ -77,7 +77,7 @@ class SvFilterOptionsDialog : public cppu::WeakImplHelper public: explicit SvFilterOptionsDialog( const uno::Reference< uno::XComponentContext >& _rxORB ); - virtual ~SvFilterOptionsDialog(); + virtual ~SvFilterOptionsDialog() override; // XInterface virtual void SAL_CALL acquire() throw() override; diff --git a/svtools/source/filter/exportdialog.hxx b/svtools/source/filter/exportdialog.hxx index 03d8e6fbd0e8..5a435b0b7372 100644 --- a/svtools/source/filter/exportdialog.hxx +++ b/svtools/source/filter/exportdialog.hxx @@ -172,7 +172,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference< css::lang::XComponent >& rxSourceDocument, bool bExportSelection, bool bIsExportVectorFormat ); - virtual ~ExportDialog(); + virtual ~ExportDialog() override; virtual void dispose() override; }; diff --git a/svtools/source/graphic/descriptor.hxx b/svtools/source/graphic/descriptor.hxx index 998d0260e636..4fbf441193bb 100644 --- a/svtools/source/graphic/descriptor.hxx +++ b/svtools/source/graphic/descriptor.hxx @@ -68,7 +68,7 @@ class GraphicDescriptor : public ::cppu::OWeakAggObject, public: GraphicDescriptor(); - virtual ~GraphicDescriptor() throw(); + virtual ~GraphicDescriptor() throw() override; void init( const ::Graphic& rGraphic ); void init( const OUString& rURL ); diff --git a/svtools/source/graphic/graphic.hxx b/svtools/source/graphic/graphic.hxx index ec512a8cf601..475db8170aa1 100644 --- a/svtools/source/graphic/graphic.hxx +++ b/svtools/source/graphic/graphic.hxx @@ -39,7 +39,7 @@ class Graphic : public css::graphic::XGraphic, public: Graphic(); - virtual ~Graphic() throw(); + virtual ~Graphic() throw() override; using ::unographic::GraphicDescriptor::init; void init( const ::Graphic& rGraphic ) throw(); diff --git a/svtools/source/graphic/transformer.hxx b/svtools/source/graphic/transformer.hxx index 764daddfffa6..2d7376afa024 100644 --- a/svtools/source/graphic/transformer.hxx +++ b/svtools/source/graphic/transformer.hxx @@ -35,7 +35,7 @@ class GraphicTransformer : public GraphicTransformer_UnoImplHelper1 public: GraphicTransformer(); - virtual ~GraphicTransformer(); + virtual ~GraphicTransformer() override; // XGraphicTransformer virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL colorChange( diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx index c0b18b6d4095..22821f794fcb 100644 --- a/svtools/source/hatchwindow/documentcloser.cxx +++ b/svtools/source/hatchwindow/documentcloser.cxx @@ -55,7 +55,7 @@ class ODocumentCloser : public ::cppu::WeakImplHelper< css::lang::XComponent, public: explicit ODocumentCloser(const css::uno::Sequence< css::uno::Any >& aArguments); - virtual ~ODocumentCloser(); + virtual ~ODocumentCloser() override; // XComponent virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override; diff --git a/svtools/source/inc/hatchwindow.hxx b/svtools/source/inc/hatchwindow.hxx index cd9e1b887f01..e33660fe2edf 100644 --- a/svtools/source/inc/hatchwindow.hxx +++ b/svtools/source/inc/hatchwindow.hxx @@ -35,7 +35,7 @@ class VCLXHatchWindow : public css::embed::XHatchWindow, public: VCLXHatchWindow(); - virtual ~VCLXHatchWindow(); + virtual ~VCLXHatchWindow() override; void initializeWindow( const css::uno::Reference< css::awt::XWindowPeer >& xParent, const css::awt::Rectangle& aBounds, diff --git a/svtools/source/inc/provider.hxx b/svtools/source/inc/provider.hxx index 87bb89e09f6f..346429d3979c 100644 --- a/svtools/source/inc/provider.hxx +++ b/svtools/source/inc/provider.hxx @@ -33,7 +33,7 @@ class GraphicProvider : public ::cppu::WeakImplHelper< css::graphic::XGraphicPro public: GraphicProvider(); - virtual ~GraphicProvider(); + virtual ~GraphicProvider() override; protected: diff --git a/svtools/source/inc/renderer.hxx b/svtools/source/inc/renderer.hxx index a479b879731d..33c159b6dbd9 100644 --- a/svtools/source/inc/renderer.hxx +++ b/svtools/source/inc/renderer.hxx @@ -42,7 +42,7 @@ class GraphicRendererVCL : public ::cppu::OWeakAggObject, public: GraphicRendererVCL(); - virtual ~GraphicRendererVCL() throw(); + virtual ~GraphicRendererVCL() throw() override; // XInterface virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx index 7ba18dadf17f..71a4fe34948e 100644 --- a/svtools/source/inc/svimpbox.hxx +++ b/svtools/source/inc/svimpbox.hxx @@ -50,7 +50,7 @@ class ImpLBSelEng : public FunctionSet public: ImpLBSelEng( SvImpLBox* pImp, SelectionEngine* pSelEng, SvTreeListBox* pView ); - virtual ~ImpLBSelEng(); + virtual ~ImpLBSelEng() override; void BeginDrag() override; void CreateAnchor() override; void DestroyAnchor() override; diff --git a/svtools/source/inc/unoiface.hxx b/svtools/source/inc/unoiface.hxx index ec04cd216fd0..b9d37d9bcd0b 100644 --- a/svtools/source/inc/unoiface.hxx +++ b/svtools/source/inc/unoiface.hxx @@ -61,7 +61,7 @@ protected: public: VCLXMultiLineEdit(); - virtual ~VCLXMultiLineEdit(); + virtual ~VCLXMultiLineEdit() override; // css::uno::XInterface css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; @@ -121,7 +121,7 @@ protected: public: VCLXFileControl(); - virtual ~VCLXFileControl(); + virtual ~VCLXFileControl() override; virtual void SetWindow( const VclPtr< vcl::Window > &pWindow ) override; @@ -177,7 +177,7 @@ protected: public: SVTXFormattedField(); - virtual ~SVTXFormattedField(); + virtual ~SVTXFormattedField() override; // css::awt::XVclWindowPeer void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) throw(css::uno::RuntimeException, std::exception) override; @@ -246,7 +246,7 @@ private: protected: virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; - virtual ~SVTXRoadmap(); + virtual ~SVTXRoadmap() override; public: SVTXRoadmap(); @@ -286,7 +286,7 @@ class SVTXNumericField : public css::awt::XNumericField, public SVTXFormattedFie { public: SVTXNumericField(); - virtual ~SVTXNumericField(); + virtual ~SVTXNumericField() override; // css::uno::XInterface css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; @@ -326,7 +326,7 @@ class SVTXCurrencyField : public css::awt::XCurrencyField, public SVTXFormattedF { public: SVTXCurrencyField(); - virtual ~SVTXCurrencyField(); + virtual ~SVTXCurrencyField() override; // css::uno::XInterface css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; @@ -379,7 +379,7 @@ protected: public: VCLXProgressBar(); - virtual ~VCLXProgressBar(); + virtual ~VCLXProgressBar() override; // css::uno::XInterface css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; @@ -412,7 +412,7 @@ class SVTXDateField : public VCLXDateField { public: SVTXDateField(); - virtual ~SVTXDateField(); + virtual ~SVTXDateField() override; // css::awt::VclWindowPeer void SAL_CALL setProperty( const OUString& PropertyName, const css::uno::Any& Value ) throw(css::uno::RuntimeException, std::exception) override; diff --git a/svtools/source/misc/svtaccessiblefactory.cxx b/svtools/source/misc/svtaccessiblefactory.cxx index 03a68d03c623..b132eb0ce412 100644 --- a/svtools/source/misc/svtaccessiblefactory.cxx +++ b/svtools/source/misc/svtaccessiblefactory.cxx @@ -51,7 +51,7 @@ namespace svt AccessibleDummyFactory& operator=(const AccessibleDummyFactory&) = delete; protected: - virtual ~AccessibleDummyFactory(); + virtual ~AccessibleDummyFactory() override; public: // IAccessibleFactory diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx index 1b74149e271a..d2e1be5712d7 100644 --- a/svtools/source/misc/templatefoldercache.cxx +++ b/svtools/source/misc/templatefoldercache.cxx @@ -118,7 +118,7 @@ namespace svt } private: - virtual ~TemplateContent(); + virtual ~TemplateContent() override; public: explicit TemplateContent( const INetURLObject& _rURL ); diff --git a/svtools/source/table/cellvalueconversion.cxx b/svtools/source/table/cellvalueconversion.cxx index ee9fc710cc88..db62a069b28e 100644 --- a/svtools/source/table/cellvalueconversion.cxx +++ b/svtools/source/table/cellvalueconversion.cxx @@ -153,7 +153,7 @@ namespace svt return returnValue; } - virtual ~DoubleNormalization() { } + virtual ~DoubleNormalization() override { } }; @@ -167,7 +167,7 @@ namespace svt { } - virtual ~IntegerNormalization() {} + virtual ~IntegerNormalization() override {} virtual double convertToDouble( Any const & i_value ) const override { @@ -188,7 +188,7 @@ namespace svt { } - virtual ~BooleanNormalization() {} + virtual ~BooleanNormalization() override {} virtual double convertToDouble( Any const & i_value ) const override { @@ -209,7 +209,7 @@ namespace svt { } - virtual ~DateTimeNormalization() {} + virtual ~DateTimeNormalization() override {} virtual double convertToDouble( Any const & i_value ) const override { @@ -243,7 +243,7 @@ namespace svt { } - virtual ~DateNormalization() {} + virtual ~DateNormalization() override {} virtual double convertToDouble( Any const & i_value ) const override { @@ -273,7 +273,7 @@ namespace svt { } - virtual ~TimeNormalization() {} + virtual ~TimeNormalization() override {} virtual double convertToDouble( Any const & i_value ) const override { diff --git a/svtools/source/table/mousefunction.hxx b/svtools/source/table/mousefunction.hxx index 4ecca061fa18..7136c11c8aac 100644 --- a/svtools/source/table/mousefunction.hxx +++ b/svtools/source/table/mousefunction.hxx @@ -60,7 +60,7 @@ namespace svt { namespace table virtual FunctionResult handleMouseUp( ITableControl& i_tableControl, MouseEvent const & i_event ) = 0; protected: - virtual ~MouseFunction() { } + virtual ~MouseFunction() override { } }; diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index 889f188721df..02b36268ea4b 100644 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -151,7 +151,7 @@ namespace svt { namespace table public: explicit TableControl_Impl( TableControl& _rAntiImpl ); - virtual ~TableControl_Impl(); + virtual ~TableControl_Impl() override; /** to be called when the anti-impl instance has been resized */ @@ -461,7 +461,7 @@ namespace svt { namespace table public: explicit TableFunctionSet(TableControl_Impl* _pTableControl); - virtual ~TableFunctionSet(); + virtual ~TableFunctionSet() override; virtual void BeginDrag() override; virtual void CreateAnchor() override; diff --git a/svtools/source/table/tabledatawindow.hxx b/svtools/source/table/tabledatawindow.hxx index b50a5de027e9..ee1300e5e438 100644 --- a/svtools/source/table/tabledatawindow.hxx +++ b/svtools/source/table/tabledatawindow.hxx @@ -41,7 +41,7 @@ namespace svt { namespace table public: explicit TableDataWindow( TableControl_Impl& _rTableControl ); - virtual ~TableDataWindow(); + virtual ~TableDataWindow() override; virtual void dispose() override; inline void SetSelectHdl(const Link<LinkParamNone*,void>& rLink) diff --git a/svtools/source/uno/svtxgridcontrol.hxx b/svtools/source/uno/svtxgridcontrol.hxx index 1f4908e7ad3c..07af15b39982 100644 --- a/svtools/source/uno/svtxgridcontrol.hxx +++ b/svtools/source/uno/svtxgridcontrol.hxx @@ -61,7 +61,7 @@ protected: public: SVTXGridControl(); - virtual ~SVTXGridControl(); + virtual ~SVTXGridControl() override; // XGridDataListener virtual void SAL_CALL rowsInserted( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override; diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index 053018ce06fa..f76931725980 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -84,7 +84,7 @@ class UnoTreeListBoxImpl : public SvTreeListBox { public: UnoTreeListBoxImpl( TreeControlPeer* pPeer, vcl::Window* pParent, WinBits nWinStyle ); - virtual ~UnoTreeListBoxImpl(); + virtual ~UnoTreeListBoxImpl() override; virtual void dispose() override; void insert( SvTreeListEntry* pEntry, SvTreeListEntry* pParent, sal_uLong nPos ); @@ -107,7 +107,7 @@ class UnoTreeListItem : public SvLBoxString { public: UnoTreeListItem(); - virtual ~UnoTreeListItem(); + virtual ~UnoTreeListItem() override; void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem * = nullptr ) override; void SetImage( const Image& rImage ); const OUString& GetGraphicURL() const { return maGraphicURL;} @@ -127,7 +127,7 @@ class UnoTreeListEntry : public SvTreeListEntry { public: UnoTreeListEntry( const Reference< XTreeNode >& xNode, TreeControlPeer* pPeer ); - virtual ~UnoTreeListEntry(); + virtual ~UnoTreeListEntry() override; Reference< XTreeNode > mxNode; TreeControlPeer* mpPeer; diff --git a/svtools/source/uno/treecontrolpeer.hxx b/svtools/source/uno/treecontrolpeer.hxx index 8bb49020c4d7..367317319caf 100644 --- a/svtools/source/uno/treecontrolpeer.hxx +++ b/svtools/source/uno/treecontrolpeer.hxx @@ -53,7 +53,7 @@ class TreeControlPeer : public ::cppu::ImplInheritanceHelper< VCLXWindow, css::a friend class UnoTreeListEntry; public: TreeControlPeer(); - virtual ~TreeControlPeer(); + virtual ~TreeControlPeer() override; vcl::Window* createVclControl( vcl::Window* pParent, sal_Int64 nWinStyle ); diff --git a/svtools/source/uno/unocontroltablemodel.hxx b/svtools/source/uno/unocontroltablemodel.hxx index 87ee6c7d04f0..440cf4832f6c 100644 --- a/svtools/source/uno/unocontroltablemodel.hxx +++ b/svtools/source/uno/unocontroltablemodel.hxx @@ -52,7 +52,7 @@ namespace svt { namespace table public: UnoControlTableModel(); - virtual ~UnoControlTableModel(); + virtual ~UnoControlTableModel() override; public: // ITableModel overridables diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 143dccc9a979..890fbd295e00 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -98,7 +98,7 @@ namespace svt { namespace table void dispose(); protected: - virtual ~ColumnChangeMultiplexer(); + virtual ~ColumnChangeMultiplexer() override; // XGridColumnListener virtual void SAL_CALL columnChanged( const GridColumnEvent& i_event ) throw (RuntimeException, std::exception) override; diff --git a/svtools/source/uno/unogridcolumnfacade.hxx b/svtools/source/uno/unogridcolumnfacade.hxx index 0128174bdc29..68419935e168 100644 --- a/svtools/source/uno/unogridcolumnfacade.hxx +++ b/svtools/source/uno/unogridcolumnfacade.hxx @@ -45,7 +45,7 @@ namespace svt { namespace table UnoControlTableModel const & i_owner, css::uno::Reference< css::awt::grid::XGridColumn > const & i_gridColumn ); - virtual ~UnoGridColumnFacade(); + virtual ~UnoGridColumnFacade() override; UnoGridColumnFacade(const UnoGridColumnFacade&) = delete; UnoGridColumnFacade& operator=(const UnoGridColumnFacade&) = delete; diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx index b7652417d041..a3bcc1f51180 100644 --- a/svtools/source/uno/unoimap.cxx +++ b/svtools/source/uno/unoimap.cxx @@ -73,7 +73,7 @@ class SvUnoImageMapObject : public OWeakAggObject, public: SvUnoImageMapObject( sal_uInt16 nType, const SvEventDescription* pSupportedMacroItems ); SvUnoImageMapObject( const IMapObject& rMapObject, const SvEventDescription* pSupportedMacroItems ); - virtual ~SvUnoImageMapObject() throw(); + virtual ~SvUnoImageMapObject() throw() override; UNO3_GETIMPLEMENTATION_DECL( SvUnoImageMapObject ) @@ -518,7 +518,7 @@ class SvUnoImageMap : public WeakImplHelper< XIndexContainer, XServiceInfo, XUno public: explicit SvUnoImageMap( const SvEventDescription* pSupportedMacroItems ); SvUnoImageMap( const ImageMap& rMap, const SvEventDescription* pSupportedMacroItems ); - virtual ~SvUnoImageMap(); + virtual ~SvUnoImageMap() override; bool fillImageMap( ImageMap& rMap ) const; static SvUnoImageMapObject* getObject( const Any& aElement ) throw( IllegalArgumentException ); diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx index 5b0cc4d1e383..eaa4ad6faf51 100644 --- a/svtools/source/uno/wizard/unowizard.cxx +++ b/svtools/source/uno/wizard/unowizard.cxx @@ -129,7 +129,7 @@ namespace { virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override; protected: - virtual ~Wizard(); + virtual ~Wizard() override; protected: virtual VclPtr<Dialog> createDialog( vcl::Window* _pParent ) override; |