summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-01 19:18:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-01 19:22:54 +0200
commit362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch)
tree0b432c049d580dcac6130bca9fb028bab8af8fa8 /include
parentb66d87086804460c1986df1b832fd6b2ea075a90 (diff)
Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
Diffstat (limited to 'include')
-rw-r--r--include/avmedia/mediaplayer.hxx4
-rw-r--r--include/avmedia/mediatoolbox.hxx2
-rw-r--r--include/basic/basmgr.hxx2
-rw-r--r--include/basic/sbmod.hxx2
-rw-r--r--include/basic/sbxmeth.hxx2
-rw-r--r--include/canvas/base/cachedprimitivebase.hxx2
-rw-r--r--include/canvas/parametricpolypolygon.hxx2
-rw-r--r--include/comphelper/accessiblecomponenthelper.hxx2
-rw-r--r--include/comphelper/accessiblecontexthelper.hxx2
-rw-r--r--include/comphelper/accessiblewrapper.hxx6
-rw-r--r--include/comphelper/ihwrapnofilter.hxx2
-rw-r--r--include/comphelper/ofopxmlhelper.hxx2
-rw-r--r--include/comphelper/propagg.hxx2
-rw-r--r--include/comphelper/scoped_disposing_ptr.hxx2
-rw-r--r--include/comphelper/seqstream.hxx2
-rw-r--r--include/editeng/UnoForbiddenCharsTable.hxx2
-rw-r--r--include/editeng/acorrcfg.hxx4
-rw-r--r--include/editeng/boxitem.hxx4
-rw-r--r--include/editeng/brushitem.hxx2
-rw-r--r--include/editeng/bulletitem.hxx2
-rw-r--r--include/editeng/colritem.hxx2
-rw-r--r--include/editeng/flditem.hxx2
-rw-r--r--include/editeng/forbiddencharacterstable.hxx2
-rw-r--r--include/editeng/lcolitem.hxx2
-rw-r--r--include/editeng/lineitem.hxx2
-rw-r--r--include/editeng/spltitem.hxx2
-rw-r--r--include/editeng/unoedprx.hxx2
-rw-r--r--include/filter/msfilter/mstoolbar.hxx22
-rw-r--r--include/framework/addonmenu.hxx4
-rw-r--r--include/framework/bmkmenu.hxx2
-rw-r--r--include/oox/drawingml/effectpropertiescontext.hxx2
-rw-r--r--include/oox/drawingml/graphicshapecontext.hxx2
-rw-r--r--include/oox/drawingml/linepropertiescontext.hxx2
-rw-r--r--include/oox/drawingml/shapestylecontext.hxx2
-rw-r--r--include/oox/drawingml/table/tablebackgroundstylecontext.hxx2
-rw-r--r--include/oox/drawingml/table/tablecellcontext.hxx2
-rw-r--r--include/oox/drawingml/table/tablecontext.hxx2
-rw-r--r--include/oox/drawingml/table/tablepartstylecontext.hxx2
-rw-r--r--include/oox/drawingml/table/tablerowcontext.hxx2
-rw-r--r--include/oox/drawingml/table/tablestylecellstylecontext.hxx2
-rw-r--r--include/oox/drawingml/table/tablestylecontext.hxx2
-rw-r--r--include/oox/drawingml/table/tablestyletextstylecontext.hxx2
-rw-r--r--include/oox/drawingml/textliststylecontext.hxx2
-rw-r--r--include/oox/drawingml/textparagraphpropertiescontext.hxx2
-rw-r--r--include/oox/ole/olehelper.hxx2
-rw-r--r--include/oox/ppt/customshowlistcontext.hxx2
-rw-r--r--include/oox/ppt/slidemastertextstylescontext.hxx2
-rw-r--r--include/sfx2/app.hxx2
-rw-r--r--include/sfx2/basedlgs.hxx6
-rw-r--r--include/sfx2/bindings.hxx2
-rw-r--r--include/sfx2/dinfdlg.hxx10
-rw-r--r--include/sfx2/docfile.hxx2
-rw-r--r--include/sfx2/dockwin.hxx2
-rw-r--r--include/sfx2/infobar.hxx4
-rw-r--r--include/sfx2/mgetempl.hxx2
-rw-r--r--include/sfx2/mnuitem.hxx6
-rw-r--r--include/sfx2/module.hxx2
-rw-r--r--include/sfx2/new.hxx2
-rw-r--r--include/sfx2/newstyle.hxx2
-rw-r--r--include/sfx2/printer.hxx2
-rw-r--r--include/sfx2/printopt.hxx2
-rw-r--r--include/sfx2/request.hxx2
-rw-r--r--include/sfx2/sfxbasecontroller.hxx2
-rw-r--r--include/sfx2/sfxhelp.hxx2
-rw-r--r--include/sfx2/styledlg.hxx2
-rw-r--r--include/sfx2/tabdlg.hxx2
-rw-r--r--include/sfx2/taskpane.hxx2
-rw-r--r--include/sfx2/tbxctrl.hxx4
-rw-r--r--include/sfx2/templateinfodlg.hxx2
-rw-r--r--include/sfx2/templdlg.hxx2
-rw-r--r--include/sfx2/unoctitm.hxx6
-rw-r--r--include/sfx2/zoomitem.hxx2
-rw-r--r--include/sot/filelist.hxx2
-rw-r--r--include/sot/stg.hxx8
-rw-r--r--include/sot/storage.hxx4
-rw-r--r--include/svl/aeitem.hxx2
-rw-r--r--include/svl/cntwall.hxx2
-rw-r--r--include/svl/flagitem.hxx2
-rw-r--r--include/svl/globalnameitem.hxx2
-rw-r--r--include/svl/grabbagitem.hxx2
-rw-r--r--include/svl/hint.hxx2
-rw-r--r--include/svl/ilstitem.hxx2
-rw-r--r--include/svl/languageoptions.hxx4
-rw-r--r--include/svl/lckbitem.hxx2
-rw-r--r--include/svl/metitem.hxx2
-rw-r--r--include/svl/poolitem.hxx4
-rw-r--r--include/svl/ptitem.hxx2
-rw-r--r--include/svl/rectitem.hxx2
-rw-r--r--include/svl/slstitm.hxx2
-rw-r--r--include/svl/smplhint.hxx2
-rw-r--r--include/svl/szitem.hxx2
-rw-r--r--include/svl/undo.hxx2
-rw-r--r--include/svtools/GraphicExportOptionsDialog.hxx2
-rw-r--r--include/svtools/PlaceEditDialog.hxx2
-rw-r--r--include/svtools/ServerDetailsControls.hxx6
-rw-r--r--include/svtools/addresstemplate.hxx2
-rw-r--r--include/svtools/apearcfg.hxx2
-rw-r--r--include/svtools/brwbox.hxx2
-rw-r--r--include/svtools/calendar.hxx4
-rw-r--r--include/svtools/cliplistener.hxx2
-rw-r--r--include/svtools/editbrowsebox.hxx6
-rw-r--r--include/svtools/editsyntaxhighlighter.hxx2
-rw-r--r--include/svtools/ehdl.hxx2
-rw-r--r--include/svtools/embedtransfer.hxx2
-rw-r--r--include/svtools/extcolorcfg.hxx2
-rw-r--r--include/svtools/filectrl.hxx2
-rw-r--r--include/svtools/fileview.hxx2
-rw-r--r--include/svtools/grfmgr.hxx2
-rw-r--r--include/svtools/headbar.hxx2
-rw-r--r--include/svtools/htmlcfg.hxx2
-rw-r--r--include/svtools/hyperlabel.hxx2
-rw-r--r--include/svtools/inettbc.hxx2
-rw-r--r--include/svtools/openfiledroptargetlistener.hxx2
-rw-r--r--include/svtools/popupwindowcontroller.hxx2
-rw-r--r--include/svtools/prnsetup.hxx2
-rw-r--r--include/svtools/roadmap.hxx2
-rw-r--r--include/svtools/roadmapwizard.hxx2
-rw-r--r--include/svtools/simptabl.hxx2
-rw-r--r--include/svtools/stdmenu.hxx2
-rw-r--r--include/svtools/svmedit2.hxx2
-rw-r--r--include/svtools/svtabbx.hxx4
-rw-r--r--include/svtools/table/defaultinputhandler.hxx2
-rw-r--r--include/svtools/table/gridtablerenderer.hxx2
-rw-r--r--include/svtools/table/tablecontrol.hxx2
-rw-r--r--include/svtools/templdlg.hxx2
-rw-r--r--include/svtools/toolbarmenu.hxx2
-rw-r--r--include/svtools/toolpanel/drawerlayouter.hxx2
-rw-r--r--include/svtools/toolpanel/paneltabbar.hxx2
-rw-r--r--include/svtools/toolpanel/tablayouter.hxx2
-rw-r--r--include/svtools/toolpanel/toolpanel.hxx2
-rw-r--r--include/svtools/toolpanel/toolpaneldeck.hxx2
-rw-r--r--include/svtools/transfer.hxx6
-rw-r--r--include/svtools/valueset.hxx2
-rw-r--r--include/svtools/vclxaccessibleheaderbaritem.hxx2
-rw-r--r--include/svtools/wizardmachine.hxx4
-rw-r--r--include/svtools/wizdlg.hxx2
-rw-r--r--include/svtools/xwindowitem.hxx2
-rw-r--r--include/svx/EnhancedCustomShape2d.hxx2
-rw-r--r--include/svx/SmartTagCtl.hxx2
-rw-r--r--include/svx/bmpmask.hxx2
-rw-r--r--include/svx/charmap.hxx2
-rw-r--r--include/svx/checklbx.hxx2
-rw-r--r--include/svx/clipboardctl.hxx2
-rw-r--r--include/svx/colrctrl.hxx2
-rw-r--r--include/svx/contdlg.hxx2
-rw-r--r--include/svx/ctredlin.hxx8
-rw-r--r--include/svx/dbtoolsclient.hxx2
-rw-r--r--include/svx/dlgctl3d.hxx6
-rw-r--r--include/svx/dlgctrl.hxx2
-rw-r--r--include/svx/e3ditem.hxx2
-rw-r--r--include/svx/extrusionbar.hxx2
-rw-r--r--include/svx/extrusioncolorcontrol.hxx2
-rw-r--r--include/svx/fillctrl.hxx4
-rw-r--r--include/svx/float3d.hxx2
-rw-r--r--include/svx/fmgridcl.hxx2
-rw-r--r--include/svx/fmgridif.hxx2
-rw-r--r--include/svx/fmpage.hxx2
-rw-r--r--include/svx/fntctl.hxx2
-rw-r--r--include/svx/fntszctl.hxx2
-rw-r--r--include/svx/fontwork.hxx2
-rw-r--r--include/svx/fontworkbar.hxx2
-rw-r--r--include/svx/fontworkgallery.hxx4
-rw-r--r--include/svx/formatpaintbrushctrl.hxx2
-rw-r--r--include/svx/galbrws.hxx4
-rw-r--r--include/svx/galctrl.hxx4
-rw-r--r--include/svx/gallery1.hxx2
-rw-r--r--include/svx/galleryitem.hxx2
-rw-r--r--include/svx/galmisc.hxx2
-rw-r--r--include/svx/galtheme.hxx2
-rw-r--r--include/svx/grafctrl.hxx6
-rw-r--r--include/svx/graphctl.hxx2
-rw-r--r--include/svx/gridctrl.hxx2
-rw-r--r--include/svx/imapdlg.hxx2
-rw-r--r--include/svx/insctrl.hxx2
-rw-r--r--include/svx/itemwin.hxx10
-rw-r--r--include/svx/langbox.hxx2
-rw-r--r--include/svx/layctrl.hxx4
-rw-r--r--include/svx/linectrl.hxx10
-rw-r--r--include/svx/measctrl.hxx2
-rw-r--r--include/svx/numinf.hxx2
-rw-r--r--include/svx/numvset.hxx4
-rw-r--r--include/svx/pagectrl.hxx2
-rw-r--r--include/svx/passwd.hxx2
-rw-r--r--include/svx/prtqry.hxx2
-rw-r--r--include/svx/pszctrl.hxx2
-rw-r--r--include/svx/rotmodit.hxx2
-rw-r--r--include/svx/ruler.hxx2
-rw-r--r--include/svx/rulritem.hxx2
-rw-r--r--include/svx/sdasaitm.hxx2
-rw-r--r--include/svx/sdasitm.hxx2
-rw-r--r--include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx4
-rw-r--r--include/svx/sidebar/ValueSetWithTextControl.hxx4
-rw-r--r--include/svx/srchdlg.hxx4
-rw-r--r--include/svx/stddlg.hxx2
-rw-r--r--include/svx/subtoolboxcontrol.hxx2
-rw-r--r--include/svx/svdopage.hxx2
-rw-r--r--include/svx/swframeexample.hxx2
-rw-r--r--include/svx/tbcontrl.hxx12
-rw-r--r--include/svx/tbxalign.hxx2
-rw-r--r--include/svx/tbxctl.hxx2
-rw-r--r--include/svx/tbxcustomshapes.hxx2
-rw-r--r--include/svx/tbxdraw.hxx2
-rw-r--r--include/svx/txencbox.hxx2
-rw-r--r--include/svx/verttexttbxctrl.hxx2
-rw-r--r--include/svx/viewlayoutitem.hxx2
-rw-r--r--include/svx/xit.hxx2
-rw-r--r--include/svx/xmleohlp.hxx2
-rw-r--r--include/svx/xmlgrhlp.hxx2
-rw-r--r--include/svx/xmlsecctrl.hxx2
-rw-r--r--include/svx/zoomsliderctrl.hxx2
-rw-r--r--include/svx/zoomslideritem.hxx2
-rw-r--r--include/toolkit/awt/animatedimagespeer.hxx2
-rw-r--r--include/toolkit/awt/vclxaccessiblecomponent.hxx2
-rw-r--r--include/toolkit/awt/vclxcontainer.hxx2
-rw-r--r--include/toolkit/awt/vclxdevice.hxx4
-rw-r--r--include/toolkit/awt/vclxfont.hxx2
-rw-r--r--include/toolkit/awt/vclxgraphics.hxx2
-rw-r--r--include/toolkit/awt/vclxmenu.hxx2
-rw-r--r--include/toolkit/awt/vclxpointer.hxx2
-rw-r--r--include/toolkit/awt/vclxprinter.hxx4
-rw-r--r--include/toolkit/awt/vclxregion.hxx2
-rw-r--r--include/toolkit/awt/vclxspinbutton.hxx2
-rw-r--r--include/toolkit/awt/vclxsystemdependentwindow.hxx2
-rw-r--r--include/toolkit/awt/vclxtabpagecontainer.hxx2
-rw-r--r--include/toolkit/awt/vclxtopwindow.hxx2
-rw-r--r--include/toolkit/awt/vclxwindow.hxx2
-rw-r--r--include/toolkit/awt/vclxwindows.hxx36
-rw-r--r--include/toolkit/controls/accessiblecontrolcontext.hxx2
-rw-r--r--include/toolkit/controls/animatedimages.hxx2
-rw-r--r--include/toolkit/controls/controlmodelcontainerbase.hxx4
-rw-r--r--include/toolkit/controls/dialogcontrol.hxx14
-rw-r--r--include/toolkit/controls/formattedcontrol.hxx2
-rw-r--r--include/toolkit/controls/geometrycontrolmodel.hxx2
-rw-r--r--include/toolkit/controls/stdtabcontroller.hxx2
-rw-r--r--include/toolkit/controls/stdtabcontrollermodel.hxx2
-rw-r--r--include/toolkit/controls/tabpagemodel.hxx2
-rw-r--r--include/toolkit/controls/unocontrol.hxx2
-rw-r--r--include/toolkit/controls/unocontrolcontainer.hxx2
-rw-r--r--include/toolkit/controls/unocontrols.hxx4
-rw-r--r--include/tools/pstm.hxx2
-rw-r--r--include/tools/stream.hxx6
-rw-r--r--include/tools/zcodec.hxx2
-rw-r--r--include/ucbhelper/std_inputstream.hxx2
-rw-r--r--include/ucbhelper/std_outputstream.hxx2
-rw-r--r--include/unotools/componentresmodule.hxx2
-rw-r--r--include/unotools/confignode.hxx2
-rw-r--r--include/unotools/eventcfg.hxx4
-rw-r--r--include/vcl/btndlg.hxx2
-rw-r--r--include/vcl/button.hxx2
-rw-r--r--include/vcl/dndhelp.hxx2
-rw-r--r--include/vcl/dockwin.hxx2
-rw-r--r--include/vcl/field.hxx4
-rw-r--r--include/vcl/introwin.hxx2
-rw-r--r--include/vcl/layout.hxx2
-rw-r--r--include/vcl/longcurr.hxx6
-rw-r--r--include/vcl/menu.hxx2
-rw-r--r--include/vcl/msgbox.hxx2
-rw-r--r--include/vcl/popupmenuwindow.hxx2
-rw-r--r--include/vcl/prgsbar.hxx2
-rw-r--r--include/vcl/splitwin.hxx2
-rw-r--r--include/vcl/status.hxx2
-rw-r--r--include/vcl/syswin.hxx2
-rw-r--r--include/vcl/tabctrl.hxx2
-rw-r--r--include/vcl/tabdlg.hxx2
-rw-r--r--include/vcl/texteng.hxx2
-rw-r--r--include/vcl/throbber.hxx2
-rw-r--r--include/vcl/toolbox.hxx2
-rw-r--r--include/vcl/txtattr.hxx8
-rw-r--r--include/vcl/unohelp2.hxx2
-rw-r--r--include/vcl/xtextedt.hxx4
-rw-r--r--include/xmloff/SchXMLImportHelper.hxx2
-rw-r--r--include/xmloff/XMLEventsImportContext.hxx2
-rw-r--r--include/xmloff/XMLFontAutoStylePool.hxx2
-rw-r--r--include/xmloff/XMLPageExport.hxx2
-rw-r--r--include/xmloff/XMLTextMasterPageExport.hxx2
-rw-r--r--include/xmloff/XMLTextShapeImportHelper.hxx2
-rw-r--r--include/xmloff/attrlist.hxx2
-rw-r--r--include/xmloff/formlayerexport.hxx2
-rw-r--r--include/xmloff/formlayerimport.hxx2
-rw-r--r--include/xmloff/shapeimport.hxx2
-rw-r--r--include/xmloff/txtimp.hxx2
281 files changed, 390 insertions, 390 deletions
diff --git a/include/avmedia/mediaplayer.hxx b/include/avmedia/mediaplayer.hxx
index d1b5cb45cd01..e7c16c8c67d9 100644
--- a/include/avmedia/mediaplayer.hxx
+++ b/include/avmedia/mediaplayer.hxx
@@ -32,7 +32,7 @@ class AVMEDIA_DLLPUBLIC MediaPlayer : public SfxChildWindow
{
public:
MediaPlayer( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
- ~MediaPlayer();
+ virtual ~MediaPlayer();
SFX_DECL_CHILDWINDOW_WITHID( MediaPlayer );
};
@@ -44,7 +44,7 @@ class AVMEDIA_DLLPUBLIC MediaFloater : public SfxDockingWindow
public:
MediaFloater( SfxBindings* pBindings, SfxChildWindow* pCW, Window* pParent );
- ~MediaFloater();
+ virtual ~MediaFloater();
void setURL( const OUString& rURL, const OUString& rReferer, bool bPlayImmediately );
diff --git a/include/avmedia/mediatoolbox.hxx b/include/avmedia/mediatoolbox.hxx
index bcf040071d22..3e4d636ca7d0 100644
--- a/include/avmedia/mediatoolbox.hxx
+++ b/include/avmedia/mediatoolbox.hxx
@@ -42,7 +42,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
MediaToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbX );
- ~MediaToolBoxControl();
+ virtual ~MediaToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE;
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx
index 01d90e7ecf52..06c67cd75dd3 100644
--- a/include/basic/basmgr.hxx
+++ b/include/basic/basmgr.hxx
@@ -141,7 +141,7 @@ protected:
bool ImplEncryptStream( SvStream& rStream ) const;
BasicLibInfo* FindLibInfo( StarBASIC* pBasic ) const;
void CheckModules( StarBASIC* pBasic, bool bReference ) const;
- ~BasicManager();
+ virtual ~BasicManager();
public:
TYPEINFO_OVERRIDE();
diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx
index 0dc63e390290..c5acf1594b0c 100644
--- a/include/basic/sbmod.hxx
+++ b/include/basic/sbmod.hxx
@@ -150,7 +150,7 @@ class BASIC_DLLPUBLIC SbClassModuleObject : public SbModule
public:
TYPEINFO_OVERRIDE();
SbClassModuleObject( SbModule* pClassModule );
- ~SbClassModuleObject();
+ virtual ~SbClassModuleObject();
// Overridden to support NameAccess etc.
virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE;
diff --git a/include/basic/sbxmeth.hxx b/include/basic/sbxmeth.hxx
index c442bacaebc1..6d8be5c51d62 100644
--- a/include/basic/sbxmeth.hxx
+++ b/include/basic/sbxmeth.hxx
@@ -30,7 +30,7 @@ public:
TYPEINFO_OVERRIDE();
SbxMethod( const OUString& r, SbxDataType t );
SbxMethod( const SbxMethod& r );
- ~SbxMethod();
+ virtual ~SbxMethod();
SbxMethod& operator=( const SbxMethod& r ) { SbxVariable::operator=( r ); return *this; }
virtual SbxClassType GetClass() const SAL_OVERRIDE;
};
diff --git a/include/canvas/base/cachedprimitivebase.hxx b/include/canvas/base/cachedprimitivebase.hxx
index 2d5794bd8ad4..99b9b9108dc0 100644
--- a/include/canvas/base/cachedprimitivebase.hxx
+++ b/include/canvas/base/cachedprimitivebase.hxx
@@ -77,7 +77,7 @@ namespace canvas
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- ~CachedPrimitiveBase(); // we're a ref-counted UNO class. _We_ destroy ourselves.
+ virtual ~CachedPrimitiveBase(); // we're a ref-counted UNO class. _We_ destroy ourselves.
private:
CachedPrimitiveBase( const CachedPrimitiveBase& );
diff --git a/include/canvas/parametricpolypolygon.hxx b/include/canvas/parametricpolypolygon.hxx
index 8c6a9d0f24fe..7671aee30f7e 100644
--- a/include/canvas/parametricpolypolygon.hxx
+++ b/include/canvas/parametricpolypolygon.hxx
@@ -116,7 +116,7 @@ namespace canvas
Values getValues() const;
protected:
- ~ParametricPolyPolygon(); // we're a ref-counted UNO class. _We_ destroy ourselves.
+ virtual ~ParametricPolyPolygon(); // we're a ref-counted UNO class. _We_ destroy ourselves.
private:
static ParametricPolyPolygon* createLinearHorizontalGradient( const ::com::sun::star::uno::Reference<
diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx
index c39b02486871..520ce81f71b8 100644
--- a/include/comphelper/accessiblecomponenthelper.hxx
+++ b/include/comphelper/accessiblecomponenthelper.hxx
@@ -43,7 +43,7 @@ namespace comphelper
protected:
/// see the respective base class ctor for an extensive comment on this, please
OCommonAccessibleComponent( IMutex* _pExternalLock );
- ~OCommonAccessibleComponent();
+ virtual ~OCommonAccessibleComponent();
protected:
/// implements the calculation of the bounding rectangle - still waiting to be overwritten
diff --git a/include/comphelper/accessiblecontexthelper.hxx b/include/comphelper/accessiblecontexthelper.hxx
index fe2cdb5f7c08..a1a8247f09e6 100644
--- a/include/comphelper/accessiblecontexthelper.hxx
+++ b/include/comphelper/accessiblecontexthelper.hxx
@@ -90,7 +90,7 @@ namespace comphelper
OContextHelper_Impl* m_pImpl;
protected:
- ~OAccessibleContextHelper( );
+ virtual ~OAccessibleContextHelper( );
/** ctor
diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx
index 3e7dab3f22af..26a81bfa167e 100644
--- a/include/comphelper/accessiblewrapper.hxx
+++ b/include/comphelper/accessiblewrapper.hxx
@@ -114,7 +114,7 @@ namespace comphelper
);
protected:
- ~OAccessibleWrapper( );
+ virtual ~OAccessibleWrapper( );
private:
COMPHELPER_DLLPRIVATE OAccessibleWrapper( ); // never implemented
@@ -226,7 +226,7 @@ namespace comphelper
virtual void notifyTranslatedEvent( const ::com::sun::star::accessibility::AccessibleEventObject& _rEvent ) throw (::com::sun::star::uno::RuntimeException) = 0;
protected:
- ~OAccessibleContextWrapperHelper( );
+ virtual ~OAccessibleContextWrapperHelper( );
OAccessibleContextWrapperHelper( ); // never implemented
OAccessibleContextWrapperHelper( const OAccessibleContextWrapperHelper& ); // never implemented
@@ -397,7 +397,7 @@ namespace comphelper
void implTranslateChildEventValue( const ::com::sun::star::uno::Any& _rInValue, ::com::sun::star::uno::Any& _rOutValue );
protected:
- ~OWrappedAccessibleChildrenManager( );
+ virtual ~OWrappedAccessibleChildrenManager( );
private:
COMPHELPER_DLLPRIVATE OWrappedAccessibleChildrenManager( ); // never implemented
diff --git a/include/comphelper/ihwrapnofilter.hxx b/include/comphelper/ihwrapnofilter.hxx
index 0daa123428f3..f91595e21d4f 100644
--- a/include/comphelper/ihwrapnofilter.hxx
+++ b/include/comphelper/ihwrapnofilter.hxx
@@ -38,7 +38,7 @@ namespace comphelper {
public:
OIHWrapNoFilterDialog( com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler > xInteraction );
- ~OIHWrapNoFilterDialog();
+ virtual ~OIHWrapNoFilterDialog();
static OUString SAL_CALL impl_staticGetImplementationName();
static ::com::sun::star::uno::Sequence< OUString > SAL_CALL impl_staticGetSupportedServiceNames();
diff --git a/include/comphelper/ofopxmlhelper.hxx b/include/comphelper/ofopxmlhelper.hxx
index bd831158acb3..0c759bbbb382 100644
--- a/include/comphelper/ofopxmlhelper.hxx
+++ b/include/comphelper/ofopxmlhelper.hxx
@@ -62,7 +62,7 @@ class COMPHELPER_DLLPUBLIC OFOPXMLHelper : public cppu::WeakImplHelper1 < com::s
throw( ::com::sun::star::uno::Exception );
public:
- ~OFOPXMLHelper();
+ virtual ~OFOPXMLHelper();
// returns sequence of elements, where each element is described by sequence of tags,
// where each tag is described by StringPair ( First - name, Second - value )
diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx
index 3a7dec8271a5..5410d5d0ce34 100644
--- a/include/comphelper/propagg.hxx
+++ b/include/comphelper/propagg.hxx
@@ -256,7 +256,7 @@ public:
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue ) throw ( ::com::sun::star::uno::Exception, std::exception ) SAL_OVERRIDE;
protected:
- ~OPropertySetAggregationHelper();
+ virtual ~OPropertySetAggregationHelper();
virtual void SAL_CALL getFastPropertyValue(::com::sun::star::uno::Any& rValue, sal_Int32 nHandle) const SAL_OVERRIDE;
void disposing();
diff --git a/include/comphelper/scoped_disposing_ptr.hxx b/include/comphelper/scoped_disposing_ptr.hxx
index b029849b1dcd..033307b56de5 100644
--- a/include/comphelper/scoped_disposing_ptr.hxx
+++ b/include/comphelper/scoped_disposing_ptr.hxx
@@ -85,7 +85,7 @@ private:
}
}
- ~TerminateListener()
+ virtual ~TerminateListener()
{
if ( m_xComponent.is() )
{
diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx
index a5c27e2e07d7..d5729955000c 100644
--- a/include/comphelper/seqstream.hxx
+++ b/include/comphelper/seqstream.hxx
@@ -93,7 +93,7 @@ protected:
::osl::Mutex m_aMutex;
protected:
- ~OSequenceOutputStream() { if (m_bConnected) closeOutput(); }
+ virtual ~OSequenceOutputStream() { if (m_bConnected) closeOutput(); }
public:
/** constructs the object. Everything written into the stream through the XOutputStream methods will be forwarded
diff --git a/include/editeng/UnoForbiddenCharsTable.hxx b/include/editeng/UnoForbiddenCharsTable.hxx
index d073c4ee6855..45ef28ed1eb8 100644
--- a/include/editeng/UnoForbiddenCharsTable.hxx
+++ b/include/editeng/UnoForbiddenCharsTable.hxx
@@ -41,7 +41,7 @@ protected:
public:
SvxUnoForbiddenCharsTable(rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars);
- ~SvxUnoForbiddenCharsTable();
+ virtual ~SvxUnoForbiddenCharsTable();
// XForbiddenCharacters
virtual com::sun::star::i18n::ForbiddenCharacters SAL_CALL getForbiddenCharacters( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::container::NoSuchElementException, com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/editeng/acorrcfg.hxx b/include/editeng/acorrcfg.hxx
index 73ab582e7551..14e2b69d808d 100644
--- a/include/editeng/acorrcfg.hxx
+++ b/include/editeng/acorrcfg.hxx
@@ -31,7 +31,7 @@ class EDITENG_DLLPUBLIC SvxBaseAutoCorrCfg : public utl::ConfigItem
public:
SvxBaseAutoCorrCfg(SvxAutoCorrCfg& rParent);
- ~SvxBaseAutoCorrCfg();
+ virtual ~SvxBaseAutoCorrCfg();
void Load(bool bInit);
virtual void Commit() SAL_OVERRIDE;
@@ -46,7 +46,7 @@ class EDITENG_DLLPUBLIC SvxSwAutoCorrCfg : public utl::ConfigItem
public:
SvxSwAutoCorrCfg(SvxAutoCorrCfg& rParent);
- ~SvxSwAutoCorrCfg();
+ virtual ~SvxSwAutoCorrCfg();
void Load(bool bInit);
virtual void Commit() SAL_OVERRIDE;
diff --git a/include/editeng/boxitem.hxx b/include/editeng/boxitem.hxx
index d0fde67ab107..37c2d8f4aab0 100644
--- a/include/editeng/boxitem.hxx
+++ b/include/editeng/boxitem.hxx
@@ -66,7 +66,7 @@ public:
explicit SvxBoxItem( const sal_uInt16 nId );
SvxBoxItem( const SvxBoxItem &rCpy );
- ~SvxBoxItem();
+ virtual ~SvxBoxItem();
SvxBoxItem &operator=( const SvxBoxItem& rBox );
// "pure virtual Methods" from SfxPoolItem
@@ -176,7 +176,7 @@ public:
explicit SvxBoxInfoItem( const sal_uInt16 nId );
SvxBoxInfoItem( const SvxBoxInfoItem &rCpy );
- ~SvxBoxInfoItem();
+ virtual ~SvxBoxInfoItem();
SvxBoxInfoItem &operator=( const SvxBoxInfoItem &rCpy );
// "pure virtual Methods" from SfxPoolItem
diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx
index 61397f16b0e6..12cb66657cea 100644
--- a/include/editeng/brushitem.hxx
+++ b/include/editeng/brushitem.hxx
@@ -76,7 +76,7 @@ public:
SvxBrushItem( const SvxBrushItem& );
SvxBrushItem( const CntWallpaperItem&, sal_uInt16 nWhich );
- ~SvxBrushItem();
+ virtual ~SvxBrushItem();
public:
diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx
index 2dc62288f39d..42cbf2ce2eda 100644
--- a/include/editeng/bulletitem.hxx
+++ b/include/editeng/bulletitem.hxx
@@ -83,7 +83,7 @@ public:
explicit SvxBulletItem( sal_uInt16 nWhich = 0 );
explicit SvxBulletItem( SvStream& rStrm, sal_uInt16 nWhich = 0 );
SvxBulletItem( const SvxBulletItem& );
- ~SvxBulletItem();
+ virtual ~SvxBulletItem();
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
virtual SfxPoolItem* Create( SvStream&, sal_uInt16 nVersion ) const SAL_OVERRIDE;
diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx
index 08801f5b07d4..fc82bd282935 100644
--- a/include/editeng/colritem.hxx
+++ b/include/editeng/colritem.hxx
@@ -46,7 +46,7 @@ public:
SvxColorItem( const Color& aColor, const sal_uInt16 nId );
SvxColorItem( SvStream& rStrm, const sal_uInt16 nId );
SvxColorItem( const SvxColorItem& rCopy );
- ~SvxColorItem();
+ virtual ~SvxColorItem();
// "pure virtual Methods" from SfxPoolItem
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx
index d91fc1d59f0d..50a7f81b6878 100644
--- a/include/editeng/flditem.hxx
+++ b/include/editeng/flditem.hxx
@@ -79,7 +79,7 @@ public:
SvxFieldItem( const SvxFieldData& rField, const sal_uInt16 nId );
SvxFieldItem( const SvxFieldItem& rItem );
- ~SvxFieldItem();
+ virtual ~SvxFieldItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
diff --git a/include/editeng/forbiddencharacterstable.hxx b/include/editeng/forbiddencharacterstable.hxx
index d5fbc90290a5..88a685e6b54c 100644
--- a/include/editeng/forbiddencharacterstable.hxx
+++ b/include/editeng/forbiddencharacterstable.hxx
@@ -43,7 +43,7 @@ private:
public:
SvxForbiddenCharactersTable( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext);
- ~SvxForbiddenCharactersTable() {}
+ virtual ~SvxForbiddenCharactersTable() {}
Map& GetMap() { return maMap; }
const com::sun::star::i18n::ForbiddenCharacters* GetForbiddenCharacters( sal_uInt16 nLanguage, bool bGetDefault );
diff --git a/include/editeng/lcolitem.hxx b/include/editeng/lcolitem.hxx
index a4cd049d8cf9..35488265c1b1 100644
--- a/include/editeng/lcolitem.hxx
+++ b/include/editeng/lcolitem.hxx
@@ -34,7 +34,7 @@ public:
explicit SvxLineColorItem( const sal_uInt16 nId );
SvxLineColorItem( const SvxLineColorItem& rCopy );
- ~SvxLineColorItem();
+ virtual ~SvxLineColorItem();
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/include/editeng/lineitem.hxx b/include/editeng/lineitem.hxx
index 92fd26d43706..ce2819c4edb7 100644
--- a/include/editeng/lineitem.hxx
+++ b/include/editeng/lineitem.hxx
@@ -43,7 +43,7 @@ public:
explicit SvxLineItem( const sal_uInt16 nId );
SvxLineItem( const SvxLineItem& rCpy );
- ~SvxLineItem();
+ virtual ~SvxLineItem();
SvxLineItem &operator=( const SvxLineItem& rLine );
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
diff --git a/include/editeng/spltitem.hxx b/include/editeng/spltitem.hxx
index 5207d7e00e9d..35b728bb1bd9 100644
--- a/include/editeng/spltitem.hxx
+++ b/include/editeng/spltitem.hxx
@@ -35,7 +35,7 @@ class EDITENG_DLLPUBLIC SvxFmtSplitItem : public SfxBoolItem
{
public:
TYPEINFO_OVERRIDE();
- ~SvxFmtSplitItem();
+ virtual ~SvxFmtSplitItem();
inline SvxFmtSplitItem( const bool bSplit /*= true*/,
const sal_uInt16 nWh );
diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx
index 770cec8ca115..34ca35f6df76 100644
--- a/include/editeng/unoedprx.hxx
+++ b/include/editeng/unoedprx.hxx
@@ -140,7 +140,7 @@ class EDITENG_DLLPUBLIC SvxEditSourceAdapter : public SvxEditSource
{
public:
SvxEditSourceAdapter();
- ~SvxEditSourceAdapter();
+ virtual ~SvxEditSourceAdapter();
virtual SvxEditSource* Clone() const SAL_OVERRIDE;
virtual SvxTextForwarder* GetTextForwarder() SAL_OVERRIDE;
diff --git a/include/filter/msfilter/mstoolbar.hxx b/include/filter/msfilter/mstoolbar.hxx
index 1eaa7acdb5dd..2a9f38dd9118 100644
--- a/include/filter/msfilter/mstoolbar.hxx
+++ b/include/filter/msfilter/mstoolbar.hxx
@@ -104,7 +104,7 @@ class MSFILTER_DLLPUBLIC WString : public TBBase
public:
WString(){};
- ~WString(){};
+ virtual ~WString(){};
bool Read(SvStream &rS) SAL_OVERRIDE;
OUString getString(){ return sString; }
};
@@ -123,7 +123,7 @@ class MSFILTER_DLLPUBLIC TBCExtraInfo : public TBBase
TBCExtraInfo& operator = ( const TBCExtraInfo&);
public:
TBCExtraInfo();
- ~TBCExtraInfo(){}
+ virtual ~TBCExtraInfo(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
OUString getOnAction();
@@ -139,7 +139,7 @@ class MSFILTER_DLLPUBLIC TBCGeneralInfo : public TBBase
public:
TBCGeneralInfo();
- ~TBCGeneralInfo() {}
+ virtual ~TBCGeneralInfo() {}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
bool ImportToolBarControlData( CustomToolBarImportHelper&, std::vector< css::beans::PropertyValue >& );
@@ -155,7 +155,7 @@ friend class TBCBSpecific; // #FIXME hacky access, need to fix
Bitmap mBitMap;
public:
TBCBitMap();
- ~TBCBitMap();
+ virtual ~TBCBitMap();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
Bitmap& getBitMap();
@@ -167,7 +167,7 @@ class MSFILTER_DLLPUBLIC TBCMenuSpecific : public TBBase
boost::shared_ptr< WString > name; //exist only if tbid equals 0x00000001
public:
TBCMenuSpecific();
- ~TBCMenuSpecific(){}
+ virtual ~TBCMenuSpecific(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
OUString Name();
@@ -185,7 +185,7 @@ class MSFILTER_DLLPUBLIC TBCCDData : public TBBase
public:
TBCCDData();
- ~TBCCDData();
+ virtual ~TBCCDData();
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
};
@@ -210,7 +210,7 @@ class TBCBSpecific : public TBBase
public:
TBCBSpecific();
- ~TBCBSpecific(){}
+ virtual ~TBCBSpecific(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
// #TODO just add a getGraphic member here
@@ -254,7 +254,7 @@ class MSFILTER_DLLPUBLIC TBCHeader : public TBBase
public:
TBCHeader();
- ~TBCHeader();
+ virtual ~TBCHeader();
sal_uInt8 getTct() const { return tct; }
sal_uInt16 getTcID() const { return tcid; }
bool isVisible() { return !( bFlagsTCR & 0x1 ); }
@@ -273,7 +273,7 @@ class MSFILTER_DLLPUBLIC TBCData : public TBBase
TBCData& operator = ( const TBCData&);
public:
TBCData( const TBCHeader& Header );
- ~TBCData(){}
+ virtual ~TBCData(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
bool ImportToolBarControl( CustomToolBarImportHelper&, std::vector< css::beans::PropertyValue >&, bool& bBeginGroup, bool bIsMenuBar );
@@ -293,7 +293,7 @@ class MSFILTER_DLLPUBLIC TB : public TBBase
WString name; //Structure of type WString that specifies the toolbar name
public:
TB();
- ~TB(){}
+ virtual ~TB(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
sal_Int16 getcCL(){ return cCL; }
@@ -328,7 +328,7 @@ class MSFILTER_DLLPUBLIC TBVisualData : public TBBase
public:
TBVisualData();
- ~TBVisualData(){}
+ virtual ~TBVisualData(){}
bool Read(SvStream &rS) SAL_OVERRIDE;
void Print( FILE* ) SAL_OVERRIDE;
};
diff --git a/include/framework/addonmenu.hxx b/include/framework/addonmenu.hxx
index d100263d0d24..8d12399e7df4 100644
--- a/include/framework/addonmenu.hxx
+++ b/include/framework/addonmenu.hxx
@@ -36,7 +36,7 @@ class FWE_DLLPUBLIC AddonMenu : public PopupMenu
{
public:
AddonMenu( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame );
- ~AddonMenu();
+ virtual ~AddonMenu();
protected:
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame;
@@ -47,7 +47,7 @@ class AddonMenuManager;
class FWE_DLLPUBLIC AddonPopupMenu : public AddonMenu
{
public:
- ~AddonPopupMenu();
+ virtual ~AddonPopupMenu();
// Check if command URL string has the unique prefix to identify addon popup menus
static bool IsCommandURLPrefix( const OUString& aCmdURL );
diff --git a/include/framework/bmkmenu.hxx b/include/framework/bmkmenu.hxx
index a9a37e254cd9..79c8c92baab4 100644
--- a/include/framework/bmkmenu.hxx
+++ b/include/framework/bmkmenu.hxx
@@ -48,7 +48,7 @@ class FWE_DLLPUBLIC BmkMenu : public AddonMenu
BmkMenuType nType
);
- ~BmkMenu();
+ virtual ~BmkMenu();
void Initialize(); // Synchrones Laden der Eintraege
diff --git a/include/oox/drawingml/effectpropertiescontext.hxx b/include/oox/drawingml/effectpropertiescontext.hxx
index 570b273ad507..060604b61d50 100644
--- a/include/oox/drawingml/effectpropertiescontext.hxx
+++ b/include/oox/drawingml/effectpropertiescontext.hxx
@@ -24,7 +24,7 @@ class OOX_DLLPUBLIC EffectPropertiesContext : public ::oox::core::ContextHandler
public:
EffectPropertiesContext( ::oox::core::ContextHandler2Helper& rParent,
EffectProperties& rEffectProperties ) throw();
- ~EffectPropertiesContext();
+ virtual ~EffectPropertiesContext();
virtual ::oox::core::ContextHandlerRef
onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/graphicshapecontext.hxx b/include/oox/drawingml/graphicshapecontext.hxx
index a9afc0b20ebd..72881fe4a1c9 100644
--- a/include/oox/drawingml/graphicshapecontext.hxx
+++ b/include/oox/drawingml/graphicshapecontext.hxx
@@ -55,7 +55,7 @@ class OleObjectGraphicDataContext : public ShapeContext
{
public:
OleObjectGraphicDataContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr pShapePtr );
- ~OleObjectGraphicDataContext();
+ virtual ~OleObjectGraphicDataContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
private:
diff --git a/include/oox/drawingml/linepropertiescontext.hxx b/include/oox/drawingml/linepropertiescontext.hxx
index f302f11431b0..efd85ca4e247 100644
--- a/include/oox/drawingml/linepropertiescontext.hxx
+++ b/include/oox/drawingml/linepropertiescontext.hxx
@@ -35,7 +35,7 @@ public:
LinePropertiesContext( ::oox::core::ContextHandler2Helper& rParent,
const ::oox::AttributeList& rAttributes,
LineProperties& rLineProperties ) throw();
- ~LinePropertiesContext();
+ virtual ~LinePropertiesContext();
virtual ::oox::core::ContextHandlerRef
onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/shapestylecontext.hxx b/include/oox/drawingml/shapestylecontext.hxx
index 7be239389d7a..b7a479124560 100644
--- a/include/oox/drawingml/shapestylecontext.hxx
+++ b/include/oox/drawingml/shapestylecontext.hxx
@@ -29,7 +29,7 @@ class ShapeStyleContext : public ::oox::core::ContextHandler2
{
public:
ShapeStyleContext( ::oox::core::ContextHandler2Helper& rParent, Shape& rShape );
- ~ShapeStyleContext();
+ virtual ~ShapeStyleContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/table/tablebackgroundstylecontext.hxx b/include/oox/drawingml/table/tablebackgroundstylecontext.hxx
index 6be484408295..4885f5bc1466 100644
--- a/include/oox/drawingml/table/tablebackgroundstylecontext.hxx
+++ b/include/oox/drawingml/table/tablebackgroundstylecontext.hxx
@@ -30,7 +30,7 @@ class TableBackgroundStyleContext : public ::oox::core::ContextHandler2
{
public:
TableBackgroundStyleContext( ::oox::core::ContextHandler2Helper& rParent, TableStyle& rTableStyle );
- ~TableBackgroundStyleContext();
+ virtual ~TableBackgroundStyleContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/table/tablecellcontext.hxx b/include/oox/drawingml/table/tablecellcontext.hxx
index 2d06136f1604..4656e243e9df 100644
--- a/include/oox/drawingml/table/tablecellcontext.hxx
+++ b/include/oox/drawingml/table/tablecellcontext.hxx
@@ -31,7 +31,7 @@ class TableCellContext : public ::oox::core::ContextHandler2
public:
TableCellContext( ::oox::core::ContextHandler2Helper& rParent,
const ::oox::AttributeList& rAttribs, TableCell& rTableCell );
- ~TableCellContext();
+ virtual ~TableCellContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/table/tablecontext.hxx b/include/oox/drawingml/table/tablecontext.hxx
index 25471b78cdac..b9940422435d 100644
--- a/include/oox/drawingml/table/tablecontext.hxx
+++ b/include/oox/drawingml/table/tablecontext.hxx
@@ -31,7 +31,7 @@ class TableContext : public ShapeContext
{
public:
TableContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr pShapePtr );
- ~TableContext();
+ virtual ~TableContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/table/tablepartstylecontext.hxx b/include/oox/drawingml/table/tablepartstylecontext.hxx
index f11e542d3a15..84b7ef1e2f02 100644
--- a/include/oox/drawingml/table/tablepartstylecontext.hxx
+++ b/include/oox/drawingml/table/tablepartstylecontext.hxx
@@ -30,7 +30,7 @@ class TablePartStyleContext : public ::oox::core::ContextHandler2
{
public:
TablePartStyleContext( ::oox::core::ContextHandler2Helper& rParent, TableStylePart& rTableStylePart );
- ~TablePartStyleContext();
+ virtual ~TablePartStyleContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/table/tablerowcontext.hxx b/include/oox/drawingml/table/tablerowcontext.hxx
index abe483de98dc..0224a4a513ed 100644
--- a/include/oox/drawingml/table/tablerowcontext.hxx
+++ b/include/oox/drawingml/table/tablerowcontext.hxx
@@ -32,7 +32,7 @@ class TableRowContext : public ::oox::core::ContextHandler2
public:
TableRowContext( ::oox::core::ContextHandler2Helper& rParent,
const ::oox::AttributeList& rAttribs, TableRow& rTableRow );
- ~TableRowContext();
+ virtual ~TableRowContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/table/tablestylecellstylecontext.hxx b/include/oox/drawingml/table/tablestylecellstylecontext.hxx
index 523d51f4300f..b7d30267ee5b 100644
--- a/include/oox/drawingml/table/tablestylecellstylecontext.hxx
+++ b/include/oox/drawingml/table/tablestylecellstylecontext.hxx
@@ -30,7 +30,7 @@ class TableStyleCellStyleContext : public ::oox::core::ContextHandler2
{
public:
TableStyleCellStyleContext( ::oox::core::ContextHandler2Helper& rParent, TableStylePart& rTableStylePart );
- ~TableStyleCellStyleContext();
+ virtual ~TableStyleCellStyleContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/table/tablestylecontext.hxx b/include/oox/drawingml/table/tablestylecontext.hxx
index 922d3fe4b2c4..fd6eb526384e 100644
--- a/include/oox/drawingml/table/tablestylecontext.hxx
+++ b/include/oox/drawingml/table/tablestylecontext.hxx
@@ -32,7 +32,7 @@ public:
TableStyleContext( ::oox::core::ContextHandler2Helper& rParent,
const ::oox::AttributeList& rAttribs,
TableStyle& rTableStyle );
- ~TableStyleContext();
+ virtual ~TableStyleContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/table/tablestyletextstylecontext.hxx b/include/oox/drawingml/table/tablestyletextstylecontext.hxx
index 71ab67445a3a..6543e319ecf6 100644
--- a/include/oox/drawingml/table/tablestyletextstylecontext.hxx
+++ b/include/oox/drawingml/table/tablestyletextstylecontext.hxx
@@ -32,7 +32,7 @@ public:
TableStyleTextStyleContext( ::oox::core::ContextHandler2Helper& rParent,
const ::oox::AttributeList& rAttribs,
TableStylePart& rTableStylePart );
- ~TableStyleTextStyleContext();
+ virtual ~TableStyleTextStyleContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/textliststylecontext.hxx b/include/oox/drawingml/textliststylecontext.hxx
index 5dba0ab9a91e..2e9900830500 100644
--- a/include/oox/drawingml/textliststylecontext.hxx
+++ b/include/oox/drawingml/textliststylecontext.hxx
@@ -29,7 +29,7 @@ class TextListStyleContext : public ::oox::core::ContextHandler2
{
public:
TextListStyleContext( ::oox::core::ContextHandler2Helper& rParent, TextListStyle& rTextListStyle );
- ~TextListStyleContext();
+ virtual ~TextListStyleContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/drawingml/textparagraphpropertiescontext.hxx b/include/oox/drawingml/textparagraphpropertiescontext.hxx
index 0d3dc98d629e..b2b124daf7a3 100644
--- a/include/oox/drawingml/textparagraphpropertiescontext.hxx
+++ b/include/oox/drawingml/textparagraphpropertiescontext.hxx
@@ -36,7 +36,7 @@ public:
TextParagraphPropertiesContext( ::oox::core::ContextHandler2Helper& rParent,
const ::oox::AttributeList& rAttributes,
TextParagraphProperties& rTextParagraphProperties );
- ~TextParagraphPropertiesContext();
+ virtual ~TextParagraphPropertiesContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE;
diff --git a/include/oox/ole/olehelper.hxx b/include/oox/ole/olehelper.hxx
index 82afa4173112..5b25c1df7e6e 100644
--- a/include/oox/ole/olehelper.hxx
+++ b/include/oox/ole/olehelper.hxx
@@ -173,7 +173,7 @@ protected:
sal_Int32 nSize );
public:
MSConvertOCXControls( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& rxModel );
- ~MSConvertOCXControls();
+ virtual ~MSConvertOCXControls();
sal_Bool ReadOCXStorage( SotStorageRef& rSrc1, ::com::sun::star::uno::Reference< com::sun::star::form::XFormComponent > & rxFormComp );
sal_Bool ReadOCXCtlsStream(SotStorageStreamRef& rSrc1, ::com::sun::star::uno::Reference< com::sun::star::form::XFormComponent > & rxFormComp,
sal_Int32 nPos, sal_Int32 nSize );
diff --git a/include/oox/ppt/customshowlistcontext.hxx b/include/oox/ppt/customshowlistcontext.hxx
index 20e2971f8f44..23739cf97ad8 100644
--- a/include/oox/ppt/customshowlistcontext.hxx
+++ b/include/oox/ppt/customshowlistcontext.hxx
@@ -42,7 +42,7 @@ namespace oox { namespace ppt {
CustomShowListContext( ::oox::core::FragmentHandler2& rParent,
std::vector< CustomShow >& rCustomShowList );
- ~CustomShowListContext( );
+ virtual ~CustomShowListContext( );
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE;
};
diff --git a/include/oox/ppt/slidemastertextstylescontext.hxx b/include/oox/ppt/slidemastertextstylescontext.hxx
index bc7ca2d8ed73..05aa3853d5f5 100644
--- a/include/oox/ppt/slidemastertextstylescontext.hxx
+++ b/include/oox/ppt/slidemastertextstylescontext.hxx
@@ -31,7 +31,7 @@ class SlideMasterTextStylesContext : public oox::core::FragmentHandler2
{
public:
SlideMasterTextStylesContext( ::oox::core::FragmentHandler2& rParent, SlidePersistPtr pSlidePersistPtr );
- ~SlideMasterTextStylesContext();
+ virtual ~SlideMasterTextStylesContext();
virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE;
protected:
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 247ccface11c..f3b72cd54c98 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -141,7 +141,7 @@ public:
SFX_DECL_INTERFACE(SFX_INTERFACE_SFXAPP)
SfxApplication();
- ~SfxApplication();
+ virtual ~SfxApplication();
static SfxApplication* GetOrCreate();
// Resource Manager
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx
index 4349a5be9b07..64e60d28ccdf 100644
--- a/include/sfx2/basedlgs.hxx
+++ b/include/sfx2/basedlgs.hxx
@@ -81,7 +81,7 @@ protected:
SfxItemSet* GetOutputSetImpl() { return pOutputSet; }
public:
- ~SfxModalDialog();
+ virtual ~SfxModalDialog();
const SfxItemSet* GetOutputItemSet() const { return pOutputSet; }
const SfxItemSet* GetInputItemSet() const { return pInputSet; }
};
@@ -104,7 +104,7 @@ protected:
Window*, const ResId& );
SfxModelessDialog( SfxBindings*, SfxChildWindow*,
Window*, const OString& rID, const OUString& rUIXMLDescription );
- ~SfxModelessDialog();
+ virtual ~SfxModelessDialog();
virtual bool Close() SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
virtual void Move() SAL_OVERRIDE;
@@ -141,7 +141,7 @@ protected:
SfxChildWindow *pCW,
Window* pParent,
const ResId& rResId);
- ~SfxFloatingWindow();
+ virtual ~SfxFloatingWindow();
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
virtual bool Close() SAL_OVERRIDE;
diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx
index a45b7f52dfe8..9f03537a2b2a 100644
--- a/include/sfx2/bindings.hxx
+++ b/include/sfx2/bindings.hxx
@@ -125,7 +125,7 @@ private:
public:
SfxBindings();
- ~SfxBindings();
+ virtual ~SfxBindings();
void HidePopups( bool bHide = true );
SAL_DLLPRIVATE void HidePopupCtrls_Impl( bool bHide = true );
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index a0f65b7825ff..aab6bda0e1e3 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -329,7 +329,7 @@ protected:
virtual void RequestHelp(const HelpEvent& rEvt) SAL_OVERRIDE;
public:
CustomPropertiesDurationField( Window* pParent, const ResId& rResId, CustomPropertyLine* pLine );
- ~CustomPropertiesDurationField();
+ virtual ~CustomPropertiesDurationField();
void SetDuration( const com::sun::star::util::Duration& rDuration );
const com::sun::star::util::Duration& GetDuration() const { return m_aDuration; }
@@ -341,7 +341,7 @@ class CustomPropertiesEditButton : public PushButton
public:
CustomPropertiesEditButton( Window* pParent, const ResId& rResId, CustomPropertyLine* pLine );
- ~CustomPropertiesEditButton();
+ virtual ~CustomPropertiesEditButton();
DECL_LINK(ClickHdl, void *);
};
@@ -444,7 +444,7 @@ public:
const OUString &rHeaderAccName,
const OUString &rHeaderAccType,
const OUString &rHeaderAccValue);
- ~CustomPropertiesWindow();
+ virtual ~CustomPropertiesWindow();
void InitControls( HeaderBar* pHeaderBar, const ScrollBar* pScrollBar );
sal_uInt16 GetVisibleLineCount() const;
@@ -479,7 +479,7 @@ private:
public:
CustomPropertiesControl(Window* pParent);
- ~CustomPropertiesControl();
+ virtual ~CustomPropertiesControl();
void AddLine( const OUString& sName, com::sun::star::uno::Any& rAny, bool bInteractive );
@@ -556,7 +556,7 @@ struct CmisPropertyLine : public VclBuilderContainer
sal_Int32 m_nNumValue;
long getItemHeight() const;
CmisPropertyLine( Window* pParent );
- ~CmisPropertyLine();
+ virtual ~CmisPropertyLine();
};
// class CmisPropertiesWindow ------------------------------------------
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index ef9ef9bdc6cf..2ed484a0e17c 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -100,7 +100,7 @@ public:
const SfxItemSet* pSet=0 );
SfxMedium( const css::uno::Sequence< css::beans::PropertyValue >& aArgs );
- ~SfxMedium();
+ virtual ~SfxMedium();
void UseInteractionHandler( bool );
css::uno::Reference< css::task::XInteractionHandler >
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index 919e30111ce9..6675e84e8b53 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -79,7 +79,7 @@ public:
SfxChildWindow *pCW,
Window* pParent,
const ResId& rResId);
- ~SfxDockingWindow();
+ virtual ~SfxDockingWindow();
void Initialize (SfxChildWinInfo* pInfo);
virtual void FillInfo(SfxChildWinInfo&) const;
diff --git a/include/sfx2/infobar.hxx b/include/sfx2/infobar.hxx
index 091b98134e22..383ebc868b59 100644
--- a/include/sfx2/infobar.hxx
+++ b/include/sfx2/infobar.hxx
@@ -50,7 +50,7 @@ class SfxInfoBarWindow : public Window
SfxInfoBarWindow( Window* parent, const OUString& sId,
const OUString& sMessage,
std::vector< PushButton* > aButtons );
- ~SfxInfoBarWindow( );
+ virtual ~SfxInfoBarWindow( );
virtual const OUString& getId() const { return m_sId; }
virtual void Paint( const Rectangle& ) SAL_OVERRIDE;
@@ -68,7 +68,7 @@ class SfxInfoBarContainerWindow : public Window
public:
SfxInfoBarContainerWindow( SfxInfoBarContainerChild* pChildWin );
- ~SfxInfoBarContainerWindow( );
+ virtual ~SfxInfoBarContainerWindow( );
void appendInfoBar( const OUString& sId, const OUString& sMessage, std::vector< PushButton* > aButtons );
SfxInfoBarWindow* getInfoBar( const OUString& sId );
diff --git a/include/sfx2/mgetempl.hxx b/include/sfx2/mgetempl.hxx
index 9b0e1093eb58..65ba7119bddb 100644
--- a/include/sfx2/mgetempl.hxx
+++ b/include/sfx2/mgetempl.hxx
@@ -74,7 +74,7 @@ friend class SfxStyleDialog;
void SetDescriptionText_Impl();
SfxManageStyleSheetPage(Window *pParent, const SfxItemSet &rAttrSet );
- ~SfxManageStyleSheetPage();
+ virtual ~SfxManageStyleSheetPage();
static SfxTabPage* Create(Window *pParent, const SfxItemSet &rAttrSet );
diff --git a/include/sfx2/mnuitem.hxx b/include/sfx2/mnuitem.hxx
index 97892478c0c8..57e86382d00e 100644
--- a/include/sfx2/mnuitem.hxx
+++ b/include/sfx2/mnuitem.hxx
@@ -50,7 +50,7 @@ public:
static SfxMenuControl* CreateImpl( sal_uInt16 nId, Menu &rMenu, SfxBindings &rBindings );
static void RegisterControl( sal_uInt16 nSlotId = 0, SfxModule *pMod=NULL );
- ~SfxMenuControl();
+ virtual ~SfxMenuControl();
using SfxControllerItem::Bind;
void Bind( SfxVirtualMenu* pOwnMenu, sal_uInt16 nId,
@@ -79,7 +79,7 @@ public:
SfxUnoMenuControl( const OUString&, sal_uInt16 nId, Menu&,
const OUString&,
SfxBindings&, SfxVirtualMenu* );
- ~SfxUnoMenuControl();
+ virtual ~SfxUnoMenuControl();
};
typedef SfxMenuControl* (*SfxMenuControlCtor)( sal_uInt16 nId, Menu &, SfxBindings & );
@@ -131,7 +131,7 @@ protected:
public:
SFX_DECL_MENU_CONTROL();
SfxAppMenuControl_Impl( sal_uInt16 nPos, Menu& rMenu, SfxBindings& rBindings );
- ~SfxAppMenuControl_Impl();
+ virtual ~SfxAppMenuControl_Impl();
struct ExecuteInfo
{
diff --git a/include/sfx2/module.hxx b/include/sfx2/module.hxx
index a6a57fcf342a..a12bd1646641 100644
--- a/include/sfx2/module.hxx
+++ b/include/sfx2/module.hxx
@@ -71,7 +71,7 @@ public:
SfxModule( ResMgr* pMgrP, bool bDummy,
SfxObjectFactory* pFactoryP, ... );
- ~SfxModule();
+ virtual ~SfxModule();
ResMgr* GetResMgr() const { return SfxShell::GetResMgr(); }
virtual ResMgr* GetResMgr();
diff --git a/include/sfx2/new.hxx b/include/sfx2/new.hxx
index c457562f3431..bc1a452d74a7 100644
--- a/include/sfx2/new.hxx
+++ b/include/sfx2/new.hxx
@@ -57,7 +57,7 @@ private:
public:
SfxNewFileDialog(Window *pParent, sal_uInt16 nFlags = 0);
- ~SfxNewFileDialog();
+ virtual ~SfxNewFileDialog();
// Returns false, when '- No -' is set as Template
// Template names can only be obtained when IsTemplate() returns true.
diff --git a/include/sfx2/newstyle.hxx b/include/sfx2/newstyle.hxx
index 368d154e9eee..6ced44ba5bb8 100644
--- a/include/sfx2/newstyle.hxx
+++ b/include/sfx2/newstyle.hxx
@@ -44,7 +44,7 @@ private:
public:
SfxNewStyleDlg( Window* pParent, SfxStyleSheetBasePool& );
- ~SfxNewStyleDlg();
+ virtual ~SfxNewStyleDlg();
OUString GetName() const { return comphelper::string::stripStart(m_pColBox->GetText(), ' '); }
};
diff --git a/include/sfx2/printer.hxx b/include/sfx2/printer.hxx
index 6994cb58abcf..66dd4dcde747 100644
--- a/include/sfx2/printer.hxx
+++ b/include/sfx2/printer.hxx
@@ -53,7 +53,7 @@ public:
const OUString &rPrinterName,
const JobSetup &rTheOrigJobSetup );
SfxPrinter( const SfxPrinter &rPrinter );
- ~SfxPrinter();
+ virtual ~SfxPrinter();
SfxPrinter* Clone() const;
diff --git a/include/sfx2/printopt.hxx b/include/sfx2/printopt.hxx
index 03bb3a32f2db..b0d3c8f381b6 100644
--- a/include/sfx2/printopt.hxx
+++ b/include/sfx2/printopt.hxx
@@ -94,7 +94,7 @@ protected:
public:
SfxCommonPrintOptionsTabPage( Window* pParent, const SfxItemSet& rSet );
- ~SfxCommonPrintOptionsTabPage();
+ virtual ~SfxCommonPrintOptionsTabPage();
virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE;
virtual void Reset( const SfxItemSet& rSet ) SAL_OVERRIDE;
diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx
index 0512e6853d7a..35eb7b1a4cc9 100644
--- a/include/sfx2/request.hxx
+++ b/include/sfx2/request.hxx
@@ -65,7 +65,7 @@ public:
sal_uInt16 nCallMode, SfxItemPool &rPool );
SfxRequest( sal_uInt16 nSlot, sal_uInt16 nCallMode, const SfxAllItemSet& rSfxArgs );
SfxRequest( const SfxRequest& rOrig );
- ~SfxRequest();
+ virtual ~SfxRequest();
sal_uInt16 GetSlot() const { return nSlot; }
void SetSlot(sal_uInt16 nNewSlot) { nSlot = nNewSlot; }
diff --git a/include/sfx2/sfxbasecontroller.hxx b/include/sfx2/sfxbasecontroller.hxx
index 5de5c26e7b91..13f1e61c01e9 100644
--- a/include/sfx2/sfxbasecontroller.hxx
+++ b/include/sfx2/sfxbasecontroller.hxx
@@ -112,7 +112,7 @@ public:
@onerror -
*/
- ~SfxBaseController() ;
+ virtual ~SfxBaseController() ;
SAL_DLLPRIVATE void ReleaseShell_Impl();
SAL_DLLPRIVATE void BorderWidthsChanged_Impl();
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx
index 5bfa02892fbb..d3ab2cec93bb 100644
--- a/include/sfx2/sfxhelp.hxx
+++ b/include/sfx2/sfxhelp.hxx
@@ -43,7 +43,7 @@ private:
public:
SfxHelp();
- ~SfxHelp();
+ virtual ~SfxHelp();
inline void SetTicket( const OUString& rTicket ) { aTicket = rTicket; }
inline void SetUser( const OUString& rUser ) { aUser = rUser; }
diff --git a/include/sfx2/styledlg.hxx b/include/sfx2/styledlg.hxx
index 366703ea9bc9..fec8446742df 100644
--- a/include/sfx2/styledlg.hxx
+++ b/include/sfx2/styledlg.hxx
@@ -39,7 +39,7 @@ public:
SfxStyleDialog(Window* pParent, const OString& rID,
const OUString& rUIXMLDescription, SfxStyleSheetBase&);
- ~SfxStyleDialog();
+ virtual ~SfxStyleDialog();
SfxStyleSheetBase& GetStyleSheet() { return *pStyle; }
const SfxStyleSheetBase& GetStyleSheet() const { return *pStyle; }
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index 1e91f7dab83e..4bc1138e71db 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -135,7 +135,7 @@ public:
SfxTabDialog( SfxViewFrame *pViewFrame, Window* pParent,
const OString& rID, const OUString& rUIXMLDescription,
const SfxItemSet * = 0, sal_Bool bEditFmt = sal_False );
- ~SfxTabDialog();
+ virtual ~SfxTabDialog();
sal_uInt16 AddTabPage( const OString& rName, // Name of the label for the page in the notebook .ui
CreateTabPage pCreateFunc, // != 0
diff --git a/include/sfx2/taskpane.hxx b/include/sfx2/taskpane.hxx
index 9f4e42c7ca9d..f7b6ef0d455f 100644
--- a/include/sfx2/taskpane.hxx
+++ b/include/sfx2/taskpane.hxx
@@ -117,7 +117,7 @@ namespace sfx2
Window& i_rParentWindow,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rDocumentFrame
);
- ~ModuleTaskPane();
+ virtual ~ModuleTaskPane();
/** determines whether a given module has any registered tool panels
*/
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index 5c40c48747a3..906d2271bf6e 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -149,7 +149,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
Window* pParentWindow,
const ResId &rId );
- ~SfxPopupWindow();
+ virtual ~SfxPopupWindow();
virtual SfxPopupWindow* Clone() const;
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
@@ -372,7 +372,7 @@ protected:
public:
SFX_DECL_TOOLBOX_CONTROL();
SfxAddonsToolBoxControl_Impl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rBox );
- ~SfxAddonsToolBoxControl_Impl();
+ virtual ~SfxAddonsToolBoxControl_Impl();
void RefreshMenuImages( Menu* pMenu );
};
diff --git a/include/sfx2/templateinfodlg.hxx b/include/sfx2/templateinfodlg.hxx
index d064109736c0..dd32e49dd6f3 100644
--- a/include/sfx2/templateinfodlg.hxx
+++ b/include/sfx2/templateinfodlg.hxx
@@ -26,7 +26,7 @@ public:
SfxTemplateInfoDlg (Window *pParent = NULL);
- ~SfxTemplateInfoDlg ();
+ virtual ~SfxTemplateInfoDlg ();
void loadDocument (const OUString &rURL);
diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx
index 3633d86911bf..39a5de3df564 100644
--- a/include/sfx2/templdlg.hxx
+++ b/include/sfx2/templdlg.hxx
@@ -59,7 +59,7 @@ friend class SfxTemplateDialog_Impl;
public:
SfxTemplateDialog( SfxBindings*, SfxChildWindow*, Window* );
- ~SfxTemplateDialog();
+ virtual ~SfxTemplateDialog();
virtual void Update();
diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx
index 26b47b615621..75d245721836 100644
--- a/include/sfx2/unoctitm.hxx
+++ b/include/sfx2/unoctitm.hxx
@@ -54,7 +54,7 @@ class SfxUnoControllerItem : public ::cppu::WeakImplHelper1< css::frame::XSta
public:
SfxUnoControllerItem( SfxControllerItem*, SfxBindings&, const OUString& );
- ~SfxUnoControllerItem();
+ virtual ~SfxUnoControllerItem();
const ::com::sun::star::util::URL& GetCommand() const
{ return aCommand; }
@@ -115,7 +115,7 @@ public:
SfxOfficeDispatch( SfxDispatcher* pDispat,
const SfxSlot* pSlot,
const ::com::sun::star::util::URL& rURL );
- ~SfxOfficeDispatch();
+ virtual ~SfxOfficeDispatch();
virtual void SAL_CALL dispatchWithNotification( const ::com::sun::star::util::URL& aURL,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs,
@@ -165,7 +165,7 @@ public:
SfxDispatcher* pDispat,
const SfxSlot* pSlot,
const ::com::sun::star::util::URL& rURL );
- ~SfxDispatchController_Impl();
+ virtual ~SfxDispatchController_Impl();
static OUString getSlaveCommand( const ::com::sun::star::util::URL& rURL );
diff --git a/include/sfx2/zoomitem.hxx b/include/sfx2/zoomitem.hxx
index e36780fd32b4..90c51545a408 100644
--- a/include/sfx2/zoomitem.hxx
+++ b/include/sfx2/zoomitem.hxx
@@ -47,7 +47,7 @@ public:
SvxZoomItem( SvxZoomType eZoomType = SVX_ZOOM_PERCENT,
sal_uInt16 nVal = 0, sal_uInt16 nWhich = SID_ATTR_ZOOM );
SvxZoomItem( const SvxZoomItem& );
- ~SvxZoomItem();
+ virtual ~SvxZoomItem();
void SetValueSet( sal_uInt16 nValues ) { nValueSet = nValues; }
sal_uInt16 GetValueSet() const { return nValueSet; }
diff --git a/include/sot/filelist.hxx b/include/sot/filelist.hxx
index 847f498be097..e3b063e8860f 100644
--- a/include/sot/filelist.hxx
+++ b/include/sot/filelist.hxx
@@ -45,7 +45,7 @@ public:
TYPEINFO_OVERRIDE();
FileList() {};
- ~FileList();
+ virtual ~FileList();
// Zuweisungsoperator
FileList& operator=( const FileList& rFileList );
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx
index 2805d2acdda2..b42ed4c7f590 100644
--- a/include/sot/stg.hxx
+++ b/include/sot/stg.hxx
@@ -154,7 +154,7 @@ class StorageStream : public BaseStorageStream, public OLEStorageBase
//friend class Storage;
sal_uLong nPos; // current position
protected:
- ~StorageStream();
+ virtual ~StorageStream();
public:
TYPEINFO_OVERRIDE();
StorageStream( StgIo*, StgDirEntry*, StreamMode );
@@ -183,7 +183,7 @@ class SOT_DLLPUBLIC Storage : public BaseStorage, public OLEStorageBase
void Init( bool bCreate );
Storage( StgIo*, StgDirEntry*, StreamMode );
protected:
- ~Storage();
+ virtual ~Storage();
public:
TYPEINFO_OVERRIDE();
Storage( const OUString &, StreamMode = STREAM_STD_READWRITE, bool bDirect = true );
@@ -247,7 +247,7 @@ friend class UCBStorage;
UCBStorageStream_Impl*
pImp;
protected:
- ~UCBStorageStream();
+ virtual ~UCBStorageStream();
public:
TYPEINFO_OVERRIDE();
UCBStorageStream( const OUString& rName, StreamMode nMode, bool bDirect, const OString* pKey, bool bRepair, ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XProgressHandler > xProgress );
@@ -284,7 +284,7 @@ class SOT_DLLPUBLIC UCBStorage : public BaseStorage
UCBStorage_Impl* pImp;
protected:
- ~UCBStorage();
+ virtual ~UCBStorage();
public:
static bool IsStorageFile( SvStream* );
static bool IsDiskSpannedFile( SvStream* );
diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx
index b0c5b4670733..a82efb1307ae 100644
--- a/include/sot/storage.hxx
+++ b/include/sot/storage.hxx
@@ -58,7 +58,7 @@ protected:
virtual sal_uLong PutData( const void* pData, sal_uLong nSize ) SAL_OVERRIDE;
virtual sal_uInt64 SeekPos(sal_uInt64 nPos) SAL_OVERRIDE;
virtual void FlushData() SAL_OVERRIDE;
- ~SotStorageStream();
+ virtual ~SotStorageStream();
public:
SotStorageStream( const OUString &,
StreamMode = STREAM_STD_READWRITE,
@@ -114,7 +114,7 @@ friend class SvStorage;
long m_nVersion;
protected:
- ~SotStorage();
+ virtual ~SotStorage();
void CreateStorage( bool bUCBStorage, StreamMode, StorageMode );
public:
SotStorage( const OUString &,
diff --git a/include/svl/aeitem.hxx b/include/svl/aeitem.hxx
index 26e2a8b5b05c..6a34c2ea0ea5 100644
--- a/include/svl/aeitem.hxx
+++ b/include/svl/aeitem.hxx
@@ -41,7 +41,7 @@ public:
SfxAllEnumItem( sal_uInt16 nWhich, sal_uInt16 nVal );
SfxAllEnumItem( sal_uInt16 nWhich, SvStream &rStream );
SfxAllEnumItem( const SfxAllEnumItem & );
- ~SfxAllEnumItem();
+ virtual ~SfxAllEnumItem();
void InsertValue( sal_uInt16 nValue );
void InsertValue( sal_uInt16 nValue, const OUString &rText );
diff --git a/include/svl/cntwall.hxx b/include/svl/cntwall.hxx
index 4214c57228f7..9d6f32c36c36 100644
--- a/include/svl/cntwall.hxx
+++ b/include/svl/cntwall.hxx
@@ -41,7 +41,7 @@ public:
CntWallpaperItem( sal_uInt16 nWhich );
CntWallpaperItem( sal_uInt16 nWhich, SvStream& rStream, sal_uInt16 nVersion );
CntWallpaperItem( const CntWallpaperItem& rCpy );
- ~CntWallpaperItem();
+ virtual ~CntWallpaperItem();
virtual sal_uInt16 GetVersion(sal_uInt16) const SAL_OVERRIDE;
diff --git a/include/svl/flagitem.hxx b/include/svl/flagitem.hxx
index 2ff5ad002ac8..24e38627cce4 100644
--- a/include/svl/flagitem.hxx
+++ b/include/svl/flagitem.hxx
@@ -35,7 +35,7 @@ public:
explicit SfxFlagItem( sal_uInt16 nWhich = 0, sal_uInt16 nValue = 0 );
SfxFlagItem( const SfxFlagItem& );
- ~SfxFlagItem() {}
+ virtual ~SfxFlagItem() {}
virtual sal_uInt8 GetFlagCount() const;
diff --git a/include/svl/globalnameitem.hxx b/include/svl/globalnameitem.hxx
index 764bf0e15b55..8ff2b10ff242 100644
--- a/include/svl/globalnameitem.hxx
+++ b/include/svl/globalnameitem.hxx
@@ -32,7 +32,7 @@ public:
TYPEINFO_OVERRIDE();
SfxGlobalNameItem();
SfxGlobalNameItem( sal_uInt16 nWhich, const SvGlobalName& );
- ~SfxGlobalNameItem();
+ virtual ~SfxGlobalNameItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
diff --git a/include/svl/grabbagitem.hxx b/include/svl/grabbagitem.hxx
index 0d70b9662cb5..d7606199fc4f 100644
--- a/include/svl/grabbagitem.hxx
+++ b/include/svl/grabbagitem.hxx
@@ -28,7 +28,7 @@ public:
SfxGrabBagItem();
SfxGrabBagItem(sal_uInt16 nWhich, const std::map<OUString, com::sun::star::uno::Any>* pMap = 0);
SfxGrabBagItem(const SfxGrabBagItem& rItem);
- ~SfxGrabBagItem();
+ virtual ~SfxGrabBagItem();
const std::map<OUString, com::sun::star::uno::Any>& GetGrabBag() const;
diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx
index 3191e4cfe2ea..f47dbc89a05d 100644
--- a/include/svl/hint.hxx
+++ b/include/svl/hint.hxx
@@ -41,7 +41,7 @@ public:
public: \
TYPEINFO_OVERRIDE(); \
explicit Name( Type* Object, bool bOwnedByHint = false ); \
- ~Name(); \
+ virtual ~Name(); \
\
Type* GetObject() const { return pObj; } \
bool IsOwner() const { return bIsOwner; } \
diff --git a/include/svl/ilstitem.hxx b/include/svl/ilstitem.hxx
index 1f581f363409..0842a13119ae 100644
--- a/include/svl/ilstitem.hxx
+++ b/include/svl/ilstitem.hxx
@@ -36,7 +36,7 @@ public:
SfxIntegerListItem( sal_uInt16 nWhich, const ::std::vector < sal_Int32 >& rList );
SfxIntegerListItem( sal_uInt16 nWhich, const ::com::sun::star::uno::Sequence < sal_Int32 >& rList );
SfxIntegerListItem( const SfxIntegerListItem& rItem );
- ~SfxIntegerListItem();
+ virtual ~SfxIntegerListItem();
::com::sun::star::uno::Sequence < sal_Int32 > GetSequence()
{ return m_aList; }
diff --git a/include/svl/languageoptions.hxx b/include/svl/languageoptions.hxx
index a804ad82594a..17d8767906e0 100644
--- a/include/svl/languageoptions.hxx
+++ b/include/svl/languageoptions.hxx
@@ -66,7 +66,7 @@ public:
// bDontLoad is for referencing purposes only
SvtLanguageOptions( bool _bDontLoad = false );
- ~SvtLanguageOptions();
+ virtual ~SvtLanguageOptions();
// CJK options
bool IsCJKFontEnabled() const;
@@ -102,7 +102,7 @@ private:
public:
SvtSystemLanguageOptions();
- ~SvtSystemLanguageOptions();
+ virtual ~SvtSystemLanguageOptions();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const com::sun::star::uno::Sequence< OUString >& rPropertyNames ) SAL_OVERRIDE;
diff --git a/include/svl/lckbitem.hxx b/include/svl/lckbitem.hxx
index 748deba0d986..cbdd88beab07 100644
--- a/include/svl/lckbitem.hxx
+++ b/include/svl/lckbitem.hxx
@@ -33,7 +33,7 @@ public:
SfxLockBytesItem();
SfxLockBytesItem( sal_uInt16 nWhich, SvStream & );
SfxLockBytesItem( const SfxLockBytesItem& );
- ~SfxLockBytesItem();
+ virtual ~SfxLockBytesItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
diff --git a/include/svl/metitem.hxx b/include/svl/metitem.hxx
index cac661e5d328..070b9319f3a6 100644
--- a/include/svl/metitem.hxx
+++ b/include/svl/metitem.hxx
@@ -29,7 +29,7 @@ public:
explicit SfxMetricItem( sal_uInt16 nWhich = 0, sal_uInt32 nValue = 0 );
SfxMetricItem( sal_uInt16 nWhich, SvStream & );
SfxMetricItem( const SfxMetricItem& );
- ~SfxMetricItem() {}
+ virtual ~SfxMetricItem() {}
virtual bool ScaleMetrics( long lMult, long lDiv ) SAL_OVERRIDE;
virtual bool HasMetrics() const SAL_OVERRIDE;
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index de5fea4ff83a..5a3157170889 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -324,7 +324,7 @@ public:
explicit SfxVoidItem( sal_uInt16 nWhich );
SfxVoidItem( sal_uInt16 nWhich, SvStream & );
SfxVoidItem( const SfxVoidItem& );
- ~SfxVoidItem();
+ virtual ~SfxVoidItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
@@ -352,7 +352,7 @@ public:
SfxSetItem( sal_uInt16 nWhich, SfxItemSet *pSet );
SfxSetItem( sal_uInt16 nWhich, const SfxItemSet &rSet );
SfxSetItem( const SfxSetItem&, SfxItemPool *pPool = 0 );
- ~SfxSetItem();
+ virtual ~SfxSetItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
diff --git a/include/svl/ptitem.hxx b/include/svl/ptitem.hxx
index e24912c40230..911a067fb3b4 100644
--- a/include/svl/ptitem.hxx
+++ b/include/svl/ptitem.hxx
@@ -34,7 +34,7 @@ public:
SfxPointItem();
SfxPointItem( sal_uInt16 nWhich, const Point& rVal );
SfxPointItem( const SfxPointItem& );
- ~SfxPointItem() {}
+ virtual ~SfxPointItem() {}
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/include/svl/rectitem.hxx b/include/svl/rectitem.hxx
index 2c05a76a51c9..129f17f7667f 100644
--- a/include/svl/rectitem.hxx
+++ b/include/svl/rectitem.hxx
@@ -35,7 +35,7 @@ public:
SfxRectangleItem();
SfxRectangleItem( sal_uInt16 nWhich, const Rectangle& rVal );
SfxRectangleItem( const SfxRectangleItem& );
- ~SfxRectangleItem() {}
+ virtual ~SfxRectangleItem() {}
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/include/svl/slstitm.hxx b/include/svl/slstitm.hxx
index c3d60f080ca3..80b81e44380b 100644
--- a/include/svl/slstitm.hxx
+++ b/include/svl/slstitm.hxx
@@ -40,7 +40,7 @@ public:
SfxStringListItem( sal_uInt16 nWhich, const std::vector<OUString> *pList=NULL );
SfxStringListItem( sal_uInt16 nWhich, SvStream& rStream );
SfxStringListItem( const SfxStringListItem& rItem );
- ~SfxStringListItem();
+ virtual ~SfxStringListItem();
std::vector<OUString>& GetList();
diff --git a/include/svl/smplhint.hxx b/include/svl/smplhint.hxx
index 5d70dfe14866..8189a005456b 100644
--- a/include/svl/smplhint.hxx
+++ b/include/svl/smplhint.hxx
@@ -77,7 +77,7 @@ public:
public: \
TYPEINFO_OVERRIDE(); \
Name( sal_uInt16 nId, const Type& rObject ); \
- ~Name(); \
+ virtual ~Name(); \
const Type& GetObject() const { return aObj; } \
}
diff --git a/include/svl/szitem.hxx b/include/svl/szitem.hxx
index 1ee8228c54d2..690e3ee82899 100644
--- a/include/svl/szitem.hxx
+++ b/include/svl/szitem.hxx
@@ -35,7 +35,7 @@ public:
SfxSizeItem();
SfxSizeItem( sal_uInt16 nWhich, const Size& rVal );
SfxSizeItem( const SfxSizeItem& );
- ~SfxSizeItem() {}
+ virtual ~SfxSizeItem() {}
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx
index 0555ab4fd80d..2a53e4750db7 100644
--- a/include/svl/undo.hxx
+++ b/include/svl/undo.hxx
@@ -455,7 +455,7 @@ private:
public:
TYPEINFO_OVERRIDE();
SfxLinkUndoAction(::svl::IUndoManager *pManager);
- ~SfxLinkUndoAction();
+ virtual ~SfxLinkUndoAction();
virtual void Undo() SAL_OVERRIDE;
virtual void Redo() SAL_OVERRIDE;
diff --git a/include/svtools/GraphicExportOptionsDialog.hxx b/include/svtools/GraphicExportOptionsDialog.hxx
index becf221a9c35..803467a082c6 100644
--- a/include/svtools/GraphicExportOptionsDialog.hxx
+++ b/include/svtools/GraphicExportOptionsDialog.hxx
@@ -62,7 +62,7 @@ private:
public:
GraphicExportOptionsDialog( Window* pWindow, const css::uno::Reference<css::lang::XComponent>& rxSourceDocument );
- ~GraphicExportOptionsDialog();
+ virtual ~GraphicExportOptionsDialog();
css::uno::Sequence<css::beans::PropertyValue> getFilterData();
};
diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx
index 5a6daff8b9dc..9d79ff9b558c 100644
--- a/include/svtools/PlaceEditDialog.hxx
+++ b/include/svtools/PlaceEditDialog.hxx
@@ -50,7 +50,7 @@ public :
PlaceEditDialog( Window* pParent);
PlaceEditDialog(Window* pParent, const boost::shared_ptr<Place> &pPlace );
- ~PlaceEditDialog();
+ virtual ~PlaceEditDialog();
// Returns a place instance with given information
boost::shared_ptr<Place> GetPlace();
diff --git a/include/svtools/ServerDetailsControls.hxx b/include/svtools/ServerDetailsControls.hxx
index 9bc37a41c52d..a4997b3113c7 100644
--- a/include/svtools/ServerDetailsControls.hxx
+++ b/include/svtools/ServerDetailsControls.hxx
@@ -85,7 +85,7 @@ class DavDetailsContainer : public HostDetailsContainer
public:
DavDetailsContainer( VclBuilderContainer* pBuilder );
- ~DavDetailsContainer( ) { };
+ virtual ~DavDetailsContainer( ) { };
virtual void show( bool bShow = true ) SAL_OVERRIDE;
@@ -105,7 +105,7 @@ class SmbDetailsContainer : public DetailsContainer
public:
SmbDetailsContainer( VclBuilderContainer* pBuilder );
- ~SmbDetailsContainer( ) { };
+ virtual ~SmbDetailsContainer( ) { };
virtual INetURLObject getUrl( ) SAL_OVERRIDE;
virtual bool setUrl( const INetURLObject& rUrl ) SAL_OVERRIDE;
@@ -128,7 +128,7 @@ class CmisDetailsContainer : public DetailsContainer
public:
CmisDetailsContainer( VclBuilderContainer* pBuilder );
- ~CmisDetailsContainer( ) { };
+ virtual ~CmisDetailsContainer( ) { };
virtual INetURLObject getUrl( ) SAL_OVERRIDE;
virtual bool setUrl( const INetURLObject& rUrl ) SAL_OVERRIDE;
diff --git a/include/svtools/addresstemplate.hxx b/include/svtools/addresstemplate.hxx
index 8a5d1a386db9..0ade142d02f8 100644
--- a/include/svtools/addresstemplate.hxx
+++ b/include/svtools/addresstemplate.hxx
@@ -99,7 +99,7 @@ namespace svt
const ::com::sun::star::uno::Sequence< ::com::sun::star::util::AliasProgrammaticPair >& _rMapping
);
- ~AddressBookSourceDialog();
+ virtual ~AddressBookSourceDialog();
// to be used if the object was constructed for editing a field mapping only
void getFieldMapping(
diff --git a/include/svtools/apearcfg.hxx b/include/svtools/apearcfg.hxx
index 63ccad654ab6..973577d31a3c 100644
--- a/include/svtools/apearcfg.hxx
+++ b/include/svtools/apearcfg.hxx
@@ -58,7 +58,7 @@ class SVT_DLLPUBLIC SvtTabAppearanceCfg : public utl::ConfigItem
public:
SvtTabAppearanceCfg( );
- ~SvtTabAppearanceCfg( );
+ virtual ~SvtTabAppearanceCfg( );
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const com::sun::star::uno::Sequence< OUString >& _rPropertyNames) SAL_OVERRIDE;
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx
index 576358fd05d0..ce23bf6c605a 100644
--- a/include/svtools/brwbox.hxx
+++ b/include/svtools/brwbox.hxx
@@ -408,7 +408,7 @@ public:
BrowserMode nMode = 0 );
BrowseBox( Window* pParent, const ResId& rId,
BrowserMode nMode = 0 );
- ~BrowseBox();
+ virtual ~BrowseBox();
// ererbte ueberladene Handler
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index 9fd8e8abccb7..ef270c5db3a8 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -258,7 +258,7 @@ protected:
public:
Calendar( Window* pParent, WinBits nWinStyle = 0 );
- ~Calendar();
+ virtual ~Calendar();
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
@@ -416,7 +416,7 @@ private:
public:
CalendarField( Window* pParent, WinBits nWinStyle );
- ~CalendarField();
+ virtual ~CalendarField();
virtual void Select();
diff --git a/include/svtools/cliplistener.hxx b/include/svtools/cliplistener.hxx
index 5557c491bf70..3db4fb4bdc40 100644
--- a/include/svtools/cliplistener.hxx
+++ b/include/svtools/cliplistener.hxx
@@ -36,7 +36,7 @@ class SVT_DLLPUBLIC TransferableClipboardListener : public ::cppu::WeakImplHelpe
public:
// Link is called with a TransferableDataHelper pointer
TransferableClipboardListener( const Link& rCallback );
- ~TransferableClipboardListener();
+ virtual ~TransferableClipboardListener();
void AddRemoveListener( Window* pWin, bool bAdd );
void ClearCallbackLink();
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index b4706b6039e5..74b59041ea13 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -241,7 +241,7 @@ namespace svt
TYPEINFO_OVERRIDE();
EditCellController( Edit* _pEdit );
EditCellController( IEditImplementation* _pImplementation );
- ~EditCellController( );
+ virtual ~EditCellController( );
const IEditImplementation* GetEditImplementation( ) const { return m_pEditImplementation; }
IEditImplementation* GetEditImplementation( ) { return m_pEditImplementation; }
@@ -285,7 +285,7 @@ namespace svt
public:
CheckBoxControl(Window* pParent, WinBits nWinStyle = 0);
- ~CheckBoxControl();
+ virtual ~CheckBoxControl();
virtual void GetFocus() SAL_OVERRIDE;
virtual bool PreNotify(NotifyEvent& rEvt) SAL_OVERRIDE;
@@ -593,7 +593,7 @@ namespace svt
public:
EditBrowseBox(Window* pParent, sal_Int32 nBrowserFlags = EBBF_NONE, WinBits nBits = WB_TABSTOP, BrowserMode nMode = 0 );
EditBrowseBox(Window* pParent, const ResId& rId, sal_Int32 nBrowserFlags = EBBF_NONE, BrowserMode nMode = 0 );
- ~EditBrowseBox();
+ virtual ~EditBrowseBox();
bool IsEditing() const {return aController.Is();}
void InvalidateStatusCell(long nRow) {RowModified(nRow, 0);}
diff --git a/include/svtools/editsyntaxhighlighter.hxx b/include/svtools/editsyntaxhighlighter.hxx
index a7c1291e4de1..98c13b38e26a 100644
--- a/include/svtools/editsyntaxhighlighter.hxx
+++ b/include/svtools/editsyntaxhighlighter.hxx
@@ -40,7 +40,7 @@ class SVT_DLLPUBLIC MultiLineEditSyntaxHighlight : public MultiLineEdit
public:
MultiLineEditSyntaxHighlight( Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER , HighlighterLanguage aLanguage = HIGHLIGHT_SQL);
- ~MultiLineEditSyntaxHighlight();
+ virtual ~MultiLineEditSyntaxHighlight();
virtual void UpdateData() SAL_OVERRIDE;
virtual void SetText(const OUString& rNewText) SAL_OVERRIDE;
diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx
index 3efcfb8d4247..d5038c7bd590 100644
--- a/include/svtools/ehdl.hxx
+++ b/include/svtools/ehdl.hxx
@@ -51,7 +51,7 @@ class SVT_DLLPUBLIC SfxErrorHandler : private ErrorHandler
{
public:
SfxErrorHandler(sal_uInt16 nId, sal_uLong lStart, sal_uLong lEnd, ResMgr *pMgr=0);
- ~SfxErrorHandler();
+ virtual ~SfxErrorHandler();
protected:
virtual bool GetErrorString(sal_uLong lErrId, OUString &, sal_uInt16&) const;
diff --git a/include/svtools/embedtransfer.hxx b/include/svtools/embedtransfer.hxx
index f3808dbfe066..61622e9098b9 100644
--- a/include/svtools/embedtransfer.hxx
+++ b/include/svtools/embedtransfer.hxx
@@ -44,7 +44,7 @@ public:
SvEmbedTransferHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj,
const Graphic* pGraphic,
sal_Int64 nAspect );
- ~SvEmbedTransferHelper();
+ virtual ~SvEmbedTransferHelper();
static void FillTransferableObjectDescriptor( TransferableObjectDescriptor& rDesc,
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj,
diff --git a/include/svtools/extcolorcfg.hxx b/include/svtools/extcolorcfg.hxx
index e4dbacaab765..1b08fa3700ab 100644
--- a/include/svtools/extcolorcfg.hxx
+++ b/include/svtools/extcolorcfg.hxx
@@ -67,7 +67,7 @@ private:
static ExtendedColorConfig_Impl* m_pImpl;
public:
ExtendedColorConfig();
- ~ExtendedColorConfig();
+ virtual ~ExtendedColorConfig();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
diff --git a/include/svtools/filectrl.hxx b/include/svtools/filectrl.hxx
index 47809595576f..aa591df7edc4 100644
--- a/include/svtools/filectrl.hxx
+++ b/include/svtools/filectrl.hxx
@@ -65,7 +65,7 @@ protected:
public:
FileControl( Window* pParent, WinBits nStyle, FileControlMode = 0 );
- ~FileControl();
+ virtual ~FileControl();
Edit& GetEdit() { return maEdit; }
PushButton& GetButton() { return maButton; }
diff --git a/include/svtools/fileview.hxx b/include/svtools/fileview.hxx
index a1a2aa835ce0..28a18a8c1ea5 100644
--- a/include/svtools/fileview.hxx
+++ b/include/svtools/fileview.hxx
@@ -82,7 +82,7 @@ protected:
public:
SvtFileView( Window* pParent, const ResId& rResId, bool bOnlyFolder, bool bMultiSelection );
SvtFileView( Window* pParent, const ResId& rResId, sal_uInt8 nFlags );
- ~SvtFileView();
+ virtual ~SvtFileView();
const OUString& GetViewURL() const;
OUString GetURL( SvTreeListEntry* pEntry ) const;
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 4b392a9693e1..3e1423ac6b3b 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -316,7 +316,7 @@ public:
GraphicObject( const Graphic& rGraphic, const GraphicManager* pMgr = NULL );
GraphicObject( const GraphicObject& rCacheObj, const GraphicManager* pMgr = NULL );
explicit GraphicObject( const OString& rUniqueID, const GraphicManager* pMgr = NULL );
- ~GraphicObject();
+ virtual ~GraphicObject();
GraphicObject& operator=( const GraphicObject& rCacheObj );
bool operator==( const GraphicObject& rCacheObj ) const;
diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx
index 940633dfa810..ce4d50b077f3 100644
--- a/include/svtools/headbar.hxx
+++ b/include/svtools/headbar.hxx
@@ -292,7 +292,7 @@ private:
public:
HeaderBar( Window* pParent, WinBits nWinBits = WB_STDHEADERBAR );
- ~HeaderBar();
+ virtual ~HeaderBar();
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/include/svtools/htmlcfg.hxx b/include/svtools/htmlcfg.hxx
index 6aca1a439c87..69d4782b0d0e 100644
--- a/include/svtools/htmlcfg.hxx
+++ b/include/svtools/htmlcfg.hxx
@@ -44,7 +44,7 @@ class SVT_DLLPUBLIC SvxHtmlOptions : public utl::ConfigItem
public:
SvxHtmlOptions();
- ~SvxHtmlOptions();
+ virtual ~SvxHtmlOptions();
virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const com::sun::star::uno::Sequence< OUString >& _rPropertyNames) SAL_OVERRIDE;
diff --git a/include/svtools/hyperlabel.hxx b/include/svtools/hyperlabel.hxx
index 4b6de2647dc0..ff68064673dd 100644
--- a/include/svtools/hyperlabel.hxx
+++ b/include/svtools/hyperlabel.hxx
@@ -53,7 +53,7 @@ namespace svt
public:
HyperLabel( Window* _pParent, WinBits _nWinStyle = 0 );
- ~HyperLabel( );
+ virtual ~HyperLabel( );
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx
index 0c314de0dd70..8bd931e2bec1 100644
--- a/include/svtools/inettbc.hxx
+++ b/include/svtools/inettbc.hxx
@@ -61,7 +61,7 @@ public:
SvtURLBox( Window* pParent, INetProtocol eSmart = INET_PROT_NOT_VALID, bool bSetDefaultHelpID = true );
SvtURLBox( Window* pParent, WinBits _nStyle, INetProtocol eSmart = INET_PROT_NOT_VALID, bool bSetDefaultHelpID = true );
SvtURLBox( Window* pParent, const ResId& _rResId, INetProtocol eSmart = INET_PROT_NOT_VALID, bool bSetDefaultHelpID = true );
- ~SvtURLBox();
+ virtual ~SvtURLBox();
void SetBaseURL( const OUString& rURL );
const OUString& GetBaseURL() const { return aBaseURL; }
diff --git a/include/svtools/openfiledroptargetlistener.hxx b/include/svtools/openfiledroptargetlistener.hxx
index ca854d07b9e1..2d708f7aa253 100644
--- a/include/svtools/openfiledroptargetlistener.hxx
+++ b/include/svtools/openfiledroptargetlistener.hxx
@@ -50,7 +50,7 @@ class SVT_DLLPUBLIC OpenFileDropTargetListener : public ::cppu::WeakImplHelper1<
public:
OpenFileDropTargetListener( const css::uno::Reference< css::uno::XComponentContext >& xContext,
const css::uno::Reference< css::frame::XFrame >& xFrame );
- ~OpenFileDropTargetListener();
+ virtual ~OpenFileDropTargetListener();
public:
// XEventListener
diff --git a/include/svtools/popupwindowcontroller.hxx b/include/svtools/popupwindowcontroller.hxx
index 8925481980a8..86466f08059a 100644
--- a/include/svtools/popupwindowcontroller.hxx
+++ b/include/svtools/popupwindowcontroller.hxx
@@ -39,7 +39,7 @@ public:
PopupWindowController( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame,
const OUString& aCommandURL );
- ~PopupWindowController();
+ virtual ~PopupWindowController();
virtual ::Window* createPopupWindow( ::Window* pParent ) = 0;
diff --git a/include/svtools/prnsetup.hxx b/include/svtools/prnsetup.hxx
index c83feda4609c..c4df80474254 100644
--- a/include/svtools/prnsetup.hxx
+++ b/include/svtools/prnsetup.hxx
@@ -60,7 +60,7 @@ private:
public:
PrinterSetupDialog( Window* pWindow );
- ~PrinterSetupDialog();
+ virtual ~PrinterSetupDialog();
void SetPrinter( Printer* pNewPrinter ) { mpPrinter = pNewPrinter; }
Printer* GetPrinter() const { return mpPrinter; }
diff --git a/include/svtools/roadmap.hxx b/include/svtools/roadmap.hxx
index a35e217b82e4..429806706b1e 100644
--- a/include/svtools/roadmap.hxx
+++ b/include/svtools/roadmap.hxx
@@ -57,7 +57,7 @@ namespace svt
public:
ORoadmap( Window* _pParent, WinBits _nWinStyle = 0 );
- ~ORoadmap( );
+ virtual ~ORoadmap( );
void SetRoadmapBitmap( const BitmapEx& maBitmap, bool _bInvalidate = true );
diff --git a/include/svtools/roadmapwizard.hxx b/include/svtools/roadmapwizard.hxx
index c2dcc819e88d..b6270ca1cc21 100644
--- a/include/svtools/roadmapwizard.hxx
+++ b/include/svtools/roadmapwizard.hxx
@@ -77,7 +77,7 @@ namespace svt
const WinBits i_nStyle,
sal_uInt32 _nButtonFlags = WZB_NEXT | WZB_PREVIOUS | WZB_FINISH | WZB_CANCEL | WZB_HELP
);
- ~RoadmapWizard( );
+ virtual ~RoadmapWizard( );
void SetRoadmapHelpId( const OString& _rId );
diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx
index 0b458e7ef8b0..1d3ab7c735c1 100644
--- a/include/svtools/simptabl.hxx
+++ b/include/svtools/simptabl.hxx
@@ -86,7 +86,7 @@ protected:
public:
SvSimpleTable(SvSimpleTableContainer& rParent, WinBits nBits = WB_BORDER);
- ~SvSimpleTable();
+ virtual ~SvSimpleTable();
void UpdateViewSize();
diff --git a/include/svtools/stdmenu.hxx b/include/svtools/stdmenu.hxx
index 7f61dd8f9bf8..e87a6db8609c 100644
--- a/include/svtools/stdmenu.hxx
+++ b/include/svtools/stdmenu.hxx
@@ -140,7 +140,7 @@ private:
public:
FontSizeMenu();
- ~FontSizeMenu();
+ virtual ~FontSizeMenu();
virtual void Select() SAL_OVERRIDE;
virtual void Highlight() SAL_OVERRIDE;
diff --git a/include/svtools/svmedit2.hxx b/include/svtools/svmedit2.hxx
index 280ce2ba7fb8..fcba12e8ebac 100644
--- a/include/svtools/svmedit2.hxx
+++ b/include/svtools/svmedit2.hxx
@@ -29,7 +29,7 @@ class SVT_DLLPUBLIC ExtMultiLineEdit : public MultiLineEdit
public:
ExtMultiLineEdit( Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER );
ExtMultiLineEdit( Window* pParent, const ResId& rResId );
- ~ExtMultiLineEdit();
+ virtual ~ExtMultiLineEdit();
// methods of TextView
void InsertText( const OUString& rNew, bool bSelect = false );
diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx
index c8d1551735e2..2efba9321a42 100644
--- a/include/svtools/svtabbx.hxx
+++ b/include/svtools/svtabbx.hxx
@@ -65,7 +65,7 @@ protected:
public:
SvTabListBox( Window* pParent, WinBits = WB_BORDER );
SvTabListBox( Window* pParent, const ResId& );
- ~SvTabListBox();
+ virtual ~SvTabListBox();
void SetTabs( long* pTabs, MapUnit = MAP_APPFONT );
sal_uInt16 TabCount() const { return (sal_uInt16)nTabCount; }
using SvTreeListBox::GetTab;
@@ -140,7 +140,7 @@ private:
public:
SvHeaderTabListBox( Window* pParent, WinBits nBits );
- ~SvHeaderTabListBox();
+ virtual ~SvHeaderTabListBox();
virtual void Paint( const Rectangle& ) SAL_OVERRIDE;
diff --git a/include/svtools/table/defaultinputhandler.hxx b/include/svtools/table/defaultinputhandler.hxx
index e1079163cf91..24945278a4c0 100644
--- a/include/svtools/table/defaultinputhandler.hxx
+++ b/include/svtools/table/defaultinputhandler.hxx
@@ -42,7 +42,7 @@ namespace svt { namespace table
public:
DefaultInputHandler();
- ~DefaultInputHandler();
+ virtual ~DefaultInputHandler();
virtual bool MouseMove ( ITableControl& _rControl, const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual bool MouseButtonDown ( ITableControl& _rControl, const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/include/svtools/table/gridtablerenderer.hxx b/include/svtools/table/gridtablerenderer.hxx
index 8022c81ec6af..c06f0baadd15 100644
--- a/include/svtools/table/gridtablerenderer.hxx
+++ b/include/svtools/table/gridtablerenderer.hxx
@@ -53,7 +53,7 @@ namespace svt { namespace table
at least as long as the renderer instance lives
*/
GridTableRenderer( ITableModel& _rModel );
- ~GridTableRenderer();
+ virtual ~GridTableRenderer();
/** determines whether or not to paint grid lines
*/
diff --git a/include/svtools/table/tablecontrol.hxx b/include/svtools/table/tablecontrol.hxx
index d8c5bf24c2a9..4d05ee2d8371 100644
--- a/include/svtools/table/tablecontrol.hxx
+++ b/include/svtools/table/tablecontrol.hxx
@@ -66,7 +66,7 @@ namespace svt { namespace table
public:
TableControl( Window* _pParent, WinBits _nStyle );
- ~TableControl();
+ virtual ~TableControl();
/// sets a new table model
void SetModel( PTableModel _pModel );
diff --git a/include/svtools/templdlg.hxx b/include/svtools/templdlg.hxx
index 2e58f2bf3eaf..34ca7e4f6b60 100644
--- a/include/svtools/templdlg.hxx
+++ b/include/svtools/templdlg.hxx
@@ -67,7 +67,7 @@ public:
</ul>
*/
- ~SvtDocumentTemplateDialog();
+ virtual ~SvtDocumentTemplateDialog();
void SelectTemplateFolder();
diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx
index 238fa2a6083e..5f2f0f26e310 100644
--- a/include/svtools/toolbarmenu.hxx
+++ b/include/svtools/toolbarmenu.hxx
@@ -54,7 +54,7 @@ public:
Window* pParentWindow,
const ResId& rResId );
- ~ToolbarMenu();
+ virtual ~ToolbarMenu();
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/include/svtools/toolpanel/drawerlayouter.hxx b/include/svtools/toolpanel/drawerlayouter.hxx
index ed829ea21de7..4ee46ae2a065 100644
--- a/include/svtools/toolpanel/drawerlayouter.hxx
+++ b/include/svtools/toolpanel/drawerlayouter.hxx
@@ -50,7 +50,7 @@ namespace svt
::Window& i_rParentWindow,
IToolPanelDeck& i_rPanels
);
- ~DrawerDeckLayouter();
+ virtual ~DrawerDeckLayouter();
// IReference
DECLARE_IREFERENCE()
diff --git a/include/svtools/toolpanel/paneltabbar.hxx b/include/svtools/toolpanel/paneltabbar.hxx
index b4f7b6ac58b3..3f1d36ccb858 100644
--- a/include/svtools/toolpanel/paneltabbar.hxx
+++ b/include/svtools/toolpanel/paneltabbar.hxx
@@ -51,7 +51,7 @@ namespace svt
{
public:
PanelTabBar( Window& i_rParentWindow, IToolPanelDeck& i_rPanelDeck, const TabAlignment i_eAlignment, const TabItemContent i_eItemContent );
- ~PanelTabBar();
+ virtual ~PanelTabBar();
// attribute access
TabItemContent GetTabItemContent() const;
diff --git a/include/svtools/toolpanel/tablayouter.hxx b/include/svtools/toolpanel/tablayouter.hxx
index 8f9106cd2142..17b5c4fa6429 100644
--- a/include/svtools/toolpanel/tablayouter.hxx
+++ b/include/svtools/toolpanel/tablayouter.hxx
@@ -65,7 +65,7 @@ namespace svt
const TabAlignment i_eAlignment,
const TabItemContent i_eItemContent
);
- ~TabDeckLayouter();
+ virtual ~TabDeckLayouter();
// attribute access
TabItemContent GetTabItemContent() const;
diff --git a/include/svtools/toolpanel/toolpanel.hxx b/include/svtools/toolpanel/toolpanel.hxx
index 6ecb29da3844..7fea98826098 100644
--- a/include/svtools/toolpanel/toolpanel.hxx
+++ b/include/svtools/toolpanel/toolpanel.hxx
@@ -123,7 +123,7 @@ namespace svt
{
protected:
ToolPanelBase();
- ~ToolPanelBase();
+ virtual ~ToolPanelBase();
public:
DECLARE_IREFERENCE()
diff --git a/include/svtools/toolpanel/toolpaneldeck.hxx b/include/svtools/toolpanel/toolpaneldeck.hxx
index 0a046553f7ce..2eb7d8318548 100644
--- a/include/svtools/toolpanel/toolpaneldeck.hxx
+++ b/include/svtools/toolpanel/toolpaneldeck.hxx
@@ -137,7 +137,7 @@ namespace svt
{
public:
ToolPanelDeck( Window& i_rParent, const WinBits i_nStyle = WB_DIALOGCONTROL );
- ~ToolPanelDeck();
+ virtual ~ToolPanelDeck();
// attributes
PDeckLayouter GetLayouter() const;
diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx
index 866c4faa4715..49019eb27cdc 100644
--- a/include/svtools/transfer.hxx
+++ b/include/svtools/transfer.hxx
@@ -392,7 +392,7 @@ private:
public:
DragGestureListener( DragSourceHelper& rDragSourceHelper );
- ~DragGestureListener();
+ virtual ~DragGestureListener();
};
friend class DragSourceHelper::DragGestureListener;
@@ -443,7 +443,7 @@ private:
public:
DropTargetListener( DropTargetHelper& rDropTargetHelper );
- ~DropTargetListener();
+ virtual ~DropTargetListener();
};
friend class DropTargetHelper::DropTargetListener;
@@ -499,7 +499,7 @@ protected:
public:
TransferDataContainer();
- ~TransferDataContainer();
+ virtual ~TransferDataContainer();
void CopyINetBookmark( const INetBookmark& rBkmk );
void CopyINetImage( const INetImage& rINtImg );
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index fc1fd0768e5b..2c4bcbc6bb36 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -287,7 +287,7 @@ protected:
public:
ValueSet( Window* pParent, WinBits nWinStyle, bool bDisableTransientChildren = false );
ValueSet( Window* pParent, const ResId& rResId, bool bDisableTransientChildren = false );
- ~ValueSet();
+ virtual ~ValueSet();
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/include/svtools/vclxaccessibleheaderbaritem.hxx b/include/svtools/vclxaccessibleheaderbaritem.hxx
index 10a343904f82..33a407ae4742 100644
--- a/include/svtools/vclxaccessibleheaderbaritem.hxx
+++ b/include/svtools/vclxaccessibleheaderbaritem.hxx
@@ -69,7 +69,7 @@ protected:
public:
VCLXAccessibleHeaderBarItem( HeaderBar* pHeadBar, sal_Int32 _nIndexInParent );
- ~VCLXAccessibleHeaderBarItem();
+ virtual ~VCLXAccessibleHeaderBarItem();
// XInterface
DECLARE_XINTERFACE()
diff --git a/include/svtools/wizardmachine.hxx b/include/svtools/wizardmachine.hxx
index 0e0ba2dbaf83..42a73056fcc0 100644
--- a/include/svtools/wizardmachine.hxx
+++ b/include/svtools/wizardmachine.hxx
@@ -100,7 +100,7 @@ namespace svt
*/
OWizardPage(Window* _pParent, const ResId& _rResId);
OWizardPage(Window *pParent, const OString& rID, const OUString& rUIXMLDescription);
- ~OWizardPage();
+ virtual ~OWizardPage();
// IWizardPageController overridables
virtual void initializePage() SAL_OVERRIDE;
@@ -177,7 +177,7 @@ namespace svt
*/
OWizardMachine(Window* _pParent, const ResId& _rRes, sal_uInt32 _nButtonFlags );
OWizardMachine(Window* _pParent, const WinBits i_nStyle, sal_uInt32 _nButtonFlags );
- ~OWizardMachine();
+ virtual ~OWizardMachine();
/// enable (or disable) buttons
void enableButtons(sal_uInt32 _nWizardButtonFlags, bool _bEnable);
diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx
index 698fb3680c5c..798d706b9551 100644
--- a/include/svtools/wizdlg.hxx
+++ b/include/svtools/wizdlg.hxx
@@ -254,7 +254,7 @@ private:
public:
WizardDialog( Window* pParent, WinBits nStyle = WB_STDTABDIALOG );
WizardDialog( Window* pParent, const ResId& rResId );
- ~WizardDialog();
+ virtual ~WizardDialog();
virtual void Resize() SAL_OVERRIDE;
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
diff --git a/include/svtools/xwindowitem.hxx b/include/svtools/xwindowitem.hxx
index 139c51786005..d9df9dc9d34c 100644
--- a/include/svtools/xwindowitem.hxx
+++ b/include/svtools/xwindowitem.hxx
@@ -42,7 +42,7 @@ public:
TYPEINFO_OVERRIDE();
XWindowItem();
XWindowItem( const XWindowItem &rItem );
- ~XWindowItem();
+ virtual ~XWindowItem();
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const SAL_OVERRIDE;
virtual bool operator == ( const SfxPoolItem& rAttr ) const SAL_OVERRIDE;
diff --git a/include/svx/EnhancedCustomShape2d.hxx b/include/svx/EnhancedCustomShape2d.hxx
index 2d7ef9da7ce1..692455af94a6 100644
--- a/include/svx/EnhancedCustomShape2d.hxx
+++ b/include/svx/EnhancedCustomShape2d.hxx
@@ -185,7 +185,7 @@ class EnhancedCustomShape2d : public SfxItemSet
SVX_DLLPUBLIC bool SetHandleControllerPosition( const sal_uInt32 nIndex, const com::sun::star::awt::Point& rPosition );
SVX_DLLPUBLIC EnhancedCustomShape2d( SdrObject* pSdrObjCustomShape );
- SVX_DLLPUBLIC ~EnhancedCustomShape2d();
+ SVX_DLLPUBLIC virtual ~EnhancedCustomShape2d();
enum EnumFunc
{
diff --git a/include/svx/SmartTagCtl.hxx b/include/svx/SmartTagCtl.hxx
index 9833516c1726..3a8793f4a647 100644
--- a/include/svx/SmartTagCtl.hxx
+++ b/include/svx/SmartTagCtl.hxx
@@ -67,7 +67,7 @@ private:
public:
SvxSmartTagsControl( sal_uInt16 nId, Menu&, SfxBindings& );
- ~SvxSmartTagsControl();
+ virtual ~SvxSmartTagsControl();
virtual PopupMenu* GetPopup() const SAL_OVERRIDE;
SFX_DECL_MENU_CONTROL();
diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx
index 29003e2bc74c..95a7b8669724 100644
--- a/include/svx/bmpmask.hxx
+++ b/include/svx/bmpmask.hxx
@@ -148,7 +148,7 @@ public:
SfxChildWindow *pCW,
Window* pParent,
const ResId& rResId );
- ~SvxBmpMask();
+ virtual ~SvxBmpMask();
void SetColor( const Color& rColor );
void PipetteClicked();
diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx
index 813c7e4bebdf..b402e7435757 100644
--- a/include/svx/charmap.hxx
+++ b/include/svx/charmap.hxx
@@ -45,7 +45,7 @@ class SVX_DLLPUBLIC SvxShowCharSet : public Control
public:
SvxShowCharSet( Window* pParent, const ResId& rResId );
SvxShowCharSet( Window* pParent );
- ~SvxShowCharSet();
+ virtual ~SvxShowCharSet();
void SetFont( const Font& rFont );
diff --git a/include/svx/checklbx.hxx b/include/svx/checklbx.hxx
index 08986983d9f4..ba379019d970 100644
--- a/include/svx/checklbx.hxx
+++ b/include/svx/checklbx.hxx
@@ -47,7 +47,7 @@ public:
SvxCheckListBox( Window* pParent, const ResId& rResId );
SvxCheckListBox( Window* pParent, const ResId& rResId,
const Image& rNormalStaticImage );
- ~SvxCheckListBox();
+ virtual ~SvxCheckListBox();
void InsertEntry ( const OUString& rStr,
sal_uLong nPos = TREELIST_APPEND,
diff --git a/include/svx/clipboardctl.hxx b/include/svx/clipboardctl.hxx
index 813fafb3285e..9faedb483924 100644
--- a/include/svx/clipboardctl.hxx
+++ b/include/svx/clipboardctl.hxx
@@ -43,7 +43,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxClipBoardControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxClipBoardControl();
+ virtual ~SvxClipBoardControl();
virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE;
diff --git a/include/svx/colrctrl.hxx b/include/svx/colrctrl.hxx
index a2b01ef38c83..2a1df616d24e 100644
--- a/include/svx/colrctrl.hxx
+++ b/include/svx/colrctrl.hxx
@@ -104,7 +104,7 @@ public:
SfxChildWindow *pCW,
Window* pParent,
const ResId& rResId );
- ~SvxColorDockingWindow();
+ virtual ~SvxColorDockingWindow();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
diff --git a/include/svx/contdlg.hxx b/include/svx/contdlg.hxx
index 1a8ecd45417c..37d1a942a827 100644
--- a/include/svx/contdlg.hxx
+++ b/include/svx/contdlg.hxx
@@ -75,7 +75,7 @@ public:
SvxContourDlg( SfxBindings *pBindings, SfxChildWindow *pCW,
Window* pParent, const ResId& rResId );
- ~SvxContourDlg();
+ virtual ~SvxContourDlg();
const Graphic& GetGraphic() const;
bool IsGraphicChanged() const;
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx
index 703a75c1fd2a..9d97b3e7cb71 100644
--- a/include/svx/ctredlin.hxx
+++ b/include/svx/ctredlin.hxx
@@ -73,7 +73,7 @@ public:
SvLBoxColorString( SvTreeListEntry*, sal_uInt16 nFlags, const OUString& rStr,
const Color& rCol);
SvLBoxColorString();
- ~SvLBoxColorString();
+ virtual ~SvLBoxColorString();
virtual void Paint(
const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE;
@@ -113,7 +113,7 @@ protected:
public:
SvxRedlinTable(SvSimpleTableContainer& rParent, WinBits nBits = WB_BORDER);
- ~SvxRedlinTable();
+ virtual ~SvxRedlinTable();
// For FilterPage only {
void SetFilterDate(bool bFlag=true);
@@ -315,7 +315,7 @@ private:
public:
SvxTPView(Window * pParent);
- ~SvxTPView();
+ virtual ~SvxTPView();
void InsertWriterHeader();
void InsertCalcHeader();
@@ -375,7 +375,7 @@ private:
public:
SvxAcceptChgCtr(Window* pParent);
- ~SvxAcceptChgCtr();
+ virtual ~SvxAcceptChgCtr();
void ShowFilterPage();
void ShowViewPage();
diff --git a/include/svx/dbtoolsclient.hxx b/include/svx/dbtoolsclient.hxx
index 5a5542ba2cfe..bae28bfd338c 100644
--- a/include/svx/dbtoolsclient.hxx
+++ b/include/svx/dbtoolsclient.hxx
@@ -158,7 +158,7 @@ namespace svxform
{
public:
DBToolsObjectFactory();
- ~DBToolsObjectFactory();
+ virtual ~DBToolsObjectFactory();
::std::auto_ptr< ::dbtools::FormattedColumnValue > createFormattedColumnValue(
const css::uno::Reference<css::uno::XComponentContext>& _rContext,
diff --git a/include/svx/dlgctl3d.hxx b/include/svx/dlgctl3d.hxx
index c102022aa621..3ebb61fb21c2 100644
--- a/include/svx/dlgctl3d.hxx
+++ b/include/svx/dlgctl3d.hxx
@@ -57,7 +57,7 @@ protected:
public:
Svx3DPreviewControl(Window* pParent, const ResId& rResId);
Svx3DPreviewControl(Window* pParent, WinBits nStyle = 0);
- ~Svx3DPreviewControl();
+ virtual ~Svx3DPreviewControl();
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
@@ -112,7 +112,7 @@ class SVX_DLLPUBLIC Svx3DLightControl : public Svx3DPreviewControl
public:
Svx3DLightControl(Window* pParent, WinBits nStyle = 0);
- ~Svx3DLightControl();
+ virtual ~Svx3DLightControl();
virtual void Paint(const Rectangle& rRect) SAL_OVERRIDE;
virtual void MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE;
@@ -167,7 +167,7 @@ private:
public:
SvxLightCtl3D( Window* pParent, const ResId& rResId);
SvxLightCtl3D( Window* pParent);
- ~SvxLightCtl3D();
+ virtual ~SvxLightCtl3D();
// react to size changes
virtual void Resize() SAL_OVERRIDE;
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx
index 2d09ad61f28f..7a74c33ba447 100644
--- a/include/svx/dlgctrl.hxx
+++ b/include/svx/dlgctrl.hxx
@@ -182,7 +182,7 @@ protected:
public:
SvxPixelCtl( Window* pParent, sal_uInt16 nNumber = 8 );
- ~SvxPixelCtl();
+ virtual ~SvxPixelCtl();
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/include/svx/e3ditem.hxx b/include/svx/e3ditem.hxx
index b425583a268f..8340b3d3d603 100644
--- a/include/svx/e3ditem.hxx
+++ b/include/svx/e3ditem.hxx
@@ -38,7 +38,7 @@ public:
SvxB3DVectorItem();
SvxB3DVectorItem( sal_uInt16 nWhich, const basegfx::B3DVector& rVal );
SvxB3DVectorItem( const SvxB3DVectorItem& );
- ~SvxB3DVectorItem();
+ virtual ~SvxB3DVectorItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
diff --git a/include/svx/extrusionbar.hxx b/include/svx/extrusionbar.hxx
index 47800a22c16c..fd1effac0781 100644
--- a/include/svx/extrusionbar.hxx
+++ b/include/svx/extrusionbar.hxx
@@ -42,7 +42,7 @@ public:
SFX_DECL_INTERFACE(SVX_INTERFACE_EXTRUSION_BAR)
ExtrusionBar(SfxViewShell* pViewShell );
- ~ExtrusionBar();
+ virtual ~ExtrusionBar();
static void execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBindings );
static void getState( SdrView* pSdrView, SfxItemSet& rSet );
diff --git a/include/svx/extrusioncolorcontrol.hxx b/include/svx/extrusioncolorcontrol.hxx
index c205a69096f1..668b7109eadc 100644
--- a/include/svx/extrusioncolorcontrol.hxx
+++ b/include/svx/extrusioncolorcontrol.hxx
@@ -35,7 +35,7 @@ private:
public:
SFX_DECL_TOOLBOX_CONTROL();
ExtrusionColorControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~ExtrusionColorControl();
+ virtual ~ExtrusionColorControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
diff --git a/include/svx/fillctrl.hxx b/include/svx/fillctrl.hxx
index d42dc13d222b..c409aecfcf2d 100644
--- a/include/svx/fillctrl.hxx
+++ b/include/svx/fillctrl.hxx
@@ -60,7 +60,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxFillToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxFillToolBoxControl();
+ virtual ~SvxFillToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -87,7 +87,7 @@ private:
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
public:
FillControl( Window* pParent, WinBits nStyle = 0 );
- ~FillControl();
+ virtual ~FillControl();
virtual void Resize() SAL_OVERRIDE;
};
diff --git a/include/svx/float3d.hxx b/include/svx/float3d.hxx
index 3dfdd8ebe9c9..c88fa556f392 100644
--- a/include/svx/float3d.hxx
+++ b/include/svx/float3d.hxx
@@ -239,7 +239,7 @@ protected:
public:
Svx3DWin( SfxBindings* pBindings, SfxChildWindow *pCW,
Window* pParent );
- ~Svx3DWin();
+ virtual ~Svx3DWin();
void InitColorLB( const SdrModel* pDoc );
bool IsUpdateMode() const { return bUpdate; }
diff --git a/include/svx/fmgridcl.hxx b/include/svx/fmgridcl.hxx
index 26241fe26977..4b6c11620035 100644
--- a/include/svx/fmgridcl.hxx
+++ b/include/svx/fmgridcl.hxx
@@ -42,7 +42,7 @@ protected:
public:
FmGridHeader( BrowseBox* pParent, WinBits nWinBits = WB_STDHEADERBAR | WB_DRAG );
- ~FmGridHeader();
+ virtual ~FmGridHeader();
public:
struct AccessControl { friend class FmGridControl; private: AccessControl() { } };
diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx
index a89bdf445b16..1b548f6b7a6c 100644
--- a/include/svx/fmgridif.hxx
+++ b/include/svx/fmgridif.hxx
@@ -373,7 +373,7 @@ protected:
public:
FmXGridPeer(const ::css::uno::Reference< ::css::uno::XComponentContext >&);
- ~FmXGridPeer();
+ virtual ~FmXGridPeer();
// spaeter Constructor, immer nach dem realen Constructor zu rufen !
void Create(Window* pParent, WinBits nStyle);
diff --git a/include/svx/fmpage.hxx b/include/svx/fmpage.hxx
index acbd8ad5a98c..e011e26d9938 100644
--- a/include/svx/fmpage.hxx
+++ b/include/svx/fmpage.hxx
@@ -49,7 +49,7 @@ public:
FmFormPage(FmFormModel& rModel, bool bMasterPage=false);
FmFormPage(const FmFormPage& rPage);
- ~FmFormPage();
+ virtual ~FmFormPage();
virtual void SetModel(SdrModel* pNewModel) SAL_OVERRIDE;
diff --git a/include/svx/fntctl.hxx b/include/svx/fntctl.hxx
index 5e2c2bd73eb0..b37575c131eb 100644
--- a/include/svx/fntctl.hxx
+++ b/include/svx/fntctl.hxx
@@ -44,7 +44,7 @@ private:
public:
SvxFontMenuControl( sal_uInt16 nId, Menu&, SfxBindings& );
- ~SvxFontMenuControl();
+ virtual ~SvxFontMenuControl();
virtual PopupMenu* GetPopup() const SAL_OVERRIDE;
diff --git a/include/svx/fntszctl.hxx b/include/svx/fntszctl.hxx
index b9bfad768d81..2c7562f1cd64 100644
--- a/include/svx/fntszctl.hxx
+++ b/include/svx/fntszctl.hxx
@@ -44,7 +44,7 @@ protected:
public:
SvxFontSizeMenuControl( sal_uInt16 nId, Menu&, SfxBindings& );
- ~SvxFontSizeMenuControl();
+ virtual ~SvxFontSizeMenuControl();
virtual PopupMenu* GetPopup() const SAL_OVERRIDE;
diff --git a/include/svx/fontwork.hxx b/include/svx/fontwork.hxx
index c44550ae5d1f..5292cc180f69 100644
--- a/include/svx/fontwork.hxx
+++ b/include/svx/fontwork.hxx
@@ -160,7 +160,7 @@ class SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow
SfxChildWindow *pCW,
Window* pParent,
const ResId& rResId );
- ~SvxFontWorkDialog();
+ virtual ~SvxFontWorkDialog();
void SetColorList(const XColorListRef &pTable);
void SetActive(bool bActivate = true);
diff --git a/include/svx/fontworkbar.hxx b/include/svx/fontworkbar.hxx
index 9efd7dc76dab..2ca04ca7a3be 100644
--- a/include/svx/fontworkbar.hxx
+++ b/include/svx/fontworkbar.hxx
@@ -42,7 +42,7 @@ public:
SFX_DECL_INTERFACE(SVX_INTERFACE_FONTWORK_BAR)
FontworkBar(SfxViewShell* pViewShell );
- ~FontworkBar();
+ virtual ~FontworkBar();
static void execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBindings );
static void getState( SdrView* pSdrView, SfxItemSet& rSet );
diff --git a/include/svx/fontworkgallery.hxx b/include/svx/fontworkgallery.hxx
index ba4a2f2e096c..a635aed3e6ce 100644
--- a/include/svx/fontworkgallery.hxx
+++ b/include/svx/fontworkgallery.hxx
@@ -55,7 +55,7 @@ class SVX_DLLPUBLIC FontWorkShapeTypeControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
FontWorkShapeTypeControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~FontWorkShapeTypeControl();
+ virtual ~FontWorkShapeTypeControl();
virtual void Select( sal_Bool bMod1 = sal_False );
virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
@@ -100,7 +100,7 @@ class SVX_DLLPUBLIC FontWorkGalleryDialog : public ModalDialog
public:
FontWorkGalleryDialog( SdrView* pView, Window* pParent, sal_uInt16 nSID );
- ~FontWorkGalleryDialog();
+ virtual ~FontWorkGalleryDialog();
// SJ: if the SdrObject** is set, the SdrObject is not inserted into the page when executing the dialog
void SetSdrObjectRef( SdrObject**, SdrModel* pModel );
diff --git a/include/svx/formatpaintbrushctrl.hxx b/include/svx/formatpaintbrushctrl.hxx
index 38c6dba622ce..5e7bc7c16669 100644
--- a/include/svx/formatpaintbrushctrl.hxx
+++ b/include/svx/formatpaintbrushctrl.hxx
@@ -42,7 +42,7 @@ class SVX_DLLPUBLIC FormatPaintBrushToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
FormatPaintBrushToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~FormatPaintBrushToolBoxControl();
+ virtual ~FormatPaintBrushToolBoxControl();
virtual void DoubleClick() SAL_OVERRIDE;
virtual void Click() SAL_OVERRIDE;
diff --git a/include/svx/galbrws.hxx b/include/svx/galbrws.hxx
index f4753f6614d3..169db3dbe52e 100644
--- a/include/svx/galbrws.hxx
+++ b/include/svx/galbrws.hxx
@@ -30,7 +30,7 @@ class SVX_DLLPUBLIC GalleryChildWindow : public SfxChildWindow
{
public:
GalleryChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
- ~GalleryChildWindow();
+ virtual ~GalleryChildWindow();
SFX_DECL_CHILDWINDOW_WITHID( GalleryChildWindow );
};
@@ -72,7 +72,7 @@ public:
GalleryBrowser( SfxBindings* pBindings, SfxChildWindow* pCW,
Window* pParent, const ResId& rResId );
- ~GalleryBrowser();
+ virtual ~GalleryBrowser();
sal_Bool KeyInput( const KeyEvent& rKEvt, Window* pWindow );
};
diff --git a/include/svx/galctrl.hxx b/include/svx/galctrl.hxx
index 5b5fff429ef5..752fdf38cc6c 100644
--- a/include/svx/galctrl.hxx
+++ b/include/svx/galctrl.hxx
@@ -109,7 +109,7 @@ private:
public:
GalleryIconView( GalleryBrowser2* pParent, GalleryTheme* pTheme );
- ~GalleryIconView();
+ virtual ~GalleryIconView();
};
class GalleryListView : public BrowseBox
@@ -144,7 +144,7 @@ private:
public:
GalleryListView( GalleryBrowser2* pParent, GalleryTheme* pTheme );
- ~GalleryListView();
+ virtual ~GalleryListView();
void SetSelectHdl( const Link& rSelectHdl ) { maSelectHdl = rSelectHdl; }
diff --git a/include/svx/gallery1.hxx b/include/svx/gallery1.hxx
index f60ee4089604..1a496dc45709 100644
--- a/include/svx/gallery1.hxx
+++ b/include/svx/gallery1.hxx
@@ -121,7 +121,7 @@ private:
void ImplDeleteCachedTheme( GalleryTheme* pTheme );
SVX_DLLPUBLIC Gallery( const OUString& rMultiPath );
- SVX_DLLPUBLIC ~Gallery();
+ SVX_DLLPUBLIC virtual ~Gallery();
public:
diff --git a/include/svx/galleryitem.hxx b/include/svx/galleryitem.hxx
index 1a252b18b693..9d9b48ce5f47 100644
--- a/include/svx/galleryitem.hxx
+++ b/include/svx/galleryitem.hxx
@@ -49,7 +49,7 @@ public:
SvxGalleryItem();
SvxGalleryItem( const SvxGalleryItem& );
- ~SvxGalleryItem();
+ virtual ~SvxGalleryItem();
sal_Int8 GetType() const { return m_nType; }
const rtl::OUString GetURL() const { return m_aURL; }
diff --git a/include/svx/galmisc.hxx b/include/svx/galmisc.hxx
index f8f86ed0c62b..8c19c4add446 100644
--- a/include/svx/galmisc.hxx
+++ b/include/svx/galmisc.hxx
@@ -170,7 +170,7 @@ private:
protected:
GalleryTransferable( GalleryTheme* pTheme, sal_uIntPtr nObjectPos, bool bLazy );
- ~GalleryTransferable();
+ virtual ~GalleryTransferable();
void InitData( bool bLazy );
diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx
index a842b79f2da3..548aca7d223f 100644
--- a/include/svx/galtheme.hxx
+++ b/include/svx/galtheme.hxx
@@ -129,7 +129,7 @@ private:
GalleryTheme();
GalleryTheme( Gallery* pGallery, GalleryThemeEntry* pThemeEntry );
- ~GalleryTheme();
+ virtual ~GalleryTheme();
public:
diff --git a/include/svx/grafctrl.hxx b/include/svx/grafctrl.hxx
index 98b8807ef140..a5412f2b5985 100644
--- a/include/svx/grafctrl.hxx
+++ b/include/svx/grafctrl.hxx
@@ -50,7 +50,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxGrafFilterToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxGrafFilterToolBoxControl();
+ virtual ~SvxGrafFilterToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
@@ -65,7 +65,7 @@ class SvxGrafToolBoxControl : public SfxToolBoxControl
{
public:
SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxGrafToolBoxControl();
+ virtual ~SvxGrafToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE;
@@ -157,7 +157,7 @@ class SVX_DLLPUBLIC SvxGrafModeToolBoxControl : public SfxToolBoxControl, public
public:
SFX_DECL_TOOLBOX_CONTROL();
SvxGrafModeToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxGrafModeToolBoxControl();
+ virtual ~SvxGrafModeToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE;
diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx
index 738d0eada4b9..495ba9ff8d71 100644
--- a/include/svx/graphctl.hxx
+++ b/include/svx/graphctl.hxx
@@ -82,7 +82,7 @@ public:
GraphCtrl( Window* pParent, const ResId& rResId );
GraphCtrl( Window* pParent, WinBits nStyle );
- ~GraphCtrl();
+ virtual ~GraphCtrl();
void SetWinStyle( WinBits nWinBits );
WinBits GetWinStyle() const { return nWinStyle; }
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index 18a4e2ba804a..d42cfa3fdf95 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -74,7 +74,7 @@ public:
DbGridRow(CursorWrapper* pCur, bool bPaintCursor);
void SetState(CursorWrapper* pCur, bool bPaintCursor);
- ~DbGridRow();
+ virtual ~DbGridRow();
bool HasField(sal_uInt32 nPos) const { return nPos < m_aVariants.size(); }
const ::svxform::DataColumn& GetField(sal_uInt32 nPos) const { return *m_aVariants[ nPos ]; }
diff --git a/include/svx/imapdlg.hxx b/include/svx/imapdlg.hxx
index d581593a641f..7345c1262676 100644
--- a/include/svx/imapdlg.hxx
+++ b/include/svx/imapdlg.hxx
@@ -119,7 +119,7 @@ public:
SvxIMapDlg( SfxBindings *pBindings, SfxChildWindow *pCW,
Window* pParent, const ResId& rResId );
- ~SvxIMapDlg();
+ virtual ~SvxIMapDlg();
void SetExecState( bool bEnable );
diff --git a/include/svx/insctrl.hxx b/include/svx/insctrl.hxx
index 4344072a1716..d9ec00dca797 100644
--- a/include/svx/insctrl.hxx
+++ b/include/svx/insctrl.hxx
@@ -35,7 +35,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
SvxInsertStatusBarControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- ~SvxInsertStatusBarControl();
+ virtual ~SvxInsertStatusBarControl();
private:
bool bInsert;
diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx
index 9084a62166de..8dc402025340 100644
--- a/include/svx/itemwin.hxx
+++ b/include/svx/itemwin.hxx
@@ -49,7 +49,7 @@ public:
SvxLineBox( Window* pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL );
- ~SvxLineBox();
+ virtual ~SvxLineBox();
void FillControl();
@@ -81,7 +81,7 @@ public:
const OUString& rCommand,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL );
- ~SvxColorBox();
+ virtual ~SvxColorBox();
void Update( const XLineColorItem* pItem );
@@ -120,7 +120,7 @@ public:
SvxMetricField( Window* pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
WinBits nBits = WB_BORDER | WB_SPIN | WB_REPEAT );
- ~SvxMetricField();
+ virtual ~SvxMetricField();
void Update( const XLineWidthItem* pItem );
void SetCoreUnit( SfxMapUnit eUnit );
@@ -133,7 +133,7 @@ class SvxFillTypeBox : public FillTypeLB
{
public:
SvxFillTypeBox( Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL );
- ~SvxFillTypeBox();
+ virtual ~SvxFillTypeBox();
void Selected() { bSelect = true; }
bool IsRelease() { return bRelease;}
@@ -156,7 +156,7 @@ class SvxFillAttrBox : public FillAttrLB
{
public:
SvxFillAttrBox( Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL );
- ~SvxFillAttrBox();
+ virtual ~SvxFillAttrBox();
bool IsRelease() { return bRelease;}
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx
index de5289b0b7b4..8885064d01fa 100644
--- a/include/svx/langbox.hxx
+++ b/include/svx/langbox.hxx
@@ -69,7 +69,7 @@ private:
public:
SvxLanguageBox(Window* pParent, WinBits nBits, bool bCheck = false);
- ~SvxLanguageBox();
+ virtual ~SvxLanguageBox();
void SetLanguageList( sal_Int16 nLangList,
bool bHasLangNone, bool bLangNoneIsLangAll = false,
diff --git a/include/svx/layctrl.hxx b/include/svx/layctrl.hxx
index 1477e5a06020..9652aea57322 100644
--- a/include/svx/layctrl.hxx
+++ b/include/svx/layctrl.hxx
@@ -40,7 +40,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxTableToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxTableToolBoxControl();
+ virtual ~SvxTableToolBoxControl();
};
// class SvxColumnsToolBoxControl ----------------------------------------
@@ -56,7 +56,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxColumnsToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxColumnsToolBoxControl();
+ virtual ~SvxColumnsToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx
index 114accbba131..1419b653a814 100644
--- a/include/svx/linectrl.hxx
+++ b/include/svx/linectrl.hxx
@@ -48,7 +48,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxLineStyleToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxLineStyleToolBoxControl();
+ virtual ~SvxLineStyleToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -66,7 +66,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxLineWidthToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxLineWidthToolBoxControl();
+ virtual ~SvxLineWidthToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -83,7 +83,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxLineColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxLineColorToolBoxControl();
+ virtual ~SvxLineColorToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -135,7 +135,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
Window* pParentWindow,
const OUString& rWndTitle );
- ~SvxLineEndWindow();
+ virtual ~SvxLineEndWindow();
void StartSelection();
@@ -153,7 +153,7 @@ class SVX_DLLPUBLIC SvxLineEndToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
SvxLineEndToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxLineEndToolBoxControl();
+ virtual ~SvxLineEndToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
diff --git a/include/svx/measctrl.hxx b/include/svx/measctrl.hxx
index f9efa90b3f49..2c037e2320a2 100644
--- a/include/svx/measctrl.hxx
+++ b/include/svx/measctrl.hxx
@@ -42,7 +42,7 @@ private:
public:
SvxXMeasurePreview(Window* pParent, WinBits nStyle);
- ~SvxXMeasurePreview();
+ virtual ~SvxXMeasurePreview();
virtual void Paint(const Rectangle& rRect) SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
diff --git a/include/svx/numinf.hxx b/include/svx/numinf.hxx
index f0db983277cd..9a9a30f36583 100644
--- a/include/svx/numinf.hxx
+++ b/include/svx/numinf.hxx
@@ -47,7 +47,7 @@ public:
SvxNumberInfoItem( SvNumberFormatter* pNumFormatter, const double& rVal,
const OUString& rValueStr, const sal_uInt16 nId );
SvxNumberInfoItem( const SvxNumberInfoItem& );
- ~SvxNumberInfoItem();
+ virtual ~SvxNumberInfoItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
diff --git a/include/svx/numvset.hxx b/include/svx/numvset.hxx
index 0bd5efb9f559..ff64b4850175 100644
--- a/include/svx/numvset.hxx
+++ b/include/svx/numvset.hxx
@@ -68,7 +68,7 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet
public:
SvxNumValueSet(Window* pParent, WinBits nWinBits = WB_TABSTOP);
void init(sal_uInt16 nType);
- ~SvxNumValueSet();
+ virtual ~SvxNumValueSet();
virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE;
@@ -106,7 +106,7 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet
public:
SvxBmpNumValueSet(Window* pParent, WinBits nWinBits = WB_TABSTOP);
- ~SvxBmpNumValueSet();
+ virtual ~SvxBmpNumValueSet();
virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE;
diff --git a/include/svx/pagectrl.hxx b/include/svx/pagectrl.hxx
index ebec43cf2d75..e91281803158 100644
--- a/include/svx/pagectrl.hxx
+++ b/include/svx/pagectrl.hxx
@@ -79,7 +79,7 @@ protected:
public:
SvxPageWindow( Window* pParent );
- ~SvxPageWindow();
+ virtual ~SvxPageWindow();
void SetWidth( long nW ) { aSize.Width() = nW; }
void SetHeight( long nH ) { aSize.Height() = nH; }
diff --git a/include/svx/passwd.hxx b/include/svx/passwd.hxx
index 6c74fa237a03..3b2f95800d5b 100644
--- a/include/svx/passwd.hxx
+++ b/include/svx/passwd.hxx
@@ -52,7 +52,7 @@ private:
public:
SvxPasswordDialog( Window* pParent, bool bAllowEmptyPasswords = false, bool bDisableOldPassword = false );
- ~SvxPasswordDialog();
+ virtual ~SvxPasswordDialog();
OUString GetOldPassword() const { return m_pOldPasswdED->GetText(); }
OUString GetNewPassword() const { return m_pNewPasswdED->GetText(); }
diff --git a/include/svx/prtqry.hxx b/include/svx/prtqry.hxx
index fc65fef8e9c1..3a1446610639 100644
--- a/include/svx/prtqry.hxx
+++ b/include/svx/prtqry.hxx
@@ -26,7 +26,7 @@ class SVX_DLLPUBLIC SvxPrtQryBox : public MessBox
{
public:
SvxPrtQryBox(Window* pParent);
- ~SvxPrtQryBox();
+ virtual ~SvxPrtQryBox();
};
#endif
diff --git a/include/svx/pszctrl.hxx b/include/svx/pszctrl.hxx
index 827a06a882c5..92c390687dc7 100644
--- a/include/svx/pszctrl.hxx
+++ b/include/svx/pszctrl.hxx
@@ -38,7 +38,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
SvxPosSizeStatusBarControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- ~SvxPosSizeStatusBarControl();
+ virtual ~SvxPosSizeStatusBarControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE;
diff --git a/include/svx/rotmodit.hxx b/include/svx/rotmodit.hxx
index 69082b8b247a..938a9f2e3288 100644
--- a/include/svx/rotmodit.hxx
+++ b/include/svx/rotmodit.hxx
@@ -41,7 +41,7 @@ public:
SvxRotateModeItem( SvxRotateMode eMode=SVX_ROTATE_MODE_STANDARD, sal_uInt16 nWhich=0);
SvxRotateModeItem( const SvxRotateModeItem& rItem );
- ~SvxRotateModeItem();
+ virtual ~SvxRotateModeItem();
virtual sal_uInt16 GetValueCount() const SAL_OVERRIDE;
virtual OUString GetValueText( sal_uInt16 nVal ) const;
diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx
index b4c6515eecdc..fee6b3c855b5 100644
--- a/include/svx/ruler.hxx
+++ b/include/svx/ruler.hxx
@@ -253,7 +253,7 @@ public:
SvxRuler(Window* pParent, Window *pEditWin, sal_uInt16 nRulerFlags,
SfxBindings &rBindings, WinBits nWinStyle = WB_STDRULER);
- ~SvxRuler();
+ virtual ~SvxRuler();
void SetMinFrameSize(long lSize);
long GetMinFrameSize() const ;
diff --git a/include/svx/rulritem.hxx b/include/svx/rulritem.hxx
index 8f689d190257..f1b72681a640 100644
--- a/include/svx/rulritem.hxx
+++ b/include/svx/rulritem.hxx
@@ -180,7 +180,7 @@ public:
SvxColumnItem(sal_uInt16 nAct = 0);
SvxColumnItem(sal_uInt16 nActCol, sal_uInt16 nLeft, sal_uInt16 nRight = 0); // Table with borders
SvxColumnItem(const SvxColumnItem& aItem);
- ~SvxColumnItem();
+ virtual ~SvxColumnItem();
const SvxColumnItem &operator=(const SvxColumnItem &);
diff --git a/include/svx/sdasaitm.hxx b/include/svx/sdasaitm.hxx
index 0ea1eaba7ded..a1b8be1d10b1 100644
--- a/include/svx/sdasaitm.hxx
+++ b/include/svx/sdasaitm.hxx
@@ -46,7 +46,7 @@ class SdrCustomShapeAdjustmentItem : public SfxPoolItem
TYPEINFO_OVERRIDE();
SVX_DLLPUBLIC SdrCustomShapeAdjustmentItem();
SdrCustomShapeAdjustmentItem( SvStream& rIn, sal_uInt16 nVersion );
- SVX_DLLPUBLIC ~SdrCustomShapeAdjustmentItem();
+ SVX_DLLPUBLIC virtual ~SdrCustomShapeAdjustmentItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation,
diff --git a/include/svx/sdasitm.hxx b/include/svx/sdasitm.hxx
index 992a0f397238..3fd8bd3cb4f6 100644
--- a/include/svx/sdasitm.hxx
+++ b/include/svx/sdasitm.hxx
@@ -76,7 +76,7 @@ private:
SdrCustomShapeGeometryItem();
SdrCustomShapeGeometryItem( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& );
SdrCustomShapeGeometryItem( SvStream& rIn, sal_uInt16 nVersion );
- ~SdrCustomShapeGeometryItem();
+ virtual ~SdrCustomShapeGeometryItem();
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation,
diff --git a/include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx b/include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx
index 23f9daa1adaf..a1ade08cd65f 100644
--- a/include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx
+++ b/include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx
@@ -89,7 +89,7 @@ namespace sdr { namespace contact {
void onControlChangedOrModified( ImplAccess ) { impl_onControlChangedOrModified(); }
protected:
- ~ViewObjectContactOfUnoControl();
+ virtual ~ViewObjectContactOfUnoControl();
// support for Primitive2D
virtual drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const SAL_OVERRIDE;
@@ -112,7 +112,7 @@ namespace sdr { namespace contact {
{
public:
UnoControlPrintOrPreviewContact( ObjectContactOfPageView& _rObjectContact, ViewContactOfUnoControl& _rViewContact );
- ~UnoControlPrintOrPreviewContact();
+ virtual ~UnoControlPrintOrPreviewContact();
private:
UnoControlPrintOrPreviewContact(); // never implemented
diff --git a/include/svx/sidebar/ValueSetWithTextControl.hxx b/include/svx/sidebar/ValueSetWithTextControl.hxx
index 3b80efd4e8bc..5542e2bac2cb 100644
--- a/include/svx/sidebar/ValueSetWithTextControl.hxx
+++ b/include/svx/sidebar/ValueSetWithTextControl.hxx
@@ -130,7 +130,7 @@ class SVX_DLLPUBLIC SvxNumValueSet2 : public ValueSet
public:
SvxNumValueSet2( Window* pParent, const ResId& rResId);
- ~SvxNumValueSet2();
+ virtual ~SvxNumValueSet2();
virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE;
@@ -147,7 +147,7 @@ class SVX_DLLPUBLIC SvxNumValueSet3 : public ValueSet
{
public:
SvxNumValueSet3( Window* pParent, const ResId& rResId);
- ~SvxNumValueSet3();
+ virtual ~SvxNumValueSet3();
virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE;
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index 606bbe40db93..56cd87b224ee 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -94,7 +94,7 @@ public:
SvxSearchDialogWrapper( Window*pParent, sal_uInt16 nId,
SfxBindings* pBindings, SfxChildWinInfo* pInfo );
- ~SvxSearchDialogWrapper ();
+ virtual ~SvxSearchDialogWrapper ();
SvxSearchDialog *getDialog ();
static void SetSearchLabel(const SearchLabel& rSL);
SFX_DECL_CHILDWINDOW_WITHID(SvxSearchDialogWrapper);
@@ -119,7 +119,7 @@ friend class SvxJSearchOptionsDialog;
public:
SvxSearchDialog( Window* pParent, SfxChildWindow* pChildWin, SfxBindings& rBind );
- ~SvxSearchDialog();
+ virtual ~SvxSearchDialog();
virtual bool Close() SAL_OVERRIDE;
diff --git a/include/svx/stddlg.hxx b/include/svx/stddlg.hxx
index 7b6e1202a52e..8a53be59d32b 100644
--- a/include/svx/stddlg.hxx
+++ b/include/svx/stddlg.hxx
@@ -29,7 +29,7 @@ class SVX_DLLPUBLIC SvxStandardDialog: public SfxModalDialog
public:
SvxStandardDialog( Window* pParent, const ResId& rResId );
SvxStandardDialog( Window* pParent, const OString& rID, const OUString& rUIXMLDescription );
- ~SvxStandardDialog();
+ virtual ~SvxStandardDialog();
short Execute() SAL_OVERRIDE;
diff --git a/include/svx/subtoolboxcontrol.hxx b/include/svx/subtoolboxcontrol.hxx
index 0f3bf6cbbf70..e7f2904a456f 100644
--- a/include/svx/subtoolboxcontrol.hxx
+++ b/include/svx/subtoolboxcontrol.hxx
@@ -33,7 +33,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxSubToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxSubToolBoxControl();
+ virtual ~SvxSubToolBoxControl();
virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE;
diff --git a/include/svx/svdopage.hxx b/include/svx/svdopage.hxx
index 48a9235afbf2..74168ebc2274 100644
--- a/include/svx/svdopage.hxx
+++ b/include/svx/svdopage.hxx
@@ -45,7 +45,7 @@ public:
TYPEINFO_OVERRIDE();
SdrPageObj(SdrPage* pNewPage = 0L);
SdrPageObj(const Rectangle& rRect, SdrPage* pNewPage = 0L);
- ~SdrPageObj();
+ virtual ~SdrPageObj();
// #111111#
SdrPage* GetReferencedPage() const;
diff --git a/include/svx/swframeexample.hxx b/include/svx/swframeexample.hxx
index a790b4283685..b5de0c81f162 100644
--- a/include/svx/swframeexample.hxx
+++ b/include/svx/swframeexample.hxx
@@ -74,7 +74,7 @@ protected:
public:
SvxSwFrameExample(Window* pParent, WinBits nStyle);
- ~SvxSwFrameExample();
+ virtual ~SvxSwFrameExample();
inline void SetWrap(sal_uInt16 nW) { nWrap = nW; }
diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx
index 4ed93da0036d..8254825a5ca5 100644
--- a/include/svx/tbcontrl.hxx
+++ b/include/svx/tbcontrl.hxx
@@ -174,7 +174,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxStyleToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxStyleToolBoxControl();
+ virtual ~SvxStyleToolBoxControl();
virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE;
@@ -247,7 +247,7 @@ class SVX_DLLPUBLIC SvxFontColorToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
SvxFontColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxFontColorToolBoxControl();
+ virtual ~SvxFontColorToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -275,7 +275,7 @@ class SVX_DLLPUBLIC SvxColorExtToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
SvxColorExtToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxColorExtToolBoxControl();
+ virtual ~SvxColorExtToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -298,7 +298,7 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl
public:
SvxColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxColorToolBoxControl();
+ virtual ~SvxColorToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -362,7 +362,7 @@ public:
SvxFrameLineColorToolBoxControl( sal_uInt16 nSlotId,
sal_uInt16 nId,
ToolBox& rTbx );
- ~SvxFrameLineColorToolBoxControl();
+ virtual ~SvxFrameLineColorToolBoxControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
@@ -378,7 +378,7 @@ private:
public:
SFX_DECL_TOOLBOX_CONTROL();
SvxSimpleUndoRedoController( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxSimpleUndoRedoController();
+ virtual ~SvxSimpleUndoRedoController();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
diff --git a/include/svx/tbxalign.hxx b/include/svx/tbxalign.hxx
index f56f8e68fc07..00a98d1eaf80 100644
--- a/include/svx/tbxalign.hxx
+++ b/include/svx/tbxalign.hxx
@@ -37,7 +37,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxTbxCtlAlign( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxTbxCtlAlign() {}
+ virtual ~SvxTbxCtlAlign() {}
private:
OUString m_aSubTbName;
OUString m_aSubTbResName;
diff --git a/include/svx/tbxctl.hxx b/include/svx/tbxctl.hxx
index 99c129b74378..2be7c75b8023 100644
--- a/include/svx/tbxctl.hxx
+++ b/include/svx/tbxctl.hxx
@@ -40,7 +40,7 @@ protected:
public:
SvxTbxCtlDraw( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxTbxCtlDraw() {}
+ virtual ~SvxTbxCtlDraw() {}
SFX_DECL_TOOLBOX_CONTROL();
diff --git a/include/svx/tbxcustomshapes.hxx b/include/svx/tbxcustomshapes.hxx
index e7b6a46c29bc..5aee5c45b48f 100644
--- a/include/svx/tbxcustomshapes.hxx
+++ b/include/svx/tbxcustomshapes.hxx
@@ -41,7 +41,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxTbxCtlCustomShapes( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxTbxCtlCustomShapes() {}
+ virtual ~SvxTbxCtlCustomShapes() {}
//interface XSubToolbarController:
virtual ::sal_Bool SAL_CALL opensSubToolbar() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/svx/tbxdraw.hxx b/include/svx/tbxdraw.hxx
index 8b7ce59a6e6e..37862f672a91 100644
--- a/include/svx/tbxdraw.hxx
+++ b/include/svx/tbxdraw.hxx
@@ -47,7 +47,7 @@ public:
WindowAlign eAlign,
ResId aRIdWin,
ResId aRIdTbx );
- ~SvxPopupWindowTbxMgr();
+ virtual ~SvxPopupWindowTbxMgr();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState) SAL_OVERRIDE;
diff --git a/include/svx/txencbox.hxx b/include/svx/txencbox.hxx
index a63ef943823b..2e88a2bb1aee 100644
--- a/include/svx/txencbox.hxx
+++ b/include/svx/txencbox.hxx
@@ -34,7 +34,7 @@ private:
public:
SvxTextEncodingBox( Window* pParent, WinBits nBits );
- ~SvxTextEncodingBox();
+ virtual ~SvxTextEncodingBox();
/** Fill with all known encodings but exclude those matching one or more
given flags as defined in rtl/tencinfo.h
diff --git a/include/svx/verttexttbxctrl.hxx b/include/svx/verttexttbxctrl.hxx
index d2bb5863f828..b49e5e81ce8a 100644
--- a/include/svx/verttexttbxctrl.hxx
+++ b/include/svx/verttexttbxctrl.hxx
@@ -30,7 +30,7 @@ class SvxVertCTLTextTbxCtrl : public SfxToolBoxControl
bool bCheckVertical; //determines whether vertical mode or CTL mode has to be checked
public:
SvxVertCTLTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxVertCTLTextTbxCtrl();
+ virtual ~SvxVertCTLTextTbxCtrl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
diff --git a/include/svx/viewlayoutitem.hxx b/include/svx/viewlayoutitem.hxx
index 4ce2858c8b23..7bf8a84e8b55 100644
--- a/include/svx/viewlayoutitem.hxx
+++ b/include/svx/viewlayoutitem.hxx
@@ -34,7 +34,7 @@ public:
SvxViewLayoutItem( sal_uInt16 nColumns = 0, bool bBookMode = false, sal_uInt16 nWhich = SID_ATTR_VIEWLAYOUT );
SvxViewLayoutItem( const SvxViewLayoutItem& );
- ~SvxViewLayoutItem();
+ virtual ~SvxViewLayoutItem();
void SetBookMode( bool bNew ) {mbBookMode = bNew; }
bool IsBookMode() const {return mbBookMode; }
diff --git a/include/svx/xit.hxx b/include/svx/xit.hxx
index 7ea554d39585..3a90619509a0 100644
--- a/include/svx/xit.hxx
+++ b/include/svx/xit.hxx
@@ -50,7 +50,7 @@ public:
const OUString& rName = OUString());
NameOrIndex(sal_uInt16 nWhich, SvStream& rIn);
NameOrIndex(const NameOrIndex& rNameOrIndex);
- ~NameOrIndex() {};
+ virtual ~NameOrIndex() {};
virtual bool operator==(const SfxPoolItem& rItem) const SAL_OVERRIDE;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const SAL_OVERRIDE;
diff --git a/include/svx/xmleohlp.hxx b/include/svx/xmleohlp.hxx
index 9b6c885f26b0..61ed78d6cba3 100644
--- a/include/svx/xmleohlp.hxx
+++ b/include/svx/xmleohlp.hxx
@@ -100,7 +100,7 @@ private:
protected:
SvXMLEmbeddedObjectHelper();
- ~SvXMLEmbeddedObjectHelper();
+ virtual ~SvXMLEmbeddedObjectHelper();
void Init( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&,
::comphelper::IEmbeddedHelper& rDocPersist,
SvXMLEmbeddedObjectHelperMode eCreateMode );
diff --git a/include/svx/xmlgrhlp.hxx b/include/svx/xmlgrhlp.hxx
index 7a9f7e29eed6..3f620de568ce 100644
--- a/include/svx/xmlgrhlp.hxx
+++ b/include/svx/xmlgrhlp.hxx
@@ -84,7 +84,7 @@ private:
protected:
SvXMLGraphicHelper();
- ~SvXMLGraphicHelper();
+ virtual ~SvXMLGraphicHelper();
void Init( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XStorage >& xXMLStorage,
SvXMLGraphicHelperMode eCreateMode,
bool bDirect );
diff --git a/include/svx/xmlsecctrl.hxx b/include/svx/xmlsecctrl.hxx
index 59016e62f403..4e6902f2d2cc 100644
--- a/include/svx/xmlsecctrl.hxx
+++ b/include/svx/xmlsecctrl.hxx
@@ -39,7 +39,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
XmlSecStatusBarControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& _rStb );
- ~XmlSecStatusBarControl();
+ virtual ~XmlSecStatusBarControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE;
diff --git a/include/svx/zoomsliderctrl.hxx b/include/svx/zoomsliderctrl.hxx
index 2a39cde88a2a..a15121782c2c 100644
--- a/include/svx/zoomsliderctrl.hxx
+++ b/include/svx/zoomsliderctrl.hxx
@@ -40,7 +40,7 @@ public:
SFX_DECL_STATUSBAR_CONTROL();
SvxZoomSliderControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& _rStb );
- ~SvxZoomSliderControl();
+ virtual ~SvxZoomSliderControl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE;
diff --git a/include/svx/zoomslideritem.hxx b/include/svx/zoomslideritem.hxx
index 4f49b64c1522..0cb37424ef19 100644
--- a/include/svx/zoomslideritem.hxx
+++ b/include/svx/zoomslideritem.hxx
@@ -37,7 +37,7 @@ public:
SvxZoomSliderItem( sal_uInt16 nCurrentZoom = 100, sal_uInt16 nMinZoom = 20, sal_uInt16 nMaxZoom = 600, sal_uInt16 nWhich = SID_ATTR_ZOOMSLIDER );
SvxZoomSliderItem( const SvxZoomSliderItem& );
- ~SvxZoomSliderItem();
+ virtual ~SvxZoomSliderItem();
void AddSnappingPoint( sal_Int32 nNew );
const com::sun::star::uno::Sequence < sal_Int32 >& GetSnappingPoints() const;
diff --git a/include/toolkit/awt/animatedimagespeer.hxx b/include/toolkit/awt/animatedimagespeer.hxx
index 9931be7eca66..3bd41a6f13e6 100644
--- a/include/toolkit/awt/animatedimagespeer.hxx
+++ b/include/toolkit/awt/animatedimagespeer.hxx
@@ -52,7 +52,7 @@ namespace toolkit
AnimatedImagesPeer();
protected:
- ~AnimatedImagesPeer();
+ virtual ~AnimatedImagesPeer();
public:
// XAnimation
diff --git a/include/toolkit/awt/vclxaccessiblecomponent.hxx b/include/toolkit/awt/vclxaccessiblecomponent.hxx
index b4a5d42e1f45..9faf70655f11 100644
--- a/include/toolkit/awt/vclxaccessiblecomponent.hxx
+++ b/include/toolkit/awt/vclxaccessiblecomponent.hxx
@@ -80,7 +80,7 @@ protected:
public:
VCLXAccessibleComponent( VCLXWindow* pVCLXindow );
- ~VCLXAccessibleComponent();
+ virtual ~VCLXAccessibleComponent();
VCLXWindow* GetVCLXWindow() const { return mpVCLXindow; }
Window* GetWindow() const;
diff --git a/include/toolkit/awt/vclxcontainer.hxx b/include/toolkit/awt/vclxcontainer.hxx
index b765b9a7995c..f30b0e56d7fc 100644
--- a/include/toolkit/awt/vclxcontainer.hxx
+++ b/include/toolkit/awt/vclxcontainer.hxx
@@ -40,7 +40,7 @@ class TOOLKIT_DLLPUBLIC VCLXContainer : public ::com::sun::star::awt::XVclContai
{
public:
VCLXContainer();
- ~VCLXContainer();
+ virtual ~VCLXContainer();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/toolkit/awt/vclxdevice.hxx b/include/toolkit/awt/vclxdevice.hxx
index 8fb4428a447f..3de7931c3d1b 100644
--- a/include/toolkit/awt/vclxdevice.hxx
+++ b/include/toolkit/awt/vclxdevice.hxx
@@ -59,7 +59,7 @@ protected:
public:
VCLXDevice();
- ~VCLXDevice();
+ virtual ~VCLXDevice();
void SetOutputDevice( OutputDevice* pOutDev ) { mpOutputDevice = pOutDev; }
OutputDevice* GetOutputDevice() const { return mpOutputDevice; }
@@ -105,7 +105,7 @@ public:
class VCLXVirtualDevice : public VCLXDevice
{
public:
- ~VCLXVirtualDevice();
+ virtual ~VCLXVirtualDevice();
void SetVirtualDevice( VirtualDevice* pVDev ) { SetOutputDevice( (OutputDevice*)pVDev ); }
};
diff --git a/include/toolkit/awt/vclxfont.hxx b/include/toolkit/awt/vclxfont.hxx
index 21abe13a2847..fda8de9e2de1 100644
--- a/include/toolkit/awt/vclxfont.hxx
+++ b/include/toolkit/awt/vclxfont.hxx
@@ -50,7 +50,7 @@ protected:
public:
VCLXFont();
- ~VCLXFont();
+ virtual ~VCLXFont();
void Init( ::com::sun::star::awt::XDevice& rxDev, const Font& rFont );
const Font& GetFont() const { return maFont; }
diff --git a/include/toolkit/awt/vclxgraphics.hxx b/include/toolkit/awt/vclxgraphics.hxx
index 9f8c12660e89..a9e302023c61 100644
--- a/include/toolkit/awt/vclxgraphics.hxx
+++ b/include/toolkit/awt/vclxgraphics.hxx
@@ -69,7 +69,7 @@ private:
public:
VCLXGraphics();
- ~VCLXGraphics();
+ virtual ~VCLXGraphics();
void Init( OutputDevice* pOutDev );
void InitOutputDevice( sal_uInt16 nFlags );
diff --git a/include/toolkit/awt/vclxmenu.hxx b/include/toolkit/awt/vclxmenu.hxx
index 63b6d7ff7fd8..b149202d52fd 100644
--- a/include/toolkit/awt/vclxmenu.hxx
+++ b/include/toolkit/awt/vclxmenu.hxx
@@ -72,7 +72,7 @@ protected:
public:
VCLXMenu();
VCLXMenu( Menu* pMenu );
- ~VCLXMenu();
+ virtual ~VCLXMenu();
Menu* GetMenu() const { return mpMenu; }
diff --git a/include/toolkit/awt/vclxpointer.hxx b/include/toolkit/awt/vclxpointer.hxx
index 08dd4fcf3e83..fb224c6cf41b 100644
--- a/include/toolkit/awt/vclxpointer.hxx
+++ b/include/toolkit/awt/vclxpointer.hxx
@@ -47,7 +47,7 @@ protected:
public:
VCLXPointer();
- ~VCLXPointer();
+ virtual ~VCLXPointer();
const Pointer& GetPointer() const { return maPointer; }
diff --git a/include/toolkit/awt/vclxprinter.hxx b/include/toolkit/awt/vclxprinter.hxx
index a893aefaed7e..434c47a2c2da 100644
--- a/include/toolkit/awt/vclxprinter.hxx
+++ b/include/toolkit/awt/vclxprinter.hxx
@@ -111,7 +111,7 @@ class VCLXPrinter: public VCLXPrinter_Base
JobSetup maInitJobSetup;
public:
VCLXPrinter( const OUString& rPrinterName );
- ~VCLXPrinter();
+ virtual ~VCLXPrinter();
// ::com::sun::star::beans::XPropertySet
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return VCLXPrinterPropertySet::getPropertySetInfo(); }
@@ -148,7 +148,7 @@ class VCLXInfoPrinter: public VCLXInfoPrinter_Base
{
public:
VCLXInfoPrinter( const OUString& rPrinterName );
- ~VCLXInfoPrinter();
+ virtual ~VCLXInfoPrinter();
// ::com::sun::star::beans::XPropertySet
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return VCLXPrinterPropertySet::getPropertySetInfo(); }
diff --git a/include/toolkit/awt/vclxregion.hxx b/include/toolkit/awt/vclxregion.hxx
index 2306b41f086b..0aafb8616516 100644
--- a/include/toolkit/awt/vclxregion.hxx
+++ b/include/toolkit/awt/vclxregion.hxx
@@ -47,7 +47,7 @@ protected:
public:
VCLXRegion();
- ~VCLXRegion();
+ virtual ~VCLXRegion();
void SetRegion( const Region& rRegion ) { maRegion = rRegion; }
const Region& GetRegion() const { return maRegion; }
diff --git a/include/toolkit/awt/vclxspinbutton.hxx b/include/toolkit/awt/vclxspinbutton.hxx
index 2128d477bba1..ea6c862892ff 100644
--- a/include/toolkit/awt/vclxspinbutton.hxx
+++ b/include/toolkit/awt/vclxspinbutton.hxx
@@ -46,7 +46,7 @@ namespace toolkit
VCLXSpinButton();
protected:
- ~VCLXSpinButton( );
+ virtual ~VCLXSpinButton( );
// XInterface
DECLARE_XINTERFACE()
diff --git a/include/toolkit/awt/vclxsystemdependentwindow.hxx b/include/toolkit/awt/vclxsystemdependentwindow.hxx
index d930b4c003af..589aed673164 100644
--- a/include/toolkit/awt/vclxsystemdependentwindow.hxx
+++ b/include/toolkit/awt/vclxsystemdependentwindow.hxx
@@ -37,7 +37,7 @@ class TOOLKIT_DLLPUBLIC VCLXSystemDependentWindow : public ::com::sun::star::awt
{
public:
VCLXSystemDependentWindow();
- ~VCLXSystemDependentWindow();
+ virtual ~VCLXSystemDependentWindow();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/toolkit/awt/vclxtabpagecontainer.hxx b/include/toolkit/awt/vclxtabpagecontainer.hxx
index a1e72cbf493e..f9a6951541fd 100644
--- a/include/toolkit/awt/vclxtabpagecontainer.hxx
+++ b/include/toolkit/awt/vclxtabpagecontainer.hxx
@@ -42,7 +42,7 @@ class VCLXTabPageContainer : public VCLXTabPageContainer_Base
{
public:
VCLXTabPageContainer();
- ~VCLXTabPageContainer();
+ virtual ~VCLXTabPageContainer();
// ::com::sun::star::awt::XView
void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/toolkit/awt/vclxtopwindow.hxx b/include/toolkit/awt/vclxtopwindow.hxx
index 08599fb0556f..772dfcb0f96a 100644
--- a/include/toolkit/awt/vclxtopwindow.hxx
+++ b/include/toolkit/awt/vclxtopwindow.hxx
@@ -91,7 +91,7 @@ protected:
public:
VCLXTopWindow(bool bWHWND = false);
- ~VCLXTopWindow();
+ virtual ~VCLXTopWindow();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/toolkit/awt/vclxwindow.hxx b/include/toolkit/awt/vclxwindow.hxx
index b9bfceefe958..7b7329fe8f38 100644
--- a/include/toolkit/awt/vclxwindow.hxx
+++ b/include/toolkit/awt/vclxwindow.hxx
@@ -126,7 +126,7 @@ protected:
public:
VCLXWindow( bool bWithDefaultProps = false );
- ~VCLXWindow();
+ virtual ~VCLXWindow();
virtual void SetWindow( Window* pWindow );
Window* GetWindow() const { return (Window*)GetOutputDevice(); }
diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx
index 90e2f804f583..ca77111cfa60 100644
--- a/include/toolkit/awt/vclxwindows.hxx
+++ b/include/toolkit/awt/vclxwindows.hxx
@@ -162,7 +162,7 @@ protected:
public:
VCLXButton();
- ~VCLXButton();
+ virtual ~VCLXButton();
// ::com::sun::star::lang::XComponent
void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -198,7 +198,7 @@ class VCLXImageControl : public VCLXGraphicControl
{
public:
VCLXImageControl();
- ~VCLXImageControl();
+ virtual ~VCLXImageControl();
// ::com::sun::star::awt::XLayoutConstrains
::com::sun::star::awt::Size SAL_CALL getMinimumSize( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -340,7 +340,7 @@ class VCLXMessageBox : public ::com::sun::star::awt::XMessageBox,
{
public:
VCLXMessageBox();
- ~VCLXMessageBox();
+ virtual ~VCLXMessageBox();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -376,7 +376,7 @@ protected:
public:
VCLXFrame();
- ~VCLXFrame();
+ virtual ~VCLXFrame();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -410,7 +410,7 @@ class TOOLKIT_DLLPUBLIC VCLXDialog : public ::com::sun::star::awt::XDialog2,
{
public:
VCLXDialog();
- ~VCLXDialog();
+ virtual ~VCLXDialog();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -452,7 +452,7 @@ class VCLXTabPage : public VCLXContainer
{
public:
VCLXTabPage();
- ~VCLXTabPage();
+ virtual ~VCLXTabPage();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -485,7 +485,7 @@ protected:
void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
public:
VCLXMultiPage();
- ~VCLXMultiPage();
+ virtual ~VCLXMultiPage();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -545,7 +545,7 @@ protected:
public:
VCLXFixedHyperlink();
- ~VCLXFixedHyperlink();
+ virtual ~VCLXFixedHyperlink();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -593,7 +593,7 @@ protected:
public:
VCLXFixedText();
- ~VCLXFixedText();
+ virtual ~VCLXFixedText();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -844,7 +844,7 @@ protected:
public:
VCLXComboBox();
- ~VCLXComboBox();
+ virtual ~VCLXComboBox();
// ::com::sun::star::lang::XComponent
void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -940,7 +940,7 @@ protected:
public:
VCLXFormattedSpinField();
- ~VCLXFormattedSpinField();
+ virtual ~VCLXFormattedSpinField();
void SetFormatter( FormatterBase* pFormatter ) { mpFormatter = pFormatter; }
@@ -965,7 +965,7 @@ protected:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
public:
VCLXDateField();
- ~VCLXDateField();
+ virtual ~VCLXDateField();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1013,7 +1013,7 @@ protected:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE;
public:
VCLXTimeField();
- ~VCLXTimeField();
+ virtual ~VCLXTimeField();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1056,7 +1056,7 @@ class VCLXNumericField : public ::com::sun::star::awt::XNumericField,
{
public:
VCLXNumericField();
- ~VCLXNumericField();
+ virtual ~VCLXNumericField();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1106,7 +1106,7 @@ class VCLXMetricField : public ::com::sun::star::awt::XMetricField,
void CallListeners();
public:
VCLXMetricField();
- ~VCLXMetricField();
+ virtual ~VCLXMetricField();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1153,7 +1153,7 @@ class VCLXCurrencyField : public ::com::sun::star::awt::XCurrencyField,
{
public:
VCLXCurrencyField();
- ~VCLXCurrencyField();
+ virtual ~VCLXCurrencyField();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1199,7 +1199,7 @@ class VCLXPatternField : public ::com::sun::star::awt::XPatternField,
{
public:
VCLXPatternField();
- ~VCLXPatternField();
+ virtual ~VCLXPatternField();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1240,7 +1240,7 @@ protected:
public:
VCLXToolBox();
- ~VCLXToolBox();
+ virtual ~VCLXToolBox();
};
#endif // INCLUDED_TOOLKIT_AWT_VCLXWINDOWS_HXX
diff --git a/include/toolkit/controls/accessiblecontrolcontext.hxx b/include/toolkit/controls/accessiblecontrolcontext.hxx
index 3c151804847a..688f58ea575d 100644
--- a/include/toolkit/controls/accessiblecontrolcontext.hxx
+++ b/include/toolkit/controls/accessiblecontrolcontext.hxx
@@ -61,7 +61,7 @@ namespace toolkit
protected:
/// ctor. @see Init
OAccessibleControlContext();
- ~OAccessibleControlContext();
+ virtual ~OAccessibleControlContext();
/** late ctor
*/
diff --git a/include/toolkit/controls/animatedimages.hxx b/include/toolkit/controls/animatedimages.hxx
index 075fcf91906f..2d76ac918dc7 100644
--- a/include/toolkit/controls/animatedimages.hxx
+++ b/include/toolkit/controls/animatedimages.hxx
@@ -76,7 +76,7 @@ namespace toolkit
virtual void SAL_CALL removeContainerListener( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener >& i_listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- ~AnimatedImagesControlModel();
+ virtual ~AnimatedImagesControlModel();
::com::sun::star::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const SAL_OVERRIDE;
::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
diff --git a/include/toolkit/controls/controlmodelcontainerbase.hxx b/include/toolkit/controls/controlmodelcontainerbase.hxx
index b52eca5a3c3c..109f2293c017 100644
--- a/include/toolkit/controls/controlmodelcontainerbase.hxx
+++ b/include/toolkit/controls/controlmodelcontainerbase.hxx
@@ -100,7 +100,7 @@ protected:
public:
ControlModelContainerBase( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
ControlModelContainerBase( const ControlModelContainerBase& rModel );
- ~ControlModelContainerBase();
+ virtual ~ControlModelContainerBase();
UnoControlModel* Clone() const SAL_OVERRIDE;
@@ -236,7 +236,7 @@ protected:
public:
ControlContainerBase( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~ControlContainerBase();
+ virtual ~ControlContainerBase();
DECLIMPL_SERVICEINFO_DERIVED( ControlContainerBase, UnoControlBase, "toolkit.ControlContainerBase" )
diff --git a/include/toolkit/controls/dialogcontrol.hxx b/include/toolkit/controls/dialogcontrol.hxx
index 6f86969590cf..74b01804cd47 100644
--- a/include/toolkit/controls/dialogcontrol.hxx
+++ b/include/toolkit/controls/dialogcontrol.hxx
@@ -49,7 +49,7 @@ private:
public:
UnoDialogControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~UnoDialogControl();
+ virtual ~UnoDialogControl();
OUString GetComponentServiceName() SAL_OVERRIDE;
void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -165,7 +165,7 @@ class UnoMultiPageModel : public ControlModelContainerBase
{
public:
UnoMultiPageModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~UnoMultiPageModel();
+ virtual ~UnoMultiPageModel();
UnoMultiPageModel( const UnoMultiPageModel& rModel );
UnoControlModel* Clone() const SAL_OVERRIDE;
@@ -193,7 +193,7 @@ class UnoMultiPageControl : public ControlContainerBase
void bindPage( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& _rxControl );
public:
UnoMultiPageControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~UnoMultiPageControl();
+ virtual ~UnoMultiPageControl();
OUString GetComponentServiceName() SAL_OVERRIDE;
// ::com::sun::star::lang::XServiceInfo
@@ -240,7 +240,7 @@ class UnoPageModel : public ControlModelContainerBase
{
public:
UnoPageModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~UnoPageModel();
+ virtual ~UnoPageModel();
UnoPageModel( const UnoPageModel& rModel );
UnoControlModel* Clone() const SAL_OVERRIDE;
@@ -262,7 +262,7 @@ class UnoPageControl : public ControlContainerBase
{
public:
UnoPageControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~UnoPageControl();
+ virtual ~UnoPageControl();
OUString GetComponentServiceName() SAL_OVERRIDE;
@@ -274,7 +274,7 @@ class UnoFrameModel : public ControlModelContainerBase
{
public:
UnoFrameModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~UnoFrameModel();
+ virtual ~UnoFrameModel();
UnoFrameModel( const UnoFrameModel& rModel );
UnoControlModel* Clone() const SAL_OVERRIDE;
@@ -295,7 +295,7 @@ protected:
virtual void ImplSetPosSize( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& rxCtrl ) SAL_OVERRIDE;
public:
UnoFrameControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~UnoFrameControl();
+ virtual ~UnoFrameControl();
OUString GetComponentServiceName() SAL_OVERRIDE;
// ::com::sun::star::lang::XServiceInfo
diff --git a/include/toolkit/controls/formattedcontrol.hxx b/include/toolkit/controls/formattedcontrol.hxx
index 9219c6c302f4..d8e9fde2840d 100644
--- a/include/toolkit/controls/formattedcontrol.hxx
+++ b/include/toolkit/controls/formattedcontrol.hxx
@@ -80,7 +80,7 @@ namespace toolkit
DECLIMPL_SERVICEINFO_DERIVED( UnoControlFormattedFieldModel, UnoControlModel, szServiceName2_UnoControlFormattedFieldModel )
protected:
- ~UnoControlFormattedFieldModel();
+ virtual ~UnoControlFormattedFieldModel();
// XComponent
void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/toolkit/controls/geometrycontrolmodel.hxx b/include/toolkit/controls/geometrycontrolmodel.hxx
index f5e331cc8894..5aedc632c3f9 100644
--- a/include/toolkit/controls/geometrycontrolmodel.hxx
+++ b/include/toolkit/controls/geometrycontrolmodel.hxx
@@ -108,7 +108,7 @@ namespace com { namespace sun { namespace star {
void releaseAggregation();
protected:
- ~OGeometryControlModel_Base();
+ virtual ~OGeometryControlModel_Base();
// XAggregation
::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _aType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/toolkit/controls/stdtabcontroller.hxx b/include/toolkit/controls/stdtabcontroller.hxx
index 6745ef93fcd0..be86f995ae55 100644
--- a/include/toolkit/controls/stdtabcontroller.hxx
+++ b/include/toolkit/controls/stdtabcontroller.hxx
@@ -50,7 +50,7 @@ protected:
public:
StdTabController();
- ~StdTabController();
+ virtual ~StdTabController();
static ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > FindControl( ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > >& rCtrls, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > & rxCtrlModel );
diff --git a/include/toolkit/controls/stdtabcontrollermodel.hxx b/include/toolkit/controls/stdtabcontrollermodel.hxx
index 2a31266633aa..6dab2180a6e9 100644
--- a/include/toolkit/controls/stdtabcontrollermodel.hxx
+++ b/include/toolkit/controls/stdtabcontrollermodel.hxx
@@ -99,7 +99,7 @@ protected:
public:
StdTabControllerModel();
- ~StdTabControllerModel();
+ virtual ~StdTabControllerModel();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return OWeakAggObject::queryInterface(rType); }
diff --git a/include/toolkit/controls/tabpagemodel.hxx b/include/toolkit/controls/tabpagemodel.hxx
index 5d7e04f4a4a9..a2ead0ec6395 100644
--- a/include/toolkit/controls/tabpagemodel.hxx
+++ b/include/toolkit/controls/tabpagemodel.hxx
@@ -69,7 +69,7 @@ private:
public:
UnoControlTabPage( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
- ~UnoControlTabPage();
+ virtual ~UnoControlTabPage();
OUString GetComponentServiceName() SAL_OVERRIDE;
void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/toolkit/controls/unocontrol.hxx b/include/toolkit/controls/unocontrol.hxx
index 5bd146b0d0b0..bc0649991f5c 100644
--- a/include/toolkit/controls/unocontrol.hxx
+++ b/include/toolkit/controls/unocontrol.hxx
@@ -137,7 +137,7 @@ protected:
public:
UnoControl();
- ~UnoControl();
+ virtual ~UnoControl();
UnoControlComponentInfos& GetComponentInfos() { return maComponentInfos; }
diff --git a/include/toolkit/controls/unocontrolcontainer.hxx b/include/toolkit/controls/unocontrolcontainer.hxx
index 81c5a108f837..611b161af5fb 100644
--- a/include/toolkit/controls/unocontrolcontainer.hxx
+++ b/include/toolkit/controls/unocontrolcontainer.hxx
@@ -58,7 +58,7 @@ protected:
public:
UnoControlContainer();
UnoControlContainer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xPeer );
- ~UnoControlContainer();
+ virtual ~UnoControlContainer();
// ::com::sun::star::lang::XComponent
diff --git a/include/toolkit/controls/unocontrols.hxx b/include/toolkit/controls/unocontrols.hxx
index d98fa10778e1..2b230c0fa0fd 100644
--- a/include/toolkit/controls/unocontrols.hxx
+++ b/include/toolkit/controls/unocontrols.hxx
@@ -508,7 +508,7 @@ private:
public:
UnoCheckBoxControl();
- ~UnoCheckBoxControl(){;}
+ virtual ~UnoCheckBoxControl(){;}
OUString GetComponentServiceName() SAL_OVERRIDE;
void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -748,7 +748,7 @@ public:
ConstructorMode const i_mode = ConstructDefault
);
UnoControlListBoxModel( const UnoControlListBoxModel& i_rSource );
- ~UnoControlListBoxModel();
+ virtual ~UnoControlListBoxModel();
UnoControlModel* Clone() const SAL_OVERRIDE { return new UnoControlListBoxModel( *this ); }
diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx
index f11a021afa3a..adfa1fb77510 100644
--- a/include/tools/pstm.hxx
+++ b/include/tools/pstm.hxx
@@ -211,7 +211,7 @@ public:
SvPersistStream( SvClassManager &, SvStream * pStream,
sal_uInt32 nStartIdx = 1 );
- ~SvPersistStream();
+ virtual ~SvPersistStream();
void SetStream( SvStream * pStream );
SvStream * GetStream() const { return pStm; }
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index 9e637e23ccd8..bb0b392023b8 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -661,7 +661,7 @@ public:
// Switches to Read StreamMode on failed attempt of Write opening
SvFileStream( const OUString& rFileName, StreamMode eOpenMode );
SvFileStream();
- ~SvFileStream();
+ virtual ~SvFileStream();
virtual void ResetError() SAL_OVERRIDE;
@@ -718,7 +718,7 @@ protected:
public:
SvMemoryStream( void* pBuf, sal_Size nSize, StreamMode eMode);
SvMemoryStream( sal_Size nInitSize=512, sal_Size nResize=64 );
- ~SvMemoryStream();
+ virtual ~SvMemoryStream();
virtual void ResetError() SAL_OVERRIDE;
@@ -746,7 +746,7 @@ class TOOLS_DLLPUBLIC SvScriptStream: public SvStream
public:
SvScriptStream(const OUString& rUrl);
- ~SvScriptStream();
+ virtual ~SvScriptStream();
virtual bool ReadLine(OString &rStr, sal_Int32) SAL_OVERRIDE;
virtual bool good() const SAL_OVERRIDE;
diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx
index e6911f71d7aa..361277c78d4a 100644
--- a/include/tools/zcodec.hxx
+++ b/include/tools/zcodec.hxx
@@ -100,7 +100,7 @@ class GZCodec : public ZCodec
{
public:
GZCodec(){};
- ~GZCodec(){};
+ virtual ~GZCodec(){};
virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT ) SAL_OVERRIDE
{
ZCodec::BeginCompression( nCompressMethod | ZCODEC_GZ_LIB );
diff --git a/include/ucbhelper/std_inputstream.hxx b/include/ucbhelper/std_inputstream.hxx
index 896a1c1c064e..bb30206e4ba6 100644
--- a/include/ucbhelper/std_inputstream.hxx
+++ b/include/ucbhelper/std_inputstream.hxx
@@ -36,7 +36,7 @@ namespace ucbhelper
StdInputStream( boost::shared_ptr< std::istream > pStream );
- ~StdInputStream();
+ virtual ~StdInputStream();
virtual css::uno::Any SAL_CALL queryInterface ( const css::uno::Type& rType )
throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/include/ucbhelper/std_outputstream.hxx b/include/ucbhelper/std_outputstream.hxx
index 1b8c812e2068..126015b79010 100644
--- a/include/ucbhelper/std_outputstream.hxx
+++ b/include/ucbhelper/std_outputstream.hxx
@@ -32,7 +32,7 @@ namespace ucbhelper
StdOutputStream( boost::shared_ptr< std::ostream > pStream );
- ~StdOutputStream( );
+ virtual ~StdOutputStream( );
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType )
throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/include/unotools/componentresmodule.hxx b/include/unotools/componentresmodule.hxx
index c87268176c54..b663a770ffe7 100644
--- a/include/unotools/componentresmodule.hxx
+++ b/include/unotools/componentresmodule.hxx
@@ -51,7 +51,7 @@ namespace utl
public:
OComponentResourceModule( const OString& _rResFilePrefix );
- ~OComponentResourceModule();
+ virtual ~OComponentResourceModule();
/// get the vcl res manager of the module
ResMgr* getResManager();
diff --git a/include/unotools/confignode.hxx b/include/unotools/confignode.hxx
index d269ecbb6b26..435c27d1cb00 100644
--- a/include/unotools/confignode.hxx
+++ b/include/unotools/confignode.hxx
@@ -85,7 +85,7 @@ namespace utl
const OConfigurationNode& operator=(const OConfigurationNode& _rSource);
/// dtor
- ~OConfigurationNode() {}
+ virtual ~OConfigurationNode() {}
/// returns the local name of the node
OUString getLocalName() const;
diff --git a/include/unotools/eventcfg.hxx b/include/unotools/eventcfg.hxx
index 4f0c600352e1..0564f0649761 100644
--- a/include/unotools/eventcfg.hxx
+++ b/include/unotools/eventcfg.hxx
@@ -72,7 +72,7 @@ class GlobalEventConfig_Impl : public utl::ConfigItem
public:
GlobalEventConfig_Impl( );
- ~GlobalEventConfig_Impl( );
+ virtual ~GlobalEventConfig_Impl( );
void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE;
void Commit() SAL_OVERRIDE;
@@ -91,7 +91,7 @@ class UNOTOOLS_DLLPUBLIC GlobalEventConfig:
{
public:
GlobalEventConfig( );
- ~GlobalEventConfig( );
+ virtual ~GlobalEventConfig( );
static ::osl::Mutex& GetOwnStaticMutex();
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/vcl/btndlg.hxx b/include/vcl/btndlg.hxx
index 1c1dc6cafa59..3a955433bc33 100644
--- a/include/vcl/btndlg.hxx
+++ b/include/vcl/btndlg.hxx
@@ -62,7 +62,7 @@ protected:
public:
ButtonDialog( Window* pParent, WinBits nStyle = WB_STDDIALOG );
- ~ButtonDialog();
+ virtual ~ButtonDialog();
virtual void Resize() SAL_OVERRIDE;
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 9abba3e9d812..8e2d5ff3993c 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -530,7 +530,7 @@ private:
public:
ImageButton( Window* pParent, WinBits nStyle = 0 );
ImageButton( Window* pParent, const ResId& rResId );
- ~ImageButton();
+ virtual ~ImageButton();
};
class VCL_DLLPUBLIC ImageRadioButton : public RadioButton
diff --git a/include/vcl/dndhelp.hxx b/include/vcl/dndhelp.hxx
index a1dbf14014f5..116f46ac0797 100644
--- a/include/vcl/dndhelp.hxx
+++ b/include/vcl/dndhelp.hxx
@@ -106,7 +106,7 @@ private:
public:
DragAndDropWrapper( DragAndDropClient* pClient );
- ~DragAndDropWrapper();
+ virtual ~DragAndDropWrapper();
// ::com::sun::star::uno::XInterface
::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index 0f7199d60542..3872f334aa1d 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -281,7 +281,7 @@ protected:
public:
DockingWindow( Window* pParent, WinBits nStyle = WB_STDDOCKWIN );
DockingWindow( Window* pParent, const ResId& rResId );
- ~DockingWindow();
+ virtual ~DockingWindow();
virtual void StartDocking();
virtual bool Docking( const Point& rPos, Rectangle& rRect );
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index 38d1cc523439..f656c17384dd 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -601,7 +601,7 @@ class VCL_DLLPUBLIC CurrencyField : public SpinField, public CurrencyFormatter
{
public:
CurrencyField( Window* pParent, WinBits nWinStyle );
- ~CurrencyField();
+ virtual ~CurrencyField();
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
@@ -699,7 +699,7 @@ class VCL_DLLPUBLIC PatternBox : public ComboBox, public PatternFormatter
{
public:
PatternBox( Window* pParent, WinBits nWinStyle );
- ~PatternBox();
+ virtual ~PatternBox();
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
diff --git a/include/vcl/introwin.hxx b/include/vcl/introwin.hxx
index dcc247830039..7b9fc1e837ea 100644
--- a/include/vcl/introwin.hxx
+++ b/include/vcl/introwin.hxx
@@ -31,7 +31,7 @@ private:
public:
IntroWindow();
- ~IntroWindow();
+ virtual ~IntroWindow();
};
#endif // INCLUDED_VCL_INTROWIN_HXX
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index 577b8273e780..c69b44b08248 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -725,7 +725,7 @@ public:
OUString get_secondary_text() const;
void set_primary_text(const OUString &rPrimaryString);
void set_secondary_text(const OUString &rSecondaryString);
- ~MessageDialog();
+ virtual ~MessageDialog();
static void SetMessagesWidths(Window *pParent, VclMultiLineEdit *pPrimaryMessage,
VclMultiLineEdit *pSecondaryMessage);
diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx
index c307fa071c87..b6a61051f8f8 100644
--- a/include/vcl/longcurr.hxx
+++ b/include/vcl/longcurr.hxx
@@ -49,7 +49,7 @@ protected:
LongCurrencyFormatter();
public:
- ~LongCurrencyFormatter();
+ virtual ~LongCurrencyFormatter();
virtual void Reformat() SAL_OVERRIDE;
virtual void ReformatAll() SAL_OVERRIDE;
@@ -90,7 +90,7 @@ private:
public:
LongCurrencyField( Window* pParent, WinBits nWinStyle );
- ~LongCurrencyField();
+ virtual ~LongCurrencyField();
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
@@ -117,7 +117,7 @@ class VCL_DLLPUBLIC LongCurrencyBox : public ComboBox, public LongCurrencyFormat
{
public:
LongCurrencyBox( Window* pParent, WinBits nWinStyle );
- ~LongCurrencyBox();
+ virtual ~LongCurrencyBox();
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 3bf288095a2f..10ac7889e3b1 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -384,7 +384,7 @@ class VCL_DLLPUBLIC MenuBar : public Menu
public:
MenuBar();
MenuBar( const MenuBar& rMenu );
- ~MenuBar();
+ virtual ~MenuBar();
MenuBar& operator =( const MenuBar& rMenu );
diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx
index 336671fe0234..bc5f7b20e695 100644
--- a/include/vcl/msgbox.hxx
+++ b/include/vcl/msgbox.hxx
@@ -52,7 +52,7 @@ public:
MessBox( Window* pParent, WinBits nStyle,
const OUString& rTitle, const OUString& rMessage );
MessBox( Window* pParent, const ResId& rResId );
- ~MessBox();
+ virtual ~MessBox();
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
diff --git a/include/vcl/popupmenuwindow.hxx b/include/vcl/popupmenuwindow.hxx
index 30f498b77062..87ef34c60c08 100644
--- a/include/vcl/popupmenuwindow.hxx
+++ b/include/vcl/popupmenuwindow.hxx
@@ -29,7 +29,7 @@ private:
ImplData* mpImplData;
public:
PopupMenuFloatingWindow( Window* pParent, WinBits nStyle = (WB_SYSTEMFLOATWIN|WB_SYSTEMWINDOW|WB_NOBORDER) );
- ~PopupMenuFloatingWindow();
+ virtual ~PopupMenuFloatingWindow();
sal_uInt16 GetMenuStackLevel() const;
void SetMenuStackLevel( sal_uInt16 nLevel );
diff --git a/include/vcl/prgsbar.hxx b/include/vcl/prgsbar.hxx
index 0cf1006aaaf8..c00069828ae2 100644
--- a/include/vcl/prgsbar.hxx
+++ b/include/vcl/prgsbar.hxx
@@ -73,7 +73,7 @@ private:
public:
ProgressBar( Window* pParent, WinBits nWinBits = WB_STDPROGRESSBAR );
ProgressBar( Window* pParent, const ResId& rResId );
- ~ProgressBar();
+ virtual ~ProgressBar();
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx
index 35948731ba3c..b71b8e745b6e 100644
--- a/include/vcl/splitwin.hxx
+++ b/include/vcl/splitwin.hxx
@@ -126,7 +126,7 @@ private:
SAL_DLLPRIVATE SplitWindow & operator= (const SplitWindow &);
public:
SplitWindow( Window* pParent, WinBits nStyle = 0 );
- ~SplitWindow();
+ virtual ~SplitWindow();
virtual void StartSplit();
virtual void Split();
diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx
index fb51b0e72e12..250d08d5fbe1 100644
--- a/include/vcl/status.hxx
+++ b/include/vcl/status.hxx
@@ -112,7 +112,7 @@ private:
public:
StatusBar( Window* pParent,
WinBits nWinStyle = WB_BORDER | WB_RIGHT );
- ~StatusBar();
+ virtual ~StatusBar();
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx
index 32a6f92147d0..098f49e34d22 100644
--- a/include/vcl/syswin.hxx
+++ b/include/vcl/syswin.hxx
@@ -174,7 +174,7 @@ protected:
void SetWindowStateData( const WindowStateData& rData );
public:
- ~SystemWindow();
+ virtual ~SystemWindow();
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx
index d062a16810ac..81057996b3ee 100644
--- a/include/vcl/tabctrl.hxx
+++ b/include/vcl/tabctrl.hxx
@@ -84,7 +84,7 @@ public:
TabControl( Window* pParent,
WinBits nStyle = WB_STDTABCONTROL );
TabControl( Window* pParent, const ResId& rResId );
- ~TabControl();
+ virtual ~TabControl();
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
diff --git a/include/vcl/tabdlg.hxx b/include/vcl/tabdlg.hxx
index ecce55a00d7f..c288a67e6eeb 100644
--- a/include/vcl/tabdlg.hxx
+++ b/include/vcl/tabdlg.hxx
@@ -42,7 +42,7 @@ public:
WinBits nStyle = WB_STDTABDIALOG );
TabDialog( Window* pParent, const ResId& rResId );
TabDialog( Window* pParent, const OString& rID, const OUString& rUIXMLDescription );
- ~TabDialog();
+ virtual ~TabDialog();
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index 377a55620a80..52714062fbaa 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -223,7 +223,7 @@ protected:
public:
TextEngine();
- ~TextEngine();
+ virtual ~TextEngine();
void SetText( const OUString& rStr );
OUString GetText( LineEnd aSeparator = LINEEND_LF ) const;
diff --git a/include/vcl/throbber.hxx b/include/vcl/throbber.hxx
index e5ec8236f3c8..2fe212e5965f 100644
--- a/include/vcl/throbber.hxx
+++ b/include/vcl/throbber.hxx
@@ -48,7 +48,7 @@ public:
public:
Throbber( Window* i_parentWindow, WinBits i_style, const ImageSet i_imageSet = IMAGES_AUTO );
Throbber( Window* i_parentWindow, const ResId& i_resId, const ImageSet i_imageSet = IMAGES_AUTO );
- ~Throbber();
+ virtual ~Throbber();
// Properties
void setStepTime( sal_Int32 nStepTime ) { mnStepTime = nStepTime; }
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 2bc306a0a881..9a8f7e25c7d9 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -287,7 +287,7 @@ protected:
public:
ToolBox( Window* pParent, WinBits nStyle = 0 );
ToolBox( Window* pParent, const ResId& rResId );
- ~ToolBox();
+ virtual ~ToolBox();
virtual void Click();
virtual void DoubleClick();
diff --git a/include/vcl/txtattr.hxx b/include/vcl/txtattr.hxx
index 86dcbd0efa5b..d0075187f480 100644
--- a/include/vcl/txtattr.hxx
+++ b/include/vcl/txtattr.hxx
@@ -69,7 +69,7 @@ private:
public:
TextAttribFontColor( const Color& rColor );
TextAttribFontColor( const TextAttribFontColor& rAttr );
- ~TextAttribFontColor();
+ virtual ~TextAttribFontColor();
const Color& GetColor() const { return maColor; }
@@ -87,7 +87,7 @@ private:
public:
TextAttribFontWeight( FontWeight eWeight );
TextAttribFontWeight( const TextAttribFontWeight& rAttr );
- ~TextAttribFontWeight();
+ virtual ~TextAttribFontWeight();
virtual void SetFont( Font& rFont ) const SAL_OVERRIDE;
virtual TextAttrib* Clone() const SAL_OVERRIDE;
@@ -106,7 +106,7 @@ private:
public:
TextAttribHyperLink( const TextAttribHyperLink& rAttr );
- ~TextAttribHyperLink();
+ virtual ~TextAttribHyperLink();
void SetURL( const OUString& rURL ) { maURL = rURL; }
const OUString& GetURL() const { return maURL; }
@@ -127,7 +127,7 @@ class VCL_DLLPUBLIC TextAttribProtect : public TextAttrib
public:
TextAttribProtect();
TextAttribProtect( const TextAttribProtect& rAttr );
- ~TextAttribProtect();
+ virtual ~TextAttribProtect();
virtual void SetFont( Font& rFont ) const SAL_OVERRIDE;
virtual TextAttrib* Clone() const SAL_OVERRIDE;
diff --git a/include/vcl/unohelp2.hxx b/include/vcl/unohelp2.hxx
index e835bbde95f0..5563cfd0e9ec 100644
--- a/include/vcl/unohelp2.hxx
+++ b/include/vcl/unohelp2.hxx
@@ -41,7 +41,7 @@ namespace vcl { namespace unohelper {
public:
TextDataObject( const OUString& rText );
- ~TextDataObject();
+ virtual ~TextDataObject();
OUString& GetString() { return maText; }
diff --git a/include/vcl/xtextedt.hxx b/include/vcl/xtextedt.hxx
index 2f046138af52..fa29f7c5f18c 100644
--- a/include/vcl/xtextedt.hxx
+++ b/include/vcl/xtextedt.hxx
@@ -37,7 +37,7 @@ private:
public:
ExtTextEngine();
- ~ExtTextEngine();
+ virtual ~ExtTextEngine();
const OUString& GetGroupChars() const { return maGroupChars; }
void SetGroupChars( const OUString& r ) { maGroupChars = r; }
@@ -53,7 +53,7 @@ protected:
public:
ExtTextView( ExtTextEngine* pEng, Window* pWindow );
- ~ExtTextView();
+ virtual ~ExtTextView();
bool MatchGroup();
diff --git a/include/xmloff/SchXMLImportHelper.hxx b/include/xmloff/SchXMLImportHelper.hxx
index fe20e8ebcaed..e35f5b694a8a 100644
--- a/include/xmloff/SchXMLImportHelper.hxx
+++ b/include/xmloff/SchXMLImportHelper.hxx
@@ -84,7 +84,7 @@ private:
public:
SchXMLImportHelper();
- ~SchXMLImportHelper();
+ virtual ~SchXMLImportHelper();
/** get the context for reading the <chart:chart> element with subelements.
The result is stored in the XModel given if it also implements
diff --git a/include/xmloff/XMLEventsImportContext.hxx b/include/xmloff/XMLEventsImportContext.hxx
index 278c5cc6c658..9dad504424a6 100644
--- a/include/xmloff/XMLEventsImportContext.hxx
+++ b/include/xmloff/XMLEventsImportContext.hxx
@@ -85,7 +85,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::container::XNameReplace> & xNameRepl);
- ~XMLEventsImportContext();
+ virtual ~XMLEventsImportContext();
void AddEventValues(
const OUString& rEventName,
diff --git a/include/xmloff/XMLFontAutoStylePool.hxx b/include/xmloff/XMLFontAutoStylePool.hxx
index 961832f7e869..5deabf76e9cd 100644
--- a/include/xmloff/XMLFontAutoStylePool.hxx
+++ b/include/xmloff/XMLFontAutoStylePool.hxx
@@ -48,7 +48,7 @@ protected:
public:
XMLFontAutoStylePool( SvXMLExport& rExport, bool tryToEmbedFonts = false );
- ~XMLFontAutoStylePool();
+ virtual ~XMLFontAutoStylePool();
OUString Add(
const OUString& rFamilyName,
diff --git a/include/xmloff/XMLPageExport.hxx b/include/xmloff/XMLPageExport.hxx
index 0a5053960040..5961ad3b30a8 100644
--- a/include/xmloff/XMLPageExport.hxx
+++ b/include/xmloff/XMLPageExport.hxx
@@ -90,7 +90,7 @@ protected:
public:
XMLPageExport( SvXMLExport& rExp );
- ~XMLPageExport();
+ virtual ~XMLPageExport();
void collectAutoStyles( bool bUsed ) { exportStyles( bUsed, true ); }
void exportAutoStyles();
diff --git a/include/xmloff/XMLTextMasterPageExport.hxx b/include/xmloff/XMLTextMasterPageExport.hxx
index dd626bbdea6d..b696241b450b 100644
--- a/include/xmloff/XMLTextMasterPageExport.hxx
+++ b/include/xmloff/XMLTextMasterPageExport.hxx
@@ -60,7 +60,7 @@ protected:
public:
XMLTextMasterPageExport( SvXMLExport& rExp );
- ~XMLTextMasterPageExport();
+ virtual ~XMLTextMasterPageExport();
};
#endif // INCLUDED_XMLOFF_XMLTEXTMASTERPAGEEXPORT_HXX
diff --git a/include/xmloff/XMLTextShapeImportHelper.hxx b/include/xmloff/XMLTextShapeImportHelper.hxx
index 18f00ec68ecd..bfb317aacec1 100644
--- a/include/xmloff/XMLTextShapeImportHelper.hxx
+++ b/include/xmloff/XMLTextShapeImportHelper.hxx
@@ -35,7 +35,7 @@ class XMLOFF_DLLPUBLIC XMLTextShapeImportHelper : public XMLShapeImportHelper
public:
XMLTextShapeImportHelper( SvXMLImport& rImp );
- ~XMLTextShapeImportHelper();
+ virtual ~XMLTextShapeImportHelper();
virtual void addShape(
::com::sun::star::uno::Reference<
diff --git a/include/xmloff/attrlist.hxx b/include/xmloff/attrlist.hxx
index 7f3f78c2c223..240d53dd47d7 100644
--- a/include/xmloff/attrlist.hxx
+++ b/include/xmloff/attrlist.hxx
@@ -47,7 +47,7 @@ public:
SvXMLAttributeList( const SvXMLAttributeList& );
SvXMLAttributeList( const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList> & rAttrList );
- ~SvXMLAttributeList();
+ virtual ~SvXMLAttributeList();
static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
static SvXMLAttributeList* getImplementation( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ) throw();
diff --git a/include/xmloff/formlayerexport.hxx b/include/xmloff/formlayerexport.hxx
index 91336749f2ec..346e7455e13a 100644
--- a/include/xmloff/formlayerexport.hxx
+++ b/include/xmloff/formlayerexport.hxx
@@ -58,7 +58,7 @@ namespace xmloff
OFormLayerXMLExport_Impl* m_pImpl;
protected:
- ~OFormLayerXMLExport();
+ virtual ~OFormLayerXMLExport();
public:
OFormLayerXMLExport(SvXMLExport& _rContext);
diff --git a/include/xmloff/formlayerimport.hxx b/include/xmloff/formlayerimport.hxx
index 54d9c00a330d..8ad5fa4fc818 100644
--- a/include/xmloff/formlayerimport.hxx
+++ b/include/xmloff/formlayerimport.hxx
@@ -52,7 +52,7 @@ namespace xmloff
public:
OFormLayerXMLImport(SvXMLImport& _rImporter);
- ~OFormLayerXMLImport();
+ virtual ~OFormLayerXMLImport();
/** start importing the forms of the given page
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx
index d0ffcab3aad1..47156c886482 100644
--- a/include/xmloff/shapeimport.hxx
+++ b/include/xmloff/shapeimport.hxx
@@ -314,7 +314,7 @@ public:
const com::sun::star::uno::Reference< com::sun::star::frame::XModel>& rModel,
SvXMLImportPropertyMapper *pExtMapper=0 );
- ~XMLShapeImportHelper();
+ virtual ~XMLShapeImportHelper();
SvXMLShapeContext* CreateGroupChildContext(
SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName,
diff --git a/include/xmloff/txtimp.hxx b/include/xmloff/txtimp.hxx
index ff4ca249683a..4ab7881b00da 100644
--- a/include/xmloff/txtimp.hxx
+++ b/include/xmloff/txtimp.hxx
@@ -399,7 +399,7 @@ public:
bool const bProgress = false, bool const bBlockMode = false,
bool const bOrganizerMode = false);
- ~XMLTextImportHelper();
+ virtual ~XMLTextImportHelper();
void SetCursor(
const ::com::sun::star::uno::Reference <