summaryrefslogtreecommitdiff
path: root/include/svx/linectrl.hxx
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 /include/svx/linectrl.hxx
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 'include/svx/linectrl.hxx')
-rw-r--r--include/svx/linectrl.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx
index 114accbba131..1419b653a814 100644
--- a/include/svx/linectrl.hxx
+++ b/include/svx/linectrl.hxx
@@ -48,7 +48,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxLineStyleToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxLineStyleToolBoxControl();
+ virtual ~SvxLineStyleToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -66,7 +66,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxLineWidthToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxLineWidthToolBoxControl();
+ virtual ~SvxLineWidthToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -83,7 +83,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxLineColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxLineColorToolBoxControl();
+ virtual ~SvxLineColorToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -135,7 +135,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
Window* pParentWindow,
const OUString& rWndTitle );
- ~SvxLineEndWindow();
+ virtual ~SvxLineEndWindow();
void StartSelection();
@@ -153,7 +153,7 @@ class SVX_DLLPUBLIC SvxLineEndToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
SvxLineEndToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxLineEndToolBoxControl();
+ virtual ~SvxLineEndToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;