diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:18:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:22:54 +0200 |
commit | 362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch) | |
tree | 0b432c049d580dcac6130bca9fb028bab8af8fa8 /svtools | |
parent | b66d87086804460c1986df1b832fd6b2ea075a90 (diff) |
Explicitly mark overriding destructors as "virtual"
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."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
Diffstat (limited to 'svtools')
41 files changed, 55 insertions, 55 deletions
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx index 0c7209d16a09..04a912a518fd 100644 --- a/svtools/source/brwbox/datwin.hxx +++ b/svtools/source/brwbox/datwin.hxx @@ -137,7 +137,7 @@ public: public: BrowserDataWin( BrowseBox* pParent ); - ~BrowserDataWin(); + virtual ~BrowserDataWin(); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx index 7045e1398c9f..508db5390717 100644 --- a/svtools/source/config/menuoptions.cxx +++ b/svtools/source/config/menuoptions.cxx @@ -86,7 +86,7 @@ class SvtMenuOptions_Impl : public ConfigItem SvtMenuOptions_Impl(); - ~SvtMenuOptions_Impl(); + virtual ~SvtMenuOptions_Impl(); void AddListenerLink( const Link& rLink ); void RemoveListenerLink( const Link& rLink ); diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx index 0ef6cf590cc9..6a050d7d2eba 100644 --- a/svtools/source/config/miscopt.cxx +++ b/svtools/source/config/miscopt.cxx @@ -94,7 +94,7 @@ class SvtMiscOptions_Impl : public ConfigItem public: SvtMiscOptions_Impl(); - ~SvtMiscOptions_Impl(); + virtual ~SvtMiscOptions_Impl(); /*-**************************************************************************************************** @short called for notify of configmanager diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx index 72e698a5bc2f..b977c723a23e 100644 --- a/svtools/source/config/optionsdrawinglayer.cxx +++ b/svtools/source/config/optionsdrawinglayer.cxx @@ -168,7 +168,7 @@ public: SvtOptionsDrawinglayer_Impl(); - ~SvtOptionsDrawinglayer_Impl(); + virtual ~SvtOptionsDrawinglayer_Impl(); // overloaded methods of baseclass diff --git a/svtools/source/config/slidesorterbaropt.cxx b/svtools/source/config/slidesorterbaropt.cxx index 8affb53253fd..eab6a808f678 100644 --- a/svtools/source/config/slidesorterbaropt.cxx +++ b/svtools/source/config/slidesorterbaropt.cxx @@ -54,7 +54,7 @@ class SvtSlideSorterBarOptions_Impl : public ConfigItem public: SvtSlideSorterBarOptions_Impl(); - ~SvtSlideSorterBarOptions_Impl(); + virtual ~SvtSlideSorterBarOptions_Impl(); /** called for notify of configmanager diff --git a/svtools/source/config/toolpanelopt.cxx b/svtools/source/config/toolpanelopt.cxx index 5dcc1ca004ff..368bb9977338 100644 --- a/svtools/source/config/toolpanelopt.cxx +++ b/svtools/source/config/toolpanelopt.cxx @@ -60,7 +60,7 @@ class SvtToolPanelOptions_Impl : public ConfigItem public: SvtToolPanelOptions_Impl(); - ~SvtToolPanelOptions_Impl(); + virtual ~SvtToolPanelOptions_Impl(); /** called for notify of configmanager diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx index 1c6b4ae504b2..ca881c960f85 100644 --- a/svtools/source/contnr/contentenumeration.hxx +++ b/svtools/source/contnr/contentenumeration.hxx @@ -249,7 +249,7 @@ namespace svt void cancel(); protected: - ~FileViewContentEnumerator(); + virtual ~FileViewContentEnumerator(); private: EnumerationResult enumerateFolderContent(); diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 1d1588a17900..f6dc9e56da37 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -194,7 +194,7 @@ protected: public: ViewTabListBox_Impl( Window* pParentWin, SvtFileView_Impl* pParent, sal_Int16 nFlags ); - ~ViewTabListBox_Impl(); + virtual ~ViewTabListBox_Impl(); virtual void Resize() SAL_OVERRIDE; virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 3813e798a884..8876379bc7aa 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -84,7 +84,7 @@ public: const OUString& rData, const Link& rNotifyEditEnd ); - ~IcnViewEdit_Impl(); + virtual ~IcnViewEdit_Impl(); virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; sal_Bool EditingCanceled() const { return bCanceled; } diff --git a/svtools/source/contnr/templwin.hxx b/svtools/source/contnr/templwin.hxx index bd47b9688398..c759e3270f99 100644 --- a/svtools/source/contnr/templwin.hxx +++ b/svtools/source/contnr/templwin.hxx @@ -49,7 +49,7 @@ private: public: SvtDummyHeaderBar_Impl( Window* pParent ); - ~SvtDummyHeaderBar_Impl(); + virtual ~SvtDummyHeaderBar_Impl(); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; }; @@ -73,7 +73,7 @@ private: public: SvtIconWindow_Impl( Window* pParent ); - ~SvtIconWindow_Impl(); + virtual ~SvtIconWindow_Impl(); virtual void Resize() SAL_OVERRIDE; @@ -129,7 +129,7 @@ private: public: SvtFileViewWindow_Impl( SvtTemplateWindow* pParent ); - ~SvtFileViewWindow_Impl(); + virtual ~SvtFileViewWindow_Impl(); virtual void Resize() SAL_OVERRIDE; @@ -195,7 +195,7 @@ private: public: SvtFrameWindow_Impl( Window* pParent ); - ~SvtFrameWindow_Impl(); + virtual ~SvtFrameWindow_Impl(); virtual void Resize() SAL_OVERRIDE; @@ -253,7 +253,7 @@ protected: public: SvtTemplateWindow( Window* pParent ); - ~SvtTemplateWindow(); + virtual ~SvtTemplateWindow(); inline void SetSelectHdl( const Link& rLink ) { aSelectHdl = rLink; } inline void SetDoubleClickHdl( const Link& rLink ) { aDoubleClickHdl = rLink; } diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index 8934ae5ea6de..26427a42793f 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -2206,7 +2206,7 @@ private: public: ImplCFieldFloatWin( Window* pParent ); - ~ImplCFieldFloatWin(); + virtual ~ImplCFieldFloatWin(); void SetCalendar( Calendar* pCalendar ) { mpCalendar = pCalendar; } diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 5f0a54b83961..11d3de4b4dd3 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -46,7 +46,7 @@ namespace svt { public: IDLabel( Window* _pParent, WinBits _nWinStyle = 0 ); - ~IDLabel( ); + virtual ~IDLabel( ); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; }; diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx index ff5f9c8935cd..53ce583569f2 100644 --- a/svtools/source/control/toolbarmenuimp.hxx +++ b/svtools/source/control/toolbarmenuimp.hxx @@ -117,7 +117,7 @@ class ToolbarMenuAcc : public: ToolbarMenuAcc( ToolbarMenu_Impl& rParent ); - ~ToolbarMenuAcc(); + virtual ~ToolbarMenuAcc(); void FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue ); bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } @@ -209,7 +209,7 @@ class ToolbarMenuEntryAcc : public ::comphelper::OBaseMutex, { public: ToolbarMenuEntryAcc( ToolbarMenuEntry* pParent ); - ~ToolbarMenuEntryAcc(); + virtual ~ToolbarMenuEntryAcc(); bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx index 69aebf3c23ae..e0c8633eff07 100644 --- a/svtools/source/control/valueimp.hxx +++ b/svtools/source/control/valueimp.hxx @@ -81,7 +81,7 @@ class ValueSetAcc : public: ValueSetAcc( ValueSet* pParent, bool bIsTransientChildrenDisabled ); - ~ValueSetAcc(); + virtual ~ValueSetAcc(); void FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue ); sal_Bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } @@ -217,7 +217,7 @@ private: public: ValueItemAcc( ValueSetItem* pParent, bool bIsTransientChildrenDisabled ); - ~ValueItemAcc(); + virtual ~ValueItemAcc(); void ParentDestroyed(); diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 7f97c13063b0..c59b151e41ee 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -291,7 +291,7 @@ public: public: AssignmentPersistentData(); - ~AssignmentPersistentData(); + virtual ~AssignmentPersistentData(); // IAssigmentData overridables virtual OUString getDatasourceName() const SAL_OVERRIDE; diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx index 682d0cb38ae1..ecce9fa2616d 100644 --- a/svtools/source/filter/SvFilterOptionsDialog.cxx +++ b/svtools/source/filter/SvFilterOptionsDialog.cxx @@ -76,7 +76,7 @@ class SvFilterOptionsDialog : public cppu::WeakImplHelper5 public: SvFilterOptionsDialog( const uno::Reference< uno::XComponentContext >& _rxORB ); - ~SvFilterOptionsDialog(); + virtual ~SvFilterOptionsDialog(); // XInterface virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; diff --git a/svtools/source/filter/exportdialog.hxx b/svtools/source/filter/exportdialog.hxx index f58941847c3b..75a827e3cd0c 100644 --- a/svtools/source/filter/exportdialog.hxx +++ b/svtools/source/filter/exportdialog.hxx @@ -178,7 +178,7 @@ public: const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, const com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& rxSourceDocument, sal_Bool bExportSelection, sal_Bool bIsExportVectorFormat ); - ~ExportDialog(); + virtual ~ExportDialog(); }; diff --git a/svtools/source/graphic/descriptor.hxx b/svtools/source/graphic/descriptor.hxx index 3f623b730467..c6c22d0a4f3c 100644 --- a/svtools/source/graphic/descriptor.hxx +++ b/svtools/source/graphic/descriptor.hxx @@ -68,7 +68,7 @@ class GraphicDescriptor : public ::cppu::OWeakAggObject, public: GraphicDescriptor(); - ~GraphicDescriptor() throw(); + virtual ~GraphicDescriptor() throw(); void init( const ::Graphic& rGraphic ) throw(); void init( const OUString& rURL ) throw(); diff --git a/svtools/source/graphic/graphic.hxx b/svtools/source/graphic/graphic.hxx index b3ba30b648b8..1839da37d3f8 100644 --- a/svtools/source/graphic/graphic.hxx +++ b/svtools/source/graphic/graphic.hxx @@ -39,7 +39,7 @@ class Graphic : public ::com::sun::star::graphic::XGraphic, public: Graphic(); - ~Graphic() throw(); + virtual ~Graphic() throw(); 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 2c7889a96cf3..802164fc9094 100644 --- a/svtools/source/graphic/transformer.hxx +++ b/svtools/source/graphic/transformer.hxx @@ -38,7 +38,7 @@ class GraphicTransformer : public GraphicTransformer_UnoImplHelper1 public: GraphicTransformer(); - ~GraphicTransformer(); + virtual ~GraphicTransformer(); // XGraphicTransformer virtual ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > SAL_CALL colorChange( diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx index f2d6ac12588a..e789e49d13a0 100644 --- a/svtools/source/hatchwindow/documentcloser.cxx +++ b/svtools/source/hatchwindow/documentcloser.cxx @@ -55,7 +55,7 @@ class ODocumentCloser : public ::cppu::WeakImplHelper2< ::com::sun::star::lang:: public: ODocumentCloser(const css::uno::Sequence< css::uno::Any >& aArguments); - ~ODocumentCloser(); + virtual ~ODocumentCloser(); // XComponent virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/inc/hatchwindow.hxx b/svtools/source/inc/hatchwindow.hxx index 418b936c64c5..f5a9319abeb4 100644 --- a/svtools/source/inc/hatchwindow.hxx +++ b/svtools/source/inc/hatchwindow.hxx @@ -35,7 +35,7 @@ class VCLXHatchWindow : public ::com::sun::star::embed::XHatchWindow, public: VCLXHatchWindow(); - ~VCLXHatchWindow(); + virtual ~VCLXHatchWindow(); void initializeWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent, const ::com::sun::star::awt::Rectangle& aBounds, diff --git a/svtools/source/inc/provider.hxx b/svtools/source/inc/provider.hxx index 497e7b6ab630..416abbf17d45 100644 --- a/svtools/source/inc/provider.hxx +++ b/svtools/source/inc/provider.hxx @@ -33,7 +33,7 @@ class GraphicProvider : public ::cppu::WeakImplHelper2< ::com::sun::star::graphi public: GraphicProvider(); - ~GraphicProvider(); + virtual ~GraphicProvider(); protected: diff --git a/svtools/source/inc/renderer.hxx b/svtools/source/inc/renderer.hxx index 5996aa89f7f5..b50088d2e737 100644 --- a/svtools/source/inc/renderer.hxx +++ b/svtools/source/inc/renderer.hxx @@ -42,7 +42,7 @@ class GraphicRendererVCL : public ::cppu::OWeakAggObject, public: GraphicRendererVCL(); - ~GraphicRendererVCL() throw(); + virtual ~GraphicRendererVCL() throw(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/inc/unoiface.hxx b/svtools/source/inc/unoiface.hxx index f38d3a2f7d64..0378cd716d30 100644 --- a/svtools/source/inc/unoiface.hxx +++ b/svtools/source/inc/unoiface.hxx @@ -62,7 +62,7 @@ protected: public: VCLXMultiLineEdit(); - ~VCLXMultiLineEdit(); + virtual ~VCLXMultiLineEdit(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -122,7 +122,7 @@ protected: public: VCLXFileControl(); - ~VCLXFileControl(); + virtual ~VCLXFileControl(); void SetWindow( Window* pWindow ) SAL_OVERRIDE; @@ -180,7 +180,7 @@ protected: public: SVTXFormattedField(); - ~SVTXFormattedField(); + virtual ~SVTXFormattedField(); // ::com::sun::star::awt::XVclWindowPeer void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -253,7 +253,7 @@ protected: ::svt::ORoadmap* GetRoadmap() const { return (::svt::ORoadmap*)GetWindow(); } void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE; - ~SVTXRoadmap(); + virtual ~SVTXRoadmap(); public: SVTXRoadmap(); @@ -295,7 +295,7 @@ class SVTXNumericField : public ::com::sun::star::awt::XNumericField, public SVT { public: SVTXNumericField(); - ~SVTXNumericField(); + virtual ~SVTXNumericField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -335,7 +335,7 @@ class SVTXCurrencyField : public ::com::sun::star::awt::XCurrencyField, public S { public: SVTXCurrencyField(); - ~SVTXCurrencyField(); + virtual ~SVTXCurrencyField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -388,7 +388,7 @@ protected: public: VCLXProgressBar(); - ~VCLXProgressBar(); + virtual ~VCLXProgressBar(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -421,7 +421,7 @@ class SVTXDateField : public VCLXDateField { public: SVTXDateField(); - ~SVTXDateField(); + virtual ~SVTXDateField(); // ::com::sun::star::awt::VclWindowPeer void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx index fa058e818374..81124a2b47de 100644 --- a/svtools/source/misc/templatefoldercache.cxx +++ b/svtools/source/misc/templatefoldercache.cxx @@ -135,7 +135,7 @@ namespace svt } private: - ~TemplateContent(); + virtual ~TemplateContent(); public: TemplateContent( const INetURLObject& _rURL ); diff --git a/svtools/source/table/mousefunction.hxx b/svtools/source/table/mousefunction.hxx index 5db88a5322fc..c8d801d6eab1 100644 --- a/svtools/source/table/mousefunction.hxx +++ b/svtools/source/table/mousefunction.hxx @@ -72,7 +72,7 @@ namespace svt { namespace table { } protected: - ~MouseFunction() + virtual ~MouseFunction() { } diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index 71bbdfb9e622..e1a4921b9320 100644 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -173,7 +173,7 @@ namespace svt { namespace table public: TableControl_Impl( TableControl& _rAntiImpl ); - ~TableControl_Impl(); + virtual ~TableControl_Impl(); #ifdef DBG_UTIL const sal_Char* impl_checkInvariants() const; diff --git a/svtools/source/table/tabledatawindow.hxx b/svtools/source/table/tabledatawindow.hxx index 0e153b8bc511..53dfb141bd74 100644 --- a/svtools/source/table/tabledatawindow.hxx +++ b/svtools/source/table/tabledatawindow.hxx @@ -48,7 +48,7 @@ namespace svt { namespace table public: TableDataWindow( TableControl_Impl& _rTableControl ); - ~TableDataWindow(); + virtual ~TableDataWindow(); inline void SetSelectHdl( const Link& rLink ) { m_aSelectHdl = rLink; } inline const Link& GetSelectHdl() const { return m_aSelectHdl; } diff --git a/svtools/source/toolpanel/dummypanel.hxx b/svtools/source/toolpanel/dummypanel.hxx index ff5e42c8f950..c376b71a5533 100644 --- a/svtools/source/toolpanel/dummypanel.hxx +++ b/svtools/source/toolpanel/dummypanel.hxx @@ -37,7 +37,7 @@ namespace svt { public: DummyPanel(); - ~DummyPanel(); + virtual ~DummyPanel(); // IToolPanel virtual OUString GetDisplayName() const SAL_OVERRIDE; diff --git a/svtools/source/toolpanel/paneltabbarpeer.hxx b/svtools/source/toolpanel/paneltabbarpeer.hxx index 73b00eaac472..2c9601010208 100644 --- a/svtools/source/toolpanel/paneltabbarpeer.hxx +++ b/svtools/source/toolpanel/paneltabbarpeer.hxx @@ -39,7 +39,7 @@ namespace svt PanelTabBarPeer( PanelTabBar& i_rTabBar ); protected: - ~PanelTabBarPeer(); + virtual ~PanelTabBarPeer(); // VCLXWindow overridables virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE; diff --git a/svtools/source/toolpanel/toolpaneldeckpeer.hxx b/svtools/source/toolpanel/toolpaneldeckpeer.hxx index 2ed84623939a..daa177000128 100644 --- a/svtools/source/toolpanel/toolpaneldeckpeer.hxx +++ b/svtools/source/toolpanel/toolpaneldeckpeer.hxx @@ -39,7 +39,7 @@ namespace svt ToolPanelDeckPeer( ToolPanelDeck& i_rDeck ); protected: - ~ToolPanelDeckPeer(); + virtual ~ToolPanelDeckPeer(); // VCLXWindow overridables virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE; diff --git a/svtools/source/toolpanel/toolpaneldrawer.hxx b/svtools/source/toolpanel/toolpaneldrawer.hxx index 83ad9b336712..c237500caad2 100644 --- a/svtools/source/toolpanel/toolpaneldrawer.hxx +++ b/svtools/source/toolpanel/toolpaneldrawer.hxx @@ -43,7 +43,7 @@ namespace svt { public: DrawerVisualization( ToolPanelDrawer& i_rParent ); - ~DrawerVisualization(); + virtual ~DrawerVisualization(); protected: // Window overridables @@ -61,7 +61,7 @@ namespace svt { public: ToolPanelDrawer( Window& i_rParent, const OUString& i_rTitle ); - ~ToolPanelDrawer(); + virtual ~ToolPanelDrawer(); long GetPreferredHeightPixel() const; void SetExpanded( const bool i_bExpanded ); diff --git a/svtools/source/toolpanel/toolpaneldrawerpeer.cxx b/svtools/source/toolpanel/toolpaneldrawerpeer.cxx index 1913c775b28e..5f7af7987e0f 100644 --- a/svtools/source/toolpanel/toolpaneldrawerpeer.cxx +++ b/svtools/source/toolpanel/toolpaneldrawerpeer.cxx @@ -66,7 +66,7 @@ namespace svt virtual void FillAccessibleStateSet( ::utl::AccessibleStateSetHelper& i_rStateSet ) SAL_OVERRIDE; protected: - ~ToolPanelDrawerContext() + virtual ~ToolPanelDrawerContext() { } }; diff --git a/svtools/source/toolpanel/toolpaneldrawerpeer.hxx b/svtools/source/toolpanel/toolpaneldrawerpeer.hxx index 46b1b5e75f68..9a1a7572954d 100644 --- a/svtools/source/toolpanel/toolpaneldrawerpeer.hxx +++ b/svtools/source/toolpanel/toolpaneldrawerpeer.hxx @@ -36,7 +36,7 @@ namespace svt ToolPanelDrawerPeer(); protected: - ~ToolPanelDrawerPeer(); + virtual ~ToolPanelDrawerPeer(); // VCLXWindow overridables virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE; diff --git a/svtools/source/uno/svtxgridcontrol.hxx b/svtools/source/uno/svtxgridcontrol.hxx index 4571b180d88d..11094d827a76 100644 --- a/svtools/source/uno/svtxgridcontrol.hxx +++ b/svtools/source/uno/svtxgridcontrol.hxx @@ -61,7 +61,7 @@ protected: public: SVTXGridControl(); - ~SVTXGridControl(); + virtual ~SVTXGridControl(); // XGridDataListener virtual void SAL_CALL rowsInserted( const ::com::sun::star::awt::grid::GridDataEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index 23b8e230b351..c0d541a7e3f6 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -85,7 +85,7 @@ class UnoTreeListBoxImpl : public SvTreeListBox { public: UnoTreeListBoxImpl( TreeControlPeer* pPeer, Window* pParent, WinBits nWinStyle ); - ~UnoTreeListBoxImpl(); + virtual ~UnoTreeListBoxImpl(); sal_uInt32 insert( SvTreeListEntry* pEntry,SvTreeListEntry* pParent,sal_uLong nPos=TREELIST_APPEND ); diff --git a/svtools/source/uno/unocontroltablemodel.hxx b/svtools/source/uno/unocontroltablemodel.hxx index 3facb09552a6..106f69173861 100644 --- a/svtools/source/uno/unocontroltablemodel.hxx +++ b/svtools/source/uno/unocontroltablemodel.hxx @@ -54,7 +54,7 @@ namespace svt { namespace table public: UnoControlTableModel(); - ~UnoControlTableModel(); + virtual ~UnoControlTableModel(); public: // ITableModel overridables diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 6e2541b79760..7d281ed2cc64 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -100,7 +100,7 @@ namespace svt { namespace table void dispose(); protected: - ~ColumnChangeMultiplexer(); + virtual ~ColumnChangeMultiplexer(); // XGridColumnListener virtual void SAL_CALL columnChanged( const GridColumnEvent& i_event ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/uno/unogridcolumnfacade.hxx b/svtools/source/uno/unogridcolumnfacade.hxx index 625e0d74b816..d05db1564f20 100644 --- a/svtools/source/uno/unogridcolumnfacade.hxx +++ b/svtools/source/uno/unogridcolumnfacade.hxx @@ -50,7 +50,7 @@ namespace svt { namespace table UnoControlTableModel const & i_owner, ::com::sun::star::uno::Reference< ::com::sun::star::awt::grid::XGridColumn > const & i_gridColumn ); - ~UnoGridColumnFacade(); + virtual ~UnoGridColumnFacade(); // IColumnModel overridables virtual ::com::sun::star::uno::Any diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx index 22b8073117b3..dd33f8024ca6 100644 --- a/svtools/source/uno/wizard/unowizard.cxx +++ b/svtools/source/uno/wizard/unowizard.cxx @@ -133,7 +133,7 @@ namespace { virtual void SAL_CALL initialize( const uno::Sequence< uno::Any >& aArguments ) throw (uno::Exception, uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~Wizard(); + virtual ~Wizard(); protected: virtual Dialog* createDialog( Window* _pParent ) SAL_OVERRIDE; |