summaryrefslogtreecommitdiff
path: root/include/svtools/table
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/svtools/table
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/svtools/table')
-rw-r--r--include/svtools/table/defaultinputhandler.hxx2
-rw-r--r--include/svtools/table/gridtablerenderer.hxx2
-rw-r--r--include/svtools/table/tablecontrol.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/svtools/table/defaultinputhandler.hxx b/include/svtools/table/defaultinputhandler.hxx
index e1079163cf91..24945278a4c0 100644
--- a/include/svtools/table/defaultinputhandler.hxx
+++ b/include/svtools/table/defaultinputhandler.hxx
@@ -42,7 +42,7 @@ namespace svt { namespace table
public:
DefaultInputHandler();
- ~DefaultInputHandler();
+ virtual ~DefaultInputHandler();
virtual bool MouseMove ( ITableControl& _rControl, const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual bool MouseButtonDown ( ITableControl& _rControl, const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/include/svtools/table/gridtablerenderer.hxx b/include/svtools/table/gridtablerenderer.hxx
index 8022c81ec6af..c06f0baadd15 100644
--- a/include/svtools/table/gridtablerenderer.hxx
+++ b/include/svtools/table/gridtablerenderer.hxx
@@ -53,7 +53,7 @@ namespace svt { namespace table
at least as long as the renderer instance lives
*/
GridTableRenderer( ITableModel& _rModel );
- ~GridTableRenderer();
+ virtual ~GridTableRenderer();
/** determines whether or not to paint grid lines
*/
diff --git a/include/svtools/table/tablecontrol.hxx b/include/svtools/table/tablecontrol.hxx
index d8c5bf24c2a9..4d05ee2d8371 100644
--- a/include/svtools/table/tablecontrol.hxx
+++ b/include/svtools/table/tablecontrol.hxx
@@ -66,7 +66,7 @@ namespace svt { namespace table
public:
TableControl( Window* _pParent, WinBits _nStyle );
- ~TableControl();
+ virtual ~TableControl();
/// sets a new table model
void SetModel( PTableModel _pModel );