summaryrefslogtreecommitdiff
path: root/include/sfx2/dinfdlg.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/sfx2/dinfdlg.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/sfx2/dinfdlg.hxx')
-rw-r--r--include/sfx2/dinfdlg.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index a0f65b7825ff..aab6bda0e1e3 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -329,7 +329,7 @@ protected:
virtual void RequestHelp(const HelpEvent& rEvt) SAL_OVERRIDE;
public:
CustomPropertiesDurationField( Window* pParent, const ResId& rResId, CustomPropertyLine* pLine );
- ~CustomPropertiesDurationField();
+ virtual ~CustomPropertiesDurationField();
void SetDuration( const com::sun::star::util::Duration& rDuration );
const com::sun::star::util::Duration& GetDuration() const { return m_aDuration; }
@@ -341,7 +341,7 @@ class CustomPropertiesEditButton : public PushButton
public:
CustomPropertiesEditButton( Window* pParent, const ResId& rResId, CustomPropertyLine* pLine );
- ~CustomPropertiesEditButton();
+ virtual ~CustomPropertiesEditButton();
DECL_LINK(ClickHdl, void *);
};
@@ -444,7 +444,7 @@ public:
const OUString &rHeaderAccName,
const OUString &rHeaderAccType,
const OUString &rHeaderAccValue);
- ~CustomPropertiesWindow();
+ virtual ~CustomPropertiesWindow();
void InitControls( HeaderBar* pHeaderBar, const ScrollBar* pScrollBar );
sal_uInt16 GetVisibleLineCount() const;
@@ -479,7 +479,7 @@ private:
public:
CustomPropertiesControl(Window* pParent);
- ~CustomPropertiesControl();
+ virtual ~CustomPropertiesControl();
void AddLine( const OUString& sName, com::sun::star::uno::Any& rAny, bool bInteractive );
@@ -556,7 +556,7 @@ struct CmisPropertyLine : public VclBuilderContainer
sal_Int32 m_nNumValue;
long getItemHeight() const;
CmisPropertyLine( Window* pParent );
- ~CmisPropertyLine();
+ virtual ~CmisPropertyLine();
};
// class CmisPropertiesWindow ------------------------------------------