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 /svx/source/accessibility | |
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 'svx/source/accessibility')
4 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index 3eacb7689abb..1f5784e3e540 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -57,7 +57,7 @@ namespace accessibility AccessibleProxyEditSource_Impl( SdrObject& rObj, SdrView& rView, const Window& rViewWindow ); - ~AccessibleProxyEditSource_Impl(); + virtual ~AccessibleProxyEditSource_Impl(); // from the SvxEditSource interface SvxTextForwarder* GetTextForwarder() SAL_OVERRIDE; @@ -82,7 +82,7 @@ namespace accessibility public: AccessibleEmptyEditSource_Impl() {} - ~AccessibleEmptyEditSource_Impl() {} + virtual ~AccessibleEmptyEditSource_Impl() {} // from the SfxListener interface void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.hxx b/svx/source/accessibility/AccessibleEmptyEditSource.hxx index b897f7ca28e5..be7fadc83f75 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.hxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.hxx @@ -50,7 +50,7 @@ namespace accessibility does not contain text. */ AccessibleEmptyEditSource( SdrObject& rObj, SdrView& rView, const Window& rViewWindow ); - ~AccessibleEmptyEditSource(); + virtual ~AccessibleEmptyEditSource(); // from the SvxEditSource interface SvxTextForwarder* GetTextForwarder() SAL_OVERRIDE; diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx index 6a6e06a8c2d4..995b70921edc 100644 --- a/svx/source/accessibility/AccessibleTextHelper.cxx +++ b/svx/source/accessibility/AccessibleTextHelper.cxx @@ -102,7 +102,7 @@ namespace accessibility // receive pointer to our frontend class and view window AccessibleTextHelper_Impl(); - ~AccessibleTextHelper_Impl(); + virtual ~AccessibleTextHelper_Impl(); // XAccessibleContext child handling methods sal_Int32 SAL_CALL getAccessibleChildCount() SAL_THROW((uno::RuntimeException)); diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 5804b9fae990..36a4919035b0 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -106,7 +106,7 @@ public: /** If there still are managed children these are disposed and released. */ - ~ChildrenManagerImpl (void); + virtual ~ChildrenManagerImpl (void); /** Do that part of the initialization that you can not or should not do in the constructor like registering at broadcasters. |