summaryrefslogtreecommitdiff
path: root/sw
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 /sw
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 'sw')
-rw-r--r--sw/inc/PostItMgr.hxx2
-rw-r--r--sw/inc/SwXMLSectionList.hxx4
-rw-r--r--sw/inc/accmap.hxx2
-rw-r--r--sw/inc/authfld.hxx4
-rw-r--r--sw/inc/ccoll.hxx2
-rw-r--r--sw/inc/cellatr.hxx2
-rw-r--r--sw/inc/dbfld.hxx2
-rw-r--r--sw/inc/ddefld.hxx4
-rw-r--r--sw/inc/doc.hxx2
-rw-r--r--sw/inc/docsh.hxx2
-rw-r--r--sw/inc/docufld.hxx2
-rw-r--r--sw/inc/dpage.hxx2
-rw-r--r--sw/inc/drawdoc.hxx2
-rw-r--r--sw/inc/fmtanchr.hxx2
-rw-r--r--sw/inc/fmtclds.hxx2
-rw-r--r--sw/inc/fmtcntnt.hxx2
-rw-r--r--sw/inc/fmthdft.hxx4
-rw-r--r--sw/inc/fmtline.hxx2
-rw-r--r--sw/inc/fmtpdsc.hxx2
-rw-r--r--sw/inc/fmtrfmrk.hxx2
-rw-r--r--sw/inc/fmtwrapinfluenceonobjpos.hxx2
-rw-r--r--sw/inc/frmfmt.hxx4
-rw-r--r--sw/inc/globdoc.hxx2
-rw-r--r--sw/inc/hints.hxx2
-rw-r--r--sw/inc/modcfg.hxx10
-rw-r--r--sw/inc/ndnotxt.hxx2
-rw-r--r--sw/inc/ndole.hxx2
-rw-r--r--sw/inc/pagedesc.hxx2
-rw-r--r--sw/inc/section.hxx4
-rw-r--r--sw/inc/swddetbl.hxx2
-rw-r--r--sw/inc/swmodule.hxx2
-rw-r--r--sw/inc/unodraw.hxx2
-rw-r--r--sw/inc/unoframe.hxx2
-rw-r--r--sw/inc/unoredline.hxx2
-rw-r--r--sw/inc/unostyle.hxx8
-rw-r--r--sw/inc/unotbl.hxx2
-rw-r--r--sw/inc/unotxdoc.hxx8
-rw-r--r--sw/inc/wdocsh.hxx2
-rw-r--r--sw/qa/core/Test-BigPtrArray.cxx2
-rw-r--r--sw/qa/extras/inc/swmodeltestbase.hxx2
-rw-r--r--sw/source/core/doc/acmplwrd.cxx4
-rw-r--r--sw/source/core/doc/doccomp.cxx2
-rw-r--r--sw/source/core/doc/number.cxx2
-rw-r--r--sw/source/core/docnode/cancellablejob.hxx2
-rw-r--r--sw/source/core/inc/SwUndoFmt.hxx4
-rw-r--r--sw/source/core/inc/SwXMLBlockListContext.hxx12
-rw-r--r--sw/source/core/inc/SwXTextDefaults.hxx2
-rw-r--r--sw/source/core/inc/UndoAttribute.hxx2
-rw-r--r--sw/source/core/inc/acorrect.hxx2
-rw-r--r--sw/source/core/inc/cellfrm.hxx2
-rw-r--r--sw/source/core/inc/colfrm.hxx2
-rw-r--r--sw/source/core/inc/dflyobj.hxx4
-rw-r--r--sw/source/core/inc/frmtool.hxx2
-rw-r--r--sw/source/core/inc/notxtfrm.hxx2
-rw-r--r--sw/source/core/inc/pagefrm.hxx2
-rw-r--r--sw/source/core/inc/rowfrm.hxx2
-rw-r--r--sw/source/core/inc/tabfrm.hxx2
-rw-r--r--sw/source/core/inc/threadmanager.hxx2
-rw-r--r--sw/source/core/inc/unoevent.hxx4
-rw-r--r--sw/source/core/text/itrform2.hxx2
-rw-r--r--sw/source/core/text/porfld.hxx4
-rw-r--r--sw/source/core/text/pormulti.hxx4
-rw-r--r--sw/source/core/txtnode/SwGrammarContact.cxx2
-rw-r--r--sw/source/core/uibase/app/apphdl.cxx2
-rw-r--r--sw/source/core/uibase/dbui/dbmgr.cxx2
-rw-r--r--sw/source/core/uibase/dbui/dbtree.cxx2
-rw-r--r--sw/source/core/uibase/dbui/mailmergechildwindow.cxx2
-rw-r--r--sw/source/core/uibase/dbui/mmconfigitem.cxx2
-rw-r--r--sw/source/core/uibase/docvw/AnnotationMenuButton.hxx2
-rw-r--r--sw/source/core/uibase/docvw/SidebarTxtControl.hxx2
-rw-r--r--sw/source/core/uibase/docvw/romenu.hxx2
-rw-r--r--sw/source/core/uibase/inc/DashedLine.hxx2
-rw-r--r--sw/source/core/uibase/inc/HeaderFooterWin.hxx2
-rw-r--r--sw/source/core/uibase/inc/PageBreakWin.hxx2
-rw-r--r--sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx2
-rw-r--r--sw/source/core/uibase/inc/barcfg.hxx2
-rw-r--r--sw/source/core/uibase/inc/bmpwin.hxx2
-rw-r--r--sw/source/core/uibase/inc/bookctrl.hxx2
-rw-r--r--sw/source/core/uibase/inc/bookmark.hxx2
-rw-r--r--sw/source/core/uibase/inc/break.hxx2
-rw-r--r--sw/source/core/uibase/inc/changedb.hxx2
-rw-r--r--sw/source/core/uibase/inc/chrdlg.hxx4
-rw-r--r--sw/source/core/uibase/inc/colex.hxx2
-rw-r--r--sw/source/core/uibase/inc/content.hxx2
-rw-r--r--sw/source/core/uibase/inc/conttree.hxx2
-rw-r--r--sw/source/core/uibase/inc/convert.hxx2
-rw-r--r--sw/source/core/uibase/inc/cption.hxx2
-rw-r--r--sw/source/core/uibase/inc/docstdlg.hxx2
-rw-r--r--sw/source/core/uibase/inc/drpcps.hxx2
-rw-r--r--sw/source/core/uibase/inc/envimg.hxx2
-rw-r--r--sw/source/core/uibase/inc/envlop.hxx4
-rw-r--r--sw/source/core/uibase/inc/fldedt.hxx2
-rw-r--r--sw/source/core/uibase/inc/fontcfg.hxx2
-rw-r--r--sw/source/core/uibase/inc/formedt.hxx2
-rw-r--r--sw/source/core/uibase/inc/frmdlg.hxx2
-rw-r--r--sw/source/core/uibase/inc/frmpage.hxx8
-rw-r--r--sw/source/core/uibase/inc/glosbib.hxx2
-rw-r--r--sw/source/core/uibase/inc/gloslst.hxx2
-rw-r--r--sw/source/core/uibase/inc/glossary.hxx2
-rw-r--r--sw/source/core/uibase/inc/hyp.hxx2
-rw-r--r--sw/source/core/uibase/inc/inputwin.hxx2
-rw-r--r--sw/source/core/uibase/inc/insfnote.hxx2
-rw-r--r--sw/source/core/uibase/inc/instable.hxx2
-rw-r--r--sw/source/core/uibase/inc/javaedit.hxx2
-rw-r--r--sw/source/core/uibase/inc/label.hxx2
-rw-r--r--sw/source/core/uibase/inc/linenum.hxx2
-rw-r--r--sw/source/core/uibase/inc/mailconfigpage.hxx2
-rw-r--r--sw/source/core/uibase/inc/mailmergechildwindow.hxx2
-rw-r--r--sw/source/core/uibase/inc/mailmergehelper.hxx12
-rw-r--r--sw/source/core/uibase/inc/mailmergewizard.hxx2
-rw-r--r--sw/source/core/uibase/inc/mailmrge.hxx2
-rw-r--r--sw/source/core/uibase/inc/multmrk.hxx2
-rw-r--r--sw/source/core/uibase/inc/navicfg.hxx2
-rw-r--r--sw/source/core/uibase/inc/navipi.hxx2
-rw-r--r--sw/source/core/uibase/inc/num.hxx4
-rw-r--r--sw/source/core/uibase/inc/numberingtypelistbox.hxx2
-rw-r--r--sw/source/core/uibase/inc/numfmtlb.hxx2
-rw-r--r--sw/source/core/uibase/inc/numpara.hxx2
-rw-r--r--sw/source/core/uibase/inc/numprevw.hxx2
-rw-r--r--sw/source/core/uibase/inc/optcomp.hxx2
-rw-r--r--sw/source/core/uibase/inc/optload.hxx2
-rw-r--r--sw/source/core/uibase/inc/optpage.hxx12
-rw-r--r--sw/source/core/uibase/inc/outline.hxx4
-rw-r--r--sw/source/core/uibase/inc/pgfnote.hxx2
-rw-r--r--sw/source/core/uibase/inc/pggrid.hxx2
-rw-r--r--sw/source/core/uibase/inc/popbox.hxx2
-rw-r--r--sw/source/core/uibase/inc/pview.hxx4
-rw-r--r--sw/source/core/uibase/inc/redlndlg.hxx2
-rw-r--r--sw/source/core/uibase/inc/scroll.hxx2
-rw-r--r--sw/source/core/uibase/inc/srcedtw.hxx2
-rw-r--r--sw/source/core/uibase/inc/srcview.hxx2
-rw-r--r--sw/source/core/uibase/inc/srtdlg.hxx2
-rw-r--r--sw/source/core/uibase/inc/swlbox.hxx2
-rw-r--r--sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx2
-rw-r--r--sw/source/core/uibase/inc/swuicnttab.hxx10
-rw-r--r--sw/source/core/uibase/inc/swuipardlg.hxx2
-rw-r--r--sw/source/core/uibase/inc/swvset.hxx2
-rw-r--r--sw/source/core/uibase/inc/syncbtn.hxx2
-rw-r--r--sw/source/core/uibase/inc/tblctrl.hxx2
-rw-r--r--sw/source/core/uibase/inc/tbxanchr.hxx2
-rw-r--r--sw/source/core/uibase/inc/titlepage.hxx2
-rw-r--r--sw/source/core/uibase/inc/tmplctrl.hxx2
-rw-r--r--sw/source/core/uibase/inc/uiborder.hxx2
-rw-r--r--sw/source/core/uibase/inc/uiitems.hxx2
-rw-r--r--sw/source/core/uibase/inc/unoatxt.hxx2
-rw-r--r--sw/source/core/uibase/inc/unodispatch.hxx4
-rw-r--r--sw/source/core/uibase/inc/usrpref.hxx10
-rw-r--r--sw/source/core/uibase/inc/view.hxx2
-rw-r--r--sw/source/core/uibase/inc/viewlayoutctrl.hxx2
-rw-r--r--sw/source/core/uibase/inc/wordcountctrl.hxx2
-rw-r--r--sw/source/core/uibase/inc/wordcountdialog.hxx2
-rw-r--r--sw/source/core/uibase/inc/workctrl.hxx6
-rw-r--r--sw/source/core/uibase/inc/wrap.hxx2
-rw-r--r--sw/source/core/uibase/inc/wview.hxx2
-rw-r--r--sw/source/core/uibase/inc/zoomctrl.hxx2
-rw-r--r--sw/source/core/uibase/ribbar/workctrl.cxx2
-rw-r--r--sw/source/core/uibase/sidebar/PageColumnControl.hxx2
-rw-r--r--sw/source/core/uibase/sidebar/PageMarginControl.hxx2
-rw-r--r--sw/source/core/uibase/sidebar/PageOrientationControl.hxx2
-rw-r--r--sw/source/core/uibase/sidebar/PageSizeControl.hxx2
-rw-r--r--sw/source/core/uibase/table/tablepg.hxx4
-rw-r--r--sw/source/core/uibase/uno/unomailmerge.cxx2
-rw-r--r--sw/source/core/unocore/unofield.cxx2
-rw-r--r--sw/source/core/unocore/unoobj.cxx2
-rw-r--r--sw/source/core/unocore/unoobj2.cxx8
-rw-r--r--sw/source/filter/html/htmlform.cxx2
-rw-r--r--sw/source/filter/inc/fltshell.hxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx4
-rw-r--r--sw/source/filter/ww8/ww8par.cxx2
-rw-r--r--sw/source/filter/ww8/ww8toolbar.hxx34
-rw-r--r--sw/source/filter/xml/xmlimp.hxx2
-rw-r--r--sw/source/filter/xml/xmltbli.cxx2
-rw-r--r--sw/source/filter/xml/xmltexte.hxx2
-rw-r--r--sw/source/filter/xml/xmltexti.hxx2
-rw-r--r--sw/source/ui/chrdlg/drpcps.cxx2
-rw-r--r--sw/source/ui/config/mailconfigpage.cxx2
-rw-r--r--sw/source/ui/dbui/addresslistdialog.hxx2
-rw-r--r--sw/source/ui/dbui/createaddresslistdialog.cxx2
-rw-r--r--sw/source/ui/dbui/createaddresslistdialog.hxx2
-rw-r--r--sw/source/ui/dbui/customizeaddresslistdialog.hxx2
-rw-r--r--sw/source/ui/dbui/dbtablepreviewdialog.hxx2
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx2
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.hxx8
-rw-r--r--sw/source/ui/dbui/mmdocselectpage.hxx2
-rw-r--r--sw/source/ui/dbui/mmgreetingspage.hxx4
-rw-r--r--sw/source/ui/dbui/mmlayoutpage.hxx2
-rw-r--r--sw/source/ui/dbui/mmoutputpage.hxx4
-rw-r--r--sw/source/ui/dbui/selectdbtabledialog.hxx2
-rw-r--r--sw/source/ui/envelp/labfmt.hxx2
-rw-r--r--sw/source/ui/envelp/labprt.hxx2
-rw-r--r--sw/source/ui/envelp/mailmrge.cxx2
-rw-r--r--sw/source/ui/envelp/swuilabimp.hxx2
-rw-r--r--sw/source/ui/fldui/flddb.hxx2
-rw-r--r--sw/source/ui/fldui/flddinf.hxx2
-rw-r--r--sw/source/ui/fldui/flddok.hxx2
-rw-r--r--sw/source/ui/fldui/fldfunc.hxx2
-rw-r--r--sw/source/ui/fldui/fldref.hxx2
-rw-r--r--sw/source/ui/fldui/fldvar.hxx2
-rw-r--r--sw/source/ui/index/cnttab.cxx4
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx2
-rw-r--r--sw/source/ui/misc/impfnote.hxx4
-rw-r--r--sw/source/ui/table/tautofmt.cxx4
-rw-r--r--sw/source/ui/vba/vbaheadersfooters.cxx2
-rw-r--r--sw/source/ui/vba/vbapanes.cxx2
-rw-r--r--sw/source/ui/vba/vbasections.cxx2
205 files changed, 290 insertions, 290 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx
index 907f6b2dc2bf..304321508208 100644
--- a/sw/inc/PostItMgr.hxx
+++ b/sw/inc/PostItMgr.hxx
@@ -187,7 +187,7 @@ class SwPostItMgr: public SfxListener
public:
SwPostItMgr(SwView* aDoc);
- ~SwPostItMgr();
+ virtual ~SwPostItMgr();
typedef std::list< SwSidebarItem* >::const_iterator const_iterator;
const_iterator begin() const { return mvPostItFlds.begin(); }
diff --git a/sw/inc/SwXMLSectionList.hxx b/sw/inc/SwXMLSectionList.hxx
index 63765c6e0ca3..6970dc74791f 100644
--- a/sw/inc/SwXMLSectionList.hxx
+++ b/sw/inc/SwXMLSectionList.hxx
@@ -56,7 +56,7 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
- ~SvXMLSectionListContext ( void );
+ virtual ~SvXMLSectionListContext ( void );
};
class SvXMLIgnoreSectionListContext : public SvXMLImportContext
@@ -73,7 +73,7 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
- ~SvXMLIgnoreSectionListContext ( void );
+ virtual ~SvXMLIgnoreSectionListContext ( void );
};
#endif
diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx
index edfed85948ac..01e42bdb551e 100644
--- a/sw/inc/accmap.hxx
+++ b/sw/inc/accmap.hxx
@@ -132,7 +132,7 @@ class SwAccessibleMap : public ::accessibility::IAccessibleViewForwarder,
public:
SwAccessibleMap( SwViewShell *pSh );
- ~SwAccessibleMap();
+ virtual ~SwAccessibleMap();
::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible> GetDocumentView();
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index 2e3308fd112d..97e29bee214b 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -74,7 +74,7 @@ virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) SAL_OVER
public:
SwAuthorityFieldType(SwDoc* pDoc);
- ~SwAuthorityFieldType();
+ virtual ~SwAuthorityFieldType();
virtual SwFieldType* Copy() const SAL_OVERRIDE;
@@ -155,7 +155,7 @@ public:
SwAuthorityField(SwAuthorityFieldType* pType, const OUString& rFieldContents);
SwAuthorityField(SwAuthorityFieldType* pType, sal_IntPtr nHandle);
- ~SwAuthorityField();
+ virtual ~SwAuthorityField();
OUString GetFieldText(ToxAuthorityField eField) const;
diff --git a/sw/inc/ccoll.hxx b/sw/inc/ccoll.hxx
index 6ef9207bb3d6..8764a4b19849 100644
--- a/sw/inc/ccoll.hxx
+++ b/sw/inc/ccoll.hxx
@@ -54,7 +54,7 @@ class SW_DLLPUBLIC SwCondCollItem : public SfxPoolItem
public:
SwCondCollItem(sal_uInt16 nWhich = FN_COND_COLL);
- ~SwCondCollItem();
+ virtual ~SwCondCollItem();
TYPEINFO_OVERRIDE();
diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx
index fef1f0171f31..2ecbe6c1453e 100644
--- a/sw/inc/cellatr.hxx
+++ b/sw/inc/cellatr.hxx
@@ -57,7 +57,7 @@ class SwTblBoxFormula : public SfxPoolItem, public SwTableFormula
public:
SwTblBoxFormula( const OUString& rFormula );
- ~SwTblBoxFormula() {};
+ virtual ~SwTblBoxFormula() {};
// "pure virtual methods" of SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
diff --git a/sw/inc/dbfld.hxx b/sw/inc/dbfld.hxx
index 6861248b5d9e..ce86081f7205 100644
--- a/sw/inc/dbfld.hxx
+++ b/sw/inc/dbfld.hxx
@@ -41,7 +41,7 @@ class SW_DLLPUBLIC SwDBFieldType : public SwValueFieldType
public:
SwDBFieldType(SwDoc* pDocPtr, const OUString& rColumnName, const SwDBData& rDBData);
- ~SwDBFieldType();
+ virtual ~SwDBFieldType();
virtual OUString GetName() const SAL_OVERRIDE;
virtual SwFieldType* Copy() const SAL_OVERRIDE;
diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx
index 797a2c4bec38..76b8f9647197 100644
--- a/sw/inc/ddefld.hxx
+++ b/sw/inc/ddefld.hxx
@@ -46,7 +46,7 @@ class SW_DLLPUBLIC SwDDEFieldType : public SwFieldType
public:
SwDDEFieldType( const OUString& rName, const OUString& rCmd,
sal_uInt16 = sfx2::LINKUPDATE_ONCALL );
- ~SwDDEFieldType();
+ virtual ~SwDDEFieldType();
OUString GetExpansion() const { return aExpansion; }
void SetExpansion( const OUString& rStr ) { aExpansion = rStr;
@@ -95,7 +95,7 @@ private:
public:
SwDDEField(SwDDEFieldType*);
- ~SwDDEField();
+ virtual ~SwDDEField();
/** Get parameter via types.
Name cannot be changed. */
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 35e4208982ba..aff1ba0a5abe 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -702,7 +702,7 @@ public:
// Life cycle
SwDoc();
- ~SwDoc();
+ virtual ~SwDoc();
bool IsInDtor() const { return mbDtor; }
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 4662938eab93..a3c09abbd8e2 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -159,7 +159,7 @@ public:
SwDocShell( SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED );
SwDocShell( const sal_uInt64 i_nSfxCreationFlags );
SwDocShell( SwDoc *pDoc, SfxObjectCreateMode eMode = SFX_CREATE_MODE_STANDARD );
- ~SwDocShell();
+ virtual ~SwDocShell();
/// OLE 2.0-notification.
DECL_LINK( Ole2ModifiedHdl, void * );
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 27a0c0461626..74c181e08a35 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -530,7 +530,7 @@ public:
const OUString& rInitials,
const OUString& rName,
const DateTime& rDate);
- ~SwPostItField();
+ virtual ~SwPostItField();
virtual OUString Expand() const SAL_OVERRIDE;
virtual SwField* Copy() const SAL_OVERRIDE;
diff --git a/sw/inc/dpage.hxx b/sw/inc/dpage.hxx
index b9774007b01e..d5760b23bebc 100644
--- a/sw/inc/dpage.hxx
+++ b/sw/inc/dpage.hxx
@@ -33,7 +33,7 @@ class SwDPage : public FmFormPage, public SdrObjUserCall
public:
SwDPage(SwDrawDocument& rNewModel, sal_Bool bMasterPage=sal_False);
- ~SwDPage();
+ virtual ~SwDPage();
// #i3694#
// This GetOffset() method is not needed anymore, it even leads to errors.
diff --git a/sw/inc/drawdoc.hxx b/sw/inc/drawdoc.hxx
index 6d255dfe25c3..f06d5b5be386 100644
--- a/sw/inc/drawdoc.hxx
+++ b/sw/inc/drawdoc.hxx
@@ -29,7 +29,7 @@ class SwDrawDocument : public FmFormModel
SwDoc* pDoc;
public:
SwDrawDocument( SwDoc* pDoc );
- ~SwDrawDocument();
+ virtual ~SwDrawDocument();
const SwDoc& GetDoc() const { return *pDoc; }
SwDoc& GetDoc() { return *pDoc; }
diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx
index f410ca22c912..b27210c9b268 100644
--- a/sw/inc/fmtanchr.hxx
+++ b/sw/inc/fmtanchr.hxx
@@ -46,7 +46,7 @@ class SW_DLLPUBLIC SwFmtAnchor: public SfxPoolItem
public:
SwFmtAnchor( RndStdIds eRnd = FLY_AT_PAGE, sal_uInt16 nPageNum = 0 );
SwFmtAnchor( const SwFmtAnchor &rCpy );
- ~SwFmtAnchor();
+ virtual ~SwFmtAnchor();
SwFmtAnchor &operator=( const SwFmtAnchor& );
diff --git a/sw/inc/fmtclds.hxx b/sw/inc/fmtclds.hxx
index 4393f5cb8f78..4c7231248af8 100644
--- a/sw/inc/fmtclds.hxx
+++ b/sw/inc/fmtclds.hxx
@@ -92,7 +92,7 @@ class SW_DLLPUBLIC SwFmtCol : public SfxPoolItem
public:
SwFmtCol();
SwFmtCol( const SwFmtCol& );
- ~SwFmtCol();
+ virtual ~SwFmtCol();
//#i120133#
sal_Int16 GetAdjustValue() const { return aWidthAdjustValue; }
void SetAdjustValue( const sal_Int16& n ) { aWidthAdjustValue = n; }
diff --git a/sw/inc/fmtcntnt.hxx b/sw/inc/fmtcntnt.hxx
index db00d0755bad..7545bfdcbd0f 100644
--- a/sw/inc/fmtcntnt.hxx
+++ b/sw/inc/fmtcntnt.hxx
@@ -36,7 +36,7 @@ class SW_DLLPUBLIC SwFmtCntnt: public SfxPoolItem
public:
SwFmtCntnt( const SwStartNode* pStartNode = 0 );
SwFmtCntnt( const SwFmtCntnt &rCpy );
- ~SwFmtCntnt();
+ virtual ~SwFmtCntnt();
/// "Pure virtual methods" of SfxPoolItem.
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
diff --git a/sw/inc/fmthdft.hxx b/sw/inc/fmthdft.hxx
index b7f887d1dbbd..ce0574650fb4 100644
--- a/sw/inc/fmthdft.hxx
+++ b/sw/inc/fmthdft.hxx
@@ -39,7 +39,7 @@ public:
SwFmtHeader( sal_Bool bOn = sal_False );
SwFmtHeader( SwFrmFmt *pHeaderFmt );
SwFmtHeader( const SwFmtHeader &rCpy );
- ~SwFmtHeader();
+ virtual ~SwFmtHeader();
SwFmtHeader& operator=( const SwFmtHeader &rCpy );
TYPEINFO_OVERRIDE();
@@ -72,7 +72,7 @@ public:
SwFmtFooter( sal_Bool bOn = sal_False );
SwFmtFooter( SwFrmFmt *pFooterFmt );
SwFmtFooter( const SwFmtFooter &rCpy );
- ~SwFmtFooter();
+ virtual ~SwFmtFooter();
SwFmtFooter& operator=( const SwFmtFooter &rCpy );
TYPEINFO_OVERRIDE();
diff --git a/sw/inc/fmtline.hxx b/sw/inc/fmtline.hxx
index c6a4198561a2..6ab4031b5346 100644
--- a/sw/inc/fmtline.hxx
+++ b/sw/inc/fmtline.hxx
@@ -33,7 +33,7 @@ class SW_DLLPUBLIC SwFmtLineNumber: public SfxPoolItem
public:
SwFmtLineNumber();
- ~SwFmtLineNumber();
+ virtual ~SwFmtLineNumber();
TYPEINFO_OVERRIDE();
diff --git a/sw/inc/fmtpdsc.hxx b/sw/inc/fmtpdsc.hxx
index 3aa854538ff8..88924a0478da 100644
--- a/sw/inc/fmtpdsc.hxx
+++ b/sw/inc/fmtpdsc.hxx
@@ -53,7 +53,7 @@ public:
SwFmtPageDesc( const SwPageDesc *pDesc = 0 );
SwFmtPageDesc( const SwFmtPageDesc &rCpy );
SwFmtPageDesc &operator=( const SwFmtPageDesc &rCpy );
- ~SwFmtPageDesc();
+ virtual ~SwFmtPageDesc();
TYPEINFO_OVERRIDE();
diff --git a/sw/inc/fmtrfmrk.hxx b/sw/inc/fmtrfmrk.hxx
index 650585734de8..88e7861008ec 100644
--- a/sw/inc/fmtrfmrk.hxx
+++ b/sw/inc/fmtrfmrk.hxx
@@ -38,7 +38,7 @@ class SwFmtRefMark : public SfxPoolItem
public:
SwFmtRefMark( const OUString& rTxt );
SwFmtRefMark( const SwFmtRefMark& rRefMark );
- ~SwFmtRefMark( );
+ virtual ~SwFmtRefMark( );
/// "Pure virtual methods" of SfxPoolItem.
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
diff --git a/sw/inc/fmtwrapinfluenceonobjpos.hxx b/sw/inc/fmtwrapinfluenceonobjpos.hxx
index 565d2b168b47..454d5172ef6c 100644
--- a/sw/inc/fmtwrapinfluenceonobjpos.hxx
+++ b/sw/inc/fmtwrapinfluenceonobjpos.hxx
@@ -38,7 +38,7 @@ public:
com::sun::star::text::WrapInfluenceOnPosition::ONCE_CONCURRENT );
SwFmtWrapInfluenceOnObjPos(
const SwFmtWrapInfluenceOnObjPos& _rCpy );
- ~SwFmtWrapInfluenceOnObjPos();
+ virtual ~SwFmtWrapInfluenceOnObjPos();
SwFmtWrapInfluenceOnObjPos& operator=(
const SwFmtWrapInfluenceOnObjPos& _rSource );
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx
index 9938de4151a6..acd6a5e90071 100644
--- a/sw/inc/frmfmt.hxx
+++ b/sw/inc/frmfmt.hxx
@@ -167,7 +167,7 @@ protected:
public:
TYPEINFO_OVERRIDE();
- ~SwFlyFrmFmt();
+ virtual ~SwFlyFrmFmt();
/// Creates the views.
virtual void MakeFrms() SAL_OVERRIDE;
@@ -264,7 +264,7 @@ protected:
public:
TYPEINFO_OVERRIDE();
- ~SwDrawFrmFmt();
+ virtual ~SwDrawFrmFmt();
/** DrawObjects are removed from the arrays at the layout.
The DrawObjects are marked as deleted. */
diff --git a/sw/inc/globdoc.hxx b/sw/inc/globdoc.hxx
index fa08d449d5b3..76174e362483 100644
--- a/sw/inc/globdoc.hxx
+++ b/sw/inc/globdoc.hxx
@@ -30,7 +30,7 @@ public:
TYPEINFO_OVERRIDE();
SwGlobalDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED);
- ~SwGlobalDocShell();
+ virtual ~SwGlobalDocShell();
virtual void FillClass( SvGlobalName * pClassName,
sal_uInt32 * pClipFormat,
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx
index 649f11b0728b..af4064a4fa4b 100644
--- a/sw/inc/hints.hxx
+++ b/sw/inc/hints.hxx
@@ -167,7 +167,7 @@ class SwAttrSetChg: public SwMsgPoolItem
public:
SwAttrSetChg( const SwAttrSet& rTheSet, SwAttrSet& rSet );
SwAttrSetChg( const SwAttrSetChg& );
- ~SwAttrSetChg();
+ virtual ~SwAttrSetChg();
/// What has changed
const SwAttrSet* GetChgSet() const { return pChgSet; }
diff --git a/sw/inc/modcfg.hxx b/sw/inc/modcfg.hxx
index 3c81e713905f..09c98bd666e4 100644
--- a/sw/inc/modcfg.hxx
+++ b/sw/inc/modcfg.hxx
@@ -60,7 +60,7 @@ class SwRevisionConfig : public utl::ConfigItem
const com::sun::star::uno::Sequence<OUString>& GetPropertyNames();
public:
SwRevisionConfig();
- ~SwRevisionConfig();
+ virtual ~SwRevisionConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
@@ -80,7 +80,7 @@ class SwCompareConfig : public utl::ConfigItem
const com::sun::star::uno::Sequence<OUString>& GetPropertyNames();
public:
SwCompareConfig();
- ~SwCompareConfig();
+ virtual ~SwCompareConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& ) SAL_OVERRIDE { };
@@ -106,7 +106,7 @@ class SwInsertConfig : public utl::ConfigItem
const com::sun::star::uno::Sequence<OUString>& GetPropertyNames();
public:
SwInsertConfig(sal_Bool bWeb);
- ~SwInsertConfig();
+ virtual ~SwInsertConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
@@ -131,7 +131,7 @@ class SwTableConfig : public utl::ConfigItem
const com::sun::star::uno::Sequence<OUString>& GetPropertyNames();
public:
SwTableConfig(sal_Bool bWeb);
- ~SwTableConfig();
+ virtual ~SwTableConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
@@ -159,7 +159,7 @@ class SwMiscConfig : public utl::ConfigItem
const com::sun::star::uno::Sequence<OUString>& GetPropertyNames();
public:
SwMiscConfig();
- ~SwMiscConfig();
+ virtual ~SwMiscConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx
index 37279c68af5d..752f86a65ab7 100644
--- a/sw/inc/ndnotxt.hxx
+++ b/sw/inc/ndnotxt.hxx
@@ -49,7 +49,7 @@ protected:
SwGrfFmtColl *pGrColl, SwAttrSet* pAutoAttr = 0 );
public:
- ~SwNoTxtNode();
+ virtual ~SwNoTxtNode();
virtual SwCntntFrm *MakeFrm( SwFrm* ) SAL_OVERRIDE;
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx
index f23a205d4473..0747a346bcee 100644
--- a/sw/inc/ndole.hxx
+++ b/sw/inc/ndole.hxx
@@ -98,7 +98,7 @@ class SW_DLLPUBLIC SwOLENode: public SwNoTxtNode
public:
const SwOLEObj& GetOLEObj() const { return aOLEObj; }
SwOLEObj& GetOLEObj() { return aOLEObj; }
- ~SwOLENode();
+ virtual ~SwOLENode();
virtual SwCntntNode *SplitCntntNode( const SwPosition & ) SAL_OVERRIDE;
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx
index e6f2203f8f87..ed8293b96483 100644
--- a/sw/inc/pagedesc.hxx
+++ b/sw/inc/pagedesc.hxx
@@ -247,7 +247,7 @@ public:
SwPageDesc& operator=( const SwPageDesc& );
SwPageDesc( const SwPageDesc& );
- ~SwPageDesc();
+ virtual ~SwPageDesc();
};
inline void SwPageDesc::SetFollow( const SwPageDesc* pNew )
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 9b0e27e34240..21df9cdafbd5 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -265,7 +265,7 @@ class SwSectionFrmMoveAndDeleteHint : public SfxSimpleHint
, mbSaveCntnt( bSaveCntnt )
{}
- ~SwSectionFrmMoveAndDeleteHint()
+ virtual ~SwSectionFrmMoveAndDeleteHint()
{}
sal_Bool IsSaveCntnt() const
@@ -300,7 +300,7 @@ protected:
public:
TYPEINFO_OVERRIDE(); // Already contained in base class client.
- ~SwSectionFmt();
+ virtual ~SwSectionFmt();
// Deletes all Frms in aDepend (Frms are recognized via PTR_CAST).
virtual void DelFrms() SAL_OVERRIDE;
diff --git a/sw/inc/swddetbl.hxx b/sw/inc/swddetbl.hxx
index 7b01d9aad4ad..bc6e18570e76 100644
--- a/sw/inc/swddetbl.hxx
+++ b/sw/inc/swddetbl.hxx
@@ -33,7 +33,7 @@ public:
// After that SwTable is empty and has to be deleted.
SwDDETable( SwTable& rTable, SwDDEFieldType* pDDEType,
sal_Bool bUpdate = sal_True );
- ~SwDDETable();
+ virtual ~SwDDETable();
void ChangeContent();
sal_Bool NoDDETable();
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx
index 2a1bc0486d89..ba4198abb035 100644
--- a/sw/inc/swmodule.hxx
+++ b/sw/inc/swmodule.hxx
@@ -129,7 +129,7 @@ public:
SfxObjectFactory* pWebFact,
SfxObjectFactory* pGlobalFact );
- ~SwModule();
+ virtual ~SwModule();
// Set view for internal use only. It is public only for technical reasons.
inline void SetView(SwView* pVw) { pView = pVw; }
diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx
index da3ddf32cf1a..ed2e0ac500bf 100644
--- a/sw/inc/unodraw.hxx
+++ b/sw/inc/unodraw.hxx
@@ -81,7 +81,7 @@ class SwXDrawPage : public SwXDrawPageBaseClass
SwFmDrawPage* pDrawPage;
public:
SwXDrawPage(SwDoc* pDoc);
- ~SwXDrawPage();
+ virtual ~SwXDrawPage();
//XEnumerationAccess
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL createEnumeration(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx
index 4e3d30b21f02..7f28bd08cd23 100644
--- a/sw/inc/unoframe.hxx
+++ b/sw/inc/unoframe.hxx
@@ -338,7 +338,7 @@ class SwXOLEListener : public cppu::WeakImplHelper1
SwFmt* GetFmt() const { return (SwFmt*)GetRegisteredIn(); }
public:
SwXOLEListener(SwFmt& rOLEFmt, ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xOLE);
- ~SwXOLEListener();
+ virtual ~SwXOLEListener();
TYPEINFO_OVERRIDE();
// ::com::sun::star::lang::XEventListener
diff --git a/sw/inc/unoredline.hxx b/sw/inc/unoredline.hxx
index 55dcdd0676c7..355f17058d43 100644
--- a/sw/inc/unoredline.hxx
+++ b/sw/inc/unoredline.hxx
@@ -73,7 +73,7 @@ class SwXRedline :
SwRangeRedline* pRedline;
public:
SwXRedline(SwRangeRedline& rRedline, SwDoc& rDoc);
- ~SwXRedline();
+ virtual ~SwXRedline();
TYPEINFO_OVERRIDE();
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index bde8eba77cd0..deaf3aec1362 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -114,7 +114,7 @@ class SwXStyleFamily : public cppu::WeakImplHelper4
SwXStyle* _FindStyle(const OUString& rStyleName) const;
public:
SwXStyleFamily(SwDocShell* pDocShell, sal_uInt16 nFamily);
- ~SwXStyleFamily();
+ virtual ~SwXStyleFamily();
//XIndexAccess
virtual sal_Int32 SAL_CALL getCount(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -204,7 +204,7 @@ public:
SwDoc* pDoc,
const OUString& rStyleName);
- ~SwXStyle();
+ virtual ~SwXStyle();
TYPEINFO_OVERRIDE();
@@ -282,7 +282,7 @@ public:
const OUString& rStyleName) :
SwXStyle(rPool, SFX_STYLE_FAMILY_FRAME, pDoc, rStyleName){}
SwXFrameStyle( SwDoc *pDoc );
- ~SwXFrameStyle();
+ virtual ~SwXFrameStyle();
virtual void SAL_CALL acquire( ) throw() SAL_OVERRIDE {SwXStyle::acquire();}
virtual void SAL_CALL release( ) throw() SAL_OVERRIDE {SwXStyle::release();}
@@ -311,7 +311,7 @@ public:
SwXPageStyle(SfxStyleSheetBasePool& rPool, SwDocShell* pDocSh, SfxStyleFamily eFam,
const OUString& rStyleName);
SwXPageStyle(SwDocShell* pDocSh);
- ~SwXPageStyle();
+ virtual ~SwXPageStyle();
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 13e655fb4ec5..7552e1583cd6 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -458,7 +458,7 @@ class SwXCellRange : public cppu::WeakImplHelper7
public:
SwXCellRange(SwUnoCrsr* pCrsr, SwFrmFmt& rFrmFmt, SwRangeDescriptor& rDesc);
- ~SwXCellRange();
+ virtual ~SwXCellRange();
TYPEINFO_OVERRIDE();
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index 4ceaef815bb6..f4d666221397 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -466,7 +466,7 @@ class SwXLinkTargetSupplier : public cppu::WeakImplHelper2
public:
SwXLinkTargetSupplier(SwXTextDocument& rxDoc);
- ~SwXLinkTargetSupplier();
+ virtual ~SwXLinkTargetSupplier();
//XNameAccess
virtual css::uno::Any SAL_CALL getByName(const OUString& Name) throw( css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -505,7 +505,7 @@ public:
const OUString& rLinkDisplayName, const OUString& sSuffix);
SwXLinkNameAccessWrapper(SwXTextDocument& rxDoc,
const OUString& rLinkDisplayName, const OUString& sSuffix);
- ~SwXLinkNameAccessWrapper();
+ virtual ~SwXLinkNameAccessWrapper();
//XNameAccess
virtual css::uno::Any SAL_CALL getByName(const OUString& Name) throw( css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -546,7 +546,7 @@ class SwXOutlineTarget : public cppu::WeakImplHelper2
public:
SwXOutlineTarget(const OUString& rOutlineText);
- ~SwXOutlineTarget();
+ virtual ~SwXOutlineTarget();
//XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -576,7 +576,7 @@ class SwXDocumentPropertyHelper : public SvxUnoForbiddenCharsTable
SwDoc* m_pDoc;
public:
SwXDocumentPropertyHelper(SwDoc& rDoc);
- ~SwXDocumentPropertyHelper();
+ virtual ~SwXDocumentPropertyHelper();
css::uno::Reference<css::uno::XInterface> GetDrawTable(short nWhich);
void Invalidate();
diff --git a/sw/inc/wdocsh.hxx b/sw/inc/wdocsh.hxx
index 0027f546088a..bd0e80213b3d 100644
--- a/sw/inc/wdocsh.hxx
+++ b/sw/inc/wdocsh.hxx
@@ -36,7 +36,7 @@ public:
TYPEINFO_OVERRIDE();
SwWebDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED);
- ~SwWebDocShell();
+ virtual ~SwWebDocShell();
virtual void FillClass( SvGlobalName * pClassName,
sal_uInt32 * pClipFormat,
diff --git a/sw/qa/core/Test-BigPtrArray.cxx b/sw/qa/core/Test-BigPtrArray.cxx
index 7104460bb4bf..3320d7dbfcfd 100644
--- a/sw/qa/core/Test-BigPtrArray.cxx
+++ b/sw/qa/core/Test-BigPtrArray.cxx
@@ -44,7 +44,7 @@ namespace /* private */
{
}
- ~BigPtrEntryMock()
+ virtual ~BigPtrEntryMock()
{
}
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index 77a1dc97996f..9b3faf8936b4 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -103,7 +103,7 @@ public:
{
}
- ~SwModelTestBase()
+ virtual ~SwModelTestBase()
{
}
diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx
index 68950f3ece85..95d0ffb00f13 100644
--- a/sw/source/core/doc/acmplwrd.cxx
+++ b/sw/source/core/doc/acmplwrd.cxx
@@ -49,7 +49,7 @@ class SwAutoCompleteClient : public SwClient
public:
SwAutoCompleteClient(SwAutoCompleteWord& rToTell, SwDoc& rSwDoc);
SwAutoCompleteClient(const SwAutoCompleteClient& rClient);
- ~SwAutoCompleteClient();
+ virtual ~SwAutoCompleteClient();
SwAutoCompleteClient& operator=(const SwAutoCompleteClient& rClient);
@@ -86,7 +86,7 @@ class SwAutoCompleteString
public:
SwAutoCompleteString(const OUString& rStr, sal_Int32 nPos, sal_Int32 nLen);
- ~SwAutoCompleteString();
+ virtual ~SwAutoCompleteString();
void AddDocument(const SwDoc& rDoc);
//returns true if last document reference has been removed
bool RemoveDocument(const SwDoc& rDoc);
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx
index 55cf11d4ec1c..eb1fcbd28892 100644
--- a/sw/source/core/doc/doccomp.cxx
+++ b/sw/source/core/doc/doccomp.cxx
@@ -222,7 +222,7 @@ private:
public:
WordArrayComparator( const SwTxtNode *pNode1, const SwTxtNode *pNode2 );
- ~WordArrayComparator();
+ virtual ~WordArrayComparator();
virtual bool Compare( int nIdx1, int nIdx2 ) const SAL_OVERRIDE;
virtual int GetLen1() const SAL_OVERRIDE { return nCnt1; }
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index 5fc09774342c..8a2b4bee2427 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -1093,7 +1093,7 @@ namespace numfunc
}
SwDefBulletConfig();
- ~SwDefBulletConfig();
+ virtual ~SwDefBulletConfig();
private:
/** sets internal default bullet configuration data to default values */
diff --git a/sw/source/core/docnode/cancellablejob.hxx b/sw/source/core/docnode/cancellablejob.hxx
index cac64f2f357c..dc37ec1b4f02 100644
--- a/sw/source/core/docnode/cancellablejob.hxx
+++ b/sw/source/core/docnode/cancellablejob.hxx
@@ -32,7 +32,7 @@ class CancellableJob : public ::cppu::WeakImplHelper1<com::sun::star::util::XCan
{
public:
explicit CancellableJob( const ::rtl::Reference< ObservableThread >& rThread );
- ~CancellableJob() {}
+ virtual ~CancellableJob() {}
// ::com::sun::star::util::XCancellable:
virtual void SAL_CALL cancel() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sw/source/core/inc/SwUndoFmt.hxx b/sw/source/core/inc/SwUndoFmt.hxx
index a76ed647e6e3..9fd7003ac468 100644
--- a/sw/source/core/inc/SwUndoFmt.hxx
+++ b/sw/source/core/inc/SwUndoFmt.hxx
@@ -67,7 +67,7 @@ protected:
public:
SwUndoFmtDelete(SwUndoId nUndoId, SwFmt * pOld, SwDoc * pDoc);
- ~SwUndoFmtDelete();
+ virtual ~SwUndoFmtDelete();
virtual void UndoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE;
virtual void RedoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE;
@@ -89,7 +89,7 @@ public:
SwUndoRenameFmt(SwUndoId nUndoId, const OUString & sOldName,
const OUString & sNewName,
SwDoc * pDoc);
- ~SwUndoRenameFmt();
+ virtual ~SwUndoRenameFmt();
virtual void UndoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE;
virtual void RedoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE;
diff --git a/sw/source/core/inc/SwXMLBlockListContext.hxx b/sw/source/core/inc/SwXMLBlockListContext.hxx
index 6577c81c80b1..b10b40c229a0 100644
--- a/sw/source/core/inc/SwXMLBlockListContext.hxx
+++ b/sw/source/core/inc/SwXMLBlockListContext.hxx
@@ -36,7 +36,7 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
- ~SwXMLBlockListContext ( void );
+ virtual ~SwXMLBlockListContext ( void );
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const ::com::sun::star::uno::Reference<
@@ -52,7 +52,7 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
- ~SwXMLBlockContext ( void );
+ virtual ~SwXMLBlockContext ( void );
};
class SwXMLTextBlockDocumentContext : public SvXMLImportContext
@@ -70,7 +70,7 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
- ~SwXMLTextBlockDocumentContext ( void );
+ virtual ~SwXMLTextBlockDocumentContext ( void );
};
class SwXMLTextBlockBodyContext : public SvXMLImportContext
@@ -88,7 +88,7 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
- ~SwXMLTextBlockBodyContext ( void );
+ virtual ~SwXMLTextBlockBodyContext ( void );
};
class SwXMLTextBlockTextContext : public SvXMLImportContext
@@ -106,7 +106,7 @@ public:
const OUString& rLocalName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE;
- ~SwXMLTextBlockTextContext ( void );
+ virtual ~SwXMLTextBlockTextContext ( void );
};
class SwXMLTextBlockParContext : public SvXMLImportContext
@@ -121,7 +121,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
virtual void Characters( const OUString& rChars ) SAL_OVERRIDE;
- ~SwXMLTextBlockParContext ( void );
+ virtual ~SwXMLTextBlockParContext ( void );
};
#endif
diff --git a/sw/source/core/inc/SwXTextDefaults.hxx b/sw/source/core/inc/SwXTextDefaults.hxx
index c70565a7cd19..296e211f07f6 100644
--- a/sw/source/core/inc/SwXTextDefaults.hxx
+++ b/sw/source/core/inc/SwXTextDefaults.hxx
@@ -39,7 +39,7 @@ class SwXTextDefaults : public cppu::WeakImplHelper3
public:
SwXTextDefaults ( SwDoc * pNewDoc );
- ~SwXTextDefaults ();
+ virtual ~SwXTextDefaults ();
// XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
diff --git a/sw/source/core/inc/UndoAttribute.hxx b/sw/source/core/inc/UndoAttribute.hxx
index f55513fe75f1..bff367397ae2 100644
--- a/sw/source/core/inc/UndoAttribute.hxx
+++ b/sw/source/core/inc/UndoAttribute.hxx
@@ -137,7 +137,7 @@ class SwUndoFmtResetAttr : public SwUndo
public:
SwUndoFmtResetAttr( SwFmt& rChangedFormat,
const sal_uInt16 nWhichId );
- ~SwUndoFmtResetAttr();
+ virtual ~SwUndoFmtResetAttr();
virtual void UndoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE;
virtual void RedoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE;
diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx
index f3cd2f09d63e..16f8b7168f69 100644
--- a/sw/source/core/inc/acorrect.hxx
+++ b/sw/source/core/inc/acorrect.hxx
@@ -55,7 +55,7 @@ class SwAutoCorrDoc : public SvxAutoCorrDoc
public:
SwAutoCorrDoc( SwEditShell& rEditShell, SwPaM& rPam, sal_Unicode cIns = 0 );
- ~SwAutoCorrDoc();
+ virtual ~SwAutoCorrDoc();
virtual bool Delete( sal_Int32 nStt, sal_Int32 nEnd ) SAL_OVERRIDE;
virtual bool Insert( sal_Int32 nPos, const OUString& rTxt ) SAL_OVERRIDE;
diff --git a/sw/source/core/inc/cellfrm.hxx b/sw/source/core/inc/cellfrm.hxx
index 7b551940eccf..38f39bdeb682 100644
--- a/sw/source/core/inc/cellfrm.hxx
+++ b/sw/source/core/inc/cellfrm.hxx
@@ -38,7 +38,7 @@ protected:
public:
SwCellFrm( const SwTableBox &, SwFrm*, bool bInsertContent = true );
- ~SwCellFrm();
+ virtual ~SwCellFrm();
virtual bool GetCrsrOfst( SwPosition *, Point&, SwCrsrMoveState* = 0, bool bTestBackground = false ) const SAL_OVERRIDE;
virtual void Paint( SwRect const&,
diff --git a/sw/source/core/inc/colfrm.hxx b/sw/source/core/inc/colfrm.hxx
index 774a8e57b1ca..84d6e874d85b 100644
--- a/sw/source/core/inc/colfrm.hxx
+++ b/sw/source/core/inc/colfrm.hxx
@@ -27,7 +27,7 @@ class SwColumnFrm: public SwFtnBossFrm
{
public:
SwColumnFrm( SwFrmFmt*, SwFrm* );
- ~SwColumnFrm();
+ virtual ~SwColumnFrm();
virtual void PaintBreak() const SAL_OVERRIDE;
virtual void PaintSubsidiaryLines( const SwPageFrm*, const SwRect& ) const SAL_OVERRIDE;
diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx
index 7532f9f9a5a6..f7b5da9a112b 100644
--- a/sw/source/core/inc/dflyobj.hxx
+++ b/sw/source/core/inc/dflyobj.hxx
@@ -47,7 +47,7 @@ public:
TYPEINFO_OVERRIDE();
SwFlyDrawObj();
- ~SwFlyDrawObj();
+ virtual ~SwFlyDrawObj();
// for instantiation of this class while loading (via factory)
virtual sal_uInt32 GetObjInventor() const SAL_OVERRIDE;
@@ -79,7 +79,7 @@ public:
TYPEINFO_OVERRIDE();
SwVirtFlyDrawObj(SdrObject& rNew, SwFlyFrm* pFly);
- ~SwVirtFlyDrawObj();
+ virtual ~SwVirtFlyDrawObj();
// overloaded method of base class SdrVirtObj
virtual void TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const SAL_OVERRIDE;
diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx
index 6d0311a057d3..7645ad0fe8cc 100644
--- a/sw/source/core/inc/frmtool.hxx
+++ b/sw/source/core/inc/frmtool.hxx
@@ -339,7 +339,7 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL(SwBorderAttrs)
SwBorderAttrs( const SwModify *pOwner, const SwFrm *pConstructor );
- ~SwBorderAttrs();
+ virtual ~SwBorderAttrs();
inline const SwAttrSet &GetAttrSet() const { return rAttrSet; }
inline const SvxULSpaceItem &GetULSpace() const { return rUL; }
diff --git a/sw/source/core/inc/notxtfrm.hxx b/sw/source/core/inc/notxtfrm.hxx
index b78a3f7b48d2..b0ede4481686 100644
--- a/sw/source/core/inc/notxtfrm.hxx
+++ b/sw/source/core/inc/notxtfrm.hxx
@@ -44,7 +44,7 @@ protected:
virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) SAL_OVERRIDE;
public:
SwNoTxtFrm( SwNoTxtNode * const, SwFrm* );
- ~SwNoTxtFrm();
+ virtual ~SwNoTxtFrm();
virtual void Paint( SwRect const&,
SwPrintData const*const pPrintData = NULL ) const SAL_OVERRIDE;
diff --git a/sw/source/core/inc/pagefrm.hxx b/sw/source/core/inc/pagefrm.hxx
index a7526f6ea418..78be9917370f 100644
--- a/sw/source/core/inc/pagefrm.hxx
+++ b/sw/source/core/inc/pagefrm.hxx
@@ -109,7 +109,7 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL(SwPageFrm)
SwPageFrm( SwFrmFmt*, SwFrm*, SwPageDesc* );
- ~SwPageFrm();
+ virtual ~SwPageFrm();
//public, damit die SwViewShell beim Umschalten vom BrowseMode darauf
//zugreifen kann.
diff --git a/sw/source/core/inc/rowfrm.hxx b/sw/source/core/inc/rowfrm.hxx
index ac9a66adbad6..bb03e0165f35 100644
--- a/sw/source/core/inc/rowfrm.hxx
+++ b/sw/source/core/inc/rowfrm.hxx
@@ -51,7 +51,7 @@ protected:
public:
SwRowFrm( const SwTableLine &, SwFrm*, bool bInsertContent = true );
- ~SwRowFrm();
+ virtual ~SwRowFrm();
virtual void Cut() SAL_OVERRIDE;
diff --git a/sw/source/core/inc/tabfrm.hxx b/sw/source/core/inc/tabfrm.hxx
index 510bd735125e..7b974fa04ef9 100644
--- a/sw/source/core/inc/tabfrm.hxx
+++ b/sw/source/core/inc/tabfrm.hxx
@@ -110,7 +110,7 @@ protected:
public:
SwTabFrm( SwTable &, SwFrm* ); // calling Regist Flys always after creation _and_pasting!
SwTabFrm( SwTabFrm & ); // _only_ for the creation of follows
- ~SwTabFrm();
+ virtual ~SwTabFrm();
void JoinAndDelFollows(); // for DelFrms of the TableNodes!
diff --git a/sw/source/core/inc/threadmanager.hxx b/sw/source/core/inc/threadmanager.hxx
index 920bc889dd41..ca5646b11c00 100644
--- a/sw/source/core/inc/threadmanager.hxx
+++ b/sw/source/core/inc/threadmanager.hxx
@@ -48,7 +48,7 @@ class ThreadManager : public IThreadListenerOwner
public:
explicit ThreadManager( ::com::sun::star::uno::Reference< ::com::sun::star::util::XJobManager >& rThreadJoiner );
- ~ThreadManager();
+ virtual ~ThreadManager();
// --> IThreadListenerOwner
virtual boost::weak_ptr< IFinishedThreadListener > GetThreadListenerWeakRef() SAL_OVERRIDE;
diff --git a/sw/source/core/inc/unoevent.hxx b/sw/source/core/inc/unoevent.hxx
index 2ef2a690eccb..3cae986bae4c 100644
--- a/sw/source/core/inc/unoevent.hxx
+++ b/sw/source/core/inc/unoevent.hxx
@@ -68,7 +68,7 @@ public:
SwFrameEventDescriptor( SwXTextGraphicObject& rGraphicRef );
SwFrameEventDescriptor( SwXTextEmbeddedObject& rObjectRef );
- ~SwFrameEventDescriptor();
+ virtual ~SwFrameEventDescriptor();
virtual OUString SAL_CALL getImplementationName(void)
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -88,7 +88,7 @@ class SwFrameStyleEventDescriptor : public SvEventDescriptor
public:
SwFrameStyleEventDescriptor( SwXFrameStyle& rStyleRef );
- ~SwFrameStyleEventDescriptor();
+ virtual ~SwFrameStyleEventDescriptor();
virtual OUString SAL_CALL getImplementationName(void)
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx
index 38a3eac6b2a7..9eda3f9860ad 100644
--- a/sw/source/core/text/itrform2.hxx
+++ b/sw/source/core/text/itrform2.hxx
@@ -158,7 +158,7 @@ public:
{
CtorInitTxtFormatter( pTxtFrm, pTxtFmtInf );
}
- ~SwTxtFormatter();
+ virtual ~SwTxtFormatter();
sal_Int32 FormatLine( const sal_Int32 nStart );
diff --git a/sw/source/core/text/porfld.hxx b/sw/source/core/text/porfld.hxx
index 2fa9af69bb3e..90b5342760a4 100644
--- a/sw/source/core/text/porfld.hxx
+++ b/sw/source/core/text/porfld.hxx
@@ -59,7 +59,7 @@ protected:
public:
SwFldPortion( const SwFldPortion& rFld );
SwFldPortion( const OUString &rExpand, SwFont *pFnt = 0, bool bPlaceHolder = false );
- ~SwFldPortion();
+ virtual ~SwFldPortion();
sal_uInt16 m_nAttrFldType;
void TakeNextOffset( const SwFldPortion* pFld );
@@ -197,7 +197,7 @@ public:
const bool bCenter,
const KSHORT nMinDst,
const bool bLabelAlignmentPosAndSpaceModeActive );
- ~SwGrfNumPortion();
+ virtual ~SwGrfNumPortion();
virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE;
virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE;
diff --git a/sw/source/core/text/pormulti.hxx b/sw/source/core/text/pormulti.hxx
index 8f11e91cc320..97bca1f7af12 100644
--- a/sw/source/core/text/pormulti.hxx
+++ b/sw/source/core/text/pormulti.hxx
@@ -120,7 +120,7 @@ protected:
bool GetTab1() const { return bTab1; }
bool GetTab2() const { return bTab2; }
public:
- ~SwMultiPortion();
+ virtual ~SwMultiPortion();
const SwLineLayout& GetRoot() const { return aRoot; }
SwLineLayout& GetRoot() { return aRoot; }
SwFldPortion* GetFldRest() { return pFldRest; }
@@ -168,7 +168,7 @@ class SwDoubleLinePortion : public SwMultiPortion
public:
SwDoubleLinePortion( SwDoubleLinePortion& rDouble, sal_Int32 nEnd );
SwDoubleLinePortion( const SwMultiCreator& rCreate, sal_Int32 nEnd );
- ~SwDoubleLinePortion();
+ virtual ~SwDoubleLinePortion();
inline SwBracket* GetBrackets() const { return pBracket; }
void SetBrackets( const SwDoubleLinePortion& rDouble );
diff --git a/sw/source/core/txtnode/SwGrammarContact.cxx b/sw/source/core/txtnode/SwGrammarContact.cxx
index 4d18dd7e3489..f56b196f0c56 100644
--- a/sw/source/core/txtnode/SwGrammarContact.cxx
+++ b/sw/source/core/txtnode/SwGrammarContact.cxx
@@ -49,7 +49,7 @@ class SwGrammarContact : public IGrammarContact, public SwClient
public:
SwGrammarContact();
- ~SwGrammarContact() { aTimer.Stop(); delete mpProxyList; }
+ virtual ~SwGrammarContact() { aTimer.Stop(); delete mpProxyList; }
// (pure) virtual functions of IGrammarContact
virtual void updateCursorPosition( const SwPosition& rNewPos ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/app/apphdl.cxx b/sw/source/core/uibase/app/apphdl.cxx
index 8d486121e456..bb02073ffef8 100644
--- a/sw/source/core/uibase/app/apphdl.cxx
+++ b/sw/source/core/uibase/app/apphdl.cxx
@@ -248,7 +248,7 @@ class SwMailMergeWizardExecutor : public salhelper::SimpleReferenceObject
public:
SwMailMergeWizardExecutor();
- ~SwMailMergeWizardExecutor();
+ virtual ~SwMailMergeWizardExecutor();
void ExecuteMailMergeWizard( const SfxItemSet * pArgs );
};
diff --git a/sw/source/core/uibase/dbui/dbmgr.cxx b/sw/source/core/uibase/dbui/dbmgr.cxx
index 057aeeb99633..89304adf7a83 100644
--- a/sw/source/core/uibase/dbui/dbmgr.cxx
+++ b/sw/source/core/uibase/dbui/dbmgr.cxx
@@ -211,7 +211,7 @@ class SwConnectionDisposedListener_Impl : public cppu::WeakImplHelper1
virtual void SAL_CALL disposing( const EventObject& Source ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
public:
SwConnectionDisposedListener_Impl(SwNewDBMgr& rMgr);
- ~SwConnectionDisposedListener_Impl();
+ virtual ~SwConnectionDisposedListener_Impl();
};
diff --git a/sw/source/core/uibase/dbui/dbtree.cxx b/sw/source/core/uibase/dbui/dbtree.cxx
index 9ba3200c760c..1cc2facb9f0b 100644
--- a/sw/source/core/uibase/dbui/dbtree.cxx
+++ b/sw/source/core/uibase/dbui/dbtree.cxx
@@ -79,7 +79,7 @@ class SwDBTreeList_Impl : public cppu::WeakImplHelper1 < XContainerListener >
public:
SwDBTreeList_Impl(SwWrtShell* pShell) :
pWrtSh(pShell) {}
- ~SwDBTreeList_Impl();
+ virtual ~SwDBTreeList_Impl();
virtual void SAL_CALL elementInserted( const ContainerEvent& Event ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL elementRemoved( const ContainerEvent& Event ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/dbui/mailmergechildwindow.cxx b/sw/source/core/uibase/dbui/mailmergechildwindow.cxx
index bf16a14e828a..d038f7eeccd0 100644
--- a/sw/source/core/uibase/dbui/mailmergechildwindow.cxx
+++ b/sw/source/core/uibase/dbui/mailmergechildwindow.cxx
@@ -162,7 +162,7 @@ class SwMailDispatcherListener_Impl : public IMailDispatcherListener
public:
SwMailDispatcherListener_Impl(SwSendMailDialog& rParentDlg);
- ~SwMailDispatcherListener_Impl();
+ virtual ~SwMailDispatcherListener_Impl();
virtual void started(::rtl::Reference<MailDispatcher> xMailDispatcher) SAL_OVERRIDE;
virtual void stopped(::rtl::Reference<MailDispatcher> xMailDispatcher) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/dbui/mmconfigitem.cxx b/sw/source/core/uibase/dbui/mmconfigitem.cxx
index 6143905efc5a..2629fd9e2701 100644
--- a/sw/source/core/uibase/dbui/mmconfigitem.cxx
+++ b/sw/source/core/uibase/dbui/mmconfigitem.cxx
@@ -153,7 +153,7 @@ class SwMailMergeConfigItem_Impl : public utl::ConfigItem
public:
SwMailMergeConfigItem_Impl();
- ~SwMailMergeConfigItem_Impl();
+ virtual ~SwMailMergeConfigItem_Impl();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx b/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx
index a5b38790ffbd..32c423d79494 100644
--- a/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx
+++ b/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx
@@ -32,7 +32,7 @@ class AnnotationMenuButton : public MenuButton
{
public:
AnnotationMenuButton( sw::sidebarwindows::SwSidebarWin& rSidebarWin );
- ~AnnotationMenuButton();
+ virtual ~AnnotationMenuButton();
// overloaded <MenuButton> methods
virtual void Select() SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/docvw/SidebarTxtControl.hxx b/sw/source/core/uibase/docvw/SidebarTxtControl.hxx
index f6f9fafc54ce..ae524a094f71 100644
--- a/sw/source/core/uibase/docvw/SidebarTxtControl.hxx
+++ b/sw/source/core/uibase/docvw/SidebarTxtControl.hxx
@@ -57,7 +57,7 @@ class SidebarTxtControl : public Control
WinBits nBits,
SwView& rDocView,
SwPostItMgr& rPostItMgr );
- ~SidebarTxtControl();
+ virtual ~SidebarTxtControl();
virtual void GetFocus() SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/docvw/romenu.hxx b/sw/source/core/uibase/docvw/romenu.hxx
index e0242db41504..074c93e92a4f 100644
--- a/sw/source/core/uibase/docvw/romenu.hxx
+++ b/sw/source/core/uibase/docvw/romenu.hxx
@@ -51,7 +51,7 @@ class SwReadOnlyPopup : public PopupMenu
public:
SwReadOnlyPopup( const Point &rDPos, SwView &rV );
- ~SwReadOnlyPopup();
+ virtual ~SwReadOnlyPopup();
void Execute( Window* pWin, const Point &rPPos );
void Execute( Window* pWin, sal_uInt16 nId );
diff --git a/sw/source/core/uibase/inc/DashedLine.hxx b/sw/source/core/uibase/inc/DashedLine.hxx
index 0944767a21e4..ea0819e2b9b2 100644
--- a/sw/source/core/uibase/inc/DashedLine.hxx
+++ b/sw/source/core/uibase/inc/DashedLine.hxx
@@ -20,7 +20,7 @@ class SwDashedLine : public FixedLine
public:
SwDashedLine( Window* pParent, Color& ( *pColorFn )() );
- ~SwDashedLine( );
+ virtual ~SwDashedLine( );
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
};
diff --git a/sw/source/core/uibase/inc/HeaderFooterWin.hxx b/sw/source/core/uibase/inc/HeaderFooterWin.hxx
index bf2a52c0bcf4..7da9aa44a27d 100644
--- a/sw/source/core/uibase/inc/HeaderFooterWin.hxx
+++ b/sw/source/core/uibase/inc/HeaderFooterWin.hxx
@@ -30,7 +30,7 @@ class SwHeaderFooterWin : public MenuButton, public SwFrameControl
public:
SwHeaderFooterWin( SwEditWin* pEditWin, const SwPageFrm* pPageFrm, bool bHeader );
- ~SwHeaderFooterWin( );
+ virtual ~SwHeaderFooterWin( );
void SetOffset( Point aOffset, long nXLineStart, long nXLineEnd );
diff --git a/sw/source/core/uibase/inc/PageBreakWin.hxx b/sw/source/core/uibase/inc/PageBreakWin.hxx
index c0eb854a1b7e..cb5d2fa1fab9 100644
--- a/sw/source/core/uibase/inc/PageBreakWin.hxx
+++ b/sw/source/core/uibase/inc/PageBreakWin.hxx
@@ -34,7 +34,7 @@ class SwPageBreakWin : public MenuButton, public SwFrameControl
public:
SwPageBreakWin( SwEditWin* pEditWin, const SwPageFrm* pPageFrm );
- ~SwPageBreakWin( );
+ virtual ~SwPageBreakWin( );
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
virtual void Select( ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx b/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx
index 7bc8dcfea56c..4d32f2817469 100644
--- a/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx
+++ b/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx
@@ -54,7 +54,7 @@ public:
sal_uInt16 nId,
SfxBindings* pBindings,
SfxChildWinInfo* pInfo);
- ~SwSpellDialogChildWindow();
+ virtual ~SwSpellDialogChildWindow();
SFX_DECL_CHILDWINDOW_WITHID(SwSpellDialogChildWindow);
diff --git a/sw/source/core/uibase/inc/barcfg.hxx b/sw/source/core/uibase/inc/barcfg.hxx
index 117fa3cff00a..dcb2fa2e5350 100644
--- a/sw/source/core/uibase/inc/barcfg.hxx
+++ b/sw/source/core/uibase/inc/barcfg.hxx
@@ -28,7 +28,7 @@ class SwToolbarConfigItem : public utl::ConfigItem
public:
SwToolbarConfigItem( bool bWeb );
- ~SwToolbarConfigItem();
+ virtual ~SwToolbarConfigItem();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/bmpwin.hxx b/sw/source/core/uibase/inc/bmpwin.hxx
index 63c4082599e3..a4478a286293 100644
--- a/sw/source/core/uibase/inc/bmpwin.hxx
+++ b/sw/source/core/uibase/inc/bmpwin.hxx
@@ -44,7 +44,7 @@ private:
public:
BmpWindow(Window* pPar, WinBits nStyle);
- ~BmpWindow();
+ virtual ~BmpWindow();
void MirrorVert(sal_Bool bMirror) { bVert = bMirror; Invalidate(); }
void MirrorHorz(sal_Bool bMirror) { bHorz = bMirror; Invalidate(); }
void SetGraphic(const Graphic& rGrf);
diff --git a/sw/source/core/uibase/inc/bookctrl.hxx b/sw/source/core/uibase/inc/bookctrl.hxx
index 7771fb326556..44b52f790ef5 100644
--- a/sw/source/core/uibase/inc/bookctrl.hxx
+++ b/sw/source/core/uibase/inc/bookctrl.hxx
@@ -36,7 +36,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
SwBookmarkControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- ~SwBookmarkControl();
+ virtual ~SwBookmarkControl();
private:
OUString sPageNumber;
diff --git a/sw/source/core/uibase/inc/bookmark.hxx b/sw/source/core/uibase/inc/bookmark.hxx
index ff1179c2d9bc..d458fe0067c9 100644
--- a/sw/source/core/uibase/inc/bookmark.hxx
+++ b/sw/source/core/uibase/inc/bookmark.hxx
@@ -62,7 +62,7 @@ class SwInsertBookmarkDlg: public SvxStandardDialog
public:
SwInsertBookmarkDlg(Window *pParent, SwWrtShell &rSh, SfxRequest& rReq);
- ~SwInsertBookmarkDlg();
+ virtual ~SwInsertBookmarkDlg();
};
#endif
diff --git a/sw/source/core/uibase/inc/break.hxx b/sw/source/core/uibase/inc/break.hxx
index 6dd6356e7343..753e6f4f30e2 100644
--- a/sw/source/core/uibase/inc/break.hxx
+++ b/sw/source/core/uibase/inc/break.hxx
@@ -63,7 +63,7 @@ protected:
public:
SwBreakDlg( Window *pParent, SwWrtShell &rSh );
- ~SwBreakDlg();
+ virtual ~SwBreakDlg();
OUString GetTemplateName() { return aTemplate; }
sal_uInt16 GetKind() { return nKind; }
diff --git a/sw/source/core/uibase/inc/changedb.hxx b/sw/source/core/uibase/inc/changedb.hxx
index a5d048821d66..a3349845e489 100644
--- a/sw/source/core/uibase/inc/changedb.hxx
+++ b/sw/source/core/uibase/inc/changedb.hxx
@@ -60,7 +60,7 @@ class SwChangeDBDlg: public SvxStandardDialog
public:
SwChangeDBDlg(SwView& rVw);
- ~SwChangeDBDlg();
+ virtual ~SwChangeDBDlg();
};
#endif
diff --git a/sw/source/core/uibase/inc/chrdlg.hxx b/sw/source/core/uibase/inc/chrdlg.hxx
index 5b7a077e4d66..1de8e46050b6 100644
--- a/sw/source/core/uibase/inc/chrdlg.hxx
+++ b/sw/source/core/uibase/inc/chrdlg.hxx
@@ -52,7 +52,7 @@ public:
SwCharDlg(Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet,
sal_uInt8 nDialogMode, const OUString* pFmtStr = 0);
- ~SwCharDlg();
+ virtual ~SwCharDlg();
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE;
};
@@ -81,7 +81,7 @@ public:
SwCharURLPage( Window* pParent,
const SfxItemSet& rSet );
- ~SwCharURLPage();
+ virtual ~SwCharURLPage();
static SfxTabPage* Create( Window* pParent,
const SfxItemSet& rAttrSet);
diff --git a/sw/source/core/uibase/inc/colex.hxx b/sw/source/core/uibase/inc/colex.hxx
index 4cb67723b036..634bfcf282f0 100644
--- a/sw/source/core/uibase/inc/colex.hxx
+++ b/sw/source/core/uibase/inc/colex.hxx
@@ -56,7 +56,7 @@ public:
pGridItem(0),
m_bVertical(false){}
- ~SwPageGridExample();
+ virtual ~SwPageGridExample();
void UpdateExample( const SfxItemSet& rSet );
};
diff --git a/sw/source/core/uibase/inc/content.hxx b/sw/source/core/uibase/inc/content.hxx
index b4a6c92f6988..3c0bb07628ee 100644
--- a/sw/source/core/uibase/inc/content.hxx
+++ b/sw/source/core/uibase/inc/content.hxx
@@ -179,7 +179,7 @@ protected:
OUString RemoveNewline(const OUString&);
public:
SwContentType(SwWrtShell* pParent, sal_uInt16 nType, sal_uInt8 nLevel );
- ~SwContentType();
+ virtual ~SwContentType();
void Init(sal_Bool* pbInvalidateWindow = 0);
void FillMemberList(sal_Bool* pbLevelChanged = NULL);
diff --git a/sw/source/core/uibase/inc/conttree.hxx b/sw/source/core/uibase/inc/conttree.hxx
index ff808365a589..91da8b46ffa7 100644
--- a/sw/source/core/uibase/inc/conttree.hxx
+++ b/sw/source/core/uibase/inc/conttree.hxx
@@ -140,7 +140,7 @@ protected:
public:
SwContentTree(Window* pParent, const ResId& rResId);
- ~SwContentTree();
+ virtual ~SwContentTree();
OUString GetEntryAltText( SvTreeListEntry* pEntry ) const SAL_OVERRIDE;
OUString GetEntryLongDescription( SvTreeListEntry* pEntry ) const SAL_OVERRIDE;
SdrObject* GetDrawingObjectsByContent(const SwContent *pCnt);
diff --git a/sw/source/core/uibase/inc/convert.hxx b/sw/source/core/uibase/inc/convert.hxx
index e9f17a60e6e7..ca5ec06e1f50 100644
--- a/sw/source/core/uibase/inc/convert.hxx
+++ b/sw/source/core/uibase/inc/convert.hxx
@@ -62,7 +62,7 @@ class SwConvertTableDlg: public SfxModalDialog
public:
SwConvertTableDlg( SwView& rView, bool bToTable );
- ~SwConvertTableDlg();
+ virtual ~SwConvertTableDlg();
void GetValues( sal_Unicode& rDelim,
SwInsertTableOptions& rInsTblOpts,
diff --git a/sw/source/core/uibase/inc/cption.hxx b/sw/source/core/uibase/inc/cption.hxx
index 7eb9837e2dfd..0322b7b7e30c 100644
--- a/sw/source/core/uibase/inc/cption.hxx
+++ b/sw/source/core/uibase/inc/cption.hxx
@@ -105,7 +105,7 @@ class SwCaptionDialog : public SvxStandardDialog
static OUString our_aSepTextSave; // Save caption separator text
public:
SwCaptionDialog( Window *pParent, SwView &rV );
- ~SwCaptionDialog();
+ virtual ~SwCaptionDialog();
};
#endif
diff --git a/sw/source/core/uibase/inc/docstdlg.hxx b/sw/source/core/uibase/inc/docstdlg.hxx
index 98f4ab192c30..c6c973db3e31 100644
--- a/sw/source/core/uibase/inc/docstdlg.hxx
+++ b/sw/source/core/uibase/inc/docstdlg.hxx
@@ -33,7 +33,7 @@ class SwDocStatPage: public SfxTabPage
{
public:
SwDocStatPage(Window *pParent, const SfxItemSet &rSet);
- ~SwDocStatPage();
+ virtual ~SwDocStatPage();
static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
diff --git a/sw/source/core/uibase/inc/drpcps.hxx b/sw/source/core/uibase/inc/drpcps.hxx
index 3ddf9f5e2544..022b68605ce4 100644
--- a/sw/source/core/uibase/inc/drpcps.hxx
+++ b/sw/source/core/uibase/inc/drpcps.hxx
@@ -71,7 +71,7 @@ friend class SwDropCapsPict;
SwWrtShell &rSh;
SwDropCapsPage(Window *pParent, const SfxItemSet &rSet);
- ~SwDropCapsPage();
+ virtual ~SwDropCapsPage();
virtual int DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE;
void FillSet( SfxItemSet &rSet );
diff --git a/sw/source/core/uibase/inc/envimg.hxx b/sw/source/core/uibase/inc/envimg.hxx
index 054d602e1dce..4707eb63a098 100644
--- a/sw/source/core/uibase/inc/envimg.hxx
+++ b/sw/source/core/uibase/inc/envimg.hxx
@@ -78,7 +78,7 @@ class SwEnvCfgItem : public utl::ConfigItem
com::sun::star::uno::Sequence<OUString> GetPropertyNames();
public:
SwEnvCfgItem();
- ~SwEnvCfgItem();
+ virtual ~SwEnvCfgItem();
SwEnvItem& GetItem() {return aEnvItem;}
diff --git a/sw/source/core/uibase/inc/envlop.hxx b/sw/source/core/uibase/inc/envlop.hxx
index c1557ccd87a9..5c21d03c5517 100644
--- a/sw/source/core/uibase/inc/envlop.hxx
+++ b/sw/source/core/uibase/inc/envlop.hxx
@@ -74,7 +74,7 @@ friend class SwEnvPreview;
public:
SwEnvDlg(Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert);
- ~SwEnvDlg();
+ virtual ~SwEnvDlg();
};
// class SwEnvPage ----------------------------------------------------------
@@ -93,7 +93,7 @@ class SwEnvPage : public SfxTabPage
OUString sActDBName;
SwEnvPage(Window* pParent, const SfxItemSet& rSet);
- ~SwEnvPage();
+ virtual ~SwEnvPage();
DECL_LINK( DatabaseHdl, ListBox * );
DECL_LINK(FieldHdl, void *);
diff --git a/sw/source/core/uibase/inc/fldedt.hxx b/sw/source/core/uibase/inc/fldedt.hxx
index 17733c5446d1..c4ed3bfc93cc 100644
--- a/sw/source/core/uibase/inc/fldedt.hxx
+++ b/sw/source/core/uibase/inc/fldedt.hxx
@@ -40,7 +40,7 @@ class SwFldEditDlg : public SfxSingleTabDialog
public:
SwFldEditDlg(SwView& rVw);
- ~SwFldEditDlg();
+ virtual ~SwFldEditDlg();
DECL_LINK(OKHdl, void *);
diff --git a/sw/source/core/uibase/inc/fontcfg.hxx b/sw/source/core/uibase/inc/fontcfg.hxx
index 52da0a04af05..22afd8362231 100644
--- a/sw/source/core/uibase/inc/fontcfg.hxx
+++ b/sw/source/core/uibase/inc/fontcfg.hxx
@@ -73,7 +73,7 @@ class SW_DLLPUBLIC SwStdFontConfig : public utl::ConfigItem
public:
SwStdFontConfig();
- ~SwStdFontConfig();
+ virtual ~SwStdFontConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/formedt.hxx b/sw/source/core/uibase/inc/formedt.hxx
index ac3962abec5c..f0b8d3a2f587 100644
--- a/sw/source/core/uibase/inc/formedt.hxx
+++ b/sw/source/core/uibase/inc/formedt.hxx
@@ -77,7 +77,7 @@ class SwIdxFormDlg : public SvxStandardDialog
public:
SwIdxFormDlg( Window* pParent, SwWrtShell &rShell, const SwForm& rForm );
- ~SwIdxFormDlg();
+ virtual ~SwIdxFormDlg();
const SwForm& GetTOXForm();
};
diff --git a/sw/source/core/uibase/inc/frmdlg.hxx b/sw/source/core/uibase/inc/frmdlg.hxx
index 69343955e085..6475f737d3e3 100644
--- a/sw/source/core/uibase/inc/frmdlg.hxx
+++ b/sw/source/core/uibase/inc/frmdlg.hxx
@@ -60,7 +60,7 @@ public:
const OString& sDefPage = OString(),
const OUString* pFmtStr = 0);
- ~SwFrmDlg();
+ virtual ~SwFrmDlg();
SwWrtShell* GetWrtShell() { return m_pWrtShell; }
};
diff --git a/sw/source/core/uibase/inc/frmpage.hxx b/sw/source/core/uibase/inc/frmpage.hxx
index e2f035688272..340b710549fd 100644
--- a/sw/source/core/uibase/inc/frmpage.hxx
+++ b/sw/source/core/uibase/inc/frmpage.hxx
@@ -178,7 +178,7 @@ class SwFrmPage: public SfxTabPage
void EnableGraficMode( void ); // hides auto check boxes and re-org controls for "Real Size" button
SwFrmPage(Window *pParent, const SfxItemSet &rSet);
- ~SwFrmPage();
+ virtual ~SwFrmPage();
SwWrtShell *getFrmDlgParentShell();
@@ -227,7 +227,7 @@ class SwGrfExtPage: public SfxTabPage
virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE;
SwGrfExtPage(Window *pParent, const SfxItemSet &rSet);
- ~SwGrfExtPage();
+ virtual ~SwGrfExtPage();
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
@@ -256,7 +256,7 @@ class SwFrmURLPage : public SfxTabPage
DECL_LINK(InsertFileHdl, void *);
SwFrmURLPage(Window *pParent, const SfxItemSet &rSet);
- ~SwFrmURLPage();
+ virtual ~SwFrmURLPage();
using SfxTabPage::ActivatePage;
using SfxTabPage::DeactivatePage;
@@ -306,7 +306,7 @@ class SwFrmAddPage : public SfxTabPage
DECL_LINK(ChainModifyHdl, ListBox*);
SwFrmAddPage(Window *pParent, const SfxItemSet &rSet);
- ~SwFrmAddPage();
+ virtual ~SwFrmAddPage();
public:
diff --git a/sw/source/core/uibase/inc/glosbib.hxx b/sw/source/core/uibase/inc/glosbib.hxx
index d16b026ae307..74803a0f7862 100644
--- a/sw/source/core/uibase/inc/glosbib.hxx
+++ b/sw/source/core/uibase/inc/glosbib.hxx
@@ -106,7 +106,7 @@ public:
SwGlossaryGroupDlg(Window * pParent,
std::vector<OUString> const& rPathArr,
SwGlossaryHdl *pGlosHdl);
- ~SwGlossaryGroupDlg();
+ virtual ~SwGlossaryGroupDlg();
const OUString& GetCreatedGroupName() const {return sCreatedGroup;}
};
diff --git a/sw/source/core/uibase/inc/gloslst.hxx b/sw/source/core/uibase/inc/gloslst.hxx
index 9c45736a6c51..7ed767186344 100644
--- a/sw/source/core/uibase/inc/gloslst.hxx
+++ b/sw/source/core/uibase/inc/gloslst.hxx
@@ -56,7 +56,7 @@ class SwGlossaryList : public AutoTimer
public:
SwGlossaryList();
- ~SwGlossaryList();
+ virtual ~SwGlossaryList();
bool HasLongName(const OUString& rBegin, std::vector<OUString> *pLongNames);
sal_Bool GetShortName(const OUString& rLongName,
diff --git a/sw/source/core/uibase/inc/glossary.hxx b/sw/source/core/uibase/inc/glossary.hxx
index 177c70576138..af8a8cefb5b1 100644
--- a/sw/source/core/uibase/inc/glossary.hxx
+++ b/sw/source/core/uibase/inc/glossary.hxx
@@ -148,7 +148,7 @@ class SwGlossaryDlg : public SvxStandardDialog
void ResetResumeData() {bResume = sal_False;}
public:
SwGlossaryDlg(SfxViewFrame* pViewFrame, SwGlossaryHdl* pGlosHdl, SwWrtShell *pWrtShell);
- ~SwGlossaryDlg();
+ virtual ~SwGlossaryDlg();
OUString GetCurrGrpName() const;
OUString GetCurrLongName() const
{
diff --git a/sw/source/core/uibase/inc/hyp.hxx b/sw/source/core/uibase/inc/hyp.hxx
index b642f62910a5..f1dd08d1b81d 100644
--- a/sw/source/core/uibase/inc/hyp.hxx
+++ b/sw/source/core/uibase/inc/hyp.hxx
@@ -50,7 +50,7 @@ public:
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenator > &rxHyph,
sal_Bool bStart, sal_Bool bOther, sal_Bool bSelect );
- ~SwHyphWrapper();
+ virtual ~SwHyphWrapper();
};
#endif
diff --git a/sw/source/core/uibase/inc/inputwin.hxx b/sw/source/core/uibase/inc/inputwin.hxx
index f419c6741318..160d8046bd2b 100644
--- a/sw/source/core/uibase/inc/inputwin.hxx
+++ b/sw/source/core/uibase/inc/inputwin.hxx
@@ -105,7 +105,7 @@ public:
sal_uInt16 nId,
SfxBindings*,
SfxChildWinInfo* );
- ~SwInputChild();
+ virtual ~SwInputChild();
SFX_DECL_CHILDWINDOW_WITHID( SwInputChild );
void SetFormula( const OUString& rFormula, sal_Bool bDelSel = sal_True )
{ ((SwInputWindow*)pWindow)->SetFormula(
diff --git a/sw/source/core/uibase/inc/insfnote.hxx b/sw/source/core/uibase/inc/insfnote.hxx
index ad93ef9cad83..d32ae7965d0d 100644
--- a/sw/source/core/uibase/inc/insfnote.hxx
+++ b/sw/source/core/uibase/inc/insfnote.hxx
@@ -66,7 +66,7 @@ class SwInsFootNoteDlg: public SvxStandardDialog
public:
SwInsFootNoteDlg(Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False);
- ~SwInsFootNoteDlg();
+ virtual ~SwInsFootNoteDlg();
rtl_TextEncoding GetCharSet() { return eCharSet; }
sal_Bool IsExtCharAvailable() { return bExtCharAvailable; }
diff --git a/sw/source/core/uibase/inc/instable.hxx b/sw/source/core/uibase/inc/instable.hxx
index e8046d6079a1..98d64a8c2424 100644
--- a/sw/source/core/uibase/inc/instable.hxx
+++ b/sw/source/core/uibase/inc/instable.hxx
@@ -64,7 +64,7 @@ class SwInsTableDlg : public SfxModalDialog
public:
SwInsTableDlg( SwView& rView );
- ~SwInsTableDlg();
+ virtual ~SwInsTableDlg();
void GetValues( OUString& rName, sal_uInt16& rRow, sal_uInt16& rCol,
SwInsertTableOptions& rInsTblOpts, OUString& rTableAutoFmtName,
diff --git a/sw/source/core/uibase/inc/javaedit.hxx b/sw/source/core/uibase/inc/javaedit.hxx
index 8b79071f0689..228c90f76936 100644
--- a/sw/source/core/uibase/inc/javaedit.hxx
+++ b/sw/source/core/uibase/inc/javaedit.hxx
@@ -72,7 +72,7 @@ private:
public:
SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh);
- ~SwJavaEditDialog();
+ virtual ~SwJavaEditDialog();
OUString GetScriptText() const { return aText; }
diff --git a/sw/source/core/uibase/inc/label.hxx b/sw/source/core/uibase/inc/label.hxx
index 95e32f866656..a1505af8fbb4 100644
--- a/sw/source/core/uibase/inc/label.hxx
+++ b/sw/source/core/uibase/inc/label.hxx
@@ -57,7 +57,7 @@ public:
SwLabDlg( Window* pParent, const SfxItemSet& rSet,
SwNewDBMgr* pNewDBMgr, sal_Bool bLabel);
- ~SwLabDlg();
+ virtual ~SwLabDlg();
SwLabRec* GetRecord(const OUString &rRecName, sal_Bool bCont);
void GetLabItem(SwLabItem &rItem);
diff --git a/sw/source/core/uibase/inc/linenum.hxx b/sw/source/core/uibase/inc/linenum.hxx
index 94cc0fa02589..48d2af666a8e 100644
--- a/sw/source/core/uibase/inc/linenum.hxx
+++ b/sw/source/core/uibase/inc/linenum.hxx
@@ -56,7 +56,7 @@ public:
SwWrtShell* GetWrtShell() const { return pSh; }
SwLineNumberingDlg(SwView *pVw);
- ~SwLineNumberingDlg();
+ virtual ~SwLineNumberingDlg();
};
#endif
diff --git a/sw/source/core/uibase/inc/mailconfigpage.hxx b/sw/source/core/uibase/inc/mailconfigpage.hxx
index 4d5d3aa36399..4314e25c2086 100644
--- a/sw/source/core/uibase/inc/mailconfigpage.hxx
+++ b/sw/source/core/uibase/inc/mailconfigpage.hxx
@@ -56,7 +56,7 @@ class SwMailConfigPage : public SfxTabPage
public:
SwMailConfigPage( Window* pParent, const SfxItemSet& rSet );
- ~SwMailConfigPage();
+ virtual ~SwMailConfigPage();
static SfxTabPage* Create( Window* pParent,
const SfxItemSet& rAttrSet);
diff --git a/sw/source/core/uibase/inc/mailmergechildwindow.hxx b/sw/source/core/uibase/inc/mailmergechildwindow.hxx
index f139fb206840..a4164ec9a78e 100644
--- a/sw/source/core/uibase/inc/mailmergechildwindow.hxx
+++ b/sw/source/core/uibase/inc/mailmergechildwindow.hxx
@@ -31,7 +31,7 @@ class SwMailMergeChildWin : public SfxFloatingWindow
public:
SwMailMergeChildWin(SfxBindings*, SfxChildWindow*, Window *pParent);
- ~SwMailMergeChildWin();
+ virtual ~SwMailMergeChildWin();
virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE;
};
diff --git a/sw/source/core/uibase/inc/mailmergehelper.hxx b/sw/source/core/uibase/inc/mailmergehelper.hxx
index 8621ce08fcd5..73cf9e4b9942 100644
--- a/sw/source/core/uibase/inc/mailmergehelper.hxx
+++ b/sw/source/core/uibase/inc/mailmergehelper.hxx
@@ -58,7 +58,7 @@ class SW_DLLPUBLIC SwBoldFixedInfo : public FixedInfo
{
public:
SwBoldFixedInfo(Window* pParent, const ResId& rResId);
- ~SwBoldFixedInfo();
+ virtual ~SwBoldFixedInfo();
};
struct SwAddressPreview_Impl;
@@ -161,7 +161,7 @@ public:
m_aPassword(password),
m_pParentWindow( pParent )
{}
- ~SwAuthenticator();
+ virtual ~SwAuthenticator();
virtual OUString SAL_CALL getUserName( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL getPassword( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -177,7 +177,7 @@ class SW_DLLPUBLIC SwConnectionContext :
public:
SwConnectionContext(const OUString& rMailServer, sal_Int16 nPort, const OUString& rConnectionType);
- ~SwConnectionContext();
+ virtual ~SwConnectionContext();
virtual ::com::sun::star::uno::Any SAL_CALL getValueByName( const OUString& Name )
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -199,7 +199,7 @@ public:
SwConnectionListener() :
cppu::WeakComponentImplHelper1< ::com::sun::star::mail::XConnectionListener>(m_aMutex)
{}
- ~SwConnectionListener();
+ virtual ~SwConnectionListener();
virtual void SAL_CALL connected(const ::com::sun::star::lang::EventObject& aEvent)
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -228,7 +228,7 @@ class SwMailTransferable :
public:
SwMailTransferable(const OUString& rURL, const OUString& rName, const OUString& rMimeType);
SwMailTransferable(const OUString& rBody, const OUString& rMimeType);
- ~SwMailTransferable();
+ virtual ~SwMailTransferable();
virtual ::com::sun::star::uno::Any SAL_CALL
getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
throw (::com::sun::star::datatransfer::UnsupportedFlavorException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -269,7 +269,7 @@ class SwMailMessage :
::com::sun::star::uno::Sequence< ::com::sun::star::mail::MailAttachment > m_aAttachments;
public:
SwMailMessage();
- ~SwMailMessage();
+ virtual ~SwMailMessage();
// attributes
virtual OUString SAL_CALL getSenderName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/mailmergewizard.hxx b/sw/source/core/uibase/inc/mailmergewizard.hxx
index cabd7846b401..f86599ed0cd2 100644
--- a/sw/source/core/uibase/inc/mailmergewizard.hxx
+++ b/sw/source/core/uibase/inc/mailmergewizard.hxx
@@ -67,7 +67,7 @@ protected:
public:
SwMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem);
- ~SwMailMergeWizard();
+ virtual ~SwMailMergeWizard();
SwView* GetSwView() {return m_pSwView;}
SwMailMergeConfigItem& GetConfigItem() { return m_rConfigItem;}
diff --git a/sw/source/core/uibase/inc/mailmrge.hxx b/sw/source/core/uibase/inc/mailmrge.hxx
index b312e056093e..54cdd694af39 100644
--- a/sw/source/core/uibase/inc/mailmrge.hxx
+++ b/sw/source/core/uibase/inc/mailmrge.hxx
@@ -131,7 +131,7 @@ public:
sal_Int32 nCommandType,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection,
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0);
- ~SwMailMergeDlg();
+ virtual ~SwMailMergeDlg();
inline sal_uInt16 GetMergeType() { return nMergeType; }
diff --git a/sw/source/core/uibase/inc/multmrk.hxx b/sw/source/core/uibase/inc/multmrk.hxx
index fe40ee33653e..5c83558d279e 100644
--- a/sw/source/core/uibase/inc/multmrk.hxx
+++ b/sw/source/core/uibase/inc/multmrk.hxx
@@ -45,7 +45,7 @@ class SwMultiTOXMarkDlg : public SvxStandardDialog
void Apply() SAL_OVERRIDE;
public:
SwMultiTOXMarkDlg( Window* pParent, SwTOXMgr &rTOXMgr );
- ~SwMultiTOXMarkDlg();
+ virtual ~SwMultiTOXMarkDlg();
};
#endif // INCLUDED_SW_SOURCE_UI_INC_MULTMRK_HXX
diff --git a/sw/source/core/uibase/inc/navicfg.hxx b/sw/source/core/uibase/inc/navicfg.hxx
index 8368c86eaeac..b3c7e1a4170a 100644
--- a/sw/source/core/uibase/inc/navicfg.hxx
+++ b/sw/source/core/uibase/inc/navicfg.hxx
@@ -35,7 +35,7 @@ class SwNavigationConfig : public utl::ConfigItem
public:
SwNavigationConfig();
- ~SwNavigationConfig();
+ virtual ~SwNavigationConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/navipi.hxx b/sw/source/core/uibase/inc/navipi.hxx
index cb082903ab6a..ca8af7921cb7 100644
--- a/sw/source/core/uibase/inc/navipi.hxx
+++ b/sw/source/core/uibase/inc/navipi.hxx
@@ -143,7 +143,7 @@ protected:
public:
SwNavigationPI(SfxBindings*, SfxChildWindowContext*, Window*);
- ~SwNavigationPI();
+ virtual ~SwNavigationPI();
void GotoPage(); // jump to page; bindable function
diff --git a/sw/source/core/uibase/inc/num.hxx b/sw/source/core/uibase/inc/num.hxx
index 6b27d3301d78..fd155f4787c6 100644
--- a/sw/source/core/uibase/inc/num.hxx
+++ b/sw/source/core/uibase/inc/num.hxx
@@ -117,7 +117,7 @@ public:
SwNumPositionTabPage(Window* pParent,
const SfxItemSet& rSet);
- ~SwNumPositionTabPage();
+ virtual ~SwNumPositionTabPage();
virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE;
virtual int DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE;
@@ -159,7 +159,7 @@ class SwSvxNumBulletTabDialog : public SfxTabDialog
SwSvxNumBulletTabDialog(Window* pParent,
const SfxItemSet* pSwItemSet,
SwWrtShell &);
- ~SwSvxNumBulletTabDialog();
+ virtual ~SwSvxNumBulletTabDialog();
};
#endif // INCLUDED_SW_SOURCE_UI_INC_NUM_HXX
diff --git a/sw/source/core/uibase/inc/numberingtypelistbox.hxx b/sw/source/core/uibase/inc/numberingtypelistbox.hxx
index f2aa7c9dd7b5..cad1c886b297 100644
--- a/sw/source/core/uibase/inc/numberingtypelistbox.hxx
+++ b/sw/source/core/uibase/inc/numberingtypelistbox.hxx
@@ -36,7 +36,7 @@ class SW_DLLPUBLIC SwNumberingTypeListBox : public ListBox
public:
SwNumberingTypeListBox( Window* pWin, WinBits nStyle = WB_BORDER );
- ~SwNumberingTypeListBox();
+ virtual ~SwNumberingTypeListBox();
virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/numfmtlb.hxx b/sw/source/core/uibase/inc/numfmtlb.hxx
index d6facd3da9b5..be1e284b2980 100644
--- a/sw/source/core/uibase/inc/numfmtlb.hxx
+++ b/sw/source/core/uibase/inc/numfmtlb.hxx
@@ -47,7 +47,7 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox
public:
NumFormatListBox(Window* pWin, WinBits nStyle);
- ~NumFormatListBox();
+ virtual ~NumFormatListBox();
void Clear();
diff --git a/sw/source/core/uibase/inc/numpara.hxx b/sw/source/core/uibase/inc/numpara.hxx
index fbab11a0fc6f..1a6391633a41 100644
--- a/sw/source/core/uibase/inc/numpara.hxx
+++ b/sw/source/core/uibase/inc/numpara.hxx
@@ -65,7 +65,7 @@ protected:
void aCountParaFL();
public:
- ~SwParagraphNumTabPage();
+ virtual ~SwParagraphNumTabPage();
static SfxTabPage* Create( Window* pParent,
const SfxItemSet& rSet );
diff --git a/sw/source/core/uibase/inc/numprevw.hxx b/sw/source/core/uibase/inc/numprevw.hxx
index 827109135a2e..16d42306b9ef 100644
--- a/sw/source/core/uibase/inc/numprevw.hxx
+++ b/sw/source/core/uibase/inc/numprevw.hxx
@@ -52,7 +52,7 @@ class NumberingPreview : public Window
{
}
- ~NumberingPreview();
+ virtual ~NumberingPreview();
void SetNumRule(const SwNumRule* pNum)
{pActNum = pNum; Invalidate();};
diff --git a/sw/source/core/uibase/inc/optcomp.hxx b/sw/source/core/uibase/inc/optcomp.hxx
index 528e625b3ae2..f73797488a1d 100644
--- a/sw/source/core/uibase/inc/optcomp.hxx
+++ b/sw/source/core/uibase/inc/optcomp.hxx
@@ -62,7 +62,7 @@ private:
public:
SwCompatibilityOptPage( Window* pParent, const SfxItemSet& rSet );
- ~SwCompatibilityOptPage();
+ virtual ~SwCompatibilityOptPage();
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
diff --git a/sw/source/core/uibase/inc/optload.hxx b/sw/source/core/uibase/inc/optload.hxx
index e52d4f203fea..99ecd4b0bb9d 100644
--- a/sw/source/core/uibase/inc/optload.hxx
+++ b/sw/source/core/uibase/inc/optload.hxx
@@ -161,7 +161,7 @@ private:
public:
SwCaptionOptPage( Window* pParent,
const SfxItemSet& rSet );
- ~SwCaptionOptPage();
+ virtual ~SwCaptionOptPage();
static SfxTabPage* Create( Window* pParent,
const SfxItemSet& rAttrSet);
diff --git a/sw/source/core/uibase/inc/optpage.hxx b/sw/source/core/uibase/inc/optpage.hxx
index a33c494a8ca6..2cbbe728b26e 100644
--- a/sw/source/core/uibase/inc/optpage.hxx
+++ b/sw/source/core/uibase/inc/optpage.hxx
@@ -71,7 +71,7 @@ class SwContentOptPage : public SfxTabPage
public:
SwContentOptPage( Window* pParent,
const SfxItemSet& rSet );
- ~SwContentOptPage();
+ virtual ~SwContentOptPage();
static SfxTabPage* Create( Window* pParent,
const SfxItemSet& rAttrSet);
@@ -191,7 +191,7 @@ class SwStdFontTabPage : public SfxTabPage
SwStdFontTabPage( Window* pParent,
const SfxItemSet& rSet );
- ~SwStdFontTabPage();
+ virtual ~SwStdFontTabPage();
public:
static SfxTabPage* Create( Window* pParent,
@@ -232,7 +232,7 @@ class SwTableOptionsTabPage : public SfxTabPage
SwTableOptionsTabPage( Window* pParent,
const SfxItemSet& rSet );
- ~SwTableOptionsTabPage();
+ virtual ~SwTableOptionsTabPage();
public:
@@ -279,7 +279,7 @@ class SwShdwCrsrOptionsTabPage : public SfxTabPage
SwWrtShell * m_pWrtShell;
SwShdwCrsrOptionsTabPage( Window* pParent, const SfxItemSet& rSet );
- ~SwShdwCrsrOptionsTabPage();
+ virtual ~SwShdwCrsrOptionsTabPage();
public:
@@ -357,7 +357,7 @@ class SwRedlineOptionsTabPage : public SfxTabPage
OUString sNone;
SwRedlineOptionsTabPage( Window* pParent, const SfxItemSet& rSet );
- ~SwRedlineOptionsTabPage();
+ virtual ~SwRedlineOptionsTabPage();
DECL_LINK( AttribHdl, ListBox *pLB );
DECL_LINK(ChangedMaskPrevHdl, void * = 0);
@@ -422,7 +422,7 @@ class SwCompareOptionsTabPage : public SfxTabPage
NumericField* m_pLenNF;
SwCompareOptionsTabPage( Window* pParent, const SfxItemSet& rSet );
- ~SwCompareOptionsTabPage();
+ virtual ~SwCompareOptionsTabPage();
DECL_LINK(ComparisonHdl, void *);
DECL_LINK(IgnoreHdl, void *);
diff --git a/sw/source/core/uibase/inc/outline.hxx b/sw/source/core/uibase/inc/outline.hxx
index 50496d5cfe2b..7b037b56ace9 100644
--- a/sw/source/core/uibase/inc/outline.hxx
+++ b/sw/source/core/uibase/inc/outline.hxx
@@ -70,7 +70,7 @@ class SwOutlineTabDialog : public SfxTabDialog
SwOutlineTabDialog(Window* pParent,
const SfxItemSet* pSwItemSet,
SwWrtShell &);
- ~SwOutlineTabDialog();
+ virtual ~SwOutlineTabDialog();
SwNumRule* GetNumRule() {return pNumRule;}
sal_uInt16 GetLevel(const OUString &rFmtName) const;
@@ -120,7 +120,7 @@ class SwOutlineSettingsTabPage : public SfxTabPage
public:
SwOutlineSettingsTabPage(Window* pParent, const SfxItemSet& rSet);
- ~SwOutlineSettingsTabPage();
+ virtual ~SwOutlineSettingsTabPage();
void SetWrtShell(SwWrtShell* pShell);
diff --git a/sw/source/core/uibase/inc/pgfnote.hxx b/sw/source/core/uibase/inc/pgfnote.hxx
index 38717ef02d61..fc1261fe881f 100644
--- a/sw/source/core/uibase/inc/pgfnote.hxx
+++ b/sw/source/core/uibase/inc/pgfnote.hxx
@@ -42,7 +42,7 @@ public:
private:
SwFootNotePage(Window *pParent, const SfxItemSet &rSet);
- ~SwFootNotePage();
+ virtual ~SwFootNotePage();
RadioButton* m_pMaxHeightPageBtn;
RadioButton* m_pMaxHeightBtn;
diff --git a/sw/source/core/uibase/inc/pggrid.hxx b/sw/source/core/uibase/inc/pggrid.hxx
index bd770e59114e..d4488925711e 100644
--- a/sw/source/core/uibase/inc/pggrid.hxx
+++ b/sw/source/core/uibase/inc/pggrid.hxx
@@ -70,7 +70,7 @@ class SwTextGridPage: public SfxTabPage
sal_Bool m_bVRulerChanged;
SwTextGridPage(Window *pParent, const SfxItemSet &rSet);
- ~SwTextGridPage();
+ virtual ~SwTextGridPage();
void UpdatePageSize(const SfxItemSet& rSet);
void PutGridItem(SfxItemSet& rSet);
diff --git a/sw/source/core/uibase/inc/popbox.hxx b/sw/source/core/uibase/inc/popbox.hxx
index 7bba9a53ffc0..50c5d0a5f0c8 100644
--- a/sw/source/core/uibase/inc/popbox.hxx
+++ b/sw/source/core/uibase/inc/popbox.hxx
@@ -39,7 +39,7 @@ protected:
public:
SwHelpToolBox(SwNavigationPI* pParent, const ResId &);
- ~SwHelpToolBox();
+ virtual ~SwHelpToolBox();
void SetDoubleClickLink(const Link &); // inline
void SetRightClickLink(const Link &); // inline
};
diff --git a/sw/source/core/uibase/inc/pview.hxx b/sw/source/core/uibase/inc/pview.hxx
index e1b82d79da30..59bdf83e6c5b 100644
--- a/sw/source/core/uibase/inc/pview.hxx
+++ b/sw/source/core/uibase/inc/pview.hxx
@@ -60,7 +60,7 @@ class SwPagePreviewWin : public Window
public:
SwPagePreviewWin( Window* pParent, SwPagePreview& rView );
- ~SwPagePreviewWin();
+ virtual ~SwPagePreviewWin();
// calls SwViewShell::Paint
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
@@ -287,7 +287,7 @@ public:
void SetVScrollbarThumbPos( const sal_uInt16 _nNewThumbPos );
SwPagePreview( SfxViewFrame* pFrame, SfxViewShell* );
- ~SwPagePreview();
+ virtual ~SwPagePreview();
};
// ----------------- inline methods ----------------------
diff --git a/sw/source/core/uibase/inc/redlndlg.hxx b/sw/source/core/uibase/inc/redlndlg.hxx
index 206511feb7da..3a3b3265bb0f 100644
--- a/sw/source/core/uibase/inc/redlndlg.hxx
+++ b/sw/source/core/uibase/inc/redlndlg.hxx
@@ -137,7 +137,7 @@ class SwModelessRedlineAcceptDlg : public SfxModelessDialog
public:
SwModelessRedlineAcceptDlg(SfxBindings*, SwChildWinWrapper*, Window *pParent);
- ~SwModelessRedlineAcceptDlg();
+ virtual ~SwModelessRedlineAcceptDlg();
virtual void Activate() SAL_OVERRIDE;
virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/scroll.hxx b/sw/source/core/uibase/inc/scroll.hxx
index 0d2743525d7d..eb6dfcb057a3 100644
--- a/sw/source/core/uibase/inc/scroll.hxx
+++ b/sw/source/core/uibase/inc/scroll.hxx
@@ -51,7 +51,7 @@ public:
sal_Bool IsAuto() { return bAuto;}
SwScrollbar(Window *pParent, sal_Bool bHori = sal_True );
- ~SwScrollbar();
+ virtual ~SwScrollbar();
};
#endif
diff --git a/sw/source/core/uibase/inc/srcedtw.hxx b/sw/source/core/uibase/inc/srcedtw.hxx
index 4560a86c68aa..bc19a311aac1 100644
--- a/sw/source/core/uibase/inc/srcedtw.hxx
+++ b/sw/source/core/uibase/inc/srcedtw.hxx
@@ -116,7 +116,7 @@ protected:
public:
SwSrcEditWindow( Window* pParent, SwSrcView* pParentView );
- ~SwSrcEditWindow();
+ virtual ~SwSrcEditWindow();
void SetScrollBarRanges();
void InitScrollBars();
diff --git a/sw/source/core/uibase/inc/srcview.hxx b/sw/source/core/uibase/inc/srcview.hxx
index 4513a116943e..6ac7f305641a 100644
--- a/sw/source/core/uibase/inc/srcview.hxx
+++ b/sw/source/core/uibase/inc/srcview.hxx
@@ -57,7 +57,7 @@ public:
SwSrcView(SfxViewFrame* pFrame, SfxViewShell*);
- ~SwSrcView();
+ virtual ~SwSrcView();
SwDocShell* GetDocShell();
SwSrcEditWindow& GetEditWin() {return aEditWin;}
diff --git a/sw/source/core/uibase/inc/srtdlg.hxx b/sw/source/core/uibase/inc/srtdlg.hxx
index e655b6eb88e2..6e0a3e0c6d4a 100644
--- a/sw/source/core/uibase/inc/srtdlg.hxx
+++ b/sw/source/core/uibase/inc/srtdlg.hxx
@@ -84,7 +84,7 @@ class SwSortDlg : public SvxStandardDialog
public:
SwSortDlg(Window * pParent, SwWrtShell &rSh);
- ~SwSortDlg();
+ virtual ~SwSortDlg();
};
#endif
diff --git a/sw/source/core/uibase/inc/swlbox.hxx b/sw/source/core/uibase/inc/swlbox.hxx
index 49ac2b096892..aed583fb19c7 100644
--- a/sw/source/core/uibase/inc/swlbox.hxx
+++ b/sw/source/core/uibase/inc/swlbox.hxx
@@ -67,7 +67,7 @@ class SW_DLLPUBLIC SwComboBox : public ComboBox
public:
SwComboBox(Window* pParent, WinBits nStyle);
- ~SwComboBox();
+ virtual ~SwComboBox();
void InsertSwEntry(const SwBoxEntry&);
virtual sal_Int32 InsertEntry(const OUString& rStr, sal_Int32 = 0) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx b/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx
index d63683bb03da..1f82224239d6 100644
--- a/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx
+++ b/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx
@@ -29,7 +29,7 @@ class SwModalRedlineAcceptDlg : public SfxModalDialog
public:
SwModalRedlineAcceptDlg(Window *pParent);
- ~SwModalRedlineAcceptDlg();
+ virtual ~SwModalRedlineAcceptDlg();
void AcceptAll( sal_Bool bAccept );
virtual void Activate() SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/swuicnttab.hxx b/sw/source/core/uibase/inc/swuicnttab.hxx
index c267afeb7bbd..bdd17412f9e3 100644
--- a/sw/source/core/uibase/inc/swuicnttab.hxx
+++ b/sw/source/core/uibase/inc/swuicnttab.hxx
@@ -101,7 +101,7 @@ public:
SwWrtShell &rShell,
SwTOXBase* pCurTOX, sal_uInt16 nToxType = USHRT_MAX,
sal_Bool bGlobal = sal_False);
- ~SwMultiTOXTabDialog();
+ virtual ~SwMultiTOXTabDialog();
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE;
@@ -220,7 +220,7 @@ class SwTOXSelectTabPage : public SfxTabPage
public:
SwTOXSelectTabPage(Window* pParent, const SfxItemSet& rAttrSet);
- ~SwTOXSelectTabPage();
+ virtual ~SwTOXSelectTabPage();
virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE;
@@ -282,7 +282,7 @@ class SwTokenWindow : public VclHBox, public VclBuilderContainer
public:
SwTokenWindow(Window* pParent);
- ~SwTokenWindow();
+ virtual ~SwTokenWindow();
void SetTabPage(SwTOXEntryTabPage *pParent) { m_pParent = pParent; }
@@ -433,7 +433,7 @@ class SwTOXEntryTabPage : public SfxTabPage
public:
SwTOXEntryTabPage(Window* pParent, const SfxItemSet& rAttrSet);
- ~SwTOXEntryTabPage();
+ virtual ~SwTOXEntryTabPage();
virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE;
@@ -479,7 +479,7 @@ class SwTOXStylesTabPage : public SfxTabPage
public:
SwTOXStylesTabPage(Window* pParent, const SfxItemSet& rAttrSet);
- ~SwTOXStylesTabPage();
+ virtual ~SwTOXStylesTabPage();
virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/swuipardlg.hxx b/sw/source/core/uibase/inc/swuipardlg.hxx
index 3c6f3cc951f3..650c973b200f 100644
--- a/sw/source/core/uibase/inc/swuipardlg.hxx
+++ b/sw/source/core/uibase/inc/swuipardlg.hxx
@@ -45,7 +45,7 @@ public:
const OUString *pCollName = 0,
sal_Bool bDraw = sal_False,
const OString& sDefPage = OString());
- ~SwParaDlg();
+ virtual ~SwParaDlg();
};
#endif
diff --git a/sw/source/core/uibase/inc/swvset.hxx b/sw/source/core/uibase/inc/swvset.hxx
index c229998213e6..65eb43e89256 100644
--- a/sw/source/core/uibase/inc/swvset.hxx
+++ b/sw/source/core/uibase/inc/swvset.hxx
@@ -24,7 +24,7 @@ class SwRulerValueSet : public SvxBmpNumValueSet
{
public:
SwRulerValueSet(Window* pParent, WinBits nWinStyle);
- ~SwRulerValueSet();
+ virtual ~SwRulerValueSet();
virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE;
};
#endif
diff --git a/sw/source/core/uibase/inc/syncbtn.hxx b/sw/source/core/uibase/inc/syncbtn.hxx
index 468821ff2b58..9800f3faf15b 100644
--- a/sw/source/core/uibase/inc/syncbtn.hxx
+++ b/sw/source/core/uibase/inc/syncbtn.hxx
@@ -33,7 +33,7 @@ class SwSyncBtnDlg : public SfxFloatingWindow
public:
SwSyncBtnDlg(SfxBindings*, SfxChildWindow*, Window *pParent);
- ~SwSyncBtnDlg();
+ virtual ~SwSyncBtnDlg();
};
#endif
diff --git a/sw/source/core/uibase/inc/tblctrl.hxx b/sw/source/core/uibase/inc/tblctrl.hxx
index 679227d12496..4becca5acf58 100644
--- a/sw/source/core/uibase/inc/tblctrl.hxx
+++ b/sw/source/core/uibase/inc/tblctrl.hxx
@@ -28,7 +28,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SwTableOptimizeCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SwTableOptimizeCtrl();
+ virtual ~SwTableOptimizeCtrl();
virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/tbxanchr.hxx b/sw/source/core/uibase/inc/tbxanchr.hxx
index d9c6d70fb49a..f94f63d20060 100644
--- a/sw/source/core/uibase/inc/tbxanchr.hxx
+++ b/sw/source/core/uibase/inc/tbxanchr.hxx
@@ -34,7 +34,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SwTbxAnchor( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SwTbxAnchor();
+ virtual ~SwTbxAnchor();
};
#endif
diff --git a/sw/source/core/uibase/inc/titlepage.hxx b/sw/source/core/uibase/inc/titlepage.hxx
index 3031e3112ef9..18aabae9a7b7 100644
--- a/sw/source/core/uibase/inc/titlepage.hxx
+++ b/sw/source/core/uibase/inc/titlepage.hxx
@@ -62,7 +62,7 @@ private:
DECL_LINK(StartPageHdl, void *);
public:
SwTitlePageDlg( Window *pParent );
- ~SwTitlePageDlg();
+ virtual ~SwTitlePageDlg();
};
#endif
diff --git a/sw/source/core/uibase/inc/tmplctrl.hxx b/sw/source/core/uibase/inc/tmplctrl.hxx
index 7d243df6edbb..56642a38d30e 100644
--- a/sw/source/core/uibase/inc/tmplctrl.hxx
+++ b/sw/source/core/uibase/inc/tmplctrl.hxx
@@ -34,7 +34,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
SwTemplateControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- ~SwTemplateControl();
+ virtual ~SwTemplateControl();
private:
OUString sTemplate;
diff --git a/sw/source/core/uibase/inc/uiborder.hxx b/sw/source/core/uibase/inc/uiborder.hxx
index 78adaeb7846d..3327bdac3aac 100644
--- a/sw/source/core/uibase/inc/uiborder.hxx
+++ b/sw/source/core/uibase/inc/uiborder.hxx
@@ -33,7 +33,7 @@ public:
// SW_BORDER_MODE_FRAME
SwBorderDlg(Window* pParent, SfxItemSet& rSet, sal_uInt16 nType);
- ~SwBorderDlg();
+ virtual ~SwBorderDlg();
};
#endif
diff --git a/sw/source/core/uibase/inc/uiitems.hxx b/sw/source/core/uibase/inc/uiitems.hxx
index d90b35eac6a9..d1a3f36be19b 100644
--- a/sw/source/core/uibase/inc/uiitems.hxx
+++ b/sw/source/core/uibase/inc/uiitems.hxx
@@ -39,7 +39,7 @@ public:
SwPageFtnInfoItem(const sal_uInt16 nId, SwPageFtnInfo& rInfo);
SwPageFtnInfoItem(const SwPageFtnInfoItem& rItem );
- ~SwPageFtnInfoItem();
+ virtual ~SwPageFtnInfoItem();
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/unoatxt.hxx b/sw/source/core/uibase/inc/unoatxt.hxx
index 90338fdb3973..1e65f7a0fa52 100644
--- a/sw/source/core/uibase/inc/unoatxt.hxx
+++ b/sw/source/core/uibase/inc/unoatxt.hxx
@@ -253,7 +253,7 @@ class SwAutoTextEventDescriptor : public SvBaseEventDescriptor
public:
SwAutoTextEventDescriptor( SwXAutoTextEntry& rAutoText );
- ~SwAutoTextEventDescriptor();
+ virtual ~SwAutoTextEventDescriptor();
virtual OUString SAL_CALL getImplementationName(void)
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/unodispatch.hxx b/sw/source/core/uibase/inc/unodispatch.hxx
index 23a2a7ab21e7..8d1b32427cea 100644
--- a/sw/source/core/uibase/inc/unodispatch.hxx
+++ b/sw/source/core/uibase/inc/unodispatch.hxx
@@ -65,7 +65,7 @@ class SwXDispatchProviderInterceptor : public cppu::WeakImplHelper3
public:
SwXDispatchProviderInterceptor(SwView& rView);
- ~SwXDispatchProviderInterceptor();
+ virtual ~SwXDispatchProviderInterceptor();
//XDispatchProvider
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -106,7 +106,7 @@ class SwXDispatch : public cppu::WeakImplHelper2
sal_Bool m_bListenerAdded;
public:
SwXDispatch(SwView& rView);
- ~SwXDispatch();
+ virtual ~SwXDispatch();
virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs )
throw (::com::sun::star::uno::RuntimeException,
diff --git a/sw/source/core/uibase/inc/usrpref.hxx b/sw/source/core/uibase/inc/usrpref.hxx
index 8d04de4874f8..7a03bf80f712 100644
--- a/sw/source/core/uibase/inc/usrpref.hxx
+++ b/sw/source/core/uibase/inc/usrpref.hxx
@@ -34,7 +34,7 @@ class SwContentViewConfig : public utl::ConfigItem
com::sun::star::uno::Sequence<OUString> GetPropertyNames();
public:
SwContentViewConfig(sal_Bool bWeb, SwMasterUsrPref& rParent);
- ~SwContentViewConfig();
+ virtual ~SwContentViewConfig();
// utl::ConfigItem
virtual void Notify( const com::sun::star::uno::Sequence< OUString > &rPropertyNames ) SAL_OVERRIDE;
@@ -52,7 +52,7 @@ class SwLayoutViewConfig : public utl::ConfigItem
com::sun::star::uno::Sequence<OUString> GetPropertyNames();
public:
SwLayoutViewConfig(sal_Bool bWeb, SwMasterUsrPref& rParent);
- ~SwLayoutViewConfig();
+ virtual ~SwLayoutViewConfig();
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
virtual void Commit() SAL_OVERRIDE;
@@ -67,7 +67,7 @@ class SwGridConfig : public utl::ConfigItem
com::sun::star::uno::Sequence<OUString> GetPropertyNames();
public:
SwGridConfig(sal_Bool bWeb, SwMasterUsrPref& rParent);
- ~SwGridConfig();
+ virtual ~SwGridConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
@@ -82,7 +82,7 @@ class SwCursorConfig : public utl::ConfigItem
com::sun::star::uno::Sequence<OUString> GetPropertyNames();
public:
SwCursorConfig(SwMasterUsrPref& rParent);
- ~SwCursorConfig();
+ virtual ~SwCursorConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
@@ -97,7 +97,7 @@ class SwWebColorConfig : public utl::ConfigItem
public:
SwWebColorConfig(SwMasterUsrPref& rParent);
- ~SwWebColorConfig();
+ virtual ~SwWebColorConfig();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/view.hxx b/sw/source/core/uibase/inc/view.hxx
index 14f56ef54a0b..6526b22d93f5 100644
--- a/sw/source/core/uibase/inc/view.hxx
+++ b/sw/source/core/uibase/inc/view.hxx
@@ -625,7 +625,7 @@ public:
void ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions);
SwView(SfxViewFrame* pFrame, SfxViewShell*);
- ~SwView();
+ virtual ~SwView();
void NotifyDBChanged();
diff --git a/sw/source/core/uibase/inc/viewlayoutctrl.hxx b/sw/source/core/uibase/inc/viewlayoutctrl.hxx
index 2ca684f5c947..42d6afc734a1 100644
--- a/sw/source/core/uibase/inc/viewlayoutctrl.hxx
+++ b/sw/source/core/uibase/inc/viewlayoutctrl.hxx
@@ -34,7 +34,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
SwViewLayoutControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- ~SwViewLayoutControl();
+ virtual ~SwViewLayoutControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/inc/wordcountctrl.hxx b/sw/source/core/uibase/inc/wordcountctrl.hxx
index 9026d2a676e9..017aa6d2b0c6 100644
--- a/sw/source/core/uibase/inc/wordcountctrl.hxx
+++ b/sw/source/core/uibase/inc/wordcountctrl.hxx
@@ -25,7 +25,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
SwWordCountStatusBarControl(sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb);
- ~SwWordCountStatusBarControl();
+ virtual ~SwWordCountStatusBarControl();
};
#endif
diff --git a/sw/source/core/uibase/inc/wordcountdialog.hxx b/sw/source/core/uibase/inc/wordcountdialog.hxx
index 85c3b036502d..4d8f4c34ee23 100644
--- a/sw/source/core/uibase/inc/wordcountdialog.hxx
+++ b/sw/source/core/uibase/inc/wordcountdialog.hxx
@@ -52,7 +52,7 @@ public:
SfxChildWindow* pChild,
Window *pParent,
SfxChildWinInfo* pInfo);
- ~SwWordCountFloatDlg();
+ virtual ~SwWordCountFloatDlg();
void UpdateCounts();
void SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat);
diff --git a/sw/source/core/uibase/inc/workctrl.hxx b/sw/source/core/uibase/inc/workctrl.hxx
index ef9000e30445..a030d9f79952 100644
--- a/sw/source/core/uibase/inc/workctrl.hxx
+++ b/sw/source/core/uibase/inc/workctrl.hxx
@@ -63,7 +63,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SwTbxInsertCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SwTbxInsertCtrl();
+ virtual ~SwTbxInsertCtrl();
virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE;
@@ -145,7 +145,7 @@ protected:
public:
SwScrollNaviPopup( sal_uInt16 nId, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, Window *pParent );
- ~SwScrollNaviPopup();
+ virtual ~SwScrollNaviPopup();
static OUString GetQuickHelpText(sal_Bool bNext);
@@ -172,7 +172,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SwPreviewZoomControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SwPreviewZoomControl();
+ virtual ~SwPreviewZoomControl();
virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
diff --git a/sw/source/core/uibase/inc/wrap.hxx b/sw/source/core/uibase/inc/wrap.hxx
index 3ded65121736..b3c4502237d2 100644
--- a/sw/source/core/uibase/inc/wrap.hxx
+++ b/sw/source/core/uibase/inc/wrap.hxx
@@ -83,7 +83,7 @@ class SwWrapTabPage: public SfxTabPage
sal_Bool bContourImage;
SwWrapTabPage(Window *pParent, const SfxItemSet &rSet);
- ~SwWrapTabPage();
+ virtual ~SwWrapTabPage();
void ApplyImageList();
void EnableModes(const SfxItemSet& rSet);
diff --git a/sw/source/core/uibase/inc/wview.hxx b/sw/source/core/uibase/inc/wview.hxx
index 199437debe6c..fa19410f9b2d 100644
--- a/sw/source/core/uibase/inc/wview.hxx
+++ b/sw/source/core/uibase/inc/wview.hxx
@@ -33,7 +33,7 @@ public:
TYPEINFO_OVERRIDE();
SwWebView(SfxViewFrame* pFrame, SfxViewShell*);
- ~SwWebView();
+ virtual ~SwWebView();
};
#endif
diff --git a/sw/source/core/uibase/inc/zoomctrl.hxx b/sw/source/core/uibase/inc/zoomctrl.hxx
index 52193f05970f..9e2031de1072 100644
--- a/sw/source/core/uibase/inc/zoomctrl.hxx
+++ b/sw/source/core/uibase/inc/zoomctrl.hxx
@@ -34,7 +34,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
SwZoomControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- ~SwZoomControl();
+ virtual ~SwZoomControl();
};
diff --git a/sw/source/core/uibase/ribbar/workctrl.cxx b/sw/source/core/uibase/ribbar/workctrl.cxx
index 20f03c20bed9..7cd02e5bfcb8 100644
--- a/sw/source/core/uibase/ribbar/workctrl.cxx
+++ b/sw/source/core/uibase/ribbar/workctrl.cxx
@@ -619,7 +619,7 @@ public:
Window* pParent,
sal_uInt16 nSlot,
const Reference< XDispatchProvider >& rDispatchProvider );
- ~SwZoomBox_Impl();
+ virtual ~SwZoomBox_Impl();
protected:
virtual void Select() SAL_OVERRIDE;
diff --git a/sw/source/core/uibase/sidebar/PageColumnControl.hxx b/sw/source/core/uibase/sidebar/PageColumnControl.hxx
index 875bea370fd7..3ff4202838df 100644
--- a/sw/source/core/uibase/sidebar/PageColumnControl.hxx
+++ b/sw/source/core/uibase/sidebar/PageColumnControl.hxx
@@ -44,7 +44,7 @@ public:
const sal_uInt16 nColumnType,
const bool bLandscape );
- ~PageColumnControl(void);
+ virtual ~PageColumnControl(void);
private:
::svx::sidebar::ValueSetWithTextControl* mpColumnValueSet;
diff --git a/sw/source/core/uibase/sidebar/PageMarginControl.hxx b/sw/source/core/uibase/sidebar/PageMarginControl.hxx
index f32e8846329c..c1fdb94f638a 100644
--- a/sw/source/core/uibase/sidebar/PageMarginControl.hxx
+++ b/sw/source/core/uibase/sidebar/PageMarginControl.hxx
@@ -60,7 +60,7 @@ public:
const sal_Bool bLandscape,
const FieldUnit eFUnit,
const SfxMapUnit eUnit );
- ~PageMarginControl(void);
+ virtual ~PageMarginControl(void);
private:
::svx::sidebar::ValueSetWithTextControl* mpMarginValueSet;
diff --git a/sw/source/core/uibase/sidebar/PageOrientationControl.hxx b/sw/source/core/uibase/sidebar/PageOrientationControl.hxx
index a4cfe4249376..c1927fbb86f1 100644
--- a/sw/source/core/uibase/sidebar/PageOrientationControl.hxx
+++ b/sw/source/core/uibase/sidebar/PageOrientationControl.hxx
@@ -37,7 +37,7 @@ public:
Window* pParent,
PagePropertyPanel& rPanel,
const sal_Bool bLandscape );
- ~PageOrientationControl(void);
+ virtual ~PageOrientationControl(void);
private:
::svx::sidebar::ValueSetWithTextControl* mpOrientationValueSet;
diff --git a/sw/source/core/uibase/sidebar/PageSizeControl.hxx b/sw/source/core/uibase/sidebar/PageSizeControl.hxx
index e1f0313a3649..d1e433da719f 100644
--- a/sw/source/core/uibase/sidebar/PageSizeControl.hxx
+++ b/sw/source/core/uibase/sidebar/PageSizeControl.hxx
@@ -47,7 +47,7 @@ public:
const Paper ePaper,
const sal_Bool bLandscape,
const FieldUnit eFUnit );
- ~PageSizeControl(void);
+ virtual ~PageSizeControl(void);
private:
::svx::sidebar::ValueSetWithTextControl* mpSizeValueSet;
diff --git a/sw/source/core/uibase/table/tablepg.hxx b/sw/source/core/uibase/table/tablepg.hxx
index 8b5f5a5ef498..3f95844371b6 100644
--- a/sw/source/core/uibase/table/tablepg.hxx
+++ b/sw/source/core/uibase/table/tablepg.hxx
@@ -130,7 +130,7 @@ class SwTableColumnPage : public SfxTabPage
public:
SwTableColumnPage( Window* pParent, const SfxItemSet& rSet );
- ~SwTableColumnPage();
+ virtual ~SwTableColumnPage();
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet);
virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE;
@@ -178,7 +178,7 @@ class SwTextFlowPage : public SfxTabPage
DECL_LINK( HeadLineCBClickHdl, void* p = 0 );
SwTextFlowPage( Window* pParent, const SfxItemSet& rSet );
- ~SwTextFlowPage();
+ virtual ~SwTextFlowPage();
public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet);
diff --git a/sw/source/core/uibase/uno/unomailmerge.cxx b/sw/source/core/uibase/uno/unomailmerge.cxx
index b51659449cb5..3131aa0dcb5d 100644
--- a/sw/source/core/uibase/uno/unomailmerge.cxx
+++ b/sw/source/core/uibase/uno/unomailmerge.cxx
@@ -198,7 +198,7 @@ namespace
const OUString& _rTemporaryFile );
protected:
- ~DelayedFileDeletion( );
+ virtual ~DelayedFileDeletion( );
// XCloseListener
virtual void SAL_CALL queryClosing( const EventObject& _rSource, sal_Bool _bGetsOwnership ) throw (util::CloseVetoException, RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index 80490e5dad21..cb1d33507584 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -1165,7 +1165,7 @@ public:
, m_pProps((pFmt) ? 0 : new SwFieldProperties_Impl)
{ }
- ~Impl()
+ virtual ~Impl()
{
if (m_pTextObject)
{
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 950e1eebc782..248bd160e6ff 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -689,7 +689,7 @@ public:
}
}
- ~Impl() {
+ virtual ~Impl() {
// Impl owns the cursor; delete it here: SolarMutex is locked
delete GetRegisteredIn();
}
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx
index 51e07ab30272..504bb56904f4 100644
--- a/sw/source/core/unocore/unoobj2.cxx
+++ b/sw/source/core/unocore/unoobj2.cxx
@@ -465,7 +465,7 @@ public:
}
SAL_WNODEPRECATED_DECLARATIONS_POP
- ~Impl() {
+ virtual ~Impl() {
// Impl owns the cursor; delete it here: SolarMutex is locked
delete GetRegisteredIn();
}
@@ -731,7 +731,7 @@ public:
{
}
- ~Impl()
+ virtual ~Impl()
{
// Impl owns the bookmark; delete it here: SolarMutex is locked
Invalidate();
@@ -1533,7 +1533,7 @@ public:
MakeRanges();
}
- ~Impl() {
+ virtual ~Impl() {
// Impl owns the cursor; delete it here: SolarMutex is locked
delete GetRegisteredIn();
}
@@ -1718,7 +1718,7 @@ public:
}
}
- ~Impl() {
+ virtual ~Impl() {
// Impl owns the cursor; delete it here: SolarMutex is locked
delete GetRegisteredIn();
}
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx
index d05fd3384b25..275fe353e7f3 100644
--- a/sw/source/filter/html/htmlform.cxx
+++ b/sw/source/filter/html/htmlform.cxx
@@ -372,7 +372,7 @@ class SwHTMLImageWatcher :
public:
SwHTMLImageWatcher( const uno::Reference< drawing::XShape > & rShape,
sal_Bool bWidth, sal_Bool bHeight );
- ~SwHTMLImageWatcher();
+ virtual ~SwHTMLImageWatcher();
// startProduction darf nicht im Konstruktor gerufen werden, weil
// wir und ggf. selbst zerstoeren ... Deshlab eine eigene Methode.
diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx
index 479f0998199d..46a825d109d4 100644
--- a/sw/source/filter/inc/fltshell.hxx
+++ b/sw/source/filter/inc/fltshell.hxx
@@ -457,7 +457,7 @@ class SwFltFormatCollection : public SwFltOutBase
public:
SwFltFormatCollection(SwDoc&, RES_POOL_COLLFMT_TYPE nType);
SwFltFormatCollection(SwDoc&, const OUString& rName );
- ~SwFltFormatCollection() { if( pFlyAttrs ) delete pFlyAttrs; }
+ virtual ~SwFltFormatCollection() { if( pFlyAttrs ) delete pFlyAttrs; }
void Reset()
{
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index 2dc14f9b3aa2..5cd5b0a79cec 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -232,7 +232,7 @@ class WW8_WrPlcSepx : public MSWordSections
public:
WW8_WrPlcSepx( MSWordExportBase& rExport );
- ~WW8_WrPlcSepx();
+ virtual ~WW8_WrPlcSepx();
virtual bool HeaderFooterWritten() SAL_OVERRIDE; // override
@@ -1241,7 +1241,7 @@ private:
std::map<const OUString, WW8_CP> m_aRangeStartPositions;
public:
WW8_WrPlcAnnotations() {}
- ~WW8_WrPlcAnnotations();
+ virtual ~WW8_WrPlcAnnotations();
void AddRangeStartPosition(const OUString& rName, WW8_CP nStartCp);
void Append( WW8_CP nCp, const SwPostItField* pPostIt );
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 79b748be2ce2..78005a6cb845 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -440,7 +440,7 @@ struct SBBItem
Sttb& operator = ( const Sttb&);
public:
Sttb();
- ~Sttb();
+ virtual ~Sttb();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* fp ) SAL_OVERRIDE;
OUString getStringAtIndex( sal_uInt32 );
diff --git a/sw/source/filter/ww8/ww8toolbar.hxx b/sw/source/filter/ww8/ww8toolbar.hxx
index 7b4bb2e26059..aa4dedf2667b 100644
--- a/sw/source/filter/ww8/ww8toolbar.hxx
+++ b/sw/source/filter/ww8/ww8toolbar.hxx
@@ -32,7 +32,7 @@ class SwTBC : public TBBase
public:
SwTBC();
- ~SwTBC();
+ virtual ~SwTBC();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
bool ImportToolBarControl( SwCTBWrapper&, const css::uno::Reference< css::container::XIndexContainer >&, CustomToolBarImportHelper&, bool );
@@ -56,7 +56,7 @@ class SwCTB : public TBBase
public:
SwCTB();
- ~SwCTB();
+ virtual ~SwCTB();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* fp ) SAL_OVERRIDE;
bool IsMenuToolbar();
@@ -78,7 +78,7 @@ class TBDelta : public TBBase
public:
TBDelta();
- ~TBDelta(){}
+ virtual ~TBDelta(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
bool ControlIsModified();
@@ -103,7 +103,7 @@ protected:
public:
Tcg255SubStruct( bool bReadId );
- ~Tcg255SubStruct(){}
+ virtual ~Tcg255SubStruct(){}
virtual sal_uInt8 id() const { return ch; }
bool Read(SvStream &rS) SAL_OVERRIDE;
};
@@ -125,7 +125,7 @@ class Customization : public TBBase
public:
Customization( SwCTBWrapper* rapper );
- ~Customization();
+ virtual ~Customization();
bool Read(SvStream &rS) SAL_OVERRIDE;
bool ImportCustomToolBar( SwCTBWrapper&, CustomToolBarImportHelper& );
bool ImportMenu( SwCTBWrapper&, CustomToolBarImportHelper& );
@@ -157,7 +157,7 @@ class SwCTBWrapper : public Tcg255SubStruct
public:
SwCTBWrapper( bool bReadId = true );
- ~SwCTBWrapper();
+ virtual ~SwCTBWrapper();
void InsertDropIndex( sal_Int32 aIndex ) { dropDownMenuIndices.push_back( aIndex ); }
SwTBC* GetTBCAtOffset( sal_uInt32 nStreamOffset );
bool Read(SvStream &rS) SAL_OVERRIDE;
@@ -210,7 +210,7 @@ class Acd : public TBBase
public:
Acd();
- ~Acd(){}
+ virtual ~Acd(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
};
@@ -224,7 +224,7 @@ class PlfAcd: public Tcg255SubStruct
public:
PlfAcd( bool bReadId = true );
- ~PlfAcd();
+ virtual ~PlfAcd();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print(FILE*) SAL_OVERRIDE;
};
@@ -243,7 +243,7 @@ class Kme : public TBBase
public:
Kme();
- ~Kme();
+ virtual ~Kme();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
};
@@ -257,7 +257,7 @@ class PlfKme : public Tcg255SubStruct
public:
PlfKme( bool bReadId = true );
- ~PlfKme();
+ virtual ~PlfKme();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
};
@@ -281,7 +281,7 @@ class TcgSttbfCore : public TBBase
public:
TcgSttbfCore();
- ~TcgSttbfCore();
+ virtual ~TcgSttbfCore();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* fp ) SAL_OVERRIDE;
};
@@ -294,7 +294,7 @@ class TcgSttbf : public Tcg255SubStruct
public:
TcgSttbf( bool bReadId = true );
- ~TcgSttbf(){}
+ virtual ~TcgSttbf(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* fp ) SAL_OVERRIDE;
};
@@ -309,7 +309,7 @@ class Xstz : public TBBase
public:
Xstz();
- ~Xstz(){}
+ virtual ~Xstz(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* fp ) SAL_OVERRIDE;
};
@@ -323,7 +323,7 @@ class MacroName : public TBBase
public:
MacroName();
- ~MacroName(){}
+ virtual ~MacroName(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
};
@@ -338,7 +338,7 @@ class MacroNames : public Tcg255SubStruct
public:
MacroNames( bool bReadId = true );
- ~MacroNames();
+ virtual ~MacroNames();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
};
@@ -352,7 +352,7 @@ class Tcg255 : public TBBase
public:
Tcg255();
- ~Tcg255();
+ virtual ~Tcg255();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
bool ImportCustomToolBar( SfxObjectShell& rDocSh );
@@ -367,7 +367,7 @@ class Tcg: public TBBase
public:
Tcg();
- ~Tcg(){}
+ virtual ~Tcg(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
bool ImportCustomToolBar( SfxObjectShell& rDocSh );
void Print( FILE* ) SAL_OVERRIDE;
diff --git a/sw/source/filter/xml/xmlimp.hxx b/sw/source/filter/xml/xmlimp.hxx
index 1369894ff601..1788bce4573e 100644
--- a/sw/source/filter/xml/xmlimp.hxx
+++ b/sw/source/filter/xml/xmlimp.hxx
@@ -111,7 +111,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext,
OUString const & implementationName, sal_uInt16 nImportFlags);
- ~SwXMLImport() throw();
+ virtual ~SwXMLImport() throw();
// ::com::sun::star::xml::sax::XDocumentHandler
virtual void SAL_CALL startDocument()
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 259135e6550c..d45b1072d6e7 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -1079,7 +1079,7 @@ public:
SwXMLDDETableContext_Impl(
SwXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName);
- ~SwXMLDDETableContext_Impl();
+ virtual ~SwXMLDDETableContext_Impl();
virtual void StartElement(
const Reference<xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE;
diff --git a/sw/source/filter/xml/xmltexte.hxx b/sw/source/filter/xml/xmltexte.hxx
index e70204f7bf08..cb007465a77d 100644
--- a/sw/source/filter/xml/xmltexte.hxx
+++ b/sw/source/filter/xml/xmltexte.hxx
@@ -68,7 +68,7 @@ public:
SwXMLTextParagraphExport(
SwXMLExport& rExp,
SvXMLAutoStylePoolP& rAutoStylePool );
- ~SwXMLTextParagraphExport();
+ virtual ~SwXMLTextParagraphExport();
virtual void setTextEmbeddedGraphicURL(
const ::com::sun::star::uno::Reference <
diff --git a/sw/source/filter/xml/xmltexti.hxx b/sw/source/filter/xml/xmltexti.hxx
index 0d8adef943e9..1a7d1b884e45 100644
--- a/sw/source/filter/xml/xmltexti.hxx
+++ b/sw/source/filter/xml/xmltexti.hxx
@@ -45,7 +45,7 @@ public:
bool bInsertM, bool bStylesOnlyM, bool bProgress,
bool bBlockM, bool bOrganizerM,
sal_Bool bPreserveRedlineMode );
- ~SwXMLTextImportHelper();
+ virtual ~SwXMLTextImportHelper();
virtual ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet>
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx
index 1483feb98212..a32b7af2dbc7 100644
--- a/sw/source/ui/chrdlg/drpcps.cxx
+++ b/sw/source/ui/chrdlg/drpcps.cxx
@@ -118,7 +118,7 @@ public:
void SetDropCapsPage(SwDropCapsPage* pPage) { mpPage = pPage; }
- ~SwDropCapsPict();
+ virtual ~SwDropCapsPict();
void UpdatePaintSettings( void ); // also invalidates control!
diff --git a/sw/source/ui/config/mailconfigpage.cxx b/sw/source/ui/config/mailconfigpage.cxx
index f577bee450b8..22ab58402588 100644
--- a/sw/source/ui/config/mailconfigpage.cxx
+++ b/sw/source/ui/config/mailconfigpage.cxx
@@ -109,7 +109,7 @@ class SwAuthenticationSettingsDialog : public SfxModalDialog
public:
SwAuthenticationSettingsDialog(SwMailConfigPage* pParent, SwMailMergeConfigItem& rItem);
- ~SwAuthenticationSettingsDialog();
+ virtual ~SwAuthenticationSettingsDialog();
};
SwMailConfigPage::SwMailConfigPage( Window* pParent, const SfxItemSet& rSet ) :
diff --git a/sw/source/ui/dbui/addresslistdialog.hxx b/sw/source/ui/dbui/addresslistdialog.hxx
index 7d8205a72582..3ffe5360e6c5 100644
--- a/sw/source/ui/dbui/addresslistdialog.hxx
+++ b/sw/source/ui/dbui/addresslistdialog.hxx
@@ -87,7 +87,7 @@ class SwAddressListDialog : public SfxModalDialog
public:
SwAddressListDialog(SwMailMergeAddressBlockPage* pParent);
- ~SwAddressListDialog();
+ virtual ~SwAddressListDialog();
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource>
GetSource();
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx
index 5b14c35e7413..90ea737bc143 100644
--- a/sw/source/ui/dbui/createaddresslistdialog.cxx
+++ b/sw/source/ui/dbui/createaddresslistdialog.cxx
@@ -72,7 +72,7 @@ class SwAddressControl_Impl : public Control
public:
SwAddressControl_Impl(Window* pParent, const ResId& rResId );
- ~SwAddressControl_Impl();
+ virtual ~SwAddressControl_Impl();
void SetData(SwCSVData& rDBData);
diff --git a/sw/source/ui/dbui/createaddresslistdialog.hxx b/sw/source/ui/dbui/createaddresslistdialog.hxx
index 8d42ff46bd1b..d931ab30d0b1 100644
--- a/sw/source/ui/dbui/createaddresslistdialog.hxx
+++ b/sw/source/ui/dbui/createaddresslistdialog.hxx
@@ -80,7 +80,7 @@ class SwCreateAddressListDialog : public SfxModalDialog
public:
SwCreateAddressListDialog(
Window* pParent, const OUString& rURL, SwMailMergeConfigItem& rConfig);
- ~SwCreateAddressListDialog();
+ virtual ~SwCreateAddressListDialog();
const OUString& GetURL() const { return m_sURL; }
void Find( const OUString& rSearch, sal_Int32 nColumn);
diff --git a/sw/source/ui/dbui/customizeaddresslistdialog.hxx b/sw/source/ui/dbui/customizeaddresslistdialog.hxx
index e3dec814fe0b..b92f1e9cbc01 100644
--- a/sw/source/ui/dbui/customizeaddresslistdialog.hxx
+++ b/sw/source/ui/dbui/customizeaddresslistdialog.hxx
@@ -48,7 +48,7 @@ class SwCustomizeAddressListDialog : public SfxModalDialog
void UpdateButtons();
public:
SwCustomizeAddressListDialog(Window* pParent, const SwCSVData& rOldData);
- ~SwCustomizeAddressListDialog();
+ virtual ~SwCustomizeAddressListDialog();
SwCSVData* GetNewData();
};
diff --git a/sw/source/ui/dbui/dbtablepreviewdialog.hxx b/sw/source/ui/dbui/dbtablepreviewdialog.hxx
index bbbac8fab7e9..b47d2c29da60 100644
--- a/sw/source/ui/dbui/dbtablepreviewdialog.hxx
+++ b/sw/source/ui/dbui/dbtablepreviewdialog.hxx
@@ -39,7 +39,7 @@ class SwDBTablePreviewDialog : public SfxModalDialog
public:
SwDBTablePreviewDialog(Window* pParent,
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rValues );
- ~SwDBTablePreviewDialog();
+ virtual ~SwDBTablePreviewDialog();
};
#endif
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index 85498576af7f..c7d15ad6f53f 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -826,7 +826,7 @@ class SwAssignFieldsControl : public Control
public:
SwAssignFieldsControl(Window* pParent, const ResId& rResId,
SwMailMergeConfigItem& rConfigItem);
- ~SwAssignFieldsControl();
+ virtual ~SwAssignFieldsControl();
void SetModifyHdl(const Link& rModifyHdl)
{
diff --git a/sw/source/ui/dbui/mmaddressblockpage.hxx b/sw/source/ui/dbui/mmaddressblockpage.hxx
index 1294ba0e7025..9192b1e69b8a 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.hxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.hxx
@@ -105,7 +105,7 @@ class SwSelectAddressBlockDialog : public SfxModalDialog
public:
SwSelectAddressBlockDialog(Window* pParent, SwMailMergeConfigItem& rConfig);
- ~SwSelectAddressBlockDialog();
+ virtual ~SwSelectAddressBlockDialog();
void SetAddressBlocks(const com::sun::star::uno::Sequence< OUString>& rBlocks,
sal_uInt16 nSelected);
@@ -146,7 +146,7 @@ protected:
bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
public:
AddressMultiLineEdit(Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER);
- ~AddressMultiLineEdit();
+ virtual ~AddressMultiLineEdit();
void SetAddressDialog(SwCustomizeAddressBlockDialog *pParent);
@@ -243,7 +243,7 @@ private:
public:
SwCustomizeAddressBlockDialog(Window* pParent, SwMailMergeConfigItem& rConfig, DialogType);
- ~SwCustomizeAddressBlockDialog();
+ virtual ~SwCustomizeAddressBlockDialog();
void SetAddress(const OUString& rAddress);
OUString GetAddress();
@@ -278,7 +278,7 @@ public:
SwMailMergeConfigItem& rConfigItem,
const OUString& rPreview,
bool bIsAddressBlock);
- ~SwAssignFieldsDialog();
+ virtual ~SwAssignFieldsDialog();
};
#endif
diff --git a/sw/source/ui/dbui/mmdocselectpage.hxx b/sw/source/ui/dbui/mmdocselectpage.hxx
index 2788b3e70a5e..b2e241270faf 100644
--- a/sw/source/ui/dbui/mmdocselectpage.hxx
+++ b/sw/source/ui/dbui/mmdocselectpage.hxx
@@ -51,7 +51,7 @@ class SwMailMergeDocSelectPage : public svt::OWizardPage
public:
SwMailMergeDocSelectPage( SwMailMergeWizard* _pParent);
- ~SwMailMergeDocSelectPage();
+ virtual ~SwMailMergeDocSelectPage();
};
diff --git a/sw/source/ui/dbui/mmgreetingspage.hxx b/sw/source/ui/dbui/mmgreetingspage.hxx
index ebd1ddc5a62e..e68cf9768bd7 100644
--- a/sw/source/ui/dbui/mmgreetingspage.hxx
+++ b/sw/source/ui/dbui/mmgreetingspage.hxx
@@ -89,7 +89,7 @@ class SwMailMergeGreetingsPage : public svt::OWizardPage,
virtual bool commitPage( ::svt::WizardTypes::CommitPageReason _eReason ) SAL_OVERRIDE;
public:
SwMailMergeGreetingsPage( SwMailMergeWizard* _pParent);
- ~SwMailMergeGreetingsPage();
+ virtual ~SwMailMergeGreetingsPage();
};
@@ -128,7 +128,7 @@ class SwMailBodyDialog : public SfxModalDialog, public SwGreetingsHandler
DECL_LINK(OKHdl, void *);
public:
SwMailBodyDialog(Window* pParent, SwMailMergeWizard* pWizard);
- ~SwMailBodyDialog();
+ virtual ~SwMailBodyDialog();
void SetBody(const OUString& rBody ) {m_aBodyMLE.SetText(rBody);}
OUString GetBody() const {return m_aBodyMLE.GetText();}
diff --git a/sw/source/ui/dbui/mmlayoutpage.hxx b/sw/source/ui/dbui/mmlayoutpage.hxx
index 4fbc7f590706..9a66780a39e8 100644
--- a/sw/source/ui/dbui/mmlayoutpage.hxx
+++ b/sw/source/ui/dbui/mmlayoutpage.hxx
@@ -83,7 +83,7 @@ class SwMailMergeLayoutPage : public svt::OWizardPage
virtual bool commitPage(::svt::WizardTypes::CommitPageReason _eReason) SAL_OVERRIDE;
public:
SwMailMergeLayoutPage( SwMailMergeWizard* _pParent);
- ~SwMailMergeLayoutPage();
+ virtual ~SwMailMergeLayoutPage();
static SwFrmFmt* InsertAddressAndGreeting(SwView* pView,
SwMailMergeConfigItem& rConfigItem,
diff --git a/sw/source/ui/dbui/mmoutputpage.hxx b/sw/source/ui/dbui/mmoutputpage.hxx
index 9f7fc710c3d1..185ede7c23d4 100644
--- a/sw/source/ui/dbui/mmoutputpage.hxx
+++ b/sw/source/ui/dbui/mmoutputpage.hxx
@@ -127,7 +127,7 @@ protected:
virtual void ActivatePage() SAL_OVERRIDE;
public:
SwMailMergeOutputPage( SwMailMergeWizard* _pParent);
- ~SwMailMergeOutputPage();
+ virtual ~SwMailMergeOutputPage();
};
@@ -204,7 +204,7 @@ class SW_DLLPUBLIC SwSendMailDialog : public ModelessDialog //SfxModalDialog
public:
SwSendMailDialog( Window* pParent, SwMailMergeConfigItem& );
- ~SwSendMailDialog();
+ virtual ~SwSendMailDialog();
void AddDocument( SwMailDescriptor& rDesc );
void SetDocumentCount( sal_Int32 nAllDocuments );
diff --git a/sw/source/ui/dbui/selectdbtabledialog.hxx b/sw/source/ui/dbui/selectdbtabledialog.hxx
index 06188dd6eb12..9d721a800504 100644
--- a/sw/source/ui/dbui/selectdbtabledialog.hxx
+++ b/sw/source/ui/dbui/selectdbtabledialog.hxx
@@ -57,7 +57,7 @@ public:
SwSelectDBTableDialog(Window* pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection
);
- ~SwSelectDBTableDialog();
+ virtual ~SwSelectDBTableDialog();
OUString GetSelectedTable(bool& bIsTable);
void SetSelectedTable(const OUString& rTable, bool bIsTable);
diff --git a/sw/source/ui/envelp/labfmt.hxx b/sw/source/ui/envelp/labfmt.hxx
index aa8f6de4621d..da9727cb7f05 100644
--- a/sw/source/ui/envelp/labfmt.hxx
+++ b/sw/source/ui/envelp/labfmt.hxx
@@ -93,7 +93,7 @@ class SwLabFmtPage : public SfxTabPage
SwLabItem aItem;
SwLabFmtPage(Window* pParent, const SfxItemSet& rSet);
- ~SwLabFmtPage();
+ virtual ~SwLabFmtPage();
DECL_LINK(ModifyHdl, void *);
DECL_LINK(PreviewHdl, void *);
diff --git a/sw/source/ui/envelp/labprt.hxx b/sw/source/ui/envelp/labprt.hxx
index 1b30708b33a1..5b8a24b99c23 100644
--- a/sw/source/ui/envelp/labprt.hxx
+++ b/sw/source/ui/envelp/labprt.hxx
@@ -47,7 +47,7 @@ class SwLabPrtPage : public SfxTabPage
PushButton* m_pPrtSetup;
SwLabPrtPage(Window* pParent, const SfxItemSet& rSet);
- ~SwLabPrtPage();
+ virtual ~SwLabPrtPage();
DECL_LINK( CountHdl, Button * );
diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx
index 5fa938f1bc1c..5518706195af 100644
--- a/sw/source/ui/envelp/mailmrge.cxx
+++ b/sw/source/ui/envelp/mailmrge.cxx
@@ -95,7 +95,7 @@ class SwXSelChgLstnr_Impl : public cppu::WeakImplHelper1
SwMailMergeDlg& rParent;
public:
SwXSelChgLstnr_Impl(SwMailMergeDlg& rParentDlg);
- ~SwXSelChgLstnr_Impl();
+ virtual ~SwXSelChgLstnr_Impl();
virtual void SAL_CALL selectionChanged( const EventObject& aEvent ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL disposing( const EventObject& Source ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sw/source/ui/envelp/swuilabimp.hxx b/sw/source/ui/envelp/swuilabimp.hxx
index c4e7d794da6c..9c61456dff74 100644
--- a/sw/source/ui/envelp/swuilabimp.hxx
+++ b/sw/source/ui/envelp/swuilabimp.hxx
@@ -108,7 +108,7 @@ class SwVisitingCardPage : public SfxTabPage
const OUString* pValues );
SwVisitingCardPage(Window* pParent, const SfxItemSet& rSet);
- ~SwVisitingCardPage();
+ virtual ~SwVisitingCardPage();
using TabPage::ActivatePage;
using TabPage::DeactivatePage;
diff --git a/sw/source/ui/fldui/flddb.hxx b/sw/source/ui/fldui/flddb.hxx
index 916afe4afafa..4f2bf1ba6eed 100644
--- a/sw/source/ui/fldui/flddb.hxx
+++ b/sw/source/ui/fldui/flddb.hxx
@@ -70,7 +70,7 @@ protected:
public:
SwFldDBPage(Window* pParent, const SfxItemSet& rSet);
- ~SwFldDBPage();
+ virtual ~SwFldDBPage();
static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet);
diff --git a/sw/source/ui/fldui/flddinf.hxx b/sw/source/ui/fldui/flddinf.hxx
index be263ebcd079..24ba93b89c9b 100644
--- a/sw/source/ui/fldui/flddinf.hxx
+++ b/sw/source/ui/fldui/flddinf.hxx
@@ -61,7 +61,7 @@ protected:
public:
SwFldDokInfPage(Window* pWindow, const SfxItemSet& rSet);
- ~SwFldDokInfPage();
+ virtual ~SwFldDokInfPage();
static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet);
diff --git a/sw/source/ui/fldui/flddok.hxx b/sw/source/ui/fldui/flddok.hxx
index c62820ef7a60..4af41fdfe6d3 100644
--- a/sw/source/ui/fldui/flddok.hxx
+++ b/sw/source/ui/fldui/flddok.hxx
@@ -63,7 +63,7 @@ protected:
public:
SwFldDokPage(Window* pWindow, const SfxItemSet& rSet);
- ~SwFldDokPage();
+ virtual ~SwFldDokPage();
static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet);
diff --git a/sw/source/ui/fldui/fldfunc.hxx b/sw/source/ui/fldui/fldfunc.hxx
index 4a4b2e2aa583..434f884172c1 100644
--- a/sw/source/ui/fldui/fldfunc.hxx
+++ b/sw/source/ui/fldui/fldfunc.hxx
@@ -85,7 +85,7 @@ protected:
public:
SwFldFuncPage(Window* pParent, const SfxItemSet& rSet);
- ~SwFldFuncPage();
+ virtual ~SwFldFuncPage();
static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet);
diff --git a/sw/source/ui/fldui/fldref.hxx b/sw/source/ui/fldui/fldref.hxx
index ceb0c2da68db..afdc6c6e4d2e 100644
--- a/sw/source/ui/fldui/fldref.hxx
+++ b/sw/source/ui/fldui/fldref.hxx
@@ -77,7 +77,7 @@ protected:
public:
SwFldRefPage(Window* pParent, const SfxItemSet& rSet);
- ~SwFldRefPage();
+ virtual ~SwFldRefPage();
static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet);
diff --git a/sw/source/ui/fldui/fldvar.hxx b/sw/source/ui/fldui/fldvar.hxx
index fb4f0bec5f06..ca0c23e03fa6 100644
--- a/sw/source/ui/fldui/fldvar.hxx
+++ b/sw/source/ui/fldui/fldvar.hxx
@@ -92,7 +92,7 @@ protected:
public:
SwFldVarPage(Window* pParent, const SfxItemSet& rSet);
- ~SwFldVarPage();
+ virtual ~SwFldVarPage();
static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet);
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index b904bd846e73..394cf8326e50 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -198,7 +198,7 @@ class SwAutoMarkDlg_Impl : public ModalDialog
public:
SwAutoMarkDlg_Impl(Window* pParent, const OUString& rAutoMarkURL,
const OUString& rAutoMarkType, bool bCreate);
- ~SwAutoMarkDlg_Impl();
+ virtual ~SwAutoMarkDlg_Impl();
};
@@ -655,7 +655,7 @@ class SwAddStylesDlg_Impl : public SfxModalDialog
public:
SwAddStylesDlg_Impl(Window* pParent, SwWrtShell& rWrtSh, OUString rStringArr[]);
- ~SwAddStylesDlg_Impl();
+ virtual ~SwAddStylesDlg_Impl();
};
SwAddStylesDlg_Impl::SwAddStylesDlg_Impl(Window* pParent,
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index 8617752157e2..9760f546f66b 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -1041,7 +1041,7 @@ public:
SwWrtShell& rSh,
sal_Bool bNewEntry,
bool bCreate);
- ~SwCreateAuthEntryDlg_Impl();
+ virtual ~SwCreateAuthEntryDlg_Impl();
OUString GetEntryText(ToxAuthorityField eField) const;
diff --git a/sw/source/ui/misc/impfnote.hxx b/sw/source/ui/misc/impfnote.hxx
index 3d53c07d55ba..19b26e1090dc 100644
--- a/sw/source/ui/misc/impfnote.hxx
+++ b/sw/source/ui/misc/impfnote.hxx
@@ -69,7 +69,7 @@ class SwEndNoteOptionPage : public SfxTabPage
public:
SwEndNoteOptionPage( Window *pParent, bool bEndNote,
const SfxItemSet &rSet );
- ~SwEndNoteOptionPage();
+ virtual ~SwEndNoteOptionPage();
static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
virtual bool FillItemSet(SfxItemSet &rSet) SAL_OVERRIDE;
@@ -81,7 +81,7 @@ public:
class SwFootNoteOptionPage : public SwEndNoteOptionPage
{
SwFootNoteOptionPage( Window *pParent, const SfxItemSet &rSet );
- ~SwFootNoteOptionPage();
+ virtual ~SwFootNoteOptionPage();
public:
static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx
index e3bac3f614a5..624be1e9f35e 100644
--- a/sw/source/ui/table/tautofmt.cxx
+++ b/sw/source/ui/table/tautofmt.cxx
@@ -47,7 +47,7 @@ class AutoFmtPreview : public Window
{
public:
AutoFmtPreview(Window* pParent);
- ~AutoFmtPreview();
+ virtual ~AutoFmtPreview();
void NotifyChange( const SwTableAutoFmt& rNewData );
@@ -104,7 +104,7 @@ public:
const OUString& rTitle,
const OUString& rEditTitle,
const OUString& rDefault );
- ~SwStringInputDlg();
+ virtual ~SwStringInputDlg();
OUString GetInputString() const;
diff --git a/sw/source/ui/vba/vbaheadersfooters.cxx b/sw/source/ui/vba/vbaheadersfooters.cxx
index 31cf0c6a0498..9675907aeaa9 100644
--- a/sw/source/ui/vba/vbaheadersfooters.cxx
+++ b/sw/source/ui/vba/vbaheadersfooters.cxx
@@ -36,7 +36,7 @@ private:
public:
HeadersFootersIndexAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel, const uno::Reference< beans::XPropertySet >& xPageStyleProps, sal_Bool bHeader ) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel ), mxPageStyleProps( xPageStyleProps ), mbHeader( bHeader ) {}
- ~HeadersFootersIndexAccess(){}
+ virtual ~HeadersFootersIndexAccess(){}
// XIndexAccess
virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE
diff --git a/sw/source/ui/vba/vbapanes.cxx b/sw/source/ui/vba/vbapanes.cxx
index b0bd993c63bc..d2a2b477fa90 100644
--- a/sw/source/ui/vba/vbapanes.cxx
+++ b/sw/source/ui/vba/vbapanes.cxx
@@ -33,7 +33,7 @@ private:
public:
PanesIndexAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel ) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel ) {}
- ~PanesIndexAccess(){}
+ virtual ~PanesIndexAccess(){}
// XIndexAccess
virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE
diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx
index 709844bf048a..5c7e58a9dc8b 100644
--- a/sw/source/ui/vba/vbasections.cxx
+++ b/sw/source/ui/vba/vbasections.cxx
@@ -88,7 +88,7 @@ public:
mxSections.push_back( xPageProps );
}
- ~SectionCollectionHelper(){}
+ virtual ~SectionCollectionHelper(){}
// XIndexAccess
virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE