From 362d4f0cd4e50111edfae9d30c90602c37ed65a2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 1 Apr 2014 19:18:35 +0200 Subject: 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 --- cui/source/customize/cfg.cxx | 2 +- cui/source/customize/eventdlg.hxx | 2 +- cui/source/customize/macropg_impl.hxx | 2 +- cui/source/dialogs/SpellAttrib.hxx | 6 +++--- cui/source/dialogs/SpellDialog.cxx | 2 +- cui/source/dialogs/colorpicker.cxx | 4 ++-- cui/source/dialogs/commonlingui.hxx | 2 +- cui/source/inc/SpellDialog.hxx | 4 ++-- cui/source/inc/autocdlg.hxx | 8 ++++---- cui/source/inc/backgrnd.hxx | 2 +- cui/source/inc/border.hxx | 2 +- cui/source/inc/cfg.hxx | 18 +++++++++--------- cui/source/inc/cfgutil.hxx | 4 ++-- cui/source/inc/chardlg.hxx | 8 ++++---- cui/source/inc/connect.hxx | 4 ++-- cui/source/inc/cuicharmap.hxx | 4 ++-- cui/source/inc/cuigaldlg.hxx | 8 ++++---- cui/source/inc/cuihyperdlg.hxx | 2 +- cui/source/inc/cuioptgenrl.hxx | 2 +- cui/source/inc/cuitabarea.hxx | 6 +++--- cui/source/inc/cuitabline.hxx | 4 ++-- cui/source/inc/dbregister.hxx | 2 +- cui/source/inc/dlgname.hxx | 2 +- cui/source/inc/hangulhanjadlg.hxx | 4 ++-- cui/source/inc/hldocntp.hxx | 2 +- cui/source/inc/hldoctp.hxx | 2 +- cui/source/inc/hlinettp.hxx | 2 +- cui/source/inc/hlmailtp.hxx | 2 +- cui/source/inc/hlmarkwn.hxx | 2 +- cui/source/inc/hltpbase.hxx | 2 +- cui/source/inc/iconcdlg.hxx | 2 +- cui/source/inc/insdlg.hxx | 2 +- cui/source/inc/linkdlg.hxx | 2 +- cui/source/inc/measure.hxx | 2 +- cui/source/inc/multipat.hxx | 4 ++-- cui/source/inc/numfmt.hxx | 2 +- cui/source/inc/numpages.hxx | 12 ++++++------ cui/source/inc/optdict.hxx | 2 +- cui/source/inc/optpath.hxx | 2 +- cui/source/inc/paragrph.hxx | 2 +- cui/source/inc/pastedlg.hxx | 2 +- cui/source/inc/postdlg.hxx | 2 +- cui/source/inc/radiobtnbox.hxx | 2 +- cui/source/inc/scriptdlg.hxx | 6 +++--- cui/source/inc/selector.hxx | 6 +++--- cui/source/inc/swpossizetabpage.hxx | 2 +- cui/source/inc/tabstpge.hxx | 2 +- cui/source/inc/textanim.hxx | 4 ++-- cui/source/inc/textattr.hxx | 2 +- cui/source/inc/thesdlg.hxx | 2 +- cui/source/inc/transfrm.hxx | 2 +- cui/source/inc/treeopt.hxx | 2 +- cui/source/inc/zoom.hxx | 2 +- cui/source/options/certpath.hxx | 2 +- cui/source/options/fontsubs.hxx | 2 +- cui/source/options/optbasic.hxx | 2 +- cui/source/options/optcolor.cxx | 4 ++-- cui/source/options/optcolor.hxx | 2 +- cui/source/options/optgdlg.hxx | 6 +++--- cui/source/options/optinet2.hxx | 2 +- cui/source/options/optjava.hxx | 6 +++--- cui/source/options/optjsearch.hxx | 2 +- cui/source/options/optmemory.hxx | 2 +- cui/source/options/optupdt.hxx | 2 +- cui/source/options/personalization.hxx | 2 +- cui/source/options/securityoptions.hxx | 2 +- cui/source/options/webconninfo.hxx | 2 +- cui/source/tabpages/backgrnd.cxx | 2 +- 68 files changed, 112 insertions(+), 112 deletions(-) (limited to 'cui/source') diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index e65a4fbe019c..20ea893bb3a4 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1320,7 +1320,7 @@ public: : SvLBoxString( pEntry, 0, rStr ) { } - ~PopupPainter() { } + virtual ~PopupPainter() { } virtual void Paint( const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE diff --git a/cui/source/customize/eventdlg.hxx b/cui/source/customize/eventdlg.hxx index 0df1b1ebdd63..24321a149431 100644 --- a/cui/source/customize/eventdlg.hxx +++ b/cui/source/customize/eventdlg.hxx @@ -48,7 +48,7 @@ public: /// this is only to let callers know that there is a LateInit which *must* be called struct EarlyInit { }; SvxEventConfigPage( Window *pParent, const SfxItemSet& rSet, EarlyInit ); - ~SvxEventConfigPage(); + virtual ~SvxEventConfigPage(); void LateInit( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame ); diff --git a/cui/source/customize/macropg_impl.hxx b/cui/source/customize/macropg_impl.hxx index 7d31ebd73ac9..1a2d87c4d17f 100644 --- a/cui/source/customize/macropg_impl.hxx +++ b/cui/source/customize/macropg_impl.hxx @@ -52,7 +52,7 @@ private: public: AssignComponentDialog( Window * pParent, const OUString& rURL ); - ~AssignComponentDialog(); + virtual ~AssignComponentDialog(); OUString getURL( void ) const { return maURL; } diff --git a/cui/source/dialogs/SpellAttrib.hxx b/cui/source/dialogs/SpellAttrib.hxx index 72bc32878062..43a60f394b0d 100644 --- a/cui/source/dialogs/SpellAttrib.hxx +++ b/cui/source/dialogs/SpellAttrib.hxx @@ -107,7 +107,7 @@ private: public: SpellErrorAttrib( const SpellErrorDescription& ); SpellErrorAttrib( const SpellErrorAttrib& rAttr ); - ~SpellErrorAttrib(); + virtual ~SpellErrorAttrib(); const SpellErrorDescription& GetErrorDescription() const { return m_aSpellErrorDescription; } @@ -128,7 +128,7 @@ class SpellLanguageAttrib : public TextAttrib public: SpellLanguageAttrib(LanguageType eLanguage); SpellLanguageAttrib( const SpellLanguageAttrib& rAttr ); - ~SpellLanguageAttrib(); + virtual ~SpellLanguageAttrib(); LanguageType GetLanguage() const {return m_eLanguage;} void SetLanguage(LanguageType eLang) @@ -151,7 +151,7 @@ class SpellBackgroundAttrib : public TextAttrib public: SpellBackgroundAttrib(const Color& rCol); SpellBackgroundAttrib( const SpellBackgroundAttrib& rAttr ); - ~SpellBackgroundAttrib(); + virtual ~SpellBackgroundAttrib(); const Color& GetColor() const { return m_aBackgroundColor;} void SetColor( const Color& rNewCol ){m_aBackgroundColor = rNewCol;} diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 26b5909d5779..94e5f2075e42 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -120,7 +120,7 @@ public: m_nOffset(0) {} - ~SpellUndoAction_Impl(); + virtual ~SpellUndoAction_Impl(); virtual void Undo() SAL_OVERRIDE; virtual sal_uInt16 GetId() const SAL_OVERRIDE; diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index 8ad4cc286d9d..a86c92b2e6e6 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -295,7 +295,7 @@ class ColorFieldControl : public Control { public: ColorFieldControl( Window* pParent, const ResId& rResId ); - ~ColorFieldControl(); + virtual ~ColorFieldControl(); virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -668,7 +668,7 @@ class ColorSliderControl : public Control { public: ColorSliderControl( Window* pParent, const ResId& rResId ); - ~ColorSliderControl(); + virtual ~ColorSliderControl(); virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/cui/source/dialogs/commonlingui.hxx b/cui/source/dialogs/commonlingui.hxx index 00be5f74fb15..5ad64b05b200 100644 --- a/cui/source/dialogs/commonlingui.hxx +++ b/cui/source/dialogs/commonlingui.hxx @@ -39,7 +39,7 @@ private: public: SvxClickInfoCtr( Window* pParent, const ResId& rResId ); - ~SvxClickInfoCtr(); + virtual ~SvxClickInfoCtr(); virtual void SetText( const OUString& rStr ) SAL_OVERRIDE; virtual OUString GetText() const SAL_OVERRIDE; diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx index 60268b705943..f340cfd8f150 100644 --- a/cui/source/inc/SpellDialog.hxx +++ b/cui/source/inc/SpellDialog.hxx @@ -76,7 +76,7 @@ protected: public: SentenceEditWindow_Impl(Window* pParent, WinBits nBits); - ~SentenceEditWindow_Impl(); + virtual ~SentenceEditWindow_Impl(); void SetModifyHdl(const Link& rLink) SAL_OVERRIDE { m_aModifyLink = rLink;} @@ -219,7 +219,7 @@ public: svx::SpellDialogChildWindow* pChildWindow, Window * pParent, SfxBindings* pBindings); - ~SpellDialog(); + virtual ~SpellDialog(); void SetLanguage( sal_uInt16 nLang ); virtual bool Close() SAL_OVERRIDE; diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index cf462facaca6..a74f09effef3 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -167,7 +167,7 @@ class OfaSwAutoFmtOptionsPage : public SfxTabPage OfaSwAutoFmtOptionsPage( Window* pParent, const SfxItemSet& rSet ); - ~OfaSwAutoFmtOptionsPage(); + virtual ~OfaSwAutoFmtOptionsPage(); public: static SfxTabPage* Create( Window* pParent, @@ -261,7 +261,7 @@ private: void setTabs(); public: OfaAutocorrReplacePage( Window* pParent, const SfxItemSet& rSet ); - ~OfaAutocorrReplacePage(); + virtual ~OfaAutocorrReplacePage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -319,7 +319,7 @@ private: LanguageType eNewLanguage); public: OfaAutocorrExceptPage( Window* pParent, const SfxItemSet& rSet ); - ~OfaAutocorrExceptPage(); + virtual ~OfaAutocorrExceptPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -385,7 +385,7 @@ private: OfaQuoteTabPage( Window* pParent, const SfxItemSet& rSet ); public: - ~OfaQuoteTabPage(); + virtual ~OfaQuoteTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/cui/source/inc/backgrnd.hxx b/cui/source/inc/backgrnd.hxx index bebea499e75f..23293c544453 100644 --- a/cui/source/inc/backgrnd.hxx +++ b/cui/source/inc/backgrnd.hxx @@ -68,7 +68,7 @@ protected: private: SvxBackgroundTabPage( Window* pParent, const SfxItemSet& rCoreSet ); - ~SvxBackgroundTabPage(); + virtual ~SvxBackgroundTabPage(); VclContainer* m_pAsGrid; FixedText* m_pSelectTxt; diff --git a/cui/source/inc/border.hxx b/cui/source/inc/border.hxx index 76b19281280e..4820c3e96c5c 100644 --- a/cui/source/inc/border.hxx +++ b/cui/source/inc/border.hxx @@ -58,7 +58,7 @@ protected: private: SvxBorderTabPage( Window* pParent, const SfxItemSet& rCoreAttrs ); - ~SvxBorderTabPage(); + virtual ~SvxBorderTabPage(); // Controls ValueSet* m_pWndPresets; diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 0b17e126368e..3cda9e4c623c 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -104,7 +104,7 @@ public: const OUString& aModuleId, bool docConfig ); - ~SaveInData() {} + virtual ~SaveInData() {} bool PersistChanges( const com::sun::star::uno::Reference @@ -198,7 +198,7 @@ public: const OUString& aModuleId, bool docConfig ); - ~MenuSaveInData(); + virtual ~MenuSaveInData(); /// methods inherited from SaveInData SvxEntries* GetEntries() SAL_OVERRIDE; @@ -322,7 +322,7 @@ protected: public: SvxMenuEntriesListBox(Window*, SvxConfigPage*); - ~SvxMenuEntriesListBox(); + virtual ~SvxMenuEntriesListBox(); virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) SAL_OVERRIDE; @@ -482,7 +482,7 @@ private: public: SvxMenuConfigPage( Window *pParent, const SfxItemSet& rItemSet ); - ~SvxMenuConfigPage(); + virtual ~SvxMenuConfigPage(); SaveInData* CreateSaveInData( const ::com::sun::star::uno::Reference < @@ -516,7 +516,7 @@ public: Window*, SvxEntries*, SvxConfigEntry*, bool bCreateMenu = false ); - ~SvxMainMenuOrganizerDialog (); + virtual ~SvxMainMenuOrganizerDialog (); SvxEntries* GetEntries(); void SetEntries( SvxEntries* ); @@ -543,7 +543,7 @@ protected: public: SvxToolbarEntriesListBox(Window* pParent, SvxToolbarConfigPage* pPg); - ~SvxToolbarEntriesListBox(); + virtual ~SvxToolbarEntriesListBox(); void SetChangedListener( const Link& aChangedListener ) { m_aChangedListener = aChangedListener; } @@ -583,7 +583,7 @@ private: public: SvxToolbarConfigPage( Window *pParent, const SfxItemSet& rItemSet ); - ~SvxToolbarConfigPage(); + virtual ~SvxToolbarConfigPage(); SvTreeListEntry* AddFunction( SvTreeListEntry* pTarget = NULL, bool bFront = false, @@ -632,7 +632,7 @@ public: const OUString& aModuleId, bool docConfig ); - ~ToolbarSaveInData(); + virtual ~ToolbarSaveInData(); void CreateToolbar( SvxConfigEntry* pToolbar ); void RestoreToolbar( SvxConfigEntry* pToolbar ); @@ -737,7 +737,7 @@ public: ::com::sun::star::ui::XImageManager >& rXParentImageManager ); - ~SvxIconSelectorDialog(); + virtual ~SvxIconSelectorDialog(); ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > GetSelectedIcon(); diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index 2a993cfc2cfa..60010ffcd993 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -112,7 +112,7 @@ class SfxConfigFunctionListBox : public SvTreeListBox public: SfxConfigFunctionListBox(Window*, WinBits nStyle); - ~SfxConfigFunctionListBox(); + virtual ~SfxConfigFunctionListBox(); void ClearAll(); using Window::GetHelpText; @@ -164,7 +164,7 @@ protected: public: SfxConfigGroupListBox(Window* pParent, WinBits nStyle); - ~SfxConfigGroupListBox(); + virtual ~SfxConfigGroupListBox(); void ClearAll(); void Init(const css::uno::Reference< css::uno::XComponentContext >& xContext, diff --git a/cui/source/inc/chardlg.hxx b/cui/source/inc/chardlg.hxx index db0136976981..cc2c6a880433 100644 --- a/cui/source/inc/chardlg.hxx +++ b/cui/source/inc/chardlg.hxx @@ -150,7 +150,7 @@ public: virtual int DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE; public: - ~SvxCharNamePage(); + virtual ~SvxCharNamePage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); static sal_uInt16* GetRanges(); @@ -211,7 +211,7 @@ private: OUString m_aTransparentColorName; SvxCharEffectsPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxCharEffectsPage(); + virtual ~SvxCharEffectsPage(); void Initialize(); void UpdatePreview_Impl(); @@ -285,7 +285,7 @@ private: sal_uInt8 m_nSubProp; SvxCharPositionPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxCharPositionPage(); + virtual ~SvxCharPositionPage(); void Initialize(); void UpdatePreview_Impl( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc ); @@ -335,7 +335,7 @@ private: sal_uInt16 m_nEndBracketPosition; SvxCharTwoLinesPage(Window* pParent, const SfxItemSet& rSet); - ~SvxCharTwoLinesPage(); + virtual ~SvxCharTwoLinesPage(); void UpdatePreview_Impl(); void Initialize(); diff --git a/cui/source/inc/connect.hxx b/cui/source/inc/connect.hxx index 16b2ddbd05a7..f15f409c98a8 100644 --- a/cui/source/inc/connect.hxx +++ b/cui/source/inc/connect.hxx @@ -61,7 +61,7 @@ private: public: SvxConnectionPage( Window* pWindow, const SfxItemSet& rInAttrs ); - ~SvxConnectionPage(); + virtual ~SvxConnectionPage(); static SfxTabPage* Create( Window*, const SfxItemSet& ); static sal_uInt16* GetRanges(); @@ -81,7 +81,7 @@ class SvxConnectionDialog : public SfxSingleTabDialog public: SvxConnectionDialog( Window* pParent, const SfxItemSet& rAttr, const SdrView* pView ); - ~SvxConnectionDialog(); + virtual ~SvxConnectionDialog(); }; #endif // INCLUDED_CUI_SOURCE_INC_CONNECT_HXX diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx index fa6141beb831..2ee45ffb0e6e 100644 --- a/cui/source/inc/cuicharmap.hxx +++ b/cui/source/inc/cuicharmap.hxx @@ -41,7 +41,7 @@ class SvxShowText : public Control public: SvxShowText( Window* pParent, sal_Bool bCenter = sal_False ); - ~SvxShowText(); + virtual ~SvxShowText(); void SetFont( const Font& rFont ); void SetText( const OUString& rText ) SAL_OVERRIDE; @@ -98,7 +98,7 @@ private: public: SvxCharacterMap( Window* pParent, sal_Bool bOne=sal_True, const SfxItemSet* pSet=0 ); - ~SvxCharacterMap(); + virtual ~SvxCharacterMap(); void DisableFontSelection(); diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx index fbff91315809..6c3b1eacc30a 100644 --- a/cui/source/inc/cuigaldlg.hxx +++ b/cui/source/inc/cuigaldlg.hxx @@ -92,7 +92,7 @@ private: public: SearchProgress( Window* pParent, const INetURLObject& rStartURL ); - ~SearchProgress() {}; + virtual ~SearchProgress() {}; DECL_LINK( CleanUpHdl, void* ); @@ -160,7 +160,7 @@ private: public: ActualizeProgress( Window* pWindow, GalleryTheme* pThm ); - ~ActualizeProgress() {}; + virtual ~ActualizeProgress() {}; virtual short Execute() SAL_OVERRIDE; }; @@ -220,7 +220,7 @@ private: public: TPGalleryThemeGeneral( Window* pParent, const SfxItemSet& rSet ); - ~TPGalleryThemeGeneral() {} + virtual ~TPGalleryThemeGeneral() {} void SetXChgData( ExchangeData* pData ); const ExchangeData* GetXChgData() const { return pData; } @@ -285,7 +285,7 @@ class TPGalleryThemeProperties : public SfxTabPage public: TPGalleryThemeProperties( Window* pWindow, const SfxItemSet& rSet ); - ~TPGalleryThemeProperties(); + virtual ~TPGalleryThemeProperties(); void SetXChgData( ExchangeData* pData ); const ExchangeData* GetXChgData() const { return pData; } diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx index 295b8aec444f..0f0a512d28c6 100644 --- a/cui/source/inc/cuihyperdlg.hxx +++ b/cui/source/inc/cuihyperdlg.hxx @@ -77,7 +77,7 @@ protected: public: SvxHpLinkDlg (Window* pParent, SfxBindings* pBindings ); - ~SvxHpLinkDlg (); + virtual ~SvxHpLinkDlg (); virtual void PageCreated( sal_uInt16 nId, IconChoicePage& rPage ) SAL_OVERRIDE; diff --git a/cui/source/inc/cuioptgenrl.hxx b/cui/source/inc/cuioptgenrl.hxx index b0b8cd8d3d94..09f90c8df7b2 100644 --- a/cui/source/inc/cuioptgenrl.hxx +++ b/cui/source/inc/cuioptgenrl.hxx @@ -65,7 +65,7 @@ protected: public: SvxGeneralTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxGeneralTabPage (); + virtual ~SvxGeneralTabPage (); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index 32c82f10fe2c..34e936629405 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -76,7 +76,7 @@ protected: public: SvxAreaTabDialog( Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel, bool bShadow ); - ~SvxAreaTabDialog(); + virtual ~SvxAreaTabDialog(); void SetNewColorList( XColorListRef pColTab ) { mpNewColorList = pColTab; } @@ -595,7 +595,7 @@ private: public: SvxBitmapTabPage( Window* pParent, const SfxItemSet& rInAttrs ); - ~SvxBitmapTabPage(); + virtual ~SvxBitmapTabPage(); void Construct(); @@ -730,7 +730,7 @@ private: void UpdateModified(); public: SvxColorTabPage( Window* pParent, const SfxItemSet& rInAttrs ); - ~SvxColorTabPage(); + virtual ~SvxColorTabPage(); void Construct(); diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx index 0a8a09b8279c..c0dde3f7f0e4 100644 --- a/cui/source/inc/cuitabline.hxx +++ b/cui/source/inc/cuitabline.hxx @@ -64,7 +64,7 @@ public: SvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel, const SdrObject* pObj = NULL, sal_Bool bHasObj = sal_True ); - ~SvxLineTabDialog(); + virtual ~SvxLineTabDialog(); void SetNewDashList( XDashListRef pInLst) { pNewDashList = pInLst; } @@ -371,7 +371,7 @@ private: public: SvxLineEndDefTabPage( Window* pParent, const SfxItemSet& rInAttrs ); - ~SvxLineEndDefTabPage(); + virtual ~SvxLineEndDefTabPage(); void Construct(); diff --git a/cui/source/inc/dbregister.hxx b/cui/source/inc/dbregister.hxx index bb79b8971977..07649510a3f2 100644 --- a/cui/source/inc/dbregister.hxx +++ b/cui/source/inc/dbregister.hxx @@ -129,7 +129,7 @@ namespace svx { public: DatabaseRegistrationDialog( Window* pParent, const SfxItemSet& rAttr ); - ~DatabaseRegistrationDialog(); + virtual ~DatabaseRegistrationDialog(); virtual short Execute() SAL_OVERRIDE; }; diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx index c5ce6274f346..a4a306f564f1 100644 --- a/cui/source/inc/dlgname.hxx +++ b/cui/source/inc/dlgname.hxx @@ -139,7 +139,7 @@ private: public: SvxMessDialog( Window* pWindow, const OUString& rText, const OUString& rDesc, Image* pImg = NULL ); - ~SvxMessDialog(); + virtual ~SvxMessDialog(); void SetButtonText( sal_uInt16 nBtnId, const OUString& rNewTxt ); }; diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx index 46b888740e03..ce9e25586b55 100644 --- a/cui/source/inc/hangulhanjadlg.hxx +++ b/cui/source/inc/hangulhanjadlg.hxx @@ -140,7 +140,7 @@ namespace svx HangulHanjaConversionDialog( Window* _pParent, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryDirection ); - ~HangulHanjaConversionDialog( ); + virtual ~HangulHanjaConversionDialog( ); public: void SetOptionsChangedHdl( const Link& _rHdl ); @@ -321,7 +321,7 @@ namespace svx public: HangulHanjaEditDictDialog( Window* _pParent, HHDictList& _rDictList, sal_uInt32 _nSelDict ); - ~HangulHanjaEditDictDialog(); + virtual ~HangulHanjaEditDictDialog(); void UpdateScrollbar( void ); }; diff --git a/cui/source/inc/hldocntp.hxx b/cui/source/inc/hldocntp.hxx index c84c4eb5aba0..4a69291715a2 100644 --- a/cui/source/inc/hldocntp.hxx +++ b/cui/source/inc/hldocntp.hxx @@ -54,7 +54,7 @@ protected: public: SvxHyperlinkNewDocTp ( Window *pParent, const SfxItemSet& rItemSet); - ~SvxHyperlinkNewDocTp (); + virtual ~SvxHyperlinkNewDocTp (); static IconChoicePage* Create( Window* pWindow, const SfxItemSet& rItemSet ); diff --git a/cui/source/inc/hldoctp.hxx b/cui/source/inc/hldoctp.hxx index fb6bd3220ddd..f580818f339b 100644 --- a/cui/source/inc/hldoctp.hxx +++ b/cui/source/inc/hldoctp.hxx @@ -72,7 +72,7 @@ protected: public: SvxHyperlinkDocTp ( Window *pParent, const SfxItemSet& rItemSet); - ~SvxHyperlinkDocTp (); + virtual ~SvxHyperlinkDocTp (); static IconChoicePage* Create( Window* pWindow, const SfxItemSet& rItemSet ); diff --git a/cui/source/inc/hlinettp.hxx b/cui/source/inc/hlinettp.hxx index a834b1e75f6c..153f83e21508 100644 --- a/cui/source/inc/hlinettp.hxx +++ b/cui/source/inc/hlinettp.hxx @@ -80,7 +80,7 @@ protected: public: SvxHyperlinkInternetTp ( Window *pParent, const SfxItemSet& rItemSet); - ~SvxHyperlinkInternetTp (); + virtual ~SvxHyperlinkInternetTp (); static IconChoicePage* Create( Window* pWindow, const SfxItemSet& rItemSet ); diff --git a/cui/source/inc/hlmailtp.hxx b/cui/source/inc/hlmailtp.hxx index cb89fba23be7..2b1fd7b75302 100644 --- a/cui/source/inc/hlmailtp.hxx +++ b/cui/source/inc/hlmailtp.hxx @@ -58,7 +58,7 @@ protected: public: SvxHyperlinkMailTp ( Window *pParent, const SfxItemSet& rItemSet); - ~SvxHyperlinkMailTp (); + virtual ~SvxHyperlinkMailTp (); static IconChoicePage* Create( Window* pWindow, const SfxItemSet& rItemSet ); diff --git a/cui/source/inc/hlmarkwn.hxx b/cui/source/inc/hlmarkwn.hxx index 2844ed4361a8..a560585ada0c 100644 --- a/cui/source/inc/hlmarkwn.hxx +++ b/cui/source/inc/hlmarkwn.hxx @@ -85,7 +85,7 @@ protected: public: SvxHlinkDlgMarkWnd (SvxHyperlinkTabPageBase *pParent); - ~SvxHlinkDlgMarkWnd(); + virtual ~SvxHlinkDlgMarkWnd(); sal_Bool MoveTo ( Point aNewPos ); void RefreshTree(const OUString& aStrURL); diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx index 4e83a658202b..2b0f8823f76c 100644 --- a/cui/source/inc/hltpbase.hxx +++ b/cui/source/inc/hltpbase.hxx @@ -51,7 +51,7 @@ class SvxFramesComboBox : public ComboBox { public: SvxFramesComboBox (Window* pParent, const ResId& rResId, SfxDispatcher* pDispatch); - ~SvxFramesComboBox (); + virtual ~SvxFramesComboBox (); }; /// ComboBox-Control for URL's with History and Autocompletion diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index 47dea0f577fc..729acf4c4502 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -190,7 +190,7 @@ public : // the IconChoiceCtrl's could also be set in the Ctor IconChoiceDialog ( Window* pParent, const ResId &rResId, const EIconChoicePos ePos = PosLeft, const SfxItemSet * pItemSet = 0 ); - ~IconChoiceDialog (); + virtual ~IconChoiceDialog (); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx index b5f7244d5eef..a612bbc80f5c 100644 --- a/cui/source/inc/insdlg.hxx +++ b/cui/source/inc/insdlg.hxx @@ -108,7 +108,7 @@ private: public: SvInsertPlugInDialog(Window* pParent, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage); - ~SvInsertPlugInDialog(); + virtual ~SvInsertPlugInDialog(); virtual short Execute() SAL_OVERRIDE; }; diff --git a/cui/source/inc/linkdlg.hxx b/cui/source/inc/linkdlg.hxx index 889fb6a3e6f1..538a00793ffb 100644 --- a/cui/source/inc/linkdlg.hxx +++ b/cui/source/inc/linkdlg.hxx @@ -113,7 +113,7 @@ class SvBaseLinksDlg : public ModalDialog public: SvBaseLinksDlg( Window * pParent, sfx2::LinkManager*, sal_Bool bHtml = sal_False ); - ~SvBaseLinksDlg(); + virtual ~SvBaseLinksDlg(); void SetActLink( sfx2::SvBaseLink * pLink ); }; diff --git a/cui/source/inc/measure.hxx b/cui/source/inc/measure.hxx index e17a5e060d48..7aea469a2fe7 100644 --- a/cui/source/inc/measure.hxx +++ b/cui/source/inc/measure.hxx @@ -65,7 +65,7 @@ private: public: SvxMeasurePage( Window* pWindow, const SfxItemSet& rInAttrs ); - ~SvxMeasurePage(); + virtual ~SvxMeasurePage(); static SfxTabPage* Create( Window*, const SfxItemSet& ); static sal_uInt16* GetRanges(); diff --git a/cui/source/inc/multipat.hxx b/cui/source/inc/multipat.hxx index 788ecb5cf506..095ce1ad3fe5 100644 --- a/cui/source/inc/multipat.hxx +++ b/cui/source/inc/multipat.hxx @@ -50,7 +50,7 @@ private: public: SvxMultiPathDialog(Window* pParent); - ~SvxMultiPathDialog(); + virtual ~SvxMultiPathDialog(); OUString GetPath() const; void SetPath( const OUString& rPath ); @@ -69,7 +69,7 @@ private: public: SvxPathSelectDialog(Window* pParent); - ~SvxPathSelectDialog(); + virtual ~SvxPathSelectDialog(); OUString GetPath() const; void SetPath( const OUString& rPath ); diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx index 14370f7d7605..5955bb4bc074 100644 --- a/cui/source/inc/numfmt.hxx +++ b/cui/source/inc/numfmt.hxx @@ -68,7 +68,7 @@ class SvxNumberFormatTabPage : public SfxTabPage using SfxTabPage::DeactivatePage; public: - ~SvxNumberFormatTabPage(); + virtual ~SvxNumberFormatTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index 5ed30f272b9c..2c1d7c899ac1 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -108,7 +108,7 @@ class SvxSingleNumPickTabPage : public SfxTabPage public: SvxSingleNumPickTabPage(Window* pParent, const SfxItemSet& rSet); - ~SvxSingleNumPickTabPage(); + virtual ~SvxSingleNumPickTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -144,7 +144,7 @@ class SvxBulletPickTabPage : public SfxTabPage public: SvxBulletPickTabPage(Window* pParent, const SfxItemSet& rSet); - ~SvxBulletPickTabPage(); + virtual ~SvxBulletPickTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -187,7 +187,7 @@ class SvxNumPickTabPage : public SfxTabPage public: SvxNumPickTabPage(Window* pParent, const SfxItemSet& rSet); - ~SvxNumPickTabPage(); + virtual ~SvxNumPickTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -232,7 +232,7 @@ class SvxBitmapPickTabPage : public SfxTabPage public: SvxBitmapPickTabPage(Window* pParent, const SfxItemSet& rSet); - ~SvxBitmapPickTabPage(); + virtual ~SvxBitmapPickTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -344,7 +344,7 @@ class SvxNumOptionsTabPage : public SfxTabPage public: SvxNumOptionsTabPage(Window* pParent, const SfxItemSet& rSet); - ~SvxNumOptionsTabPage(); + virtual ~SvxNumOptionsTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -447,7 +447,7 @@ class SvxNumPositionTabPage : public SfxTabPage public: SvxNumPositionTabPage(Window* pParent, const SfxItemSet& rSet); - ~SvxNumPositionTabPage(); + virtual ~SvxNumPositionTabPage(); virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE; virtual int DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE; diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx index b6319aaff393..24b8c896e060 100644 --- a/cui/source/inc/optdict.hxx +++ b/cui/source/inc/optdict.hxx @@ -152,7 +152,7 @@ public: const OUString& rName, ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellChecker1> &xSpl ); - ~SvxEditDictionaryDialog(); + virtual ~SvxEditDictionaryDialog(); sal_uInt16 GetSelectedDict() {return pAllDictsLB->GetSelectEntryPos();} }; diff --git a/cui/source/inc/optpath.hxx b/cui/source/inc/optpath.hxx index 30dc82d6b988..15f276eca52a 100644 --- a/cui/source/inc/optpath.hxx +++ b/cui/source/inc/optpath.hxx @@ -70,7 +70,7 @@ private: public: SvxPathTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxPathTabPage(); + virtual ~SvxPathTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); static sal_uInt16* GetRanges(); diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx index 5b384a18b553..ca4c06e87a7d 100644 --- a/cui/source/inc/paragrph.hxx +++ b/cui/source/inc/paragrph.hxx @@ -268,7 +268,7 @@ class SvxAsianTabPage : public SfxTabPage DECL_LINK( ClickHdl_Impl, CheckBox* ); public: - ~SvxAsianTabPage(); + virtual ~SvxAsianTabPage(); static SfxTabPage* Create( Window* pParent, diff --git a/cui/source/inc/pastedlg.hxx b/cui/source/inc/pastedlg.hxx index bd2a7747b8bf..a667ae5c914a 100644 --- a/cui/source/inc/pastedlg.hxx +++ b/cui/source/inc/pastedlg.hxx @@ -55,7 +55,7 @@ class SvPasteObjectDialog : public ModalDialog public: SvPasteObjectDialog( Window* pParent ); - ~SvPasteObjectDialog(); + virtual ~SvPasteObjectDialog(); void Insert( SotFormatStringId nFormat, const OUString & rFormatName ); void SetObjName( const SvGlobalName & rClass, const OUString & rObjName ); diff --git a/cui/source/inc/postdlg.hxx b/cui/source/inc/postdlg.hxx index 7b2d623e2041..046beac90282 100644 --- a/cui/source/inc/postdlg.hxx +++ b/cui/source/inc/postdlg.hxx @@ -45,7 +45,7 @@ class SvxPostItDialog : public SfxModalDialog public: SvxPostItDialog(Window* pParent, const SfxItemSet& rCoreSet, bool bPrevNext = false); - ~SvxPostItDialog(); + virtual ~SvxPostItDialog(); static sal_uInt16* GetRanges(); const SfxItemSet* GetOutputItemSet() const { return pOutSet; } diff --git a/cui/source/inc/radiobtnbox.hxx b/cui/source/inc/radiobtnbox.hxx index 0ea9b5470e43..ad81283bf4a7 100644 --- a/cui/source/inc/radiobtnbox.hxx +++ b/cui/source/inc/radiobtnbox.hxx @@ -39,7 +39,7 @@ protected: public: SvxRadioButtonListBox(SvSimpleTableContainer& rParent, WinBits nBits); - ~SvxRadioButtonListBox(); + virtual ~SvxRadioButtonListBox(); void HandleEntryChecked( SvTreeListEntry* _pEntry ); diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index 03d5dfe5ae2f..8e46d945ced0 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -76,7 +76,7 @@ public: void RequestSubEntries( SvTreeListEntry* pRootEntry, ::com::sun::star::uno::Reference< ::com::sun::star::script::browse::XBrowseNode >& node, ::com::sun::star::uno::Reference< com::sun::star::frame::XModel>& model ); SFTreeListBox(Window* pParent); - ~SFTreeListBox(); + virtual ~SFTreeListBox(); void ExpandAllTrees(); @@ -178,7 +178,7 @@ public: // prob need another arg in the ctor // to specify the language or provider SvxScriptOrgDialog( Window* pParent, const OUString& language ); - ~SvxScriptOrgDialog(); + virtual ~SvxScriptOrgDialog(); virtual short Execute() SAL_OVERRIDE; @@ -197,7 +197,7 @@ public: SvxScriptErrorDialog( Window* parent, ::com::sun::star::uno::Any aException ); - ~SvxScriptErrorDialog(); + virtual ~SvxScriptErrorDialog(); short Execute() SAL_OVERRIDE; }; diff --git a/cui/source/inc/selector.hxx b/cui/source/inc/selector.hxx index 01cc6d87496f..c2ba86fb2ddd 100644 --- a/cui/source/inc/selector.hxx +++ b/cui/source/inc/selector.hxx @@ -101,7 +101,7 @@ friend class SvxConfigGroupListBox; public: SvxConfigFunctionListBox(Window* pParent, WinBits nStyle); - ~SvxConfigFunctionListBox(); + virtual ~SvxConfigFunctionListBox(); void ClearAll(); OUString GetHelpText( SvTreeListEntry *pEntry ); using Window::GetHelpText; @@ -161,7 +161,7 @@ protected: public: SvxConfigGroupListBox(Window* pParent, WinBits nStyle); - ~SvxConfigGroupListBox(); + virtual ~SvxConfigGroupListBox(); void Init(bool bShowSlots, const ::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame >& xFrame); @@ -204,7 +204,7 @@ public: < ::com::sun::star::frame::XFrame >& xFrame = 0 ); - ~SvxScriptSelectorDialog ( ); + virtual ~SvxScriptSelectorDialog ( ); void SetAddHdl( const Link& rLink ) { m_aAddHdl = rLink; } const Link& GetAddHdl() const { return m_aAddHdl; } diff --git a/cui/source/inc/swpossizetabpage.hxx b/cui/source/inc/swpossizetabpage.hxx index 7b6379794d02..176ad2222300 100644 --- a/cui/source/inc/swpossizetabpage.hxx +++ b/cui/source/inc/swpossizetabpage.hxx @@ -123,7 +123,7 @@ class SvxSwPosSizeTabPage : public SfxTabPage public: SvxSwPosSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs ); - ~SvxSwPosSizeTabPage(); + virtual ~SvxSwPosSizeTabPage(); static SfxTabPage* Create( Window*, const SfxItemSet& ); static sal_uInt16* GetRanges(); diff --git a/cui/source/inc/tabstpge.hxx b/cui/source/inc/tabstpge.hxx index 18707784b374..9493c5be4697 100644 --- a/cui/source/inc/tabstpge.hxx +++ b/cui/source/inc/tabstpge.hxx @@ -48,7 +48,7 @@ class SvxTabulatorTabPage : public SfxTabPage using TabPage::DeactivatePage; public: - ~SvxTabulatorTabPage(); + virtual ~SvxTabulatorTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); static sal_uInt16* GetRanges(); diff --git a/cui/source/inc/textanim.hxx b/cui/source/inc/textanim.hxx index c41f243dfc9d..8ff4d3a63bab 100644 --- a/cui/source/inc/textanim.hxx +++ b/cui/source/inc/textanim.hxx @@ -74,7 +74,7 @@ private: public: SvxTextAnimationPage( Window* pWindow, const SfxItemSet& rInAttrs ); - ~SvxTextAnimationPage(); + virtual ~SvxTextAnimationPage(); static SfxTabPage* Create( Window*, const SfxItemSet& ); static sal_uInt16* GetRanges(); @@ -103,7 +103,7 @@ public: SvxTextTabDialog( Window* pParent, const SfxItemSet* pAttr, const SdrView* pView ); - ~SvxTextTabDialog() {}; + virtual ~SvxTextTabDialog() {}; }; diff --git a/cui/source/inc/textattr.hxx b/cui/source/inc/textattr.hxx index aafdaa41febd..8381c93f8179 100644 --- a/cui/source/inc/textattr.hxx +++ b/cui/source/inc/textattr.hxx @@ -75,7 +75,7 @@ private: public: SvxTextAttrPage( Window* pWindow, const SfxItemSet& rInAttrs ); - ~SvxTextAttrPage(); + virtual ~SvxTextAttrPage(); static SfxTabPage* Create( Window*, const SfxItemSet& ); static sal_uInt16* GetRanges(); diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx index 16a9801f924b..b6efa28a67a4 100644 --- a/cui/source/inc/thesdlg.hxx +++ b/cui/source/inc/thesdlg.hxx @@ -162,7 +162,7 @@ public: SvxThesaurusDialog( Window* pParent, css::uno::Reference< css::linguistic2::XThesaurus > xThesaurus, const OUString &rWord, LanguageType nLanguage ); - ~SvxThesaurusDialog(); + virtual ~SvxThesaurusDialog(); void SetWindowTitle( LanguageType nLanguage ); OUString GetWord(); diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index a2df27ec97ef..8ba9af123695 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -63,7 +63,7 @@ public: SvxTransformTabDialog( Window* pParent, const SfxItemSet* pAttr, const SdrView* pView, sal_uInt16 nAnchorTypes = 0); - ~SvxTransformTabDialog(); + virtual ~SvxTransformTabDialog(); //link for the Writer to validate positions void SetValidateFramePosLink( const Link& rLink ); diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index 2cc04ba42abd..f5c57ead5f90 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -208,7 +208,7 @@ public: const com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& _xFrame, bool bActivateLastSelection = true ); OfaTreeOptionsDialog( Window* pParent, const OUString& rExtensionId ); - ~OfaTreeOptionsDialog(); + virtual ~OfaTreeOptionsDialog(); OptionsPageInfo* AddTabPage( sal_uInt16 nId, const OUString& rPageName, sal_uInt16 nGroup ); sal_uInt16 AddGroup( const OUString& rGroupName, SfxShell* pCreateShell, diff --git a/cui/source/inc/zoom.hxx b/cui/source/inc/zoom.hxx index c6a57def42ed..2942c0797daa 100644 --- a/cui/source/inc/zoom.hxx +++ b/cui/source/inc/zoom.hxx @@ -56,7 +56,7 @@ private: public: SvxZoomDialog( Window* pParent, const SfxItemSet& rCoreSet ); - ~SvxZoomDialog(); + virtual ~SvxZoomDialog(); const SfxItemSet* GetOutputItemSet() const { return pOutSet; } diff --git a/cui/source/options/certpath.hxx b/cui/source/options/certpath.hxx index a0630cf3663b..aa2128e29738 100644 --- a/cui/source/options/certpath.hxx +++ b/cui/source/options/certpath.hxx @@ -34,7 +34,7 @@ private: void AddCertPath(const OUString &rProfile, const OUString &rPath); public: CertPathDialog(Window* pParent); - ~CertPathDialog(); + virtual ~CertPathDialog(); OUString getDirectory() const; }; diff --git a/cui/source/options/fontsubs.hxx b/cui/source/options/fontsubs.hxx index e299ed225bd5..c111689a01e9 100644 --- a/cui/source/options/fontsubs.hxx +++ b/cui/source/options/fontsubs.hxx @@ -92,7 +92,7 @@ class SvxFontSubstTabPage : public SfxTabPage SvxFontSubstTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxFontSubstTabPage(); + virtual ~SvxFontSubstTabPage(); public: static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/cui/source/options/optbasic.hxx b/cui/source/options/optbasic.hxx index 3890ce1e26ba..ac46d81d1132 100644 --- a/cui/source/options/optbasic.hxx +++ b/cui/source/options/optbasic.hxx @@ -38,7 +38,7 @@ private: public: SvxBasicIDEOptionsPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxBasicIDEOptionsPage(); + virtual ~SvxBasicIDEOptionsPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE; diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index 79ec9b289363..1fe8c0f2cf04 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -173,7 +173,7 @@ class ColorConfigWindow_Impl { public: ColorConfigWindow_Impl(Window* pParent); - ~ColorConfigWindow_Impl(); + virtual ~ColorConfigWindow_Impl(); public: void SetLinks (Link const&, Link const&, Link const&); @@ -843,7 +843,7 @@ class ColorConfigCtrl_Impl : public VclVBox virtual void DataChanged (DataChangedEvent const& rDCEvt) SAL_OVERRIDE; public: ColorConfigCtrl_Impl(Window* pParent); - ~ColorConfigCtrl_Impl(); + virtual ~ColorConfigCtrl_Impl(); void InitHeaderBar(const OUString &rOn, const OUString &rUIElems, const OUString &rColorSetting, const OUString &rPreview); diff --git a/cui/source/options/optcolor.hxx b/cui/source/options/optcolor.hxx index 580b535a694c..7d062095fd7c 100644 --- a/cui/source/options/optcolor.hxx +++ b/cui/source/options/optcolor.hxx @@ -48,7 +48,7 @@ class SvxColorOptionsTabPage : public SfxTabPage public: SvxColorOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxColorOptionsTabPage( ); + virtual ~SvxColorOptionsTabPage( ); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index cd5fcd2ded2f..44130a772a1d 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -66,7 +66,7 @@ protected: public: OfaMiscTabPage( Window* pParent, const SfxItemSet& rSet ); - ~OfaMiscTabPage(); + virtual ~OfaMiscTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); @@ -121,7 +121,7 @@ private: public: OfaViewTabPage( Window* pParent, const SfxItemSet& rSet ); - ~OfaViewTabPage(); + virtual ~OfaViewTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); @@ -163,7 +163,7 @@ class OfaLanguagesTabPage : public SfxTabPage public: OfaLanguagesTabPage( Window* pParent, const SfxItemSet& rSet ); - ~OfaLanguagesTabPage(); + virtual ~OfaLanguagesTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx index e02f3735e0a9..2d42cbf50d01 100644 --- a/cui/source/options/optinet2.hxx +++ b/cui/source/options/optinet2.hxx @@ -216,7 +216,7 @@ class SvxEMailTabPage : public SfxTabPage public: SvxEMailTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxEMailTabPage(); + virtual ~SvxEMailTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx index 1cf0f9657e84..a6b4d52c5923 100644 --- a/cui/source/options/optjava.hxx +++ b/cui/source/options/optjava.hxx @@ -105,7 +105,7 @@ private: public: SvxJavaOptionsPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxJavaOptionsPage(); + virtual ~SvxJavaOptionsPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); @@ -139,7 +139,7 @@ private: public: SvxJavaParameterDlg( Window* pParent ); - ~SvxJavaParameterDlg(); + virtual ~SvxJavaParameterDlg(); virtual short Execute() SAL_OVERRIDE; @@ -171,7 +171,7 @@ private: public: SvxJavaClassPathDlg( Window* pParent ); - ~SvxJavaClassPathDlg(); + virtual ~SvxJavaClassPathDlg(); inline const OUString& GetOldPath() const { return m_sOldPath; } inline void SetFocus() { m_pPathList->GrabFocus(); } diff --git a/cui/source/options/optjsearch.hxx b/cui/source/options/optjsearch.hxx index b6fc3a39a3fe..6445b39bc55e 100644 --- a/cui/source/options/optjsearch.hxx +++ b/cui/source/options/optjsearch.hxx @@ -62,7 +62,7 @@ protected: SvxJSearchOptionsPage( Window* pParent, const SfxItemSet& rSet ); public: - ~SvxJSearchOptionsPage(); + virtual ~SvxJSearchOptionsPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); diff --git a/cui/source/options/optmemory.hxx b/cui/source/options/optmemory.hxx index 276cc1ea94d1..0e5fb8b1e147 100644 --- a/cui/source/options/optmemory.hxx +++ b/cui/source/options/optmemory.hxx @@ -57,7 +57,7 @@ protected: public: OfaMemoryOptionsPage( Window* pParent, const SfxItemSet& rSet ); - ~OfaMemoryOptionsPage(); + virtual ~OfaMemoryOptionsPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/cui/source/options/optupdt.hxx b/cui/source/options/optupdt.hxx index 6b3b261358ad..c0d61f72b1e4 100644 --- a/cui/source/options/optupdt.hxx +++ b/cui/source/options/optupdt.hxx @@ -52,7 +52,7 @@ private: public: SvxOnlineUpdateTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SvxOnlineUpdateTabPage(); + virtual ~SvxOnlineUpdateTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); diff --git a/cui/source/options/personalization.hxx b/cui/source/options/personalization.hxx index e7197f5ff375..40661f83e98a 100644 --- a/cui/source/options/personalization.hxx +++ b/cui/source/options/personalization.hxx @@ -27,7 +27,7 @@ private: public: SvxPersonalizationTabPage( Window *pParent, const SfxItemSet &rSet ); - ~SvxPersonalizationTabPage(); + virtual ~SvxPersonalizationTabPage(); static SfxTabPage* Create( Window *pParent, const SfxItemSet &rSet ); diff --git a/cui/source/options/securityoptions.hxx b/cui/source/options/securityoptions.hxx index 33918c52927a..0838e2b39b69 100644 --- a/cui/source/options/securityoptions.hxx +++ b/cui/source/options/securityoptions.hxx @@ -49,7 +49,7 @@ namespace svx public: SecurityOptionsDialog( Window* pParent, SvtSecurityOptions* pOptions ); - ~SecurityOptionsDialog(); + virtual ~SecurityOptionsDialog(); bool IsSaveOrSendDocsChecked() const { return m_pSaveOrSendDocsCB->IsChecked(); } bool IsSignDocsChecked() const { return m_pSignDocsCB->IsChecked(); } diff --git a/cui/source/options/webconninfo.hxx b/cui/source/options/webconninfo.hxx index 44dc8e3bbefa..0d8c278cabc4 100644 --- a/cui/source/options/webconninfo.hxx +++ b/cui/source/options/webconninfo.hxx @@ -63,7 +63,7 @@ namespace svx public: WebConnectionInfoDialog( Window* pParent ); - ~WebConnectionInfoDialog(); + virtual ~WebConnectionInfoDialog(); }; diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index 3193f01e5a84..d33597a2b139 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -179,7 +179,7 @@ class BackgroundPreviewImpl : public Window public: BackgroundPreviewImpl(Window* pParent); void setBmp(bool bBmp); - ~BackgroundPreviewImpl(); + virtual ~BackgroundPreviewImpl(); void NotifyChange( const Color& rColor ); void NotifyChange( const Bitmap* pBitmap ); -- cgit