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 | |
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')
37 files changed, 78 insertions, 78 deletions
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx index 54d1925bf539..25c7db6ad4c8 100644 --- a/lotuswordpro/source/filter/bento.hxx +++ b/lotuswordpro/source/filter/bento.hxx @@ -179,7 +179,7 @@ class LtcUtBenValueStream : public SvStream { public: LtcUtBenValueStream(pCBenValue pValue); - ~LtcUtBenValueStream(); + virtual ~LtcUtBenValueStream(); public: // Overridden methods diff --git a/lotuswordpro/source/filter/lwpdivinfo.hxx b/lotuswordpro/source/filter/lwpdivinfo.hxx index 9a24f3fbdb37..2b30caa50718 100644 --- a/lotuswordpro/source/filter/lwpdivinfo.hxx +++ b/lotuswordpro/source/filter/lwpdivinfo.hxx @@ -78,7 +78,7 @@ class LwpDivInfo : public LwpObject { public: LwpDivInfo(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpDivInfo(); + virtual ~LwpDivInfo(); LwpObjectID* GetInitialLayoutID(){ return &m_InitialLayoutID;} LwpObjectID* GetFillerPageTextID(){ return &m_FillerPageTextID;} // add by ,03/14/2004 diff --git a/lotuswordpro/source/filter/lwpdivopts.hxx b/lotuswordpro/source/filter/lwpdivopts.hxx index 314e4451e232..c381126a3b48 100644 --- a/lotuswordpro/source/filter/lwpdivopts.hxx +++ b/lotuswordpro/source/filter/lwpdivopts.hxx @@ -108,7 +108,7 @@ class LwpDivisionOptions : public LwpObject { public: LwpDivisionOptions(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpDivisionOptions(); + virtual ~LwpDivisionOptions(); protected: void Read() SAL_OVERRIDE; private: diff --git a/lotuswordpro/source/filter/lwpdoc.hxx b/lotuswordpro/source/filter/lwpdoc.hxx index 9308e54060df..1f6f7140c44d 100644 --- a/lotuswordpro/source/filter/lwpdoc.hxx +++ b/lotuswordpro/source/filter/lwpdoc.hxx @@ -85,7 +85,7 @@ class LwpDocument : public LwpDLNFPVList { public: LwpDocument(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpDocument(); + virtual ~LwpDocument(); private: LwpFoundry* m_pOwnedFoundry; @@ -226,7 +226,7 @@ class LwpDocSock : public LwpDLNFVList { public: LwpDocSock(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpDocSock(){} + virtual ~LwpDocSock(){} private: LwpObjectID m_Doc; protected: diff --git a/lotuswordpro/source/filter/lwpdocdata.hxx b/lotuswordpro/source/filter/lwpdocdata.hxx index 955be99181e6..99eaf556f83b 100644 --- a/lotuswordpro/source/filter/lwpdocdata.hxx +++ b/lotuswordpro/source/filter/lwpdocdata.hxx @@ -164,7 +164,7 @@ class LwpDocData : public LwpObject { public: LwpDocData(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpDocData(); + virtual ~LwpDocData(); private: LwpDocOptions m_DocOptions; LwpDocInfo m_DocInfo; diff --git a/lotuswordpro/source/filter/lwpfilter.hxx b/lotuswordpro/source/filter/lwpfilter.hxx index 1574e9892e7b..06b73574dd99 100644 --- a/lotuswordpro/source/filter/lwpfilter.hxx +++ b/lotuswordpro/source/filter/lwpfilter.hxx @@ -95,7 +95,7 @@ class LWPFilterReader : public WeakImplHelper1< XFilter > { public: LWPFilterReader(); - ~LWPFilterReader(); + virtual ~LWPFilterReader(); public: /** @@ -132,7 +132,7 @@ class LWPFilterImportFilter : public WeakImplHelper4< XFilter, XImporter, XServi { public: LWPFilterImportFilter( const uno::Reference< XMultiServiceFactory >& xFact ); - ~LWPFilterImportFilter(); + virtual ~LWPFilterImportFilter(); public: /** 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; diff --git a/lotuswordpro/source/filter/lwpframelayout.hxx b/lotuswordpro/source/filter/lwpframelayout.hxx index 9ab7e03f080d..718a9b6e2bbe 100644 --- a/lotuswordpro/source/filter/lwpframelayout.hxx +++ b/lotuswordpro/source/filter/lwpframelayout.hxx @@ -177,7 +177,7 @@ class LwpGroupFrame: public LwpContent { public: LwpGroupFrame(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpGroupFrame(); + virtual ~LwpGroupFrame(); virtual void RegisterStyle() SAL_OVERRIDE; virtual void XFConvert(XFContentContainer* pCont) SAL_OVERRIDE; protected: diff --git a/lotuswordpro/source/filter/lwpfribbreaks.hxx b/lotuswordpro/source/filter/lwpfribbreaks.hxx index 60892eae8e26..bc6eace89e42 100644 --- a/lotuswordpro/source/filter/lwpfribbreaks.hxx +++ b/lotuswordpro/source/filter/lwpfribbreaks.hxx @@ -73,7 +73,7 @@ class LwpFribPageBreak: public LwpFrib { public: LwpFribPageBreak( LwpPara* pPara ); - ~LwpFribPageBreak(); + virtual ~LwpFribPageBreak(); void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void RegisterBreakStyle(LwpPara* pPara); void ParseLayout(); @@ -91,14 +91,14 @@ class LwpFribLineBreak: public LwpFrib { public: LwpFribLineBreak( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribLineBreak(){} + virtual ~LwpFribLineBreak(){} }; class LwpFribColumnBreak: public LwpFrib { public: LwpFribColumnBreak( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribColumnBreak(){} + virtual ~LwpFribColumnBreak(){} void RegisterBreakStyle(LwpPara* pPara); }; diff --git a/lotuswordpro/source/filter/lwpfribframe.hxx b/lotuswordpro/source/filter/lwpfribframe.hxx index f87b56eff16d..eadf142019c4 100644 --- a/lotuswordpro/source/filter/lwpfribframe.hxx +++ b/lotuswordpro/source/filter/lwpfribframe.hxx @@ -72,7 +72,7 @@ class LwpFribFrame : public LwpFrib { public: LwpFribFrame( LwpPara* pPara) : LwpFrib(pPara){} - ~LwpFribFrame(){} + virtual ~LwpFribFrame(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpObject* GetLayout(); void RegisterStyle(LwpFoundry* pFoundry) SAL_OVERRIDE; @@ -86,7 +86,7 @@ class LwpFribRubyFrame : public LwpFrib { public: LwpFribRubyFrame( LwpPara* pPara) : LwpFrib(pPara){} - ~LwpFribRubyFrame(){} + virtual ~LwpFribRubyFrame(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpRubyLayout* GetLayout(); void RegisterStyle(LwpFoundry* pFoundry) SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwpfribmark.hxx b/lotuswordpro/source/filter/lwpfribmark.hxx index 05dc66080724..ccef73cfc19d 100644 --- a/lotuswordpro/source/filter/lwpfribmark.hxx +++ b/lotuswordpro/source/filter/lwpfribmark.hxx @@ -78,7 +78,7 @@ public: : LwpFrib(pPara) , m_nType(0) {} - ~LwpFribCHBlock(){} + virtual ~LwpFribCHBlock(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpCHBlkMarker* GetMarker(); sal_uInt8 GetType(){return m_nType;} @@ -93,7 +93,7 @@ class LwpFribBookMark : public LwpFrib { public: LwpFribBookMark( LwpPara* pPara ); - ~LwpFribBookMark(){} + virtual ~LwpFribBookMark(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpObjectID GetMarkerID(){return m_objMarker;} sal_uInt8 GetType(){return m_nType;} @@ -111,7 +111,7 @@ class LwpFribField : public LwpFrib { public: LwpFribField( LwpPara* pPara ); - ~LwpFribField(){} + virtual ~LwpFribField(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpFieldMark* GetMarker(); sal_uInt8 GetType(){return m_nType;} @@ -152,7 +152,7 @@ class LwpFribRubyMarker : public LwpFrib { public: LwpFribRubyMarker( LwpPara* pPara ); - ~LwpFribRubyMarker(){} + virtual ~LwpFribRubyMarker(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpRubyMarker* GetMarker(); sal_uInt8 GetType(){return m_nType;} diff --git a/lotuswordpro/source/filter/lwpfribsection.hxx b/lotuswordpro/source/filter/lwpfribsection.hxx index 4138e0cb22c5..d4eb4a7349a9 100644 --- a/lotuswordpro/source/filter/lwpfribsection.hxx +++ b/lotuswordpro/source/filter/lwpfribsection.hxx @@ -112,7 +112,7 @@ class LwpFribSection: public LwpFrib { public: LwpFribSection(LwpPara* pPara ); - ~LwpFribSection(); + virtual ~LwpFribSection(); void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpSection * GetSection(); void RegisterSectionStyle(); diff --git a/lotuswordpro/source/filter/lwpfribtable.hxx b/lotuswordpro/source/filter/lwpfribtable.hxx index 16a5d95a575a..97d38ac5ac80 100644 --- a/lotuswordpro/source/filter/lwpfribtable.hxx +++ b/lotuswordpro/source/filter/lwpfribtable.hxx @@ -63,7 +63,7 @@ class LwpFribTable : public LwpFrib { public: LwpFribTable( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribTable(){} + virtual ~LwpFribTable(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpSuperTableLayout* GetSuperTable(); void RegisterNewStyle(); 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: diff --git a/lotuswordpro/source/filter/lwpgrfobj.hxx b/lotuswordpro/source/filter/lwpgrfobj.hxx index be9983e0938f..f36653c2f1da 100644 --- a/lotuswordpro/source/filter/lwpgrfobj.hxx +++ b/lotuswordpro/source/filter/lwpgrfobj.hxx @@ -92,7 +92,7 @@ class LwpGraphicObject : public LwpGraphicOleObject { public: LwpGraphicObject(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpGraphicObject(); + virtual ~LwpGraphicObject(); private: unsigned char m_sDataFormat[AFID_MAX_FILE_FORMAT_SIZE]; unsigned char m_sServerContextFormat[AFID_MAX_CONTEXT_FORMAT_SIZE]; diff --git a/lotuswordpro/source/filter/lwpholder.hxx b/lotuswordpro/source/filter/lwpholder.hxx index 714f1b75c2e8..46f10b166ffe 100644 --- a/lotuswordpro/source/filter/lwpholder.hxx +++ b/lotuswordpro/source/filter/lwpholder.hxx @@ -75,7 +75,7 @@ class LwpDLVListHeadHolder : public LwpObject { public: LwpDLVListHeadHolder(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpDLVListHeadHolder(){} + virtual ~LwpDLVListHeadHolder(){} void Read() SAL_OVERRIDE; LwpObjectID* GetHeadID() { return &m_DLVHead;} private: @@ -89,7 +89,7 @@ class LwpDLVListHeadTailHolder : public LwpObject { public: LwpDLVListHeadTailHolder(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpDLVListHeadTailHolder(){} + virtual ~LwpDLVListHeadTailHolder(){} void Read() SAL_OVERRIDE; LwpObjectID* GetHead(){ return m_HeadTail.GetHead();} LwpObjectID* GetTail(){ return m_HeadTail.GetTail();} @@ -104,7 +104,7 @@ class LwpObjectHolder : public LwpDLVList { public: LwpObjectHolder(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpObjectHolder(){} + virtual ~LwpObjectHolder(){} void Read() SAL_OVERRIDE; LwpObjectID* GetObject(){return &m_Object;} protected: @@ -119,7 +119,7 @@ class LwpListList : public LwpObjectHolder { public: LwpListList(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpListList(){} + virtual ~LwpListList(){} void Read() SAL_OVERRIDE; LwpObjectID* GetHead(){ return m_HeadTail.GetHead();} LwpObjectID* GetTail(){ return m_HeadTail.GetTail();} diff --git a/lotuswordpro/source/filter/lwpmarker.hxx b/lotuswordpro/source/filter/lwpmarker.hxx index b61c75f6d9be..64bb2e475cd5 100644 --- a/lotuswordpro/source/filter/lwpmarker.hxx +++ b/lotuswordpro/source/filter/lwpmarker.hxx @@ -75,7 +75,7 @@ class LwpMarker : public LwpDLNFPVList { public: LwpMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpMarker(){} + virtual ~LwpMarker(){} void Read() SAL_OVERRIDE; OUString GetNamedProperty(const OUString& name); protected: @@ -108,7 +108,7 @@ class LwpStoryMarker : public LwpMarker { public: LwpStoryMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpStoryMarker(){} + virtual ~LwpStoryMarker(){} void Read() SAL_OVERRIDE; private: LwpFribRange m_Range; @@ -119,7 +119,7 @@ class LwpCHBlkMarker : public LwpStoryMarker { public: LwpCHBlkMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpCHBlkMarker(){} + virtual ~LwpCHBlkMarker(){} void Read() SAL_OVERRIDE; sal_uInt16 GetAction(){return m_nAction;} void ConvertCHBlock(XFContentContainer* pXFPara,sal_uInt8 nType); @@ -177,7 +177,7 @@ class LwpBookMark : public LwpDLNFVList { public: LwpBookMark(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpBookMark(){} + virtual ~LwpBookMark(){} protected: void Read() SAL_OVERRIDE; public: @@ -195,7 +195,7 @@ class LwpFieldMark : public LwpStoryMarker { public: LwpFieldMark(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpFieldMark(){} + virtual ~LwpFieldMark(){} void Read() SAL_OVERRIDE; void ParseIndex(OUString& sKey1,OUString& sKey2); void ParseTOC(OUString& sLevel,OUString& sText); @@ -259,7 +259,7 @@ class LwpRubyMarker : public LwpStoryMarker { public: LwpRubyMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpRubyMarker(){} + virtual ~LwpRubyMarker(){} void Read() SAL_OVERRIDE; OUString GetRubyText(){return m_strRubyText;} void SetRubyText(const OUString& sText){m_strRubyText = sText;} diff --git a/lotuswordpro/source/filter/lwpnotes.hxx b/lotuswordpro/source/filter/lwpnotes.hxx index 16e59c6c63de..da9760b3480f 100644 --- a/lotuswordpro/source/filter/lwpnotes.hxx +++ b/lotuswordpro/source/filter/lwpnotes.hxx @@ -75,7 +75,7 @@ class LwpFribNote: public LwpFrib { public: LwpFribNote(LwpPara* pPara ); - ~LwpFribNote(){} + virtual ~LwpFribNote(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void RegisterNewStyle(); void XFConvert(XFContentContainer* pCont); diff --git a/lotuswordpro/source/filter/lwpnumericfmt.hxx b/lotuswordpro/source/filter/lwpnumericfmt.hxx index ae7bb1ba7426..e0f3fa885cb2 100644 --- a/lotuswordpro/source/filter/lwpnumericfmt.hxx +++ b/lotuswordpro/source/filter/lwpnumericfmt.hxx @@ -309,7 +309,7 @@ class LwpLayoutNumerics : public LwpVirtualPiece public: LwpLayoutNumerics(LwpObjectHeader& objHdr, LwpSvStream* pStrm) :LwpVirtualPiece(objHdr, pStrm),cNumerics(m_pObjStrm){} - ~LwpLayoutNumerics(){} + virtual ~LwpLayoutNumerics(){} XFStyle* Convert(); virtual void Read() SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwpoleobject.hxx b/lotuswordpro/source/filter/lwpoleobject.hxx index 46b764d5e2dd..1ab69c112065 100644 --- a/lotuswordpro/source/filter/lwpoleobject.hxx +++ b/lotuswordpro/source/filter/lwpoleobject.hxx @@ -112,7 +112,7 @@ class LwpOleObject : public LwpGraphicOleObject { public: LwpOleObject(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpOleObject(){} + virtual ~LwpOleObject(){} virtual void Read() SAL_OVERRIDE; virtual void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; virtual void XFConvert(XFContentContainer * pCont) SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwppagehint.hxx b/lotuswordpro/source/filter/lwppagehint.hxx index 12ecc73c8634..8da11704639f 100644 --- a/lotuswordpro/source/filter/lwppagehint.hxx +++ b/lotuswordpro/source/filter/lwppagehint.hxx @@ -100,7 +100,7 @@ class LwpPageHint : public LwpDLVList { public: LwpPageHint(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpPageHint(){} + virtual ~LwpPageHint(){} void Read() SAL_OVERRIDE; void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; sal_uInt16 GetPageNumber(){return m_nPageNumber;} diff --git a/lotuswordpro/source/filter/lwppagelayout.hxx b/lotuswordpro/source/filter/lwppagelayout.hxx index bb385e63f10a..c9711efb7baa 100644 --- a/lotuswordpro/source/filter/lwppagelayout.hxx +++ b/lotuswordpro/source/filter/lwppagelayout.hxx @@ -119,7 +119,7 @@ class LwpHeaderLayout: public LwpPlacableLayout { public: LwpHeaderLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpHeaderLayout(); + virtual ~LwpHeaderLayout(); virtual LWP_LAYOUT_TYPE GetLayoutType () SAL_OVERRIDE { return LWP_HEADER_LAYOUT;} using LwpPlacableLayout::RegisterStyle; void RegisterStyle( XFPageMaster* pm1 ); @@ -145,7 +145,7 @@ class LwpFooterLayout: public LwpPlacableLayout { public: LwpFooterLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFooterLayout(); + virtual ~LwpFooterLayout(); virtual LWP_LAYOUT_TYPE GetLayoutType () SAL_OVERRIDE { return LWP_FOOTER_LAYOUT;} using LwpPlacableLayout::RegisterStyle; void RegisterStyle(XFPageMaster* pm1); diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx index 5fb164c12943..1c9a76773091 100644 --- a/lotuswordpro/source/filter/lwppara.hxx +++ b/lotuswordpro/source/filter/lwppara.hxx @@ -148,7 +148,7 @@ class LwpPara : public LwpDLVList { public: LwpPara(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpPara(); + virtual ~LwpPara(); public: void Read() SAL_OVERRIDE; void RegisterStyle() SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwpparaproperty.hxx b/lotuswordpro/source/filter/lwpparaproperty.hxx index 5624aeb723f3..f9cf39a10f84 100644 --- a/lotuswordpro/source/filter/lwpparaproperty.hxx +++ b/lotuswordpro/source/filter/lwpparaproperty.hxx @@ -248,7 +248,7 @@ class LwpParaTabRackProperty : public LwpParaProperty { public: LwpParaTabRackProperty(LwpObjectStream* pStrm); - ~LwpParaTabRackProperty(void); + virtual ~LwpParaTabRackProperty(void); sal_uInt32 GetType() SAL_OVERRIDE { return PP_LOCAL_TABRACK; } inline LwpTabOverride* GetTab(); diff --git a/lotuswordpro/source/filter/lwpproplist.hxx b/lotuswordpro/source/filter/lwpproplist.hxx index 65aca5d99eaf..1fd71bc09d82 100644 --- a/lotuswordpro/source/filter/lwpproplist.hxx +++ b/lotuswordpro/source/filter/lwpproplist.hxx @@ -73,7 +73,7 @@ class LwpPropListElement : public LwpDLVList { public: LwpPropListElement(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpPropListElement(){} + virtual ~LwpPropListElement(){} void Read() SAL_OVERRIDE; sal_Bool IsNamed(const OUString& name); LwpPropListElement* GetNext(); diff --git a/lotuswordpro/source/filter/lwpsection.hxx b/lotuswordpro/source/filter/lwpsection.hxx index e7ac646fada4..ac06cae21e7a 100644 --- a/lotuswordpro/source/filter/lwpsection.hxx +++ b/lotuswordpro/source/filter/lwpsection.hxx @@ -94,7 +94,7 @@ class LwpSection : public LwpOrderedObject { public: LwpSection(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpSection(); + virtual ~LwpSection(); inline sal_uInt16 GetFlags(); inline LwpPageLayout* GetPageLayout(); inline LwpColor* GetColor(); @@ -152,7 +152,7 @@ class LwpIndexSection : public LwpSection { public: LwpIndexSection(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpIndexSection(); + virtual ~LwpIndexSection(); sal_Bool IsFormatRunin(); sal_Bool IsFormatSeparator(); protected: diff --git a/lotuswordpro/source/filter/lwptable.hxx b/lotuswordpro/source/filter/lwptable.hxx index 6fb2dce860b2..96b3974a795a 100644 --- a/lotuswordpro/source/filter/lwptable.hxx +++ b/lotuswordpro/source/filter/lwptable.hxx @@ -170,7 +170,7 @@ class LwpParallelColumns : public LwpTable { public: LwpParallelColumns(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpParallelColumns(); + virtual ~LwpParallelColumns(); protected: void Read() SAL_OVERRIDE; LwpObjectID cDefaultLeftColumnStyle; @@ -181,7 +181,7 @@ class LwpGlossary : public LwpParallelColumns { public: LwpGlossary(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpGlossary(); + virtual ~LwpGlossary(); protected: void Read() SAL_OVERRIDE; sal_uInt16 GetNumIndexRows(void); diff --git a/lotuswordpro/source/filter/lwptblcell.hxx b/lotuswordpro/source/filter/lwptblcell.hxx index 83e811a6e83e..bf1a06920f8a 100644 --- a/lotuswordpro/source/filter/lwptblcell.hxx +++ b/lotuswordpro/source/filter/lwptblcell.hxx @@ -107,7 +107,7 @@ class LwpRowList : public LwpDLVList { public: LwpRowList(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpRowList(); + virtual ~LwpRowList(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; LwpObjectID GetChildHeadID(){return *cChild.GetHead();} @@ -127,7 +127,7 @@ class LwpNumericValue : public LwpObject { public: LwpNumericValue(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpNumericValue(); + virtual ~LwpNumericValue(); double GetValue(){return cNumber;} void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; @@ -145,7 +145,7 @@ class LwpTableRange: public LwpDLVList { public: LwpTableRange(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpTableRange(); + virtual ~LwpTableRange(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; LwpObjectID GetCellRangeID(){return cpCellRange;} @@ -164,7 +164,7 @@ class LwpCellRange: public LwpObject { public: LwpCellRange(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpCellRange(); + virtual ~LwpCellRange(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; LwpObjectID GetFolderID(){return cpFolder;} @@ -180,7 +180,7 @@ class LwpFolder: public LwpDLVList { public: LwpFolder(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFolder(); + virtual ~LwpFolder(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; LwpObjectID GetChildHeadID(){ return *cChild.GetHead();} @@ -198,7 +198,7 @@ class LwpDependent: public LwpDLVList { public: LwpDependent(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpDependent(); + virtual ~LwpDependent(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; protected: diff --git a/lotuswordpro/source/filter/lwptblformula.hxx b/lotuswordpro/source/filter/lwptblformula.hxx index d10b3f50a23f..0a5060e3f7a5 100644 --- a/lotuswordpro/source/filter/lwptblformula.hxx +++ b/lotuswordpro/source/filter/lwptblformula.hxx @@ -200,7 +200,7 @@ class LwpFormulaInfo : public LwpCellList { public: LwpFormulaInfo(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFormulaInfo(); + virtual ~LwpFormulaInfo(); sal_Bool IsFormula() SAL_OVERRIDE {return sal_True;} void SetRow(sal_uInt16 nRow){ m_nFormulaRow = nRow;} OUString Convert(LwpTableLayout* pCellsMap); diff --git a/lotuswordpro/source/filter/lwptoc.hxx b/lotuswordpro/source/filter/lwptoc.hxx index 73186eecc836..a06c20e5c309 100644 --- a/lotuswordpro/source/filter/lwptoc.hxx +++ b/lotuswordpro/source/filter/lwptoc.hxx @@ -150,7 +150,7 @@ public: USENUMBER = 0x02 }; LwpTocLevelData(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpTocLevelData(); + virtual ~LwpTocLevelData(); void RegisterStyle() SAL_OVERRIDE; virtual void XFConvert(XFContentContainer* pCont) SAL_OVERRIDE; inline sal_uInt16 GetLevel(void){return m_nLevel;} diff --git a/lotuswordpro/source/filter/lwpverdocument.hxx b/lotuswordpro/source/filter/lwpverdocument.hxx index e392d193f33f..0a47b1134235 100644 --- a/lotuswordpro/source/filter/lwpverdocument.hxx +++ b/lotuswordpro/source/filter/lwpverdocument.hxx @@ -75,7 +75,7 @@ class LwpVerDocument : public LwpObject { public: LwpVerDocument(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpVerDocument(){} + virtual ~LwpVerDocument(){} void Read() SAL_OVERRIDE; virtual void RegisterStyle() SAL_OVERRIDE; private: diff --git a/lotuswordpro/source/filter/lwpvpointer.hxx b/lotuswordpro/source/filter/lwpvpointer.hxx index 23aaf6097227..de7d02689cb2 100644 --- a/lotuswordpro/source/filter/lwpvpointer.hxx +++ b/lotuswordpro/source/filter/lwpvpointer.hxx @@ -72,7 +72,7 @@ class LwpVersionedPointer : public LwpObject { public: LwpVersionedPointer(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpVersionedPointer(){} + virtual ~LwpVersionedPointer(){} void Read() SAL_OVERRIDE; void RegisterStyle() SAL_OVERRIDE; void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/utlist.hxx b/lotuswordpro/source/filter/utlist.hxx index c2a28656e1a7..26e3a89f86cb 100644 --- a/lotuswordpro/source/filter/utlist.hxx +++ b/lotuswordpro/source/filter/utlist.hxx @@ -134,7 +134,7 @@ private: // Data class CUtOwningList : public CUtList { public: // Methods - ~CUtOwningList(); + virtual ~CUtOwningList(); }; }//end namespace OpenStormBento #endif diff --git a/lotuswordpro/source/filter/xfilter/xfchange.hxx b/lotuswordpro/source/filter/xfilter/xfchange.hxx index 1a3cc0a8989d..1ed94a9b53a1 100644 --- a/lotuswordpro/source/filter/xfilter/xfchange.hxx +++ b/lotuswordpro/source/filter/xfilter/xfchange.hxx @@ -74,7 +74,7 @@ class XFChangeList : public XFContentContainer { public: XFChangeList(){} - ~XFChangeList(){} + virtual ~XFChangeList(){} virtual void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; @@ -82,7 +82,7 @@ class XFChangeRegion : public XFContentContainer { public: XFChangeRegion(){} - ~XFChangeRegion(){} + virtual ~XFChangeRegion(){} virtual void ToXml(IXFStream *pStrm) SAL_OVERRIDE; void SetChangeID(const OUString& sID){m_sID=sID;} OUString GetChangeID(){return m_sID;} @@ -96,7 +96,7 @@ class XFChangeInsert : public XFChangeRegion { public: XFChangeInsert(){} - ~XFChangeInsert(){} + virtual ~XFChangeInsert(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; @@ -104,7 +104,7 @@ class XFChangeDelete : public XFChangeRegion { public: XFChangeDelete(){} - ~XFChangeDelete(){} + virtual ~XFChangeDelete(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; @@ -112,7 +112,7 @@ class XFChange : public XFContent { public: XFChange(){} - ~XFChange(){} + virtual ~XFChange(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; void SetChangeID(const OUString& sID){m_sID=sID;} OUString GetChangeID(){return m_sID;} @@ -124,7 +124,7 @@ class XFChangeStart : public XFContent { public: XFChangeStart(){} - ~XFChangeStart(){} + virtual ~XFChangeStart(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; void SetChangeID(const OUString& sID){m_sID=sID;} OUString GetChangeID(){return m_sID;} @@ -136,7 +136,7 @@ class XFChangeEnd : public XFContent { public: XFChangeEnd(){} - ~XFChangeEnd(){} + virtual ~XFChangeEnd(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; void SetChangeID(const OUString& sID){m_sID=sID;} OUString GetChangeID(){return m_sID;} diff --git a/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx b/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx index 95e29f114d38..c467d18ddfd9 100644 --- a/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx +++ b/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx @@ -76,7 +76,7 @@ class XFConfigManager : public XFStyleContainer { public: XFConfigManager(); - ~XFConfigManager(); + virtual ~XFConfigManager(); public: /** diff --git a/lotuswordpro/source/filter/xfilter/xfcrossref.hxx b/lotuswordpro/source/filter/xfilter/xfcrossref.hxx index 697af4c0d74f..684aafaf5b8d 100644 --- a/lotuswordpro/source/filter/xfilter/xfcrossref.hxx +++ b/lotuswordpro/source/filter/xfilter/xfcrossref.hxx @@ -70,7 +70,7 @@ class XFCrossRefStart : public XFContent { public: XFCrossRefStart(); - ~XFCrossRefStart(); + virtual ~XFCrossRefStart(); void SetRefType(sal_uInt8 nType); void SetMarkName(const OUString& sName); void ToXml(IXFStream *pStrm) SAL_OVERRIDE; @@ -99,7 +99,7 @@ class XFCrossRefEnd : public XFContent { public: XFCrossRefEnd(); - ~XFCrossRefEnd(); + virtual ~XFCrossRefEnd(); void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; diff --git a/lotuswordpro/source/filter/xfilter/xfplaceholder.hxx b/lotuswordpro/source/filter/xfilter/xfplaceholder.hxx index ae8592b8b6e9..7a11097840c3 100644 --- a/lotuswordpro/source/filter/xfilter/xfplaceholder.hxx +++ b/lotuswordpro/source/filter/xfilter/xfplaceholder.hxx @@ -70,7 +70,7 @@ class XFHolderStart : public XFContent { public: XFHolderStart(); - ~XFHolderStart(); + virtual ~XFHolderStart(); void SetType(const OUString& sType); void SetDesc(const OUString& sDesc); void SetPrompt(const OUString& sText); @@ -120,7 +120,7 @@ class XFHolderEnd : public XFContent { public: XFHolderEnd(); - ~XFHolderEnd(); + virtual ~XFHolderEnd(); void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; |