diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:18:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:22:54 +0200 |
commit | 362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch) | |
tree | 0b432c049d580dcac6130bca9fb028bab8af8fa8 /lotuswordpro/source/filter/lwpfootnote.hxx | |
parent | b66d87086804460c1986df1b832fd6b2ea075a90 (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/lwpfootnote.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfootnote.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx index cc9e12027d5e..f9c9aea4e6fd 100644 --- a/lotuswordpro/source/filter/lwpfootnote.hxx +++ b/lotuswordpro/source/filter/lwpfootnote.hxx @@ -106,7 +106,7 @@ class LwpFribFootnote: public LwpFrib public: LwpFribFootnote(LwpPara* pPara ); - ~LwpFribFootnote(){} + virtual ~LwpFribFootnote(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void RegisterNewStyle(); void XFConvert(XFContentContainer* pCont); @@ -127,7 +127,7 @@ class LwpFootnote : public LwpOrderedObject { public: LwpFootnote(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFootnote(); + virtual ~LwpFootnote(); void RegisterStyle() SAL_OVERRIDE; void XFConvert(XFContentContainer * pCont) SAL_OVERRIDE; protected: @@ -155,7 +155,7 @@ class LwpFootnoteTable : public LwpTable { public: LwpFootnoteTable(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFootnoteTable(){} + virtual ~LwpFootnoteTable(){} protected: void Read() SAL_OVERRIDE; }; @@ -245,7 +245,7 @@ class LwpFootnoteOptions : public LwpObject { public: LwpFootnoteOptions(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFootnoteOptions(); + virtual ~LwpFootnoteOptions(); void RegisterStyle() SAL_OVERRIDE; protected: void Read() SAL_OVERRIDE; |