summaryrefslogtreecommitdiff
path: root/uui
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 /uui
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 'uui')
-rw-r--r--uui/source/alreadyopen.hxx2
-rw-r--r--uui/source/filechanged.hxx2
-rw-r--r--uui/source/lockfailed.hxx2
-rw-r--r--uui/source/newerverwarn.hxx2
-rw-r--r--uui/source/openlocked.hxx2
-rw-r--r--uui/source/secmacrowarnings.hxx2
-rw-r--r--uui/source/trylater.hxx2
7 files changed, 7 insertions, 7 deletions
diff --git a/uui/source/alreadyopen.hxx b/uui/source/alreadyopen.hxx
index 0dcce44325ff..a4316bb46e19 100644
--- a/uui/source/alreadyopen.hxx
+++ b/uui/source/alreadyopen.hxx
@@ -25,7 +25,7 @@ class AlreadyOpenQueryBox : public MessBox
{
public:
AlreadyOpenQueryBox( Window* pParent, ResMgr* pResMgr, const OUString& aMessage, sal_Bool bIsStoring );
- ~AlreadyOpenQueryBox();
+ virtual ~AlreadyOpenQueryBox();
};
#endif
diff --git a/uui/source/filechanged.hxx b/uui/source/filechanged.hxx
index 5ef234df7cd0..ea7bfb047dd0 100644
--- a/uui/source/filechanged.hxx
+++ b/uui/source/filechanged.hxx
@@ -25,7 +25,7 @@ class FileChangedQueryBox : public MessBox
{
public:
FileChangedQueryBox( Window* pParent, ResMgr* pResMgr );
- ~FileChangedQueryBox();
+ virtual ~FileChangedQueryBox();
};
#endif
diff --git a/uui/source/lockfailed.hxx b/uui/source/lockfailed.hxx
index dedf40905dd5..74ac1235ca52 100644
--- a/uui/source/lockfailed.hxx
+++ b/uui/source/lockfailed.hxx
@@ -25,7 +25,7 @@ class LockFailedQueryBox : public MessBox
{
public:
LockFailedQueryBox( Window* pParent, ResMgr* pResMgr );
- ~LockFailedQueryBox();
+ virtual ~LockFailedQueryBox();
};
#endif
diff --git a/uui/source/newerverwarn.hxx b/uui/source/newerverwarn.hxx
index f724ce056687..27412134e1b0 100644
--- a/uui/source/newerverwarn.hxx
+++ b/uui/source/newerverwarn.hxx
@@ -45,7 +45,7 @@ namespace uui
public:
NewerVersionWarningDialog( Window* pParent, const OUString& rVersion, ResMgr& rResMgr );
- ~NewerVersionWarningDialog();
+ virtual ~NewerVersionWarningDialog();
};
} // namespace uui
diff --git a/uui/source/openlocked.hxx b/uui/source/openlocked.hxx
index d94e896f3a36..bcc0cded855e 100644
--- a/uui/source/openlocked.hxx
+++ b/uui/source/openlocked.hxx
@@ -25,7 +25,7 @@ class OpenLockedQueryBox : public MessBox
{
public:
OpenLockedQueryBox( Window* pParent, ResMgr* pResMgr, const OUString& aMessage );
- ~OpenLockedQueryBox();
+ virtual ~OpenLockedQueryBox();
};
#endif
diff --git a/uui/source/secmacrowarnings.hxx b/uui/source/secmacrowarnings.hxx
index fd3ae8942364..1d2ecca4871a 100644
--- a/uui/source/secmacrowarnings.hxx
+++ b/uui/source/secmacrowarnings.hxx
@@ -73,7 +73,7 @@ private:
public:
MacroWarning( Window* pParent, bool _bShowSignatures, ResMgr& rResMgr );
- ~MacroWarning();
+ virtual ~MacroWarning();
virtual short Execute() SAL_OVERRIDE;
diff --git a/uui/source/trylater.hxx b/uui/source/trylater.hxx
index abaaf2e91d61..de23fc6a25a3 100644
--- a/uui/source/trylater.hxx
+++ b/uui/source/trylater.hxx
@@ -25,7 +25,7 @@ class TryLaterQueryBox : public MessBox
{
public:
TryLaterQueryBox( Window* pParent, ResMgr* pResMgr, const OUString& aMessage );
- ~TryLaterQueryBox();
+ virtual ~TryLaterQueryBox();
};
#endif