summaryrefslogtreecommitdiff
path: root/svtools/source/config
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 /svtools/source/config
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 'svtools/source/config')
-rw-r--r--svtools/source/config/menuoptions.cxx2
-rw-r--r--svtools/source/config/miscopt.cxx2
-rw-r--r--svtools/source/config/optionsdrawinglayer.cxx2
-rw-r--r--svtools/source/config/slidesorterbaropt.cxx2
-rw-r--r--svtools/source/config/toolpanelopt.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx
index 7045e1398c9f..508db5390717 100644
--- a/svtools/source/config/menuoptions.cxx
+++ b/svtools/source/config/menuoptions.cxx
@@ -86,7 +86,7 @@ class SvtMenuOptions_Impl : public ConfigItem
SvtMenuOptions_Impl();
- ~SvtMenuOptions_Impl();
+ virtual ~SvtMenuOptions_Impl();
void AddListenerLink( const Link& rLink );
void RemoveListenerLink( const Link& rLink );
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index 0ef6cf590cc9..6a050d7d2eba 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -94,7 +94,7 @@ class SvtMiscOptions_Impl : public ConfigItem
public:
SvtMiscOptions_Impl();
- ~SvtMiscOptions_Impl();
+ virtual ~SvtMiscOptions_Impl();
/*-****************************************************************************************************
@short called for notify of configmanager
diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx
index 72e698a5bc2f..b977c723a23e 100644
--- a/svtools/source/config/optionsdrawinglayer.cxx
+++ b/svtools/source/config/optionsdrawinglayer.cxx
@@ -168,7 +168,7 @@ public:
SvtOptionsDrawinglayer_Impl();
- ~SvtOptionsDrawinglayer_Impl();
+ virtual ~SvtOptionsDrawinglayer_Impl();
// overloaded methods of baseclass
diff --git a/svtools/source/config/slidesorterbaropt.cxx b/svtools/source/config/slidesorterbaropt.cxx
index 8affb53253fd..eab6a808f678 100644
--- a/svtools/source/config/slidesorterbaropt.cxx
+++ b/svtools/source/config/slidesorterbaropt.cxx
@@ -54,7 +54,7 @@ class SvtSlideSorterBarOptions_Impl : public ConfigItem
public:
SvtSlideSorterBarOptions_Impl();
- ~SvtSlideSorterBarOptions_Impl();
+ virtual ~SvtSlideSorterBarOptions_Impl();
/** called for notify of configmanager
diff --git a/svtools/source/config/toolpanelopt.cxx b/svtools/source/config/toolpanelopt.cxx
index 5dcc1ca004ff..368bb9977338 100644
--- a/svtools/source/config/toolpanelopt.cxx
+++ b/svtools/source/config/toolpanelopt.cxx
@@ -60,7 +60,7 @@ class SvtToolPanelOptions_Impl : public ConfigItem
public:
SvtToolPanelOptions_Impl();
- ~SvtToolPanelOptions_Impl();
+ virtual ~SvtToolPanelOptions_Impl();
/** called for notify of configmanager