diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:18:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:22:54 +0200 |
commit | 362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch) | |
tree | 0b432c049d580dcac6130bca9fb028bab8af8fa8 /sw/source/core/uibase | |
parent | b66d87086804460c1986df1b832fd6b2ea075a90 (diff) |
Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
Diffstat (limited to 'sw/source/core/uibase')
99 files changed, 129 insertions, 129 deletions
diff --git a/sw/source/core/uibase/app/apphdl.cxx b/sw/source/core/uibase/app/apphdl.cxx index 8d486121e456..bb02073ffef8 100644 --- a/sw/source/core/uibase/app/apphdl.cxx +++ b/sw/source/core/uibase/app/apphdl.cxx @@ -248,7 +248,7 @@ class SwMailMergeWizardExecutor : public salhelper::SimpleReferenceObject public: SwMailMergeWizardExecutor(); - ~SwMailMergeWizardExecutor(); + virtual ~SwMailMergeWizardExecutor(); void ExecuteMailMergeWizard( const SfxItemSet * pArgs ); }; diff --git a/sw/source/core/uibase/dbui/dbmgr.cxx b/sw/source/core/uibase/dbui/dbmgr.cxx index 057aeeb99633..89304adf7a83 100644 --- a/sw/source/core/uibase/dbui/dbmgr.cxx +++ b/sw/source/core/uibase/dbui/dbmgr.cxx @@ -211,7 +211,7 @@ class SwConnectionDisposedListener_Impl : public cppu::WeakImplHelper1 virtual void SAL_CALL disposing( const EventObject& Source ) throw (RuntimeException, std::exception) SAL_OVERRIDE; public: SwConnectionDisposedListener_Impl(SwNewDBMgr& rMgr); - ~SwConnectionDisposedListener_Impl(); + virtual ~SwConnectionDisposedListener_Impl(); }; diff --git a/sw/source/core/uibase/dbui/dbtree.cxx b/sw/source/core/uibase/dbui/dbtree.cxx index 9ba3200c760c..1cc2facb9f0b 100644 --- a/sw/source/core/uibase/dbui/dbtree.cxx +++ b/sw/source/core/uibase/dbui/dbtree.cxx @@ -79,7 +79,7 @@ class SwDBTreeList_Impl : public cppu::WeakImplHelper1 < XContainerListener > public: SwDBTreeList_Impl(SwWrtShell* pShell) : pWrtSh(pShell) {} - ~SwDBTreeList_Impl(); + virtual ~SwDBTreeList_Impl(); virtual void SAL_CALL elementInserted( const ContainerEvent& Event ) throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL elementRemoved( const ContainerEvent& Event ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/dbui/mailmergechildwindow.cxx b/sw/source/core/uibase/dbui/mailmergechildwindow.cxx index bf16a14e828a..d038f7eeccd0 100644 --- a/sw/source/core/uibase/dbui/mailmergechildwindow.cxx +++ b/sw/source/core/uibase/dbui/mailmergechildwindow.cxx @@ -162,7 +162,7 @@ class SwMailDispatcherListener_Impl : public IMailDispatcherListener public: SwMailDispatcherListener_Impl(SwSendMailDialog& rParentDlg); - ~SwMailDispatcherListener_Impl(); + virtual ~SwMailDispatcherListener_Impl(); virtual void started(::rtl::Reference<MailDispatcher> xMailDispatcher) SAL_OVERRIDE; virtual void stopped(::rtl::Reference<MailDispatcher> xMailDispatcher) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/dbui/mmconfigitem.cxx b/sw/source/core/uibase/dbui/mmconfigitem.cxx index 6143905efc5a..2629fd9e2701 100644 --- a/sw/source/core/uibase/dbui/mmconfigitem.cxx +++ b/sw/source/core/uibase/dbui/mmconfigitem.cxx @@ -153,7 +153,7 @@ class SwMailMergeConfigItem_Impl : public utl::ConfigItem public: SwMailMergeConfigItem_Impl(); - ~SwMailMergeConfigItem_Impl(); + virtual ~SwMailMergeConfigItem_Impl(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx b/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx index a5b38790ffbd..32c423d79494 100644 --- a/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx +++ b/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx @@ -32,7 +32,7 @@ class AnnotationMenuButton : public MenuButton { public: AnnotationMenuButton( sw::sidebarwindows::SwSidebarWin& rSidebarWin ); - ~AnnotationMenuButton(); + virtual ~AnnotationMenuButton(); // overloaded <MenuButton> methods virtual void Select() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/docvw/SidebarTxtControl.hxx b/sw/source/core/uibase/docvw/SidebarTxtControl.hxx index f6f9fafc54ce..ae524a094f71 100644 --- a/sw/source/core/uibase/docvw/SidebarTxtControl.hxx +++ b/sw/source/core/uibase/docvw/SidebarTxtControl.hxx @@ -57,7 +57,7 @@ class SidebarTxtControl : public Control WinBits nBits, SwView& rDocView, SwPostItMgr& rPostItMgr ); - ~SidebarTxtControl(); + virtual ~SidebarTxtControl(); virtual void GetFocus() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/docvw/romenu.hxx b/sw/source/core/uibase/docvw/romenu.hxx index e0242db41504..074c93e92a4f 100644 --- a/sw/source/core/uibase/docvw/romenu.hxx +++ b/sw/source/core/uibase/docvw/romenu.hxx @@ -51,7 +51,7 @@ class SwReadOnlyPopup : public PopupMenu public: SwReadOnlyPopup( const Point &rDPos, SwView &rV ); - ~SwReadOnlyPopup(); + virtual ~SwReadOnlyPopup(); void Execute( Window* pWin, const Point &rPPos ); void Execute( Window* pWin, sal_uInt16 nId ); diff --git a/sw/source/core/uibase/inc/DashedLine.hxx b/sw/source/core/uibase/inc/DashedLine.hxx index 0944767a21e4..ea0819e2b9b2 100644 --- a/sw/source/core/uibase/inc/DashedLine.hxx +++ b/sw/source/core/uibase/inc/DashedLine.hxx @@ -20,7 +20,7 @@ class SwDashedLine : public FixedLine public: SwDashedLine( Window* pParent, Color& ( *pColorFn )() ); - ~SwDashedLine( ); + virtual ~SwDashedLine( ); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; }; diff --git a/sw/source/core/uibase/inc/HeaderFooterWin.hxx b/sw/source/core/uibase/inc/HeaderFooterWin.hxx index bf2a52c0bcf4..7da9aa44a27d 100644 --- a/sw/source/core/uibase/inc/HeaderFooterWin.hxx +++ b/sw/source/core/uibase/inc/HeaderFooterWin.hxx @@ -30,7 +30,7 @@ class SwHeaderFooterWin : public MenuButton, public SwFrameControl public: SwHeaderFooterWin( SwEditWin* pEditWin, const SwPageFrm* pPageFrm, bool bHeader ); - ~SwHeaderFooterWin( ); + virtual ~SwHeaderFooterWin( ); void SetOffset( Point aOffset, long nXLineStart, long nXLineEnd ); diff --git a/sw/source/core/uibase/inc/PageBreakWin.hxx b/sw/source/core/uibase/inc/PageBreakWin.hxx index c0eb854a1b7e..cb5d2fa1fab9 100644 --- a/sw/source/core/uibase/inc/PageBreakWin.hxx +++ b/sw/source/core/uibase/inc/PageBreakWin.hxx @@ -34,7 +34,7 @@ class SwPageBreakWin : public MenuButton, public SwFrameControl public: SwPageBreakWin( SwEditWin* pEditWin, const SwPageFrm* pPageFrm ); - ~SwPageBreakWin( ); + virtual ~SwPageBreakWin( ); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void Select( ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx b/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx index 7bc8dcfea56c..4d32f2817469 100644 --- a/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx +++ b/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx @@ -54,7 +54,7 @@ public: sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo); - ~SwSpellDialogChildWindow(); + virtual ~SwSpellDialogChildWindow(); SFX_DECL_CHILDWINDOW_WITHID(SwSpellDialogChildWindow); diff --git a/sw/source/core/uibase/inc/barcfg.hxx b/sw/source/core/uibase/inc/barcfg.hxx index 117fa3cff00a..dcb2fa2e5350 100644 --- a/sw/source/core/uibase/inc/barcfg.hxx +++ b/sw/source/core/uibase/inc/barcfg.hxx @@ -28,7 +28,7 @@ class SwToolbarConfigItem : public utl::ConfigItem public: SwToolbarConfigItem( bool bWeb ); - ~SwToolbarConfigItem(); + virtual ~SwToolbarConfigItem(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/bmpwin.hxx b/sw/source/core/uibase/inc/bmpwin.hxx index 63c4082599e3..a4478a286293 100644 --- a/sw/source/core/uibase/inc/bmpwin.hxx +++ b/sw/source/core/uibase/inc/bmpwin.hxx @@ -44,7 +44,7 @@ private: public: BmpWindow(Window* pPar, WinBits nStyle); - ~BmpWindow(); + virtual ~BmpWindow(); void MirrorVert(sal_Bool bMirror) { bVert = bMirror; Invalidate(); } void MirrorHorz(sal_Bool bMirror) { bHorz = bMirror; Invalidate(); } void SetGraphic(const Graphic& rGrf); diff --git a/sw/source/core/uibase/inc/bookctrl.hxx b/sw/source/core/uibase/inc/bookctrl.hxx index 7771fb326556..44b52f790ef5 100644 --- a/sw/source/core/uibase/inc/bookctrl.hxx +++ b/sw/source/core/uibase/inc/bookctrl.hxx @@ -36,7 +36,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwBookmarkControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SwBookmarkControl(); + virtual ~SwBookmarkControl(); private: OUString sPageNumber; diff --git a/sw/source/core/uibase/inc/bookmark.hxx b/sw/source/core/uibase/inc/bookmark.hxx index ff1179c2d9bc..d458fe0067c9 100644 --- a/sw/source/core/uibase/inc/bookmark.hxx +++ b/sw/source/core/uibase/inc/bookmark.hxx @@ -62,7 +62,7 @@ class SwInsertBookmarkDlg: public SvxStandardDialog public: SwInsertBookmarkDlg(Window *pParent, SwWrtShell &rSh, SfxRequest& rReq); - ~SwInsertBookmarkDlg(); + virtual ~SwInsertBookmarkDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/break.hxx b/sw/source/core/uibase/inc/break.hxx index 6dd6356e7343..753e6f4f30e2 100644 --- a/sw/source/core/uibase/inc/break.hxx +++ b/sw/source/core/uibase/inc/break.hxx @@ -63,7 +63,7 @@ protected: public: SwBreakDlg( Window *pParent, SwWrtShell &rSh ); - ~SwBreakDlg(); + virtual ~SwBreakDlg(); OUString GetTemplateName() { return aTemplate; } sal_uInt16 GetKind() { return nKind; } diff --git a/sw/source/core/uibase/inc/changedb.hxx b/sw/source/core/uibase/inc/changedb.hxx index a5d048821d66..a3349845e489 100644 --- a/sw/source/core/uibase/inc/changedb.hxx +++ b/sw/source/core/uibase/inc/changedb.hxx @@ -60,7 +60,7 @@ class SwChangeDBDlg: public SvxStandardDialog public: SwChangeDBDlg(SwView& rVw); - ~SwChangeDBDlg(); + virtual ~SwChangeDBDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/chrdlg.hxx b/sw/source/core/uibase/inc/chrdlg.hxx index 5b7a077e4d66..1de8e46050b6 100644 --- a/sw/source/core/uibase/inc/chrdlg.hxx +++ b/sw/source/core/uibase/inc/chrdlg.hxx @@ -52,7 +52,7 @@ public: SwCharDlg(Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet, sal_uInt8 nDialogMode, const OUString* pFmtStr = 0); - ~SwCharDlg(); + virtual ~SwCharDlg(); virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE; }; @@ -81,7 +81,7 @@ public: SwCharURLPage( Window* pParent, const SfxItemSet& rSet ); - ~SwCharURLPage(); + virtual ~SwCharURLPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/core/uibase/inc/colex.hxx b/sw/source/core/uibase/inc/colex.hxx index 4cb67723b036..634bfcf282f0 100644 --- a/sw/source/core/uibase/inc/colex.hxx +++ b/sw/source/core/uibase/inc/colex.hxx @@ -56,7 +56,7 @@ public: pGridItem(0), m_bVertical(false){} - ~SwPageGridExample(); + virtual ~SwPageGridExample(); void UpdateExample( const SfxItemSet& rSet ); }; diff --git a/sw/source/core/uibase/inc/content.hxx b/sw/source/core/uibase/inc/content.hxx index b4a6c92f6988..3c0bb07628ee 100644 --- a/sw/source/core/uibase/inc/content.hxx +++ b/sw/source/core/uibase/inc/content.hxx @@ -179,7 +179,7 @@ protected: OUString RemoveNewline(const OUString&); public: SwContentType(SwWrtShell* pParent, sal_uInt16 nType, sal_uInt8 nLevel ); - ~SwContentType(); + virtual ~SwContentType(); void Init(sal_Bool* pbInvalidateWindow = 0); void FillMemberList(sal_Bool* pbLevelChanged = NULL); diff --git a/sw/source/core/uibase/inc/conttree.hxx b/sw/source/core/uibase/inc/conttree.hxx index ff808365a589..91da8b46ffa7 100644 --- a/sw/source/core/uibase/inc/conttree.hxx +++ b/sw/source/core/uibase/inc/conttree.hxx @@ -140,7 +140,7 @@ protected: public: SwContentTree(Window* pParent, const ResId& rResId); - ~SwContentTree(); + virtual ~SwContentTree(); OUString GetEntryAltText( SvTreeListEntry* pEntry ) const SAL_OVERRIDE; OUString GetEntryLongDescription( SvTreeListEntry* pEntry ) const SAL_OVERRIDE; SdrObject* GetDrawingObjectsByContent(const SwContent *pCnt); diff --git a/sw/source/core/uibase/inc/convert.hxx b/sw/source/core/uibase/inc/convert.hxx index e9f17a60e6e7..ca5ec06e1f50 100644 --- a/sw/source/core/uibase/inc/convert.hxx +++ b/sw/source/core/uibase/inc/convert.hxx @@ -62,7 +62,7 @@ class SwConvertTableDlg: public SfxModalDialog public: SwConvertTableDlg( SwView& rView, bool bToTable ); - ~SwConvertTableDlg(); + virtual ~SwConvertTableDlg(); void GetValues( sal_Unicode& rDelim, SwInsertTableOptions& rInsTblOpts, diff --git a/sw/source/core/uibase/inc/cption.hxx b/sw/source/core/uibase/inc/cption.hxx index 7eb9837e2dfd..0322b7b7e30c 100644 --- a/sw/source/core/uibase/inc/cption.hxx +++ b/sw/source/core/uibase/inc/cption.hxx @@ -105,7 +105,7 @@ class SwCaptionDialog : public SvxStandardDialog static OUString our_aSepTextSave; // Save caption separator text public: SwCaptionDialog( Window *pParent, SwView &rV ); - ~SwCaptionDialog(); + virtual ~SwCaptionDialog(); }; #endif diff --git a/sw/source/core/uibase/inc/docstdlg.hxx b/sw/source/core/uibase/inc/docstdlg.hxx index 98f4ab192c30..c6c973db3e31 100644 --- a/sw/source/core/uibase/inc/docstdlg.hxx +++ b/sw/source/core/uibase/inc/docstdlg.hxx @@ -33,7 +33,7 @@ class SwDocStatPage: public SfxTabPage { public: SwDocStatPage(Window *pParent, const SfxItemSet &rSet); - ~SwDocStatPage(); + virtual ~SwDocStatPage(); static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet); diff --git a/sw/source/core/uibase/inc/drpcps.hxx b/sw/source/core/uibase/inc/drpcps.hxx index 3ddf9f5e2544..022b68605ce4 100644 --- a/sw/source/core/uibase/inc/drpcps.hxx +++ b/sw/source/core/uibase/inc/drpcps.hxx @@ -71,7 +71,7 @@ friend class SwDropCapsPict; SwWrtShell &rSh; SwDropCapsPage(Window *pParent, const SfxItemSet &rSet); - ~SwDropCapsPage(); + virtual ~SwDropCapsPage(); virtual int DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE; void FillSet( SfxItemSet &rSet ); diff --git a/sw/source/core/uibase/inc/envimg.hxx b/sw/source/core/uibase/inc/envimg.hxx index 054d602e1dce..4707eb63a098 100644 --- a/sw/source/core/uibase/inc/envimg.hxx +++ b/sw/source/core/uibase/inc/envimg.hxx @@ -78,7 +78,7 @@ class SwEnvCfgItem : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwEnvCfgItem(); - ~SwEnvCfgItem(); + virtual ~SwEnvCfgItem(); SwEnvItem& GetItem() {return aEnvItem;} diff --git a/sw/source/core/uibase/inc/envlop.hxx b/sw/source/core/uibase/inc/envlop.hxx index c1557ccd87a9..5c21d03c5517 100644 --- a/sw/source/core/uibase/inc/envlop.hxx +++ b/sw/source/core/uibase/inc/envlop.hxx @@ -74,7 +74,7 @@ friend class SwEnvPreview; public: SwEnvDlg(Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert); - ~SwEnvDlg(); + virtual ~SwEnvDlg(); }; // class SwEnvPage ---------------------------------------------------------- @@ -93,7 +93,7 @@ class SwEnvPage : public SfxTabPage OUString sActDBName; SwEnvPage(Window* pParent, const SfxItemSet& rSet); - ~SwEnvPage(); + virtual ~SwEnvPage(); DECL_LINK( DatabaseHdl, ListBox * ); DECL_LINK(FieldHdl, void *); diff --git a/sw/source/core/uibase/inc/fldedt.hxx b/sw/source/core/uibase/inc/fldedt.hxx index 17733c5446d1..c4ed3bfc93cc 100644 --- a/sw/source/core/uibase/inc/fldedt.hxx +++ b/sw/source/core/uibase/inc/fldedt.hxx @@ -40,7 +40,7 @@ class SwFldEditDlg : public SfxSingleTabDialog public: SwFldEditDlg(SwView& rVw); - ~SwFldEditDlg(); + virtual ~SwFldEditDlg(); DECL_LINK(OKHdl, void *); diff --git a/sw/source/core/uibase/inc/fontcfg.hxx b/sw/source/core/uibase/inc/fontcfg.hxx index 52da0a04af05..22afd8362231 100644 --- a/sw/source/core/uibase/inc/fontcfg.hxx +++ b/sw/source/core/uibase/inc/fontcfg.hxx @@ -73,7 +73,7 @@ class SW_DLLPUBLIC SwStdFontConfig : public utl::ConfigItem public: SwStdFontConfig(); - ~SwStdFontConfig(); + virtual ~SwStdFontConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/formedt.hxx b/sw/source/core/uibase/inc/formedt.hxx index ac3962abec5c..f0b8d3a2f587 100644 --- a/sw/source/core/uibase/inc/formedt.hxx +++ b/sw/source/core/uibase/inc/formedt.hxx @@ -77,7 +77,7 @@ class SwIdxFormDlg : public SvxStandardDialog public: SwIdxFormDlg( Window* pParent, SwWrtShell &rShell, const SwForm& rForm ); - ~SwIdxFormDlg(); + virtual ~SwIdxFormDlg(); const SwForm& GetTOXForm(); }; diff --git a/sw/source/core/uibase/inc/frmdlg.hxx b/sw/source/core/uibase/inc/frmdlg.hxx index 69343955e085..6475f737d3e3 100644 --- a/sw/source/core/uibase/inc/frmdlg.hxx +++ b/sw/source/core/uibase/inc/frmdlg.hxx @@ -60,7 +60,7 @@ public: const OString& sDefPage = OString(), const OUString* pFmtStr = 0); - ~SwFrmDlg(); + virtual ~SwFrmDlg(); SwWrtShell* GetWrtShell() { return m_pWrtShell; } }; diff --git a/sw/source/core/uibase/inc/frmpage.hxx b/sw/source/core/uibase/inc/frmpage.hxx index e2f035688272..340b710549fd 100644 --- a/sw/source/core/uibase/inc/frmpage.hxx +++ b/sw/source/core/uibase/inc/frmpage.hxx @@ -178,7 +178,7 @@ class SwFrmPage: public SfxTabPage void EnableGraficMode( void ); // hides auto check boxes and re-org controls for "Real Size" button SwFrmPage(Window *pParent, const SfxItemSet &rSet); - ~SwFrmPage(); + virtual ~SwFrmPage(); SwWrtShell *getFrmDlgParentShell(); @@ -227,7 +227,7 @@ class SwGrfExtPage: public SfxTabPage virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE; SwGrfExtPage(Window *pParent, const SfxItemSet &rSet); - ~SwGrfExtPage(); + virtual ~SwGrfExtPage(); using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; @@ -256,7 +256,7 @@ class SwFrmURLPage : public SfxTabPage DECL_LINK(InsertFileHdl, void *); SwFrmURLPage(Window *pParent, const SfxItemSet &rSet); - ~SwFrmURLPage(); + virtual ~SwFrmURLPage(); using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; @@ -306,7 +306,7 @@ class SwFrmAddPage : public SfxTabPage DECL_LINK(ChainModifyHdl, ListBox*); SwFrmAddPage(Window *pParent, const SfxItemSet &rSet); - ~SwFrmAddPage(); + virtual ~SwFrmAddPage(); public: diff --git a/sw/source/core/uibase/inc/glosbib.hxx b/sw/source/core/uibase/inc/glosbib.hxx index d16b026ae307..74803a0f7862 100644 --- a/sw/source/core/uibase/inc/glosbib.hxx +++ b/sw/source/core/uibase/inc/glosbib.hxx @@ -106,7 +106,7 @@ public: SwGlossaryGroupDlg(Window * pParent, std::vector<OUString> const& rPathArr, SwGlossaryHdl *pGlosHdl); - ~SwGlossaryGroupDlg(); + virtual ~SwGlossaryGroupDlg(); const OUString& GetCreatedGroupName() const {return sCreatedGroup;} }; diff --git a/sw/source/core/uibase/inc/gloslst.hxx b/sw/source/core/uibase/inc/gloslst.hxx index 9c45736a6c51..7ed767186344 100644 --- a/sw/source/core/uibase/inc/gloslst.hxx +++ b/sw/source/core/uibase/inc/gloslst.hxx @@ -56,7 +56,7 @@ class SwGlossaryList : public AutoTimer public: SwGlossaryList(); - ~SwGlossaryList(); + virtual ~SwGlossaryList(); bool HasLongName(const OUString& rBegin, std::vector<OUString> *pLongNames); sal_Bool GetShortName(const OUString& rLongName, diff --git a/sw/source/core/uibase/inc/glossary.hxx b/sw/source/core/uibase/inc/glossary.hxx index 177c70576138..af8a8cefb5b1 100644 --- a/sw/source/core/uibase/inc/glossary.hxx +++ b/sw/source/core/uibase/inc/glossary.hxx @@ -148,7 +148,7 @@ class SwGlossaryDlg : public SvxStandardDialog void ResetResumeData() {bResume = sal_False;} public: SwGlossaryDlg(SfxViewFrame* pViewFrame, SwGlossaryHdl* pGlosHdl, SwWrtShell *pWrtShell); - ~SwGlossaryDlg(); + virtual ~SwGlossaryDlg(); OUString GetCurrGrpName() const; OUString GetCurrLongName() const { diff --git a/sw/source/core/uibase/inc/hyp.hxx b/sw/source/core/uibase/inc/hyp.hxx index b642f62910a5..f1dd08d1b81d 100644 --- a/sw/source/core/uibase/inc/hyp.hxx +++ b/sw/source/core/uibase/inc/hyp.hxx @@ -50,7 +50,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XHyphenator > &rxHyph, sal_Bool bStart, sal_Bool bOther, sal_Bool bSelect ); - ~SwHyphWrapper(); + virtual ~SwHyphWrapper(); }; #endif diff --git a/sw/source/core/uibase/inc/inputwin.hxx b/sw/source/core/uibase/inc/inputwin.hxx index f419c6741318..160d8046bd2b 100644 --- a/sw/source/core/uibase/inc/inputwin.hxx +++ b/sw/source/core/uibase/inc/inputwin.hxx @@ -105,7 +105,7 @@ public: sal_uInt16 nId, SfxBindings*, SfxChildWinInfo* ); - ~SwInputChild(); + virtual ~SwInputChild(); SFX_DECL_CHILDWINDOW_WITHID( SwInputChild ); void SetFormula( const OUString& rFormula, sal_Bool bDelSel = sal_True ) { ((SwInputWindow*)pWindow)->SetFormula( diff --git a/sw/source/core/uibase/inc/insfnote.hxx b/sw/source/core/uibase/inc/insfnote.hxx index ad93ef9cad83..d32ae7965d0d 100644 --- a/sw/source/core/uibase/inc/insfnote.hxx +++ b/sw/source/core/uibase/inc/insfnote.hxx @@ -66,7 +66,7 @@ class SwInsFootNoteDlg: public SvxStandardDialog public: SwInsFootNoteDlg(Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False); - ~SwInsFootNoteDlg(); + virtual ~SwInsFootNoteDlg(); rtl_TextEncoding GetCharSet() { return eCharSet; } sal_Bool IsExtCharAvailable() { return bExtCharAvailable; } diff --git a/sw/source/core/uibase/inc/instable.hxx b/sw/source/core/uibase/inc/instable.hxx index e8046d6079a1..98d64a8c2424 100644 --- a/sw/source/core/uibase/inc/instable.hxx +++ b/sw/source/core/uibase/inc/instable.hxx @@ -64,7 +64,7 @@ class SwInsTableDlg : public SfxModalDialog public: SwInsTableDlg( SwView& rView ); - ~SwInsTableDlg(); + virtual ~SwInsTableDlg(); void GetValues( OUString& rName, sal_uInt16& rRow, sal_uInt16& rCol, SwInsertTableOptions& rInsTblOpts, OUString& rTableAutoFmtName, diff --git a/sw/source/core/uibase/inc/javaedit.hxx b/sw/source/core/uibase/inc/javaedit.hxx index 8b79071f0689..228c90f76936 100644 --- a/sw/source/core/uibase/inc/javaedit.hxx +++ b/sw/source/core/uibase/inc/javaedit.hxx @@ -72,7 +72,7 @@ private: public: SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh); - ~SwJavaEditDialog(); + virtual ~SwJavaEditDialog(); OUString GetScriptText() const { return aText; } diff --git a/sw/source/core/uibase/inc/label.hxx b/sw/source/core/uibase/inc/label.hxx index 95e32f866656..a1505af8fbb4 100644 --- a/sw/source/core/uibase/inc/label.hxx +++ b/sw/source/core/uibase/inc/label.hxx @@ -57,7 +57,7 @@ public: SwLabDlg( Window* pParent, const SfxItemSet& rSet, SwNewDBMgr* pNewDBMgr, sal_Bool bLabel); - ~SwLabDlg(); + virtual ~SwLabDlg(); SwLabRec* GetRecord(const OUString &rRecName, sal_Bool bCont); void GetLabItem(SwLabItem &rItem); diff --git a/sw/source/core/uibase/inc/linenum.hxx b/sw/source/core/uibase/inc/linenum.hxx index 94cc0fa02589..48d2af666a8e 100644 --- a/sw/source/core/uibase/inc/linenum.hxx +++ b/sw/source/core/uibase/inc/linenum.hxx @@ -56,7 +56,7 @@ public: SwWrtShell* GetWrtShell() const { return pSh; } SwLineNumberingDlg(SwView *pVw); - ~SwLineNumberingDlg(); + virtual ~SwLineNumberingDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/mailconfigpage.hxx b/sw/source/core/uibase/inc/mailconfigpage.hxx index 4d5d3aa36399..4314e25c2086 100644 --- a/sw/source/core/uibase/inc/mailconfigpage.hxx +++ b/sw/source/core/uibase/inc/mailconfigpage.hxx @@ -56,7 +56,7 @@ class SwMailConfigPage : public SfxTabPage public: SwMailConfigPage( Window* pParent, const SfxItemSet& rSet ); - ~SwMailConfigPage(); + virtual ~SwMailConfigPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/core/uibase/inc/mailmergechildwindow.hxx b/sw/source/core/uibase/inc/mailmergechildwindow.hxx index f139fb206840..a4164ec9a78e 100644 --- a/sw/source/core/uibase/inc/mailmergechildwindow.hxx +++ b/sw/source/core/uibase/inc/mailmergechildwindow.hxx @@ -31,7 +31,7 @@ class SwMailMergeChildWin : public SfxFloatingWindow public: SwMailMergeChildWin(SfxBindings*, SfxChildWindow*, Window *pParent); - ~SwMailMergeChildWin(); + virtual ~SwMailMergeChildWin(); virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE; }; diff --git a/sw/source/core/uibase/inc/mailmergehelper.hxx b/sw/source/core/uibase/inc/mailmergehelper.hxx index 8621ce08fcd5..73cf9e4b9942 100644 --- a/sw/source/core/uibase/inc/mailmergehelper.hxx +++ b/sw/source/core/uibase/inc/mailmergehelper.hxx @@ -58,7 +58,7 @@ class SW_DLLPUBLIC SwBoldFixedInfo : public FixedInfo { public: SwBoldFixedInfo(Window* pParent, const ResId& rResId); - ~SwBoldFixedInfo(); + virtual ~SwBoldFixedInfo(); }; struct SwAddressPreview_Impl; @@ -161,7 +161,7 @@ public: m_aPassword(password), m_pParentWindow( pParent ) {} - ~SwAuthenticator(); + virtual ~SwAuthenticator(); virtual OUString SAL_CALL getUserName( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getPassword( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -177,7 +177,7 @@ class SW_DLLPUBLIC SwConnectionContext : public: SwConnectionContext(const OUString& rMailServer, sal_Int16 nPort, const OUString& rConnectionType); - ~SwConnectionContext(); + virtual ~SwConnectionContext(); virtual ::com::sun::star::uno::Any SAL_CALL getValueByName( const OUString& Name ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -199,7 +199,7 @@ public: SwConnectionListener() : cppu::WeakComponentImplHelper1< ::com::sun::star::mail::XConnectionListener>(m_aMutex) {} - ~SwConnectionListener(); + virtual ~SwConnectionListener(); virtual void SAL_CALL connected(const ::com::sun::star::lang::EventObject& aEvent) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -228,7 +228,7 @@ class SwMailTransferable : public: SwMailTransferable(const OUString& rURL, const OUString& rName, const OUString& rMimeType); SwMailTransferable(const OUString& rBody, const OUString& rMimeType); - ~SwMailTransferable(); + virtual ~SwMailTransferable(); virtual ::com::sun::star::uno::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor ) throw (::com::sun::star::datatransfer::UnsupportedFlavorException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -269,7 +269,7 @@ class SwMailMessage : ::com::sun::star::uno::Sequence< ::com::sun::star::mail::MailAttachment > m_aAttachments; public: SwMailMessage(); - ~SwMailMessage(); + virtual ~SwMailMessage(); // attributes virtual OUString SAL_CALL getSenderName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/mailmergewizard.hxx b/sw/source/core/uibase/inc/mailmergewizard.hxx index cabd7846b401..f86599ed0cd2 100644 --- a/sw/source/core/uibase/inc/mailmergewizard.hxx +++ b/sw/source/core/uibase/inc/mailmergewizard.hxx @@ -67,7 +67,7 @@ protected: public: SwMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem); - ~SwMailMergeWizard(); + virtual ~SwMailMergeWizard(); SwView* GetSwView() {return m_pSwView;} SwMailMergeConfigItem& GetConfigItem() { return m_rConfigItem;} diff --git a/sw/source/core/uibase/inc/mailmrge.hxx b/sw/source/core/uibase/inc/mailmrge.hxx index b312e056093e..54cdd694af39 100644 --- a/sw/source/core/uibase/inc/mailmrge.hxx +++ b/sw/source/core/uibase/inc/mailmrge.hxx @@ -131,7 +131,7 @@ public: sal_Int32 nCommandType, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection, ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0); - ~SwMailMergeDlg(); + virtual ~SwMailMergeDlg(); inline sal_uInt16 GetMergeType() { return nMergeType; } diff --git a/sw/source/core/uibase/inc/multmrk.hxx b/sw/source/core/uibase/inc/multmrk.hxx index fe40ee33653e..5c83558d279e 100644 --- a/sw/source/core/uibase/inc/multmrk.hxx +++ b/sw/source/core/uibase/inc/multmrk.hxx @@ -45,7 +45,7 @@ class SwMultiTOXMarkDlg : public SvxStandardDialog void Apply() SAL_OVERRIDE; public: SwMultiTOXMarkDlg( Window* pParent, SwTOXMgr &rTOXMgr ); - ~SwMultiTOXMarkDlg(); + virtual ~SwMultiTOXMarkDlg(); }; #endif // INCLUDED_SW_SOURCE_UI_INC_MULTMRK_HXX diff --git a/sw/source/core/uibase/inc/navicfg.hxx b/sw/source/core/uibase/inc/navicfg.hxx index 8368c86eaeac..b3c7e1a4170a 100644 --- a/sw/source/core/uibase/inc/navicfg.hxx +++ b/sw/source/core/uibase/inc/navicfg.hxx @@ -35,7 +35,7 @@ class SwNavigationConfig : public utl::ConfigItem public: SwNavigationConfig(); - ~SwNavigationConfig(); + virtual ~SwNavigationConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/navipi.hxx b/sw/source/core/uibase/inc/navipi.hxx index cb082903ab6a..ca8af7921cb7 100644 --- a/sw/source/core/uibase/inc/navipi.hxx +++ b/sw/source/core/uibase/inc/navipi.hxx @@ -143,7 +143,7 @@ protected: public: SwNavigationPI(SfxBindings*, SfxChildWindowContext*, Window*); - ~SwNavigationPI(); + virtual ~SwNavigationPI(); void GotoPage(); // jump to page; bindable function diff --git a/sw/source/core/uibase/inc/num.hxx b/sw/source/core/uibase/inc/num.hxx index 6b27d3301d78..fd155f4787c6 100644 --- a/sw/source/core/uibase/inc/num.hxx +++ b/sw/source/core/uibase/inc/num.hxx @@ -117,7 +117,7 @@ public: SwNumPositionTabPage(Window* pParent, const SfxItemSet& rSet); - ~SwNumPositionTabPage(); + virtual ~SwNumPositionTabPage(); virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE; virtual int DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE; @@ -159,7 +159,7 @@ class SwSvxNumBulletTabDialog : public SfxTabDialog SwSvxNumBulletTabDialog(Window* pParent, const SfxItemSet* pSwItemSet, SwWrtShell &); - ~SwSvxNumBulletTabDialog(); + virtual ~SwSvxNumBulletTabDialog(); }; #endif // INCLUDED_SW_SOURCE_UI_INC_NUM_HXX diff --git a/sw/source/core/uibase/inc/numberingtypelistbox.hxx b/sw/source/core/uibase/inc/numberingtypelistbox.hxx index f2aa7c9dd7b5..cad1c886b297 100644 --- a/sw/source/core/uibase/inc/numberingtypelistbox.hxx +++ b/sw/source/core/uibase/inc/numberingtypelistbox.hxx @@ -36,7 +36,7 @@ class SW_DLLPUBLIC SwNumberingTypeListBox : public ListBox public: SwNumberingTypeListBox( Window* pWin, WinBits nStyle = WB_BORDER ); - ~SwNumberingTypeListBox(); + virtual ~SwNumberingTypeListBox(); virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/numfmtlb.hxx b/sw/source/core/uibase/inc/numfmtlb.hxx index d6facd3da9b5..be1e284b2980 100644 --- a/sw/source/core/uibase/inc/numfmtlb.hxx +++ b/sw/source/core/uibase/inc/numfmtlb.hxx @@ -47,7 +47,7 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox public: NumFormatListBox(Window* pWin, WinBits nStyle); - ~NumFormatListBox(); + virtual ~NumFormatListBox(); void Clear(); diff --git a/sw/source/core/uibase/inc/numpara.hxx b/sw/source/core/uibase/inc/numpara.hxx index fbab11a0fc6f..1a6391633a41 100644 --- a/sw/source/core/uibase/inc/numpara.hxx +++ b/sw/source/core/uibase/inc/numpara.hxx @@ -65,7 +65,7 @@ protected: void aCountParaFL(); public: - ~SwParagraphNumTabPage(); + virtual ~SwParagraphNumTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); diff --git a/sw/source/core/uibase/inc/numprevw.hxx b/sw/source/core/uibase/inc/numprevw.hxx index 827109135a2e..16d42306b9ef 100644 --- a/sw/source/core/uibase/inc/numprevw.hxx +++ b/sw/source/core/uibase/inc/numprevw.hxx @@ -52,7 +52,7 @@ class NumberingPreview : public Window { } - ~NumberingPreview(); + virtual ~NumberingPreview(); void SetNumRule(const SwNumRule* pNum) {pActNum = pNum; Invalidate();}; diff --git a/sw/source/core/uibase/inc/optcomp.hxx b/sw/source/core/uibase/inc/optcomp.hxx index 528e625b3ae2..f73797488a1d 100644 --- a/sw/source/core/uibase/inc/optcomp.hxx +++ b/sw/source/core/uibase/inc/optcomp.hxx @@ -62,7 +62,7 @@ private: public: SwCompatibilityOptPage( Window* pParent, const SfxItemSet& rSet ); - ~SwCompatibilityOptPage(); + virtual ~SwCompatibilityOptPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/sw/source/core/uibase/inc/optload.hxx b/sw/source/core/uibase/inc/optload.hxx index e52d4f203fea..99ecd4b0bb9d 100644 --- a/sw/source/core/uibase/inc/optload.hxx +++ b/sw/source/core/uibase/inc/optload.hxx @@ -161,7 +161,7 @@ private: public: SwCaptionOptPage( Window* pParent, const SfxItemSet& rSet ); - ~SwCaptionOptPage(); + virtual ~SwCaptionOptPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/core/uibase/inc/optpage.hxx b/sw/source/core/uibase/inc/optpage.hxx index a33c494a8ca6..2cbbe728b26e 100644 --- a/sw/source/core/uibase/inc/optpage.hxx +++ b/sw/source/core/uibase/inc/optpage.hxx @@ -71,7 +71,7 @@ class SwContentOptPage : public SfxTabPage public: SwContentOptPage( Window* pParent, const SfxItemSet& rSet ); - ~SwContentOptPage(); + virtual ~SwContentOptPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -191,7 +191,7 @@ class SwStdFontTabPage : public SfxTabPage SwStdFontTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwStdFontTabPage(); + virtual ~SwStdFontTabPage(); public: static SfxTabPage* Create( Window* pParent, @@ -232,7 +232,7 @@ class SwTableOptionsTabPage : public SfxTabPage SwTableOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwTableOptionsTabPage(); + virtual ~SwTableOptionsTabPage(); public: @@ -279,7 +279,7 @@ class SwShdwCrsrOptionsTabPage : public SfxTabPage SwWrtShell * m_pWrtShell; SwShdwCrsrOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwShdwCrsrOptionsTabPage(); + virtual ~SwShdwCrsrOptionsTabPage(); public: @@ -357,7 +357,7 @@ class SwRedlineOptionsTabPage : public SfxTabPage OUString sNone; SwRedlineOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwRedlineOptionsTabPage(); + virtual ~SwRedlineOptionsTabPage(); DECL_LINK( AttribHdl, ListBox *pLB ); DECL_LINK(ChangedMaskPrevHdl, void * = 0); @@ -422,7 +422,7 @@ class SwCompareOptionsTabPage : public SfxTabPage NumericField* m_pLenNF; SwCompareOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwCompareOptionsTabPage(); + virtual ~SwCompareOptionsTabPage(); DECL_LINK(ComparisonHdl, void *); DECL_LINK(IgnoreHdl, void *); diff --git a/sw/source/core/uibase/inc/outline.hxx b/sw/source/core/uibase/inc/outline.hxx index 50496d5cfe2b..7b037b56ace9 100644 --- a/sw/source/core/uibase/inc/outline.hxx +++ b/sw/source/core/uibase/inc/outline.hxx @@ -70,7 +70,7 @@ class SwOutlineTabDialog : public SfxTabDialog SwOutlineTabDialog(Window* pParent, const SfxItemSet* pSwItemSet, SwWrtShell &); - ~SwOutlineTabDialog(); + virtual ~SwOutlineTabDialog(); SwNumRule* GetNumRule() {return pNumRule;} sal_uInt16 GetLevel(const OUString &rFmtName) const; @@ -120,7 +120,7 @@ class SwOutlineSettingsTabPage : public SfxTabPage public: SwOutlineSettingsTabPage(Window* pParent, const SfxItemSet& rSet); - ~SwOutlineSettingsTabPage(); + virtual ~SwOutlineSettingsTabPage(); void SetWrtShell(SwWrtShell* pShell); diff --git a/sw/source/core/uibase/inc/pgfnote.hxx b/sw/source/core/uibase/inc/pgfnote.hxx index 38717ef02d61..fc1261fe881f 100644 --- a/sw/source/core/uibase/inc/pgfnote.hxx +++ b/sw/source/core/uibase/inc/pgfnote.hxx @@ -42,7 +42,7 @@ public: private: SwFootNotePage(Window *pParent, const SfxItemSet &rSet); - ~SwFootNotePage(); + virtual ~SwFootNotePage(); RadioButton* m_pMaxHeightPageBtn; RadioButton* m_pMaxHeightBtn; diff --git a/sw/source/core/uibase/inc/pggrid.hxx b/sw/source/core/uibase/inc/pggrid.hxx index bd770e59114e..d4488925711e 100644 --- a/sw/source/core/uibase/inc/pggrid.hxx +++ b/sw/source/core/uibase/inc/pggrid.hxx @@ -70,7 +70,7 @@ class SwTextGridPage: public SfxTabPage sal_Bool m_bVRulerChanged; SwTextGridPage(Window *pParent, const SfxItemSet &rSet); - ~SwTextGridPage(); + virtual ~SwTextGridPage(); void UpdatePageSize(const SfxItemSet& rSet); void PutGridItem(SfxItemSet& rSet); diff --git a/sw/source/core/uibase/inc/popbox.hxx b/sw/source/core/uibase/inc/popbox.hxx index 7bba9a53ffc0..50c5d0a5f0c8 100644 --- a/sw/source/core/uibase/inc/popbox.hxx +++ b/sw/source/core/uibase/inc/popbox.hxx @@ -39,7 +39,7 @@ protected: public: SwHelpToolBox(SwNavigationPI* pParent, const ResId &); - ~SwHelpToolBox(); + virtual ~SwHelpToolBox(); void SetDoubleClickLink(const Link &); // inline void SetRightClickLink(const Link &); // inline }; diff --git a/sw/source/core/uibase/inc/pview.hxx b/sw/source/core/uibase/inc/pview.hxx index e1b82d79da30..59bdf83e6c5b 100644 --- a/sw/source/core/uibase/inc/pview.hxx +++ b/sw/source/core/uibase/inc/pview.hxx @@ -60,7 +60,7 @@ class SwPagePreviewWin : public Window public: SwPagePreviewWin( Window* pParent, SwPagePreview& rView ); - ~SwPagePreviewWin(); + virtual ~SwPagePreviewWin(); // calls SwViewShell::Paint virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; @@ -287,7 +287,7 @@ public: void SetVScrollbarThumbPos( const sal_uInt16 _nNewThumbPos ); SwPagePreview( SfxViewFrame* pFrame, SfxViewShell* ); - ~SwPagePreview(); + virtual ~SwPagePreview(); }; // ----------------- inline methods ---------------------- diff --git a/sw/source/core/uibase/inc/redlndlg.hxx b/sw/source/core/uibase/inc/redlndlg.hxx index 206511feb7da..3a3b3265bb0f 100644 --- a/sw/source/core/uibase/inc/redlndlg.hxx +++ b/sw/source/core/uibase/inc/redlndlg.hxx @@ -137,7 +137,7 @@ class SwModelessRedlineAcceptDlg : public SfxModelessDialog public: SwModelessRedlineAcceptDlg(SfxBindings*, SwChildWinWrapper*, Window *pParent); - ~SwModelessRedlineAcceptDlg(); + virtual ~SwModelessRedlineAcceptDlg(); virtual void Activate() SAL_OVERRIDE; virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/scroll.hxx b/sw/source/core/uibase/inc/scroll.hxx index 0d2743525d7d..eb6dfcb057a3 100644 --- a/sw/source/core/uibase/inc/scroll.hxx +++ b/sw/source/core/uibase/inc/scroll.hxx @@ -51,7 +51,7 @@ public: sal_Bool IsAuto() { return bAuto;} SwScrollbar(Window *pParent, sal_Bool bHori = sal_True ); - ~SwScrollbar(); + virtual ~SwScrollbar(); }; #endif diff --git a/sw/source/core/uibase/inc/srcedtw.hxx b/sw/source/core/uibase/inc/srcedtw.hxx index 4560a86c68aa..bc19a311aac1 100644 --- a/sw/source/core/uibase/inc/srcedtw.hxx +++ b/sw/source/core/uibase/inc/srcedtw.hxx @@ -116,7 +116,7 @@ protected: public: SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ); - ~SwSrcEditWindow(); + virtual ~SwSrcEditWindow(); void SetScrollBarRanges(); void InitScrollBars(); diff --git a/sw/source/core/uibase/inc/srcview.hxx b/sw/source/core/uibase/inc/srcview.hxx index 4513a116943e..6ac7f305641a 100644 --- a/sw/source/core/uibase/inc/srcview.hxx +++ b/sw/source/core/uibase/inc/srcview.hxx @@ -57,7 +57,7 @@ public: SwSrcView(SfxViewFrame* pFrame, SfxViewShell*); - ~SwSrcView(); + virtual ~SwSrcView(); SwDocShell* GetDocShell(); SwSrcEditWindow& GetEditWin() {return aEditWin;} diff --git a/sw/source/core/uibase/inc/srtdlg.hxx b/sw/source/core/uibase/inc/srtdlg.hxx index e655b6eb88e2..6e0a3e0c6d4a 100644 --- a/sw/source/core/uibase/inc/srtdlg.hxx +++ b/sw/source/core/uibase/inc/srtdlg.hxx @@ -84,7 +84,7 @@ class SwSortDlg : public SvxStandardDialog public: SwSortDlg(Window * pParent, SwWrtShell &rSh); - ~SwSortDlg(); + virtual ~SwSortDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/swlbox.hxx b/sw/source/core/uibase/inc/swlbox.hxx index 49ac2b096892..aed583fb19c7 100644 --- a/sw/source/core/uibase/inc/swlbox.hxx +++ b/sw/source/core/uibase/inc/swlbox.hxx @@ -67,7 +67,7 @@ class SW_DLLPUBLIC SwComboBox : public ComboBox public: SwComboBox(Window* pParent, WinBits nStyle); - ~SwComboBox(); + virtual ~SwComboBox(); void InsertSwEntry(const SwBoxEntry&); virtual sal_Int32 InsertEntry(const OUString& rStr, sal_Int32 = 0) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx b/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx index d63683bb03da..1f82224239d6 100644 --- a/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx +++ b/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx @@ -29,7 +29,7 @@ class SwModalRedlineAcceptDlg : public SfxModalDialog public: SwModalRedlineAcceptDlg(Window *pParent); - ~SwModalRedlineAcceptDlg(); + virtual ~SwModalRedlineAcceptDlg(); void AcceptAll( sal_Bool bAccept ); virtual void Activate() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/swuicnttab.hxx b/sw/source/core/uibase/inc/swuicnttab.hxx index c267afeb7bbd..bdd17412f9e3 100644 --- a/sw/source/core/uibase/inc/swuicnttab.hxx +++ b/sw/source/core/uibase/inc/swuicnttab.hxx @@ -101,7 +101,7 @@ public: SwWrtShell &rShell, SwTOXBase* pCurTOX, sal_uInt16 nToxType = USHRT_MAX, sal_Bool bGlobal = sal_False); - ~SwMultiTOXTabDialog(); + virtual ~SwMultiTOXTabDialog(); virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE; @@ -220,7 +220,7 @@ class SwTOXSelectTabPage : public SfxTabPage public: SwTOXSelectTabPage(Window* pParent, const SfxItemSet& rAttrSet); - ~SwTOXSelectTabPage(); + virtual ~SwTOXSelectTabPage(); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE; @@ -282,7 +282,7 @@ class SwTokenWindow : public VclHBox, public VclBuilderContainer public: SwTokenWindow(Window* pParent); - ~SwTokenWindow(); + virtual ~SwTokenWindow(); void SetTabPage(SwTOXEntryTabPage *pParent) { m_pParent = pParent; } @@ -433,7 +433,7 @@ class SwTOXEntryTabPage : public SfxTabPage public: SwTOXEntryTabPage(Window* pParent, const SfxItemSet& rAttrSet); - ~SwTOXEntryTabPage(); + virtual ~SwTOXEntryTabPage(); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE; @@ -479,7 +479,7 @@ class SwTOXStylesTabPage : public SfxTabPage public: SwTOXStylesTabPage(Window* pParent, const SfxItemSet& rAttrSet); - ~SwTOXStylesTabPage(); + virtual ~SwTOXStylesTabPage(); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/swuipardlg.hxx b/sw/source/core/uibase/inc/swuipardlg.hxx index 3c6f3cc951f3..650c973b200f 100644 --- a/sw/source/core/uibase/inc/swuipardlg.hxx +++ b/sw/source/core/uibase/inc/swuipardlg.hxx @@ -45,7 +45,7 @@ public: const OUString *pCollName = 0, sal_Bool bDraw = sal_False, const OString& sDefPage = OString()); - ~SwParaDlg(); + virtual ~SwParaDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/swvset.hxx b/sw/source/core/uibase/inc/swvset.hxx index c229998213e6..65eb43e89256 100644 --- a/sw/source/core/uibase/inc/swvset.hxx +++ b/sw/source/core/uibase/inc/swvset.hxx @@ -24,7 +24,7 @@ class SwRulerValueSet : public SvxBmpNumValueSet { public: SwRulerValueSet(Window* pParent, WinBits nWinStyle); - ~SwRulerValueSet(); + virtual ~SwRulerValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE; }; #endif diff --git a/sw/source/core/uibase/inc/syncbtn.hxx b/sw/source/core/uibase/inc/syncbtn.hxx index 468821ff2b58..9800f3faf15b 100644 --- a/sw/source/core/uibase/inc/syncbtn.hxx +++ b/sw/source/core/uibase/inc/syncbtn.hxx @@ -33,7 +33,7 @@ class SwSyncBtnDlg : public SfxFloatingWindow public: SwSyncBtnDlg(SfxBindings*, SfxChildWindow*, Window *pParent); - ~SwSyncBtnDlg(); + virtual ~SwSyncBtnDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/tblctrl.hxx b/sw/source/core/uibase/inc/tblctrl.hxx index 679227d12496..4becca5acf58 100644 --- a/sw/source/core/uibase/inc/tblctrl.hxx +++ b/sw/source/core/uibase/inc/tblctrl.hxx @@ -28,7 +28,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SwTableOptimizeCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SwTableOptimizeCtrl(); + virtual ~SwTableOptimizeCtrl(); virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/tbxanchr.hxx b/sw/source/core/uibase/inc/tbxanchr.hxx index d9c6d70fb49a..f94f63d20060 100644 --- a/sw/source/core/uibase/inc/tbxanchr.hxx +++ b/sw/source/core/uibase/inc/tbxanchr.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SwTbxAnchor( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SwTbxAnchor(); + virtual ~SwTbxAnchor(); }; #endif diff --git a/sw/source/core/uibase/inc/titlepage.hxx b/sw/source/core/uibase/inc/titlepage.hxx index 3031e3112ef9..18aabae9a7b7 100644 --- a/sw/source/core/uibase/inc/titlepage.hxx +++ b/sw/source/core/uibase/inc/titlepage.hxx @@ -62,7 +62,7 @@ private: DECL_LINK(StartPageHdl, void *); public: SwTitlePageDlg( Window *pParent ); - ~SwTitlePageDlg(); + virtual ~SwTitlePageDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/tmplctrl.hxx b/sw/source/core/uibase/inc/tmplctrl.hxx index 7d243df6edbb..56642a38d30e 100644 --- a/sw/source/core/uibase/inc/tmplctrl.hxx +++ b/sw/source/core/uibase/inc/tmplctrl.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwTemplateControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SwTemplateControl(); + virtual ~SwTemplateControl(); private: OUString sTemplate; diff --git a/sw/source/core/uibase/inc/uiborder.hxx b/sw/source/core/uibase/inc/uiborder.hxx index 78adaeb7846d..3327bdac3aac 100644 --- a/sw/source/core/uibase/inc/uiborder.hxx +++ b/sw/source/core/uibase/inc/uiborder.hxx @@ -33,7 +33,7 @@ public: // SW_BORDER_MODE_FRAME SwBorderDlg(Window* pParent, SfxItemSet& rSet, sal_uInt16 nType); - ~SwBorderDlg(); + virtual ~SwBorderDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/uiitems.hxx b/sw/source/core/uibase/inc/uiitems.hxx index d90b35eac6a9..d1a3f36be19b 100644 --- a/sw/source/core/uibase/inc/uiitems.hxx +++ b/sw/source/core/uibase/inc/uiitems.hxx @@ -39,7 +39,7 @@ public: SwPageFtnInfoItem(const sal_uInt16 nId, SwPageFtnInfo& rInfo); SwPageFtnInfoItem(const SwPageFtnInfoItem& rItem ); - ~SwPageFtnInfoItem(); + virtual ~SwPageFtnInfoItem(); virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/unoatxt.hxx b/sw/source/core/uibase/inc/unoatxt.hxx index 90338fdb3973..1e65f7a0fa52 100644 --- a/sw/source/core/uibase/inc/unoatxt.hxx +++ b/sw/source/core/uibase/inc/unoatxt.hxx @@ -253,7 +253,7 @@ class SwAutoTextEventDescriptor : public SvBaseEventDescriptor public: SwAutoTextEventDescriptor( SwXAutoTextEntry& rAutoText ); - ~SwAutoTextEventDescriptor(); + virtual ~SwAutoTextEventDescriptor(); virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/unodispatch.hxx b/sw/source/core/uibase/inc/unodispatch.hxx index 23a2a7ab21e7..8d1b32427cea 100644 --- a/sw/source/core/uibase/inc/unodispatch.hxx +++ b/sw/source/core/uibase/inc/unodispatch.hxx @@ -65,7 +65,7 @@ class SwXDispatchProviderInterceptor : public cppu::WeakImplHelper3 public: SwXDispatchProviderInterceptor(SwView& rView); - ~SwXDispatchProviderInterceptor(); + virtual ~SwXDispatchProviderInterceptor(); //XDispatchProvider virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -106,7 +106,7 @@ class SwXDispatch : public cppu::WeakImplHelper2 sal_Bool m_bListenerAdded; public: SwXDispatch(SwView& rView); - ~SwXDispatch(); + virtual ~SwXDispatch(); virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw (::com::sun::star::uno::RuntimeException, diff --git a/sw/source/core/uibase/inc/usrpref.hxx b/sw/source/core/uibase/inc/usrpref.hxx index 8d04de4874f8..7a03bf80f712 100644 --- a/sw/source/core/uibase/inc/usrpref.hxx +++ b/sw/source/core/uibase/inc/usrpref.hxx @@ -34,7 +34,7 @@ class SwContentViewConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwContentViewConfig(sal_Bool bWeb, SwMasterUsrPref& rParent); - ~SwContentViewConfig(); + virtual ~SwContentViewConfig(); // utl::ConfigItem virtual void Notify( const com::sun::star::uno::Sequence< OUString > &rPropertyNames ) SAL_OVERRIDE; @@ -52,7 +52,7 @@ class SwLayoutViewConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwLayoutViewConfig(sal_Bool bWeb, SwMasterUsrPref& rParent); - ~SwLayoutViewConfig(); + virtual ~SwLayoutViewConfig(); virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; virtual void Commit() SAL_OVERRIDE; @@ -67,7 +67,7 @@ class SwGridConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwGridConfig(sal_Bool bWeb, SwMasterUsrPref& rParent); - ~SwGridConfig(); + virtual ~SwGridConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; @@ -82,7 +82,7 @@ class SwCursorConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwCursorConfig(SwMasterUsrPref& rParent); - ~SwCursorConfig(); + virtual ~SwCursorConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; @@ -97,7 +97,7 @@ class SwWebColorConfig : public utl::ConfigItem public: SwWebColorConfig(SwMasterUsrPref& rParent); - ~SwWebColorConfig(); + virtual ~SwWebColorConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/view.hxx b/sw/source/core/uibase/inc/view.hxx index 14f56ef54a0b..6526b22d93f5 100644 --- a/sw/source/core/uibase/inc/view.hxx +++ b/sw/source/core/uibase/inc/view.hxx @@ -625,7 +625,7 @@ public: void ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions); SwView(SfxViewFrame* pFrame, SfxViewShell*); - ~SwView(); + virtual ~SwView(); void NotifyDBChanged(); diff --git a/sw/source/core/uibase/inc/viewlayoutctrl.hxx b/sw/source/core/uibase/inc/viewlayoutctrl.hxx index 2ca684f5c947..42d6afc734a1 100644 --- a/sw/source/core/uibase/inc/viewlayoutctrl.hxx +++ b/sw/source/core/uibase/inc/viewlayoutctrl.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwViewLayoutControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SwViewLayoutControl(); + virtual ~SwViewLayoutControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/wordcountctrl.hxx b/sw/source/core/uibase/inc/wordcountctrl.hxx index 9026d2a676e9..017aa6d2b0c6 100644 --- a/sw/source/core/uibase/inc/wordcountctrl.hxx +++ b/sw/source/core/uibase/inc/wordcountctrl.hxx @@ -25,7 +25,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwWordCountStatusBarControl(sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb); - ~SwWordCountStatusBarControl(); + virtual ~SwWordCountStatusBarControl(); }; #endif diff --git a/sw/source/core/uibase/inc/wordcountdialog.hxx b/sw/source/core/uibase/inc/wordcountdialog.hxx index 85c3b036502d..4d8f4c34ee23 100644 --- a/sw/source/core/uibase/inc/wordcountdialog.hxx +++ b/sw/source/core/uibase/inc/wordcountdialog.hxx @@ -52,7 +52,7 @@ public: SfxChildWindow* pChild, Window *pParent, SfxChildWinInfo* pInfo); - ~SwWordCountFloatDlg(); + virtual ~SwWordCountFloatDlg(); void UpdateCounts(); void SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat); diff --git a/sw/source/core/uibase/inc/workctrl.hxx b/sw/source/core/uibase/inc/workctrl.hxx index ef9000e30445..a030d9f79952 100644 --- a/sw/source/core/uibase/inc/workctrl.hxx +++ b/sw/source/core/uibase/inc/workctrl.hxx @@ -63,7 +63,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SwTbxInsertCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SwTbxInsertCtrl(); + virtual ~SwTbxInsertCtrl(); virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; @@ -145,7 +145,7 @@ protected: public: SwScrollNaviPopup( sal_uInt16 nId, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, Window *pParent ); - ~SwScrollNaviPopup(); + virtual ~SwScrollNaviPopup(); static OUString GetQuickHelpText(sal_Bool bNext); @@ -172,7 +172,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SwPreviewZoomControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SwPreviewZoomControl(); + virtual ~SwPreviewZoomControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, diff --git a/sw/source/core/uibase/inc/wrap.hxx b/sw/source/core/uibase/inc/wrap.hxx index 3ded65121736..b3c4502237d2 100644 --- a/sw/source/core/uibase/inc/wrap.hxx +++ b/sw/source/core/uibase/inc/wrap.hxx @@ -83,7 +83,7 @@ class SwWrapTabPage: public SfxTabPage sal_Bool bContourImage; SwWrapTabPage(Window *pParent, const SfxItemSet &rSet); - ~SwWrapTabPage(); + virtual ~SwWrapTabPage(); void ApplyImageList(); void EnableModes(const SfxItemSet& rSet); diff --git a/sw/source/core/uibase/inc/wview.hxx b/sw/source/core/uibase/inc/wview.hxx index 199437debe6c..fa19410f9b2d 100644 --- a/sw/source/core/uibase/inc/wview.hxx +++ b/sw/source/core/uibase/inc/wview.hxx @@ -33,7 +33,7 @@ public: TYPEINFO_OVERRIDE(); SwWebView(SfxViewFrame* pFrame, SfxViewShell*); - ~SwWebView(); + virtual ~SwWebView(); }; #endif diff --git a/sw/source/core/uibase/inc/zoomctrl.hxx b/sw/source/core/uibase/inc/zoomctrl.hxx index 52193f05970f..9e2031de1072 100644 --- a/sw/source/core/uibase/inc/zoomctrl.hxx +++ b/sw/source/core/uibase/inc/zoomctrl.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwZoomControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SwZoomControl(); + virtual ~SwZoomControl(); }; diff --git a/sw/source/core/uibase/ribbar/workctrl.cxx b/sw/source/core/uibase/ribbar/workctrl.cxx index 20f03c20bed9..7cd02e5bfcb8 100644 --- a/sw/source/core/uibase/ribbar/workctrl.cxx +++ b/sw/source/core/uibase/ribbar/workctrl.cxx @@ -619,7 +619,7 @@ public: Window* pParent, sal_uInt16 nSlot, const Reference< XDispatchProvider >& rDispatchProvider ); - ~SwZoomBox_Impl(); + virtual ~SwZoomBox_Impl(); protected: virtual void Select() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/sidebar/PageColumnControl.hxx b/sw/source/core/uibase/sidebar/PageColumnControl.hxx index 875bea370fd7..3ff4202838df 100644 --- a/sw/source/core/uibase/sidebar/PageColumnControl.hxx +++ b/sw/source/core/uibase/sidebar/PageColumnControl.hxx @@ -44,7 +44,7 @@ public: const sal_uInt16 nColumnType, const bool bLandscape ); - ~PageColumnControl(void); + virtual ~PageColumnControl(void); private: ::svx::sidebar::ValueSetWithTextControl* mpColumnValueSet; diff --git a/sw/source/core/uibase/sidebar/PageMarginControl.hxx b/sw/source/core/uibase/sidebar/PageMarginControl.hxx index f32e8846329c..c1fdb94f638a 100644 --- a/sw/source/core/uibase/sidebar/PageMarginControl.hxx +++ b/sw/source/core/uibase/sidebar/PageMarginControl.hxx @@ -60,7 +60,7 @@ public: const sal_Bool bLandscape, const FieldUnit eFUnit, const SfxMapUnit eUnit ); - ~PageMarginControl(void); + virtual ~PageMarginControl(void); private: ::svx::sidebar::ValueSetWithTextControl* mpMarginValueSet; diff --git a/sw/source/core/uibase/sidebar/PageOrientationControl.hxx b/sw/source/core/uibase/sidebar/PageOrientationControl.hxx index a4cfe4249376..c1927fbb86f1 100644 --- a/sw/source/core/uibase/sidebar/PageOrientationControl.hxx +++ b/sw/source/core/uibase/sidebar/PageOrientationControl.hxx @@ -37,7 +37,7 @@ public: Window* pParent, PagePropertyPanel& rPanel, const sal_Bool bLandscape ); - ~PageOrientationControl(void); + virtual ~PageOrientationControl(void); private: ::svx::sidebar::ValueSetWithTextControl* mpOrientationValueSet; diff --git a/sw/source/core/uibase/sidebar/PageSizeControl.hxx b/sw/source/core/uibase/sidebar/PageSizeControl.hxx index e1f0313a3649..d1e433da719f 100644 --- a/sw/source/core/uibase/sidebar/PageSizeControl.hxx +++ b/sw/source/core/uibase/sidebar/PageSizeControl.hxx @@ -47,7 +47,7 @@ public: const Paper ePaper, const sal_Bool bLandscape, const FieldUnit eFUnit ); - ~PageSizeControl(void); + virtual ~PageSizeControl(void); private: ::svx::sidebar::ValueSetWithTextControl* mpSizeValueSet; diff --git a/sw/source/core/uibase/table/tablepg.hxx b/sw/source/core/uibase/table/tablepg.hxx index 8b5f5a5ef498..3f95844371b6 100644 --- a/sw/source/core/uibase/table/tablepg.hxx +++ b/sw/source/core/uibase/table/tablepg.hxx @@ -130,7 +130,7 @@ class SwTableColumnPage : public SfxTabPage public: SwTableColumnPage( Window* pParent, const SfxItemSet& rSet ); - ~SwTableColumnPage(); + virtual ~SwTableColumnPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE; @@ -178,7 +178,7 @@ class SwTextFlowPage : public SfxTabPage DECL_LINK( HeadLineCBClickHdl, void* p = 0 ); SwTextFlowPage( Window* pParent, const SfxItemSet& rSet ); - ~SwTextFlowPage(); + virtual ~SwTextFlowPage(); public: static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/core/uibase/uno/unomailmerge.cxx b/sw/source/core/uibase/uno/unomailmerge.cxx index b51659449cb5..3131aa0dcb5d 100644 --- a/sw/source/core/uibase/uno/unomailmerge.cxx +++ b/sw/source/core/uibase/uno/unomailmerge.cxx @@ -198,7 +198,7 @@ namespace const OUString& _rTemporaryFile ); protected: - ~DelayedFileDeletion( ); + virtual ~DelayedFileDeletion( ); // XCloseListener virtual void SAL_CALL queryClosing( const EventObject& _rSource, sal_Bool _bGetsOwnership ) throw (util::CloseVetoException, RuntimeException, std::exception) SAL_OVERRIDE; |