summaryrefslogtreecommitdiff
path: root/extensions/source/update
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 /extensions/source/update
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 'extensions/source/update')
-rw-r--r--extensions/source/update/check/updatecheck.cxx4
-rw-r--r--extensions/source/update/ui/updatecheckui.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index d16e92b54ff2..e42ccfa05ed1 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -328,7 +328,7 @@ public:
virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
protected:
- ~DownloadThread();
+ virtual ~DownloadThread();
private:
osl::Condition& m_aCondition;
@@ -347,7 +347,7 @@ public:
virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
protected:
- ~ShutdownThread();
+ virtual ~ShutdownThread();
private:
osl::Condition m_aCondition;
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index e4d13a7ad805..eb19f8366873 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -105,7 +105,7 @@ private:
public:
BubbleWindow( Window* pParent, const OUString& rTitle,
const OUString& rText, const Image& rImage );
- ~BubbleWindow();
+ virtual ~BubbleWindow();
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;