summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpfribtext.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 /lotuswordpro/source/filter/lwpfribtext.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 'lotuswordpro/source/filter/lwpfribtext.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpfribtext.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/lotuswordpro/source/filter/lwpfribtext.hxx b/lotuswordpro/source/filter/lwpfribtext.hxx
index e9172c51a459..ab7f1a8bc153 100644
--- a/lotuswordpro/source/filter/lwpfribtext.hxx
+++ b/lotuswordpro/source/filter/lwpfribtext.hxx
@@ -70,7 +70,7 @@ class LwpFribText : public LwpFrib
{
public:
LwpFribText( LwpPara* pPara, sal_Bool bNoUnicode=false);
- ~LwpFribText(){}
+ virtual ~LwpFribText(){}
void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE;
void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory);
private:
@@ -84,14 +84,14 @@ class LwpFribHardSpace : public LwpFrib
{
public:
LwpFribHardSpace( LwpPara* pPara ) : LwpFrib(pPara){}
- ~LwpFribHardSpace(){}
+ virtual ~LwpFribHardSpace(){}
};
class LwpFribSoftHyphen : public LwpFrib
{
public:
LwpFribSoftHyphen( LwpPara* pPara ) : LwpFrib(pPara){}
- ~LwpFribSoftHyphen(){}
+ virtual ~LwpFribSoftHyphen(){}
};
//add by , 02/03/2005
@@ -138,7 +138,7 @@ class LwpFribDocVar : public LwpFrib
public:
LwpFribDocVar( LwpPara* pPara );
- ~LwpFribDocVar();
+ virtual ~LwpFribDocVar();
void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE;
@@ -195,14 +195,14 @@ class LwpFribTab : public LwpFrib
{
public:
LwpFribTab( LwpPara* pPara ) : LwpFrib(pPara){}
- ~LwpFribTab(){}
+ virtual ~LwpFribTab(){}
};
class LwpFribUnicode: public LwpFrib
{
public:
LwpFribUnicode( LwpPara* pPara ) : LwpFrib(pPara){}
- ~LwpFribUnicode(){}
+ virtual ~LwpFribUnicode(){}
void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE;
void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory);
private:
@@ -216,7 +216,7 @@ class LwpFribPageNumber : public LwpFrib
public:
LwpFribPageNumber(LwpPara* pPara) : LwpFrib(pPara),
m_nNumStyle(0), m_nStartNum(1), m_nStartOnPage(1), m_nFlag(0){}
- ~LwpFribPageNumber(){}
+ virtual ~LwpFribPageNumber(){}
void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE;
void XFConvert(XFContentContainer* pXFPara);
private: