summaryrefslogtreecommitdiff
path: root/accessibility/inc/accessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-01 19:18:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-01 19:22:54 +0200
commit362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch)
tree0b432c049d580dcac6130bca9fb028bab8af8fa8 /accessibility/inc/accessibility
parentb66d87086804460c1986df1b832fd6b2ea075a90 (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 'accessibility/inc/accessibility')
-rw-r--r--accessibility/inc/accessibility/extended/accessibletabbar.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/accessibility/inc/accessibility/extended/accessibletabbar.hxx b/accessibility/inc/accessibility/extended/accessibletabbar.hxx
index 2f0019369ad7..d52618795ffb 100644
--- a/accessibility/inc/accessibility/extended/accessibletabbar.hxx
+++ b/accessibility/inc/accessibility/extended/accessibletabbar.hxx
@@ -64,7 +64,7 @@ namespace accessibility
public:
AccessibleTabBar( TabBar* pTabBar );
- ~AccessibleTabBar();
+ virtual ~AccessibleTabBar();
// XInterface
DECLARE_XINTERFACE()
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx
index 6889fb54b3d7..438dd7167b32 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx
@@ -53,7 +53,7 @@ protected:
public:
VCLXAccessibleStatusBar( VCLXWindow* pVCLXWindow );
- ~VCLXAccessibleStatusBar();
+ virtual ~VCLXAccessibleStatusBar();
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx
index 1ebbdf1f485e..c5e9444c3451 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx
@@ -62,7 +62,7 @@ protected:
public:
VCLXAccessibleTabControl( VCLXWindow* pVCLXWindow );
- ~VCLXAccessibleTabControl();
+ virtual ~VCLXAccessibleTabControl();
// XInterface
DECLARE_XINTERFACE()
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx
index 26644b33c2fd..d7d92fa207d2 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx
@@ -47,7 +47,7 @@ protected:
public:
VCLXAccessibleTabPageWindow( VCLXWindow* pVCLXWindow );
- ~VCLXAccessibleTabPageWindow();
+ virtual ~VCLXAccessibleTabPageWindow();
// XAccessibleContext
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx
index f43b0d348fef..c2059ca39fb0 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx
@@ -52,7 +52,7 @@ protected:
public:
VCLXAccessibleTextComponent( VCLXWindow* pVCLXWindow );
- ~VCLXAccessibleTextComponent();
+ virtual ~VCLXAccessibleTextComponent();
// XInterface
DECLARE_XINTERFACE()