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 /sfx2/source/appl/newhelp.hxx | |
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 'sfx2/source/appl/newhelp.hxx')
-rw-r--r-- | sfx2/source/appl/newhelp.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index d4ec1161f308..900dc84f9872 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -58,7 +58,7 @@ private: public: ContentListBox_Impl(Window* pParent, WinBits nStyle); - ~ContentListBox_Impl(); + virtual ~ContentListBox_Impl(); virtual void RequestingChildren( SvTreeListEntry* pParent ) SAL_OVERRIDE; @@ -138,7 +138,7 @@ private: public: IndexTabPage_Impl( Window* pParent, SfxHelpIndexWindow_Impl* _pIdxWin ); - ~IndexTabPage_Impl(); + virtual ~IndexTabPage_Impl(); virtual void ActivatePage() SAL_OVERRIDE; virtual Control* GetLastFocusControl() SAL_OVERRIDE; @@ -214,7 +214,7 @@ private: public: SearchTabPage_Impl( Window* pParent, SfxHelpIndexWindow_Impl* _pIdxWin ); - ~SearchTabPage_Impl(); + virtual ~SearchTabPage_Impl(); virtual void ActivatePage() SAL_OVERRIDE; virtual Control* GetLastFocusControl() SAL_OVERRIDE; @@ -239,7 +239,7 @@ private: public: BookmarksBox_Impl(Window* pParent, WinBits nStyle); - ~BookmarksBox_Impl(); + virtual ~BookmarksBox_Impl(); virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; }; @@ -310,7 +310,7 @@ private: public: SfxHelpIndexWindow_Impl( SfxHelpWindow_Impl* pParent ); - ~SfxHelpIndexWindow_Impl(); + virtual ~SfxHelpIndexWindow_Impl(); virtual void Resize() SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -448,7 +448,7 @@ private: public: SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ); - ~SfxHelpTextWindow_Impl(); + virtual ~SfxHelpTextWindow_Impl(); virtual void Resize() SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -517,7 +517,7 @@ friend class SfxHelpIndexWindow_Impl; public: SfxHelpWindow_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame2 >& rFrame, Window* pParent, WinBits nBits ); - ~SfxHelpWindow_Impl(); + virtual ~SfxHelpWindow_Impl(); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; |