diff options
1367 files changed, 1932 insertions, 1914 deletions
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx index 2cc0125740cc..b726bcd762fc 100644 --- a/UnoControls/inc/multiplexer.hxx +++ b/UnoControls/inc/multiplexer.hxx @@ -121,7 +121,7 @@ public: @onerror - */ - ~OMRCListenerMultiplexerHelper(); + virtual ~OMRCListenerMultiplexerHelper(); // XInterface diff --git a/accessibility/inc/accessibility/extended/accessibletabbar.hxx b/accessibility/inc/accessibility/extended/accessibletabbar.hxx index 2f0019369ad7..d52618795ffb 100644 --- a/accessibility/inc/accessibility/extended/accessibletabbar.hxx +++ b/accessibility/inc/accessibility/extended/accessibletabbar.hxx @@ -64,7 +64,7 @@ namespace accessibility public: AccessibleTabBar( TabBar* pTabBar ); - ~AccessibleTabBar(); + virtual ~AccessibleTabBar(); // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx index 6889fb54b3d7..438dd7167b32 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessiblestatusbar.hxx @@ -53,7 +53,7 @@ protected: public: VCLXAccessibleStatusBar( VCLXWindow* pVCLXWindow ); - ~VCLXAccessibleStatusBar(); + virtual ~VCLXAccessibleStatusBar(); // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx index 1ebbdf1f485e..c5e9444c3451 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessibletabcontrol.hxx @@ -62,7 +62,7 @@ protected: public: VCLXAccessibleTabControl( VCLXWindow* pVCLXWindow ); - ~VCLXAccessibleTabControl(); + virtual ~VCLXAccessibleTabControl(); // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx index 26644b33c2fd..d7d92fa207d2 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessibletabpagewindow.hxx @@ -47,7 +47,7 @@ protected: public: VCLXAccessibleTabPageWindow( VCLXWindow* pVCLXWindow ); - ~VCLXAccessibleTabPageWindow(); + virtual ~VCLXAccessibleTabPageWindow(); // XAccessibleContext virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL getAccessibleParent( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx index f43b0d348fef..c2059ca39fb0 100644 --- a/accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx +++ b/accessibility/inc/accessibility/standard/vclxaccessibletextcomponent.hxx @@ -52,7 +52,7 @@ protected: public: VCLXAccessibleTextComponent( VCLXWindow* pVCLXWindow ); - ~VCLXAccessibleTextComponent(); + virtual ~VCLXAccessibleTextComponent(); // XInterface DECLARE_XINTERFACE() diff --git a/avmedia/source/framework/mediatoolbox.cxx b/avmedia/source/framework/mediatoolbox.cxx index 3be0b0a08359..40c270e14317 100644 --- a/avmedia/source/framework/mediatoolbox.cxx +++ b/avmedia/source/framework/mediatoolbox.cxx @@ -40,7 +40,7 @@ class MediaToolBoxControl_Impl : public MediaControl public: MediaToolBoxControl_Impl( Window& rParent, MediaToolBoxControl& rControl ); - ~MediaToolBoxControl_Impl(); + virtual ~MediaToolBoxControl_Impl(); void update() SAL_OVERRIDE; void execute( const MediaItem& rItem ) SAL_OVERRIDE; diff --git a/avmedia/source/gstreamer/gstmanager.hxx b/avmedia/source/gstreamer/gstmanager.hxx index e031c19cb54c..e0283d196488 100644 --- a/avmedia/source/gstreamer/gstmanager.hxx +++ b/avmedia/source/gstreamer/gstmanager.hxx @@ -36,7 +36,7 @@ class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManag public: Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); - ~Manager(); + virtual ~Manager(); // XManager virtual ::com::sun::star::uno::Reference< ::com::sun::star::media::XPlayer > SAL_CALL createPlayer( const OUString& aURL ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/avmedia/source/gstreamer/gstplayer.hxx b/avmedia/source/gstreamer/gstplayer.hxx index d50e51e62960..32e68db030e3 100644 --- a/avmedia/source/gstreamer/gstplayer.hxx +++ b/avmedia/source/gstreamer/gstplayer.hxx @@ -44,7 +44,7 @@ class Player : public ::cppu::BaseMutex, public: Player( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); - ~Player(); + virtual ~Player(); void preparePlaybin( const OUString& rURL, GstElement *pSink ); bool create( const OUString& rURL ); diff --git a/avmedia/source/gstreamer/gstwindow.hxx b/avmedia/source/gstreamer/gstwindow.hxx index d7d14983df1c..df45af121a23 100644 --- a/avmedia/source/gstreamer/gstwindow.hxx +++ b/avmedia/source/gstreamer/gstwindow.hxx @@ -40,7 +40,7 @@ public: Window( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr, Player& rPlayer ); - ~Window(); + virtual ~Window(); bool create( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ); void processGraphEvent(); diff --git a/avmedia/source/viewer/mediaevent_impl.hxx b/avmedia/source/viewer/mediaevent_impl.hxx index ccefd23c4b24..6817df65df34 100644 --- a/avmedia/source/viewer/mediaevent_impl.hxx +++ b/avmedia/source/viewer/mediaevent_impl.hxx @@ -42,7 +42,7 @@ namespace avmedia public: MediaEventListenersImpl( Window& rNotifyWindow ); - ~MediaEventListenersImpl(); + virtual ~MediaEventListenersImpl(); void cleanUp(); diff --git a/avmedia/source/viewer/mediawindow_impl.hxx b/avmedia/source/viewer/mediawindow_impl.hxx index 80abf9574ea6..fd8bab7aa653 100644 --- a/avmedia/source/viewer/mediawindow_impl.hxx +++ b/avmedia/source/viewer/mediawindow_impl.hxx @@ -46,7 +46,7 @@ namespace avmedia public: MediaWindowControl( Window* pParent ); - ~MediaWindowControl(); + virtual ~MediaWindowControl(); protected: @@ -63,7 +63,7 @@ namespace avmedia public: MediaChildWindow( Window* pParent ); - ~MediaChildWindow(); + virtual ~MediaChildWindow(); protected: diff --git a/avmedia/source/vlc/vlcmanager.hxx b/avmedia/source/vlc/vlcmanager.hxx index 928d2d311fb1..948464f8c871 100644 --- a/avmedia/source/vlc/vlcmanager.hxx +++ b/avmedia/source/vlc/vlcmanager.hxx @@ -34,7 +34,7 @@ class Manager : public ::cppu::WeakImplHelper2 < ::com::sun::star::media::XManag wrapper::EventHandler mEventHandler; public: Manager( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& rxMgr ); - ~Manager(); + virtual ~Manager(); ::com::sun::star::uno::Reference< ::com::sun::star::media::XPlayer > SAL_CALL createPlayer( const rtl::OUString& aURL ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/basctl/source/basicide/basdoc.hxx b/basctl/source/basicide/basdoc.hxx index 58dabe4cd3f3..baf7a48a119c 100644 --- a/basctl/source/basicide/basdoc.hxx +++ b/basctl/source/basicide/basdoc.hxx @@ -54,7 +54,7 @@ public: SFX_DECL_OBJECTFACTORY(); SFX_DECL_INTERFACE( SVX_INTERFACE_BASIDE_DOCSH ) DocShell(); - ~DocShell(); + virtual ~DocShell(); SfxPrinter* GetPrinter( bool bCreate ); void SetPrinter( SfxPrinter* pPrinter ); diff --git a/basctl/source/basicide/basicbox.hxx b/basctl/source/basicide/basicbox.hxx index ed658d146d90..5981e6030921 100644 --- a/basctl/source/basicide/basicbox.hxx +++ b/basctl/source/basicide/basicbox.hxx @@ -35,7 +35,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); LibBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~LibBoxControl(); + virtual ~LibBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -50,7 +50,7 @@ class DocListenerBox :public ListBox { protected: DocListenerBox( Window* pParent ); - ~DocListenerBox(); + virtual ~DocListenerBox(); protected: virtual void FillBox() = 0; @@ -97,7 +97,7 @@ protected: public: LibBox( Window* pParent, const com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ); - ~LibBox(); + virtual ~LibBox(); using Window::Update; void Update( const SfxStringItem* pItem ); @@ -109,7 +109,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); LanguageBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~LanguageBoxControl(); + virtual ~LanguageBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE; @@ -136,7 +136,7 @@ protected: public: LanguageBox( Window* pParent ); - ~LanguageBox(); + virtual ~LanguageBox(); using Window::Update; void Update( const SfxStringItem* pItem ); diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index f4cf468c0bd6..3305b14cb160 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -148,7 +148,7 @@ protected: public: EditorWindow (Window* pParent, ModulWindow*); - ~EditorWindow(); + virtual ~EditorWindow(); ExtTextEngine* GetEditEngine() const { return pEditEngine.get(); } ExtTextView* GetEditView() const { return pEditView.get(); } @@ -196,7 +196,7 @@ protected: public: BreakPointWindow (Window* pParent, ModulWindow*); - ~BreakPointWindow(); + virtual ~BreakPointWindow(); void SetMarkerPos( sal_uInt16 nLine, bool bErrorMarker = false ); void SetNoMarker (); @@ -220,7 +220,7 @@ protected: public: WatchTreeListBox( Window* pParent, WinBits nWinBits ); - ~WatchTreeListBox(); + virtual ~WatchTreeListBox(); void RequestingChildren( SvTreeListEntry * pParent ) SAL_OVERRIDE; void UpdateWatches( bool bBasicStopped = false ); @@ -252,7 +252,7 @@ protected: public: WatchWindow (Layout* pParent); - ~WatchWindow(); + virtual ~WatchWindow(); void AddWatch( const OUString& rVName ); bool RemoveSelectedWatch(); @@ -274,7 +274,7 @@ protected: public: StackWindow (Layout* pParent); - ~StackWindow(); + virtual ~StackWindow(); void UpdateCalls(); }; @@ -337,7 +337,7 @@ public: ModulWindow( ModulWindowLayout* pParent, const ScriptDocument& rDocument, const OUString& aLibName, const OUString& aName, OUString& aModule ); - ~ModulWindow(); + virtual ~ModulWindow(); virtual void ExecuteCommand (SfxRequest& rReq) SAL_OVERRIDE; virtual void ExecuteGlobal (SfxRequest& rReq) SAL_OVERRIDE; @@ -462,7 +462,7 @@ private: { public: SyntaxColors (); - ~SyntaxColors (); + virtual ~SyntaxColors (); public: void SetActiveEditor (EditorWindow* pEditor_) { pEditor = pEditor_; } void SettingsChanged (); @@ -522,7 +522,7 @@ private: public: CodeCompleteWindow( EditorWindow* pPar ); - ~CodeCompleteWindow(){ delete pListBox; } + virtual ~CodeCompleteWindow(){ delete pListBox; } void InsertEntry( const OUString& aStr ); void ClearListBox(); diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 0059ff3ed30f..7a69e025d4cb 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -74,7 +74,7 @@ public: ContainerListenerImpl (Shell* pShell) : mpShell(pShell) { } - ~ContainerListenerImpl() + virtual ~ContainerListenerImpl() { } void addContainerListener( const ScriptDocument& rScriptDocument, const OUString& aLibName ) diff --git a/basctl/source/basicide/bastype2.hxx b/basctl/source/basicide/bastype2.hxx index d4214e5cc5a5..d2266af46b27 100644 --- a/basctl/source/basicide/bastype2.hxx +++ b/basctl/source/basicide/bastype2.hxx @@ -206,7 +206,7 @@ protected: public: TreeListBox(Window* pParent, const ResId& rRes); TreeListBox(Window* pParent, WinBits nStyle); - ~TreeListBox(); + virtual ~TreeListBox(); void ScanEntry( const ScriptDocument& rDocument, LibraryLocation eLocation ); void ScanAllEntries(); diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx index b51853bfb654..0d2bb88ffe76 100644 --- a/basctl/source/basicide/doceventnotifier.cxx +++ b/basctl/source/basicide/doceventnotifier.cxx @@ -71,7 +71,7 @@ namespace basctl { public: Impl (DocumentEventListener&, Reference<XModel> const& rxDocument); - ~Impl (); + virtual ~Impl (); // XDocumentEventListener virtual void SAL_CALL documentEventOccured( const DocumentEvent& Event ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/basctl/source/basicide/linenumberwindow.hxx b/basctl/source/basicide/linenumberwindow.hxx index 6c6cbaceb065..c15a7fd885b5 100644 --- a/basctl/source/basicide/linenumberwindow.hxx +++ b/basctl/source/basicide/linenumberwindow.hxx @@ -31,7 +31,7 @@ protected: public: LineNumberWindow (Window* pParent, ModulWindow* pModulWin); - ~LineNumberWindow(); + virtual ~LineNumberWindow(); void DoScroll( long nHorzScroll, long nVertScroll ); diff --git a/basctl/source/basicide/macrodlg.hxx b/basctl/source/basicide/macrodlg.hxx index 17a7cc8a5d8b..5c16009199b8 100644 --- a/basctl/source/basicide/macrodlg.hxx +++ b/basctl/source/basicide/macrodlg.hxx @@ -90,7 +90,7 @@ private: public: MacroChooser( Window* pParent, bool bCreateEntries = true ); - ~MacroChooser(); + virtual ~MacroChooser(); SbMethod* GetMacro(); void DeleteMacro(); diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx index f3487bfa9de8..aa5d6512a8a8 100644 --- a/basctl/source/basicide/moduldlg.hxx +++ b/basctl/source/basicide/moduldlg.hxx @@ -112,7 +112,7 @@ protected: public: ExtTreeListBox(Window* pParent, WinBits nStyle); - ~ExtTreeListBox(); + virtual ~ExtTreeListBox(); }; class CheckBox : public SvTabListBox @@ -125,7 +125,7 @@ private: public: CheckBox(Window* pParent, WinBits nStyle); - ~CheckBox(); + virtual ~CheckBox(); SvTreeListEntry* DoInsertEntry( const OUString& rStr, sal_uLong nPos = LISTBOX_APPEND ); SvTreeListEntry* FindEntry( const OUString& rName ); @@ -172,7 +172,7 @@ private: public: OrganizeDialog( Window* pParent, sal_Int16 tabId, EntryDescriptor& rDesc ); - ~OrganizeDialog(); + virtual ~OrganizeDialog(); virtual short Execute() SAL_OVERRIDE; diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index 02a128646e64..8e3b0ac984ca 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -207,7 +207,7 @@ namespace basctl public: Impl (); Impl (Reference<XModel> const& rxDocument); - ~Impl (); + virtual ~Impl (); /** determines whether the instance refers to a valid "document" with script and dialog libraries diff --git a/basctl/source/basicide/tbxctl.hxx b/basctl/source/basicide/tbxctl.hxx index 7058a6cf0196..bdd2ed531d98 100644 --- a/basctl/source/basicide/tbxctl.hxx +++ b/basctl/source/basicide/tbxctl.hxx @@ -44,7 +44,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); TbxControls(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~TbxControls() {} + virtual ~TbxControls() {} virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; diff --git a/basctl/source/inc/accessibledialogwindow.hxx b/basctl/source/inc/accessibledialogwindow.hxx index 26ba11000e47..e905b35b52ae 100644 --- a/basctl/source/inc/accessibledialogwindow.hxx +++ b/basctl/source/inc/accessibledialogwindow.hxx @@ -110,7 +110,7 @@ protected: public: AccessibleDialogWindow (basctl::DialogWindow*); - ~AccessibleDialogWindow(); + virtual ~AccessibleDialogWindow(); // SfxListener virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; diff --git a/basctl/source/inc/baside3.hxx b/basctl/source/inc/baside3.hxx index b2326a4fd9dc..50c68e7ba50e 100644 --- a/basctl/source/inc/baside3.hxx +++ b/basctl/source/inc/baside3.hxx @@ -80,7 +80,7 @@ public: TYPEINFO_OVERRIDE(); DialogWindow (DialogWindowLayout* pParent, ScriptDocument const& rDocument, const OUString& aLibName, const OUString& aName, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> const& xDialogModel); DialogWindow( DialogWindow* pCurView ); // never implemented - ~DialogWindow(); + virtual ~DialogWindow(); virtual void ExecuteCommand( SfxRequest& rReq ) SAL_OVERRIDE; virtual void GetState( SfxItemSet& ) SAL_OVERRIDE; @@ -126,7 +126,7 @@ class DialogWindowLayout : public Layout { public: DialogWindowLayout (Window* pParent, ObjectCatalog&); - ~DialogWindowLayout(); + virtual ~DialogWindowLayout(); public: void ShowPropertyBrowser (); void UpdatePropertyBrowser (); diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index fc251d16cc18..fa5d4c65c3ac 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -153,7 +153,7 @@ public: SFX_DECL_VIEWFACTORY(Shell); Shell( SfxViewFrame *pFrame, SfxViewShell *pOldSh ); - ~Shell(); + virtual ~Shell(); BaseWindow* GetCurWindow() const { return pCurWin; } ScriptDocument const& GetCurDocument() const { return m_aCurDocument; } diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx index 3975cb9ebbc7..b6db056a6f67 100644 --- a/basctl/source/inc/dlged.hxx +++ b/basctl/source/inc/dlged.hxx @@ -142,7 +142,7 @@ public: com::sun::star::uno::Reference<com::sun::star::frame::XModel> const& xModel, com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> xDialogModel ); - ~DlgEditor(); + virtual ~DlgEditor(); Window& GetWindow() const { return rWindow; } diff --git a/basctl/source/inc/managelang.hxx b/basctl/source/inc/managelang.hxx index 6fa0c62e9229..15332a85bb95 100644 --- a/basctl/source/inc/managelang.hxx +++ b/basctl/source/inc/managelang.hxx @@ -74,7 +74,7 @@ private: public: ManageLanguageDialog( Window* pParent, boost::shared_ptr<LocalizationMgr> _pLMgr ); - ~ManageLanguageDialog(); + virtual ~ManageLanguageDialog(); }; class SetDefaultLanguageDialog : public ModalDialog diff --git a/basic/inc/sbstdobj.hxx b/basic/inc/sbstdobj.hxx index 9fdce98b96f8..c9a5169599a0 100644 --- a/basic/inc/sbstdobj.hxx +++ b/basic/inc/sbstdobj.hxx @@ -40,7 +40,7 @@ class BASIC_DLLPUBLIC SbStdPicture : public SbxObject protected: Graphic aGraphic; - ~SbStdPicture(); + virtual ~SbStdPicture(); virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType ) SAL_OVERRIDE; @@ -69,7 +69,7 @@ protected: sal_uInt16 nSize; OUString aName; - ~SbStdFont(); + virtual ~SbStdFont(); virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType ) SAL_OVERRIDE; @@ -105,7 +105,7 @@ class BASIC_DLLPUBLIC SbStdClipboard : public SbxObject { protected: - ~SbStdClipboard(); + virtual ~SbStdClipboard(); virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType ) SAL_OVERRIDE; diff --git a/basic/qa/cppunit/basic_coverage.cxx b/basic/qa/cppunit/basic_coverage.cxx index 8e145d0aea16..7e8fd225239d 100644 --- a/basic/qa/cppunit/basic_coverage.cxx +++ b/basic/qa/cppunit/basic_coverage.cxx @@ -32,7 +32,7 @@ private: public: Coverage(); - ~Coverage(); + virtual ~Coverage(); void Coverage_Iterator(); diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx index ca398561c4df..846cebbdaa77 100644 --- a/basic/qa/cppunit/test_vba.cxx +++ b/basic/qa/cppunit/test_vba.cxx @@ -20,7 +20,7 @@ namespace { public: VBATest() : BootstrapFixture(true, false) {} - ~VBATest(){} + virtual ~VBATest(){} void testMiscVBAFunctions(); void testMiscOLEStuff(); // Adds code needed to register the test suite diff --git a/basic/source/classes/errobject.cxx b/basic/source/classes/errobject.cxx index 91b0b0f4b5f1..e66560a6672a 100644 --- a/basic/source/classes/errobject.cxx +++ b/basic/source/classes/errobject.cxx @@ -39,7 +39,7 @@ class ErrObject : public ErrObjectImpl_BASE public: ErrObject(); - ~ErrObject(); + virtual ~ErrObject(); // Attributes virtual ::sal_Int32 SAL_CALL getNumber() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setNumber( ::sal_Int32 _number ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 4e32d311c34a..82d6081f39d7 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -3904,7 +3904,7 @@ public: OUString aPrefixName; BasicAllListener_Impl( const OUString& aPrefixName ); - ~BasicAllListener_Impl(); + virtual ~BasicAllListener_Impl(); // Methods of XAllListener virtual void SAL_CALL firing(const AllEventObject& Event) throw ( RuntimeException, std::exception ) SAL_OVERRIDE; @@ -4348,7 +4348,7 @@ class ModuleInvocationProxy : public OMutexBasis, public: ModuleInvocationProxy( const OUString& aPrefix, SbxObjectRef xScopeObj ); - ~ModuleInvocationProxy() + virtual ~ModuleInvocationProxy() {} // XInvocation diff --git a/basic/source/inc/errobject.hxx b/basic/source/inc/errobject.hxx index 5e96e694b829..f76b8d2de421 100644 --- a/basic/source/inc/errobject.hxx +++ b/basic/source/inc/errobject.hxx @@ -29,7 +29,7 @@ class SbxErrObject : public SbUnoObject com::sun::star::uno::Reference< ooo::vba::XErrObject > m_xErr; SbxErrObject( const OUString& aName_, const com::sun::star::uno::Any& aUnoObj_ ); - ~SbxErrObject(); + virtual ~SbxErrObject(); class ErrObject* getImplErrObject( void ) { return m_pErrObject; } diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx index 6c0c435286ef..8ba6c7cb23c6 100644 --- a/basic/source/inc/namecont.hxx +++ b/basic/source/inc/namecont.hxx @@ -370,7 +370,7 @@ private: public: SfxLibraryContainer( void ); - ~SfxLibraryContainer(); + virtual ~SfxLibraryContainer(); // Interface to set the BasicManager (Hack for password implementation) diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx index 50032f84dcf6..ae9cb67ee3d3 100644 --- a/basic/source/inc/sbunoobj.hxx +++ b/basic/source/inc/sbunoobj.hxx @@ -84,7 +84,7 @@ public: StructRefInfo getStructMember( const OUString& rMember ); StructRefInfo getStructInfo() { return maMemberInfo; } SbUnoStructRefObject( const OUString& aName_, const StructRefInfo& rMemberInfo ); - ~SbUnoStructRefObject(); + virtual ~SbUnoStructRefObject(); // Find overloaded to support e. g. NameAccess virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE; @@ -121,7 +121,7 @@ public: static bool getDefaultPropName( SbUnoObject* pUnoObj, OUString& sDfltProp ); TYPEINFO_OVERRIDE(); SbUnoObject( const OUString& aName_, const ::com::sun::star::uno::Any& aUnoObj_ ); - ~SbUnoObject(); + virtual ~SbUnoObject(); // #76470 do introspection on demand void doIntrospection( void ); diff --git a/basic/source/inc/stdobj.hxx b/basic/source/inc/stdobj.hxx index 3efdebcbf0a0..52b144196607 100644 --- a/basic/source/inc/stdobj.hxx +++ b/basic/source/inc/stdobj.hxx @@ -29,7 +29,7 @@ class SbiStdObject : public SbxObject { SbStdFactory* pStdFactory; - ~SbiStdObject(); + virtual ~SbiStdObject(); using SbxVariable::GetInfo; SbxInfo* GetInfo( short ); virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index be07963fd2a8..cde1af0884e3 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -312,7 +312,7 @@ class OslStream : public SvStream public: OslStream( const OUString& rName, short nStrmMode ); - ~OslStream(); + virtual ~OslStream(); virtual sal_Size GetData( void* pData, sal_Size nSize ) SAL_OVERRIDE; virtual sal_Size PutData( const void* pData, sal_Size nSize ) SAL_OVERRIDE; virtual sal_uInt64 SeekPos( sal_uInt64 nPos ) SAL_OVERRIDE; @@ -408,7 +408,7 @@ class UCBStream : public SvStream public: UCBStream( Reference< XInputStream > & xIS ); UCBStream( Reference< XStream > & xS ); - ~UCBStream(); + virtual ~UCBStream(); virtual sal_Size GetData( void* pData, sal_Size nSize ) SAL_OVERRIDE; virtual sal_Size PutData( const void* pData, sal_Size nSize ) SAL_OVERRIDE; virtual sal_uInt64 SeekPos( sal_uInt64 nPos ) SAL_OVERRIDE; diff --git a/canvas/source/cairo/cairo_canvas.hxx b/canvas/source/cairo/cairo_canvas.hxx index 21c343d70194..82f3e7d6c3ef 100644 --- a/canvas/source/cairo/cairo_canvas.hxx +++ b/canvas/source/cairo/cairo_canvas.hxx @@ -113,7 +113,7 @@ namespace cairocanvas void initialize(); /// For resource tracking - ~Canvas(); + virtual ~Canvas(); /// Dispose all internal references virtual void disposeThis() SAL_OVERRIDE; diff --git a/canvas/source/cairo/cairo_textlayout.hxx b/canvas/source/cairo/cairo_textlayout.hxx index d28af85054f7..cdad9311f4bf 100644 --- a/canvas/source/cairo/cairo_textlayout.hxx +++ b/canvas/source/cairo/cairo_textlayout.hxx @@ -93,7 +93,7 @@ namespace cairocanvas const ::com::sun::star::rendering::RenderState& renderState ) const; protected: - ~TextLayout(); // we're a ref-counted UNO class. _We_ destroy ourselves. + virtual ~TextLayout(); // we're a ref-counted UNO class. _We_ destroy ourselves. private: ::com::sun::star::rendering::StringContext maText; diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx index c6accde3e94d..34ce27b54af5 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.cxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx @@ -1208,7 +1208,7 @@ namespace oglcanvas #endif } - ~BufferContextImpl() + virtual ~BufferContextImpl() { #if 0 glBindTexture(GL_TEXTURE_2D, 0); diff --git a/canvas/source/vcl/bitmapbackbuffer.hxx b/canvas/source/vcl/bitmapbackbuffer.hxx index d8aecf063710..c3f2a27a7ba7 100644 --- a/canvas/source/vcl/bitmapbackbuffer.hxx +++ b/canvas/source/vcl/bitmapbackbuffer.hxx @@ -45,7 +45,7 @@ namespace vclcanvas BitmapBackBuffer( const BitmapEx& rBitmap, const OutputDevice& rRefDevice ); - ~BitmapBackBuffer(); + virtual ~BitmapBackBuffer(); virtual OutputDevice& getOutDev() SAL_OVERRIDE; virtual const OutputDevice& getOutDev() const SAL_OVERRIDE; diff --git a/canvas/source/vcl/canvas.hxx b/canvas/source/vcl/canvas.hxx index 91c7d7166c80..a2ac127f4d0d 100644 --- a/canvas/source/vcl/canvas.hxx +++ b/canvas/source/vcl/canvas.hxx @@ -87,7 +87,7 @@ namespace vclcanvas void initialize(); /// For resource tracking - ~Canvas(); + virtual ~Canvas(); /// Dispose all internal references virtual void disposeThis() SAL_OVERRIDE; diff --git a/canvas/source/vcl/spritecanvas.hxx b/canvas/source/vcl/spritecanvas.hxx index 3a4fffb0d98d..2343f38f2b52 100644 --- a/canvas/source/vcl/spritecanvas.hxx +++ b/canvas/source/vcl/spritecanvas.hxx @@ -112,7 +112,7 @@ namespace vclcanvas void initialize(); /// For resource tracking - ~SpriteCanvas(); + virtual ~SpriteCanvas(); /// Dispose all internal references virtual void disposeThis() SAL_OVERRIDE; diff --git a/chart2/source/controller/dialogs/dlg_NumberFormat.hxx b/chart2/source/controller/dialogs/dlg_NumberFormat.hxx index ed4a2c913dbb..0faabc29e93f 100644 --- a/chart2/source/controller/dialogs/dlg_NumberFormat.hxx +++ b/chart2/source/controller/dialogs/dlg_NumberFormat.hxx @@ -31,7 +31,7 @@ class NumberFormatDialog : public SfxSingleTabDialog { public: NumberFormatDialog(Window* pParent, SfxItemSet& rSet); - ~NumberFormatDialog(); + virtual ~NumberFormatDialog(); static SfxItemSet CreateEmptyItemSetForNumberFormatDialog( SfxItemPool& rItemPool ); }; diff --git a/chart2/source/controller/inc/dlg_ChartType.hxx b/chart2/source/controller/inc/dlg_ChartType.hxx index 7716ac97fee4..992aa2d4956e 100644 --- a/chart2/source/controller/inc/dlg_ChartType.hxx +++ b/chart2/source/controller/inc/dlg_ChartType.hxx @@ -40,7 +40,7 @@ public: ::com::sun::star::frame::XModel >& xChartModel , const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ); - ~ChartTypeDialog(); + virtual ~ChartTypeDialog(); private: ChartTypeTabPage* m_pChartTypeTabPage; diff --git a/chart2/source/controller/inc/dlg_View3D.hxx b/chart2/source/controller/inc/dlg_View3D.hxx index 90193f884bf2..7ffa768f5ee4 100644 --- a/chart2/source/controller/inc/dlg_View3D.hxx +++ b/chart2/source/controller/inc/dlg_View3D.hxx @@ -43,7 +43,7 @@ public: View3DDialog( Window* pWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xChartModel, const XColorListRef &pColorTable ); - ~View3DDialog(); + virtual ~View3DDialog(); // from Dialog (base of TabDialog) virtual short Execute() SAL_OVERRIDE; diff --git a/chart2/source/model/template/ColumnLineDataInterpreter.hxx b/chart2/source/model/template/ColumnLineDataInterpreter.hxx index fafa9c36833b..7b14b425a972 100644 --- a/chart2/source/model/template/ColumnLineDataInterpreter.hxx +++ b/chart2/source/model/template/ColumnLineDataInterpreter.hxx @@ -31,7 +31,7 @@ public: sal_Int32 nNumberOfLines, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext ); - ~ColumnLineDataInterpreter(); + virtual ~ColumnLineDataInterpreter(); protected: // ____ XDataInterpreter ____ diff --git a/chart2/source/view/main/DummyXShape.hxx b/chart2/source/view/main/DummyXShape.hxx index d480bae65f6a..3ea60b43a598 100644 --- a/chart2/source/view/main/DummyXShape.hxx +++ b/chart2/source/view/main/DummyXShape.hxx @@ -390,7 +390,7 @@ class DummyChart : public DummyXShapes { public: DummyChart(com::sun::star::uno::Reference< com::sun::star::drawing::XShape > xDrawPage); - ~DummyChart(); + virtual ~DummyChart(); virtual DummyChart* getRootShape() SAL_OVERRIDE; virtual void SAL_CALL setPosition( const ::com::sun::star::awt::Point& aPosition ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/codemaker/source/cppumaker/cppuoptions.hxx b/codemaker/source/cppumaker/cppuoptions.hxx index 9080462d051d..1e9fce0c9a09 100644 --- a/codemaker/source/cppumaker/cppuoptions.hxx +++ b/codemaker/source/cppumaker/cppuoptions.hxx @@ -28,7 +28,7 @@ public: CppuOptions() : Options() {} - ~CppuOptions() {} + virtual ~CppuOptions() {} bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False) throw( IllegalArgument ) SAL_OVERRIDE; diff --git a/codemaker/source/javamaker/javaoptions.hxx b/codemaker/source/javamaker/javaoptions.hxx index 914d500c285d..d1536bb04eb8 100644 --- a/codemaker/source/javamaker/javaoptions.hxx +++ b/codemaker/source/javamaker/javaoptions.hxx @@ -28,7 +28,7 @@ public: JavaOptions() : Options() {} - ~JavaOptions() {} + virtual ~JavaOptions() {} bool initOptions(int ac, char* av[], sal_Bool bCmdFile=sal_False) throw( IllegalArgument ) SAL_OVERRIDE; diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx index 60a50c2c8555..e9492bfb0fac 100644 --- a/comphelper/source/eventattachermgr/eventattachermgr.cxx +++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx @@ -98,7 +98,7 @@ class ImplEventAttacherManager public: ImplEventAttacherManager( const Reference< XIntrospection > & rIntrospection, const Reference< XComponentContext > xContext ); - ~ImplEventAttacherManager(); + virtual ~ImplEventAttacherManager(); // Methods of XEventAttacherManager virtual void SAL_CALL registerScriptEvent(sal_Int32 Index, const ScriptEventDescriptor& ScriptEvent) diff --git a/comphelper/source/misc/instancelocker.hxx b/comphelper/source/misc/instancelocker.hxx index 1787b1c3fcec..56cd2232e18a 100644 --- a/comphelper/source/misc/instancelocker.hxx +++ b/comphelper/source/misc/instancelocker.hxx @@ -56,7 +56,7 @@ class OInstanceLocker : public ::cppu::WeakImplHelper3< ::com::sun::star::lang:: public: OInstanceLocker( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ); - ~OInstanceLocker(); + virtual ~OInstanceLocker(); static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static(); @@ -103,7 +103,7 @@ public: sal_Int32 nMode, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XActionsApproval > xApproval ); - ~OLockListener(); + virtual ~OLockListener(); bool Init(); void Dispose(); diff --git a/compilerplugins/clang/saloverride.cxx b/compilerplugins/clang/saloverride.cxx index f37e915ea76e..6b62fb3e0322 100644 --- a/compilerplugins/clang/saloverride.cxx +++ b/compilerplugins/clang/saloverride.cxx @@ -40,13 +40,31 @@ bool SalOverride::VisitCXXMethodDecl(CXXMethodDecl const * decl) { // external QtCore/qobjectdefs.h: if (ignoreLocation(decl) || !compat::isFirstDecl(*decl) || decl->begin_overridden_methods() == decl->end_overridden_methods() - || decl->hasAttr<OverrideAttr>() || isa<CXXDestructorDecl>(decl) + || decl->hasAttr<OverrideAttr>() || ignoreLocation( compiler.getSourceManager().getSpellingLoc( decl->getNameInfo().getLoc()))) { return true; } + // 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": + if (isa<CXXDestructorDecl>(decl)) { + if (!decl->isVirtualAsWritten() + && (rewriter == nullptr + || !insertTextBefore( + decl->getSourceRange().getBegin(), "virtual "))) + { + report( + DiagnosticsEngine::Warning, + ("overriding destructor declaration not explicitly marked" + " 'virtual'"), + decl->getLocation()) + << decl->getSourceRange(); + } + return true; + } #if LO_COMPILERPLUGINS_CLANG_COMPAT_HAVE_isAtEndOfImmediateMacroExpansion if (rewriter != nullptr) { // In void MACRO(...); getSourceRange().getEnd() would (erroneously?) diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx index 73ec08fb0049..f0731e032ba6 100644 --- a/connectivity/source/drivers/evoab2/NResultSet.cxx +++ b/connectivity/source/drivers/evoab2/NResultSet.cxx @@ -378,7 +378,7 @@ public: { } - ~OEvoabVersion36Helper() + virtual ~OEvoabVersion36Helper() { freeContacts(); } @@ -528,7 +528,7 @@ public: { } - ~OEvoabVersion35Helper() + virtual ~OEvoabVersion35Helper() { freeContacts(); } diff --git a/connectivity/source/drivers/mork/MStatement.hxx b/connectivity/source/drivers/mork/MStatement.hxx index 24b168fe7cc9..114d1d3a1899 100644 --- a/connectivity/source/drivers/mork/MStatement.hxx +++ b/connectivity/source/drivers/mork/MStatement.hxx @@ -185,7 +185,7 @@ namespace connectivity public ::com::sun::star::lang::XServiceInfo { protected: - ~OStatement(){} + virtual ~OStatement(){} public: // a constructor, for when the object needs to be returned: OStatement( OConnection* _pConnection); diff --git a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx index 065132da6a75..2c60de222036 100644 --- a/connectivity/source/drivers/postgresql/pq_baseresultset.hxx +++ b/connectivity/source/drivers/postgresql/pq_baseresultset.hxx @@ -100,7 +100,7 @@ protected: sal_Int32 rowCount, sal_Int32 columnCount, const ::com::sun::star::uno::Reference< ::com::sun::star::script::XTypeConverter > &tc ); - ~BaseResultSet(); + virtual ~BaseResultSet(); public: // XInterface virtual void SAL_CALL acquire() throw() SAL_OVERRIDE { OComponentHelper::acquire(); } diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx index 0c8fcaf134a4..c3736d516cea 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.hxx +++ b/connectivity/source/drivers/postgresql/pq_connection.hxx @@ -184,7 +184,7 @@ public: const rtl::Reference< RefCountedMutex > &refMutex, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & ctx ); - ~Connection( ); + virtual ~Connection( ); public: // XCloseable virtual void SAL_CALL close() diff --git a/connectivity/source/drivers/postgresql/pq_resultset.hxx b/connectivity/source/drivers/postgresql/pq_resultset.hxx index e887cf82549a..f7a3bee7413c 100644 --- a/connectivity/source/drivers/postgresql/pq_resultset.hxx +++ b/connectivity/source/drivers/postgresql/pq_resultset.hxx @@ -76,7 +76,7 @@ public: PGresult *result, const OUString &schema, const OUString &table ); - ~ResultSet(); + virtual ~ResultSet(); public: // XCloseable virtual void SAL_CALL close( ) diff --git a/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx b/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx index dbd86b2e9afa..69947e887a8e 100644 --- a/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx +++ b/connectivity/source/drivers/postgresql/pq_sequenceresultset.hxx @@ -77,7 +77,7 @@ public: const com::sun::star::uno::Sequence< com::sun::star::uno::Sequence< com::sun::star::uno::Any > > &data, const com::sun::star::uno::Reference< com::sun::star::script::XTypeConverter > &tc, const ColumnMetaDataVector *pVec = 0); - ~SequenceResultSet(); + virtual ~SequenceResultSet(); public: // XCloseable virtual void SAL_CALL close( ) diff --git a/connectivity/source/inc/dbase/dindexnode.hxx b/connectivity/source/inc/dbase/dindexnode.hxx index 92e94939fec7..42ada7cb61ac 100644 --- a/connectivity/source/inc/dbase/dindexnode.hxx +++ b/connectivity/source/inc/dbase/dindexnode.hxx @@ -173,7 +173,7 @@ namespace connectivity protected: ONDXPage(ODbaseIndex& rIndex, sal_uInt32 nPos, ONDXPage* = NULL); - ~ONDXPage(); + virtual ~ONDXPage(); virtual void QueryDelete() SAL_OVERRIDE; diff --git a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx index e8777c72b9c7..48b618c6ba8b 100644 --- a/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx +++ b/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx @@ -111,7 +111,7 @@ namespace connectivity ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const SAL_OVERRIDE; - ~ODatabaseMetaDataResultSet(); + virtual ~ODatabaseMetaDataResultSet(); template < typename T, SQLSMALLINT sqlTypeId > T getInteger ( sal_Int32 columnIndex ); public: diff --git a/connectivity/source/manager/mdrivermanager.hxx b/connectivity/source/manager/mdrivermanager.hxx index 2824006a538b..c8245803b782 100644 --- a/connectivity/source/manager/mdrivermanager.hxx +++ b/connectivity/source/manager/mdrivermanager.hxx @@ -83,7 +83,7 @@ namespace drivermanager private: OSDBCDriverManager( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext ); - ~OSDBCDriverManager(); + virtual ~OSDBCDriverManager(); public: diff --git a/connectivity/source/simpledbt/parsenode_s.hxx b/connectivity/source/simpledbt/parsenode_s.hxx index fed4ff349db9..202a1cef9277 100644 --- a/connectivity/source/simpledbt/parsenode_s.hxx +++ b/connectivity/source/simpledbt/parsenode_s.hxx @@ -42,7 +42,7 @@ namespace connectivity public: OSimpleParseNode(const OSQLParseNode* _pNode, sal_Bool _bTakeOwnership = sal_True); - ~OSimpleParseNode(); + virtual ~OSimpleParseNode(); // ISQLParseNode virtual void parseNodeToStr(OUString& _rString, diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index 12ccd753eee3..62fe8f8ca53c 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -140,7 +140,7 @@ namespace cppcanvas pPointTypes = NULL; } - ~EMFPPath () + virtual ~EMFPPath () { delete [] pPoints; delete [] pPointTypes; @@ -282,7 +282,7 @@ namespace cppcanvas initialPath = NULL; } - ~EMFPRegion () + virtual ~EMFPRegion () { if (combineMode) { delete [] combineMode; @@ -353,7 +353,7 @@ namespace cppcanvas hasTransformation = false; } - ~EMFPBrush () + virtual ~EMFPBrush () { if (blendPositions != NULL) { delete[] blendPositions; @@ -633,7 +633,7 @@ namespace cppcanvas { } - ~EMFPCustomLineCap() + virtual ~EMFPCustomLineCap() { } @@ -761,7 +761,7 @@ namespace cppcanvas customEndCap = NULL; } - ~EMFPPen () + virtual ~EMFPPen () { delete[] dashPattern; delete[] compoundArray; diff --git a/cppu/source/threadpool/threadpool.hxx b/cppu/source/threadpool/threadpool.hxx index 2ee29ff5ddc6..cd8d7da2d18b 100644 --- a/cppu/source/threadpool/threadpool.hxx +++ b/cppu/source/threadpool/threadpool.hxx @@ -122,7 +122,7 @@ namespace cppu_threadpool { { public: ThreadPool(); - ~ThreadPool(); + virtual ~ThreadPool(); void dispose( sal_Int64 nDisposeId ); void destroy( sal_Int64 nDisposeId ); 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 ); diff --git a/dbaccess/source/core/api/BookmarkSet.hxx b/dbaccess/source/core/api/BookmarkSet.hxx index 2d4ed7d46bf0..62b514006ed6 100644 --- a/dbaccess/source/core/api/BookmarkSet.hxx +++ b/dbaccess/source/core/api/BookmarkSet.hxx @@ -34,7 +34,7 @@ namespace dbaccess public: OBookmarkSet(sal_Int32 i_nMaxRows) : OCacheSet(i_nMaxRows) {} - ~OBookmarkSet() + virtual ~OBookmarkSet() { m_xRowLocate = NULL; } diff --git a/dbaccess/source/core/api/WrappedResultSet.hxx b/dbaccess/source/core/api/WrappedResultSet.hxx index 02416d058a24..cbae7c6e6829 100644 --- a/dbaccess/source/core/api/WrappedResultSet.hxx +++ b/dbaccess/source/core/api/WrappedResultSet.hxx @@ -37,7 +37,7 @@ namespace dbaccess public: WrappedResultSet(sal_Int32 i_nMaxRows) : OCacheSet(i_nMaxRows) {} - ~WrappedResultSet() + virtual ~WrappedResultSet() { m_xRowLocate = NULL; } diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx index 21f8924ad603..2f5b6869a716 100644 --- a/dbaccess/source/core/dataaccess/ModelImpl.cxx +++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx @@ -128,7 +128,7 @@ public: } protected: - ~DocumentStorageAccess() + virtual ~DocumentStorageAccess() { } diff --git a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx index a291190f489d..f6a32dade57c 100644 --- a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx +++ b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx @@ -89,7 +89,7 @@ namespace dbaccess virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~DataAccessDescriptor(); + virtual ~DataAccessDescriptor(); protected: // XPropertySet @@ -234,7 +234,7 @@ namespace dbaccess protected: DataAccessDescriptorFactory( const Reference< XComponentContext >& _rxContext ); - ~DataAccessDescriptorFactory(); + virtual ~DataAccessDescriptorFactory(); private: Reference<XComponentContext> m_xContext; diff --git a/dbaccess/source/core/dataaccess/databaseregistrations.cxx b/dbaccess/source/core/dataaccess/databaseregistrations.cxx index 1c0a382d0192..369da6df1397 100644 --- a/dbaccess/source/core/dataaccess/databaseregistrations.cxx +++ b/dbaccess/source/core/dataaccess/databaseregistrations.cxx @@ -78,7 +78,7 @@ namespace dbaccess DatabaseRegistrations( const Reference<XComponentContext>& _rxContext ); protected: - ~DatabaseRegistrations(); + virtual ~DatabaseRegistrations(); public: virtual ::sal_Bool SAL_CALL hasRegisteredDatabase( const OUString& _Name ) throw (IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx index 2c950389b8fd..5f18204be4ac 100644 --- a/dbaccess/source/core/dataaccess/datasource.cxx +++ b/dbaccess/source/core/dataaccess/datasource.cxx @@ -120,7 +120,7 @@ public: protected: FlushNotificationAdapter( const Reference< XFlushable >& _rxBroadcaster, const Reference< XFlushListener >& _rxListener ); - ~FlushNotificationAdapter(); + virtual ~FlushNotificationAdapter(); void SAL_CALL impl_dispose( bool _bRevokeListener ); @@ -302,7 +302,7 @@ class OSharedConnectionManager : public OConnectionHelper_BASE Reference< XProxyFactory > m_xProxyFactory; protected: - ~OSharedConnectionManager(); + virtual ~OSharedConnectionManager(); public: OSharedConnectionManager(const Reference< XComponentContext >& _rxContext); diff --git a/dbaccess/source/core/dataaccess/documentevents.hxx b/dbaccess/source/core/dataaccess/documentevents.hxx index 3d3cdc929668..1835d2f83d23 100644 --- a/dbaccess/source/core/dataaccess/documentevents.hxx +++ b/dbaccess/source/core/dataaccess/documentevents.hxx @@ -46,7 +46,7 @@ namespace dbaccess { public: DocumentEvents( ::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex, DocumentEventsData& _rEventsData ); - ~DocumentEvents(); + virtual ~DocumentEvents(); static bool needsSynchronousNotification( const OUString& _rEventName ); diff --git a/dbaccess/source/core/inc/definitioncolumn.hxx b/dbaccess/source/core/inc/definitioncolumn.hxx index 283cc991b75b..8552adef4264 100644 --- a/dbaccess/source/core/inc/definitioncolumn.hxx +++ b/dbaccess/source/core/inc/definitioncolumn.hxx @@ -145,7 +145,7 @@ namespace dbaccess ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xOriginalTableColumn; protected: - ~OQueryColumn(); + virtual ~OQueryColumn(); public: OQueryColumn( @@ -274,7 +274,7 @@ namespace dbaccess ,public ::comphelper::OIdPropertyArrayUsageHelper < OTableColumnWrapper > { protected: - ~OTableColumnWrapper(); + virtual ~OTableColumnWrapper(); public: OTableColumnWrapper( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rCol, diff --git a/dbaccess/source/core/inc/veto.hxx b/dbaccess/source/core/inc/veto.hxx index 760fe00b8152..cd22822b2b75 100644 --- a/dbaccess/source/core/inc/veto.hxx +++ b/dbaccess/source/core/inc/veto.hxx @@ -45,7 +45,7 @@ namespace dbaccess virtual ::com::sun::star::uno::Any SAL_CALL getDetails() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~Veto(); + virtual ~Veto(); private: Veto(); // never implemented diff --git a/dbaccess/source/core/recovery/settingsimport.hxx b/dbaccess/source/core/recovery/settingsimport.hxx index 7d0aedb3669d..8ea1c2d078d5 100644 --- a/dbaccess/source/core/recovery/settingsimport.hxx +++ b/dbaccess/source/core/recovery/settingsimport.hxx @@ -89,7 +89,7 @@ namespace dbaccess ) SAL_OVERRIDE; private: - ~IgnoringSettingsImport() + virtual ~IgnoringSettingsImport() { } }; @@ -106,7 +106,7 @@ namespace dbaccess ) SAL_OVERRIDE; protected: - ~OfficeSettingsImport(); + virtual ~OfficeSettingsImport(); private: // the settings collection to which |this| will contribute a single setting @@ -120,7 +120,7 @@ namespace dbaccess ConfigItemImport( ::comphelper::NamedValueCollection& o_rSettings ); protected: - ~ConfigItemImport(); + virtual ~ConfigItemImport(); public: // SettingsImport overridables @@ -146,7 +146,7 @@ namespace dbaccess ConfigItemSetImport( ::comphelper::NamedValueCollection& o_rSettings ); protected: - ~ConfigItemSetImport(); + virtual ~ConfigItemSetImport(); public: // SettingsImport overridables diff --git a/dbaccess/source/core/recovery/storagetextstream.hxx b/dbaccess/source/core/recovery/storagetextstream.hxx index a63c5e12e66b..ae12baf8ba38 100644 --- a/dbaccess/source/core/recovery/storagetextstream.hxx +++ b/dbaccess/source/core/recovery/storagetextstream.hxx @@ -37,7 +37,7 @@ namespace dbaccess const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& i_rParentStorage, const OUString& i_rStreamName ); - ~StorageTextOutputStream(); + virtual ~StorageTextOutputStream(); void writeLine( const OUString& i_rLine ); void writeLine(); diff --git a/dbaccess/source/core/recovery/storagexmlstream.hxx b/dbaccess/source/core/recovery/storagexmlstream.hxx index 7c0e50ef161b..bc130d647c3f 100644 --- a/dbaccess/source/core/recovery/storagexmlstream.hxx +++ b/dbaccess/source/core/recovery/storagexmlstream.hxx @@ -40,7 +40,7 @@ namespace dbaccess const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& i_rParentStorage, const OUString& i_rStreamName ); - ~StorageXMLOutputStream(); + virtual ~StorageXMLOutputStream(); // StorageOutputStream overridables virtual void close() SAL_OVERRIDE; @@ -72,7 +72,7 @@ namespace dbaccess const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& i_rParentStorage, const OUString& i_rStreamName ); - ~StorageXMLInputStream(); + virtual ~StorageXMLInputStream(); void import( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >& i_rHandler diff --git a/dbaccess/source/ext/macromigration/macromigrationpages.hxx b/dbaccess/source/ext/macromigration/macromigrationpages.hxx index b5710dd08f64..be05f5619a52 100644 --- a/dbaccess/source/ext/macromigration/macromigrationpages.hxx +++ b/dbaccess/source/ext/macromigration/macromigrationpages.hxx @@ -46,7 +46,7 @@ namespace dbmm { public: MacroMigrationPage( MacroMigrationDialog& _rParentDialog, const ResId& _rRes ); - ~MacroMigrationPage(); + virtual ~MacroMigrationPage(); protected: const MacroMigrationDialog& getDialog() const; diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx index c1e59c5c69e9..57397e8e566c 100644 --- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx @@ -84,7 +84,7 @@ namespace dbmm static Sequence< OUString > SAL_CALL getSupportedServiceNames_static() throw(RuntimeException); protected: - ~MacroMigrationDialogService(); + virtual ~MacroMigrationDialogService(); protected: virtual Dialog* createDialog( Window* _pParent ) SAL_OVERRIDE; diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index abe4960b2514..c07d0fd24490 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -228,7 +228,7 @@ private: DECL_LINK( OnStartTableWizard, void* ); public: DBContentLoader(const Reference< XComponentContext >&); - ~DBContentLoader(); + virtual ~DBContentLoader(); // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) SAL_OVERRIDE; diff --git a/dbaccess/source/sdbtools/connection/connectiontools.hxx b/dbaccess/source/sdbtools/connection/connectiontools.hxx index dccda1be1ed8..aa20d1c8bdf7 100644 --- a/dbaccess/source/sdbtools/connection/connectiontools.hxx +++ b/dbaccess/source/sdbtools/connection/connectiontools.hxx @@ -77,7 +77,7 @@ namespace sdbtools virtual void SAL_CALL initialize(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE; protected: - ~ConnectionTools(); + virtual ~ConnectionTools(); private: ConnectionTools(); // never implemented diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index a7752d017e37..6873b3ef07de 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -237,7 +237,7 @@ public: virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; protected: - ~FormControllerImpl(); + virtual ~FormControllerImpl(); }; SbaXDataBrowserController::FormControllerImpl::FormControllerImpl(SbaXDataBrowserController* _pOwner) diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx index 229257c34f2e..272c42f1d035 100644 --- a/dbaccess/source/ui/browser/dbloader.cxx +++ b/dbaccess/source/ui/browser/dbloader.cxx @@ -70,7 +70,7 @@ private: Reference< XComponentContext > m_xContext; public: DBContentLoader(const Reference< XComponentContext >&); - ~DBContentLoader(); + virtual ~DBContentLoader(); // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) SAL_OVERRIDE; diff --git a/dbaccess/source/ui/browser/dbtreeview.hxx b/dbaccess/source/ui/browser/dbtreeview.hxx index 1900b98de8e2..b084411f63e1 100644 --- a/dbaccess/source/ui/browser/dbtreeview.hxx +++ b/dbaccess/source/ui/browser/dbtreeview.hxx @@ -39,7 +39,7 @@ namespace dbaui DBTreeView( Window* pParent, WinBits nBits ); - ~DBTreeView(); + virtual ~DBTreeView(); /** sets a handler which is called when an list box entry is to be expanded. <p>When calling the link, the parameter is an SvTreeListEntry marking the entry to be expanded. diff --git a/dbaccess/source/ui/dlg/UserAdmin.hxx b/dbaccess/source/ui/dlg/UserAdmin.hxx index fea0f40249ac..9d7d508378a8 100644 --- a/dbaccess/source/ui/dlg/UserAdmin.hxx +++ b/dbaccess/source/ui/dlg/UserAdmin.hxx @@ -67,7 +67,7 @@ protected: public: static SfxTabPage* Create( Window* pParent, const SfxItemSet& _rAttrSet ); - ~OUserAdmin(); + virtual ~OUserAdmin(); OUString GetUser(); // must be overloaded by subclasses, but it isn't pure virtual diff --git a/dbaccess/source/ui/dlg/admincontrols.hxx b/dbaccess/source/ui/dlg/admincontrols.hxx index 3e1cf8fc6302..c2621933aca9 100644 --- a/dbaccess/source/ui/dlg/admincontrols.hxx +++ b/dbaccess/source/ui/dlg/admincontrols.hxx @@ -53,7 +53,7 @@ namespace dbaui public: MySQLNativeSettings( Window& _rParent, const Link& _rControlModificationLink ); - ~MySQLNativeSettings(); + virtual ~MySQLNativeSettings(); void fillControls( ::std::vector< ISaveValueWrapper* >& _rControlList ); void fillWindows( ::std::vector< ISaveValueWrapper* >& _rControlList ); diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index 181393681d3d..514321e873b5 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -105,7 +105,7 @@ namespace dbaui public: OGenericAdministrationPage(Window* _pParent, const ResId& _rId, const SfxItemSet& _rAttrSet); OGenericAdministrationPage(Window* _pParent, const OString& _rId, const OUString& _rUIXMLDescription, const SfxItemSet& _rAttrSet); - ~OGenericAdministrationPage(); + virtual ~OGenericAdministrationPage(); /// set a handler which gets called every time something on the page has been modified void SetModifiedHandler(const Link& _rHandler) { m_aModifiedHandler = _rHandler; } diff --git a/dbaccess/source/ui/dlg/dsselect.hxx b/dbaccess/source/ui/dlg/dsselect.hxx index 6448d31e24e2..d1e0deaddc67 100644 --- a/dbaccess/source/ui/dlg/dsselect.hxx +++ b/dbaccess/source/ui/dlg/dsselect.hxx @@ -53,7 +53,7 @@ protected: public: ODatasourceSelectDialog( Window* _pParent, const StringBag& _rDatasources, SfxItemSet* _pOutputSet = NULL ); - ~ODatasourceSelectDialog(); + virtual ~ODatasourceSelectDialog(); OUString GetSelected() const { return m_pDatasource->GetSelectEntry();} void Select( const OUString& _rEntry ) { m_pDatasource->SelectEntry(_rEntry); } diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx index c99602885717..22dea4cbf3a0 100644 --- a/dbaccess/source/ui/dlg/generalpage.hxx +++ b/dbaccess/source/ui/dlg/generalpage.hxx @@ -34,7 +34,7 @@ namespace dbaui { protected: OGeneralPage( Window* pParent, const OUString& _rUIXMLDescription, const SfxItemSet& _rItems ); - ~OGeneralPage(); + virtual ~OGeneralPage(); OUString m_eCurrentSelection; /// currently selected type ::dbaccess::DATASOURCE_TYPE diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx index bb0bacc278b6..369047bb702a 100644 --- a/dbaccess/source/ui/inc/JoinTableView.hxx +++ b/dbaccess/source/ui/inc/JoinTableView.hxx @@ -60,7 +60,7 @@ namespace dbaui public: OScrollWindowHelper( Window* pParent); - ~OScrollWindowHelper(); + virtual ~OScrollWindowHelper(); void setTableView(OJoinTableView* _pTableView); diff --git a/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx b/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx index 766947b1459e..d6e25af1c8a8 100644 --- a/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx +++ b/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx @@ -29,7 +29,7 @@ public: QueryPropertiesDialog( Window* pParent, const sal_Bool bDistinct, const sal_Int64 nLimit ); - ~QueryPropertiesDialog(); + virtual ~QueryPropertiesDialog(); sal_Bool getDistinct() const; sal_Int64 getLimit() const; diff --git a/dbaccess/source/ui/inc/RelationController.hxx b/dbaccess/source/ui/inc/RelationController.hxx index a566044c783c..b30cd4fc706d 100644 --- a/dbaccess/source/ui/inc/RelationController.hxx +++ b/dbaccess/source/ui/inc/RelationController.hxx @@ -49,7 +49,7 @@ namespace dbaui public: ORelationController(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rM); - ~ORelationController(); + virtual ~ORelationController(); // temp void SaveTabWinsPosSize( OJoinTableView::OTableWindowMap* pTabWinList, long nOffsetX, long nOffsetY ); diff --git a/dbaccess/source/ui/inc/RtfReader.hxx b/dbaccess/source/ui/inc/RtfReader.hxx index a0790baa4940..ad7381c4d912 100644 --- a/dbaccess/source/ui/inc/RtfReader.hxx +++ b/dbaccess/source/ui/inc/RtfReader.hxx @@ -36,7 +36,7 @@ namespace dbaui virtual TypeSelectionPageFactory getTypeSelectionPageFactory() SAL_OVERRIDE; - ~ORTFReader(); + virtual ~ORTFReader(); public: ORTFReader( SvStream& rIn, diff --git a/dbaccess/source/ui/inc/TableDesignView.hxx b/dbaccess/source/ui/inc/TableDesignView.hxx index 20bac108ef6b..e2320d72647b 100644 --- a/dbaccess/source/ui/inc/TableDesignView.hxx +++ b/dbaccess/source/ui/inc/TableDesignView.hxx @@ -43,7 +43,7 @@ namespace dbaui virtual void DataChanged(const DataChangedEvent& rDCEvt) SAL_OVERRIDE; public: OTableBorderWindow(Window* pParent); - ~OTableBorderWindow(); + virtual ~OTableBorderWindow(); // window overloads virtual void Resize() SAL_OVERRIDE; virtual void GetFocus() SAL_OVERRIDE; diff --git a/dbaccess/source/ui/inc/TableFieldDescription.hxx b/dbaccess/source/ui/inc/TableFieldDescription.hxx index 110d5c64accd..1a0703511ed4 100644 --- a/dbaccess/source/ui/inc/TableFieldDescription.hxx +++ b/dbaccess/source/ui/inc/TableFieldDescription.hxx @@ -67,7 +67,7 @@ namespace dbaui OTableFieldDesc(); OTableFieldDesc(const OUString& rTable, const OUString& rField ); OTableFieldDesc(const OTableFieldDesc& rRS); - ~OTableFieldDesc(); + virtual ~OTableFieldDesc(); inline sal_Bool IsEmpty() const; diff --git a/dbaccess/source/ui/inc/charsetlistbox.hxx b/dbaccess/source/ui/inc/charsetlistbox.hxx index 1a22ee6c6162..1a72da8abe5e 100644 --- a/dbaccess/source/ui/inc/charsetlistbox.hxx +++ b/dbaccess/source/ui/inc/charsetlistbox.hxx @@ -34,7 +34,7 @@ namespace dbaui { public: CharSetListBox( Window* _pParent, const ResId& _rResId ); - ~CharSetListBox(); + virtual ~CharSetListBox(); void SelectEntryByIanaName( const OUString& _rIanaName ); bool StoreSelectedCharSet( SfxItemSet& _rSet, const sal_uInt16 _nItemId ); diff --git a/dbaccess/source/ui/inc/curledit.hxx b/dbaccess/source/ui/inc/curledit.hxx index c3f2923f899f..e7a4dfa71f4f 100644 --- a/dbaccess/source/ui/inc/curledit.hxx +++ b/dbaccess/source/ui/inc/curledit.hxx @@ -42,7 +42,7 @@ class OConnectionURLEdit : public Edit public: OConnectionURLEdit(Window* pParent, const ResId& rResId,sal_Bool _bShowPrefix = sal_False); - ~OConnectionURLEdit(); + virtual ~OConnectionURLEdit(); public: // Edit overridables diff --git a/dbaccess/source/ui/inc/dbtreelistbox.hxx b/dbaccess/source/ui/inc/dbtreelistbox.hxx index 52b91ba46313..141b66f25109 100644 --- a/dbaccess/source/ui/inc/dbtreelistbox.hxx +++ b/dbaccess/source/ui/inc/dbtreelistbox.hxx @@ -86,7 +86,7 @@ namespace dbaui DBTreeListBox( Window* pParent ,const ResId& rResId ,sal_Bool _bHandleEnterKey = sal_False); - ~DBTreeListBox(); + virtual ~DBTreeListBox(); void setControlActionListener( IControlActionListener* _pListener ) { m_pActionListener = _pListener; } void setContextMenuProvider( IContextMenuProvider* _pContextMenuProvider ) { m_pContextMenuProvider = _pContextMenuProvider; } diff --git a/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx b/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx index cd52a33d92fd..2500bbc875ce 100644 --- a/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx +++ b/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx @@ -58,7 +58,7 @@ namespace dbaui const OUString& _rRelativeRoot ); - ~HierarchicalNameCheck(); + virtual ~HierarchicalNameCheck(); // IObjectNameCheck overridables virtual bool isNameValid( @@ -108,7 +108,7 @@ namespace dbaui sal_Int32 _nCommandType ); - ~DynamicTableOrQueryNameCheck(); + virtual ~DynamicTableOrQueryNameCheck(); // IObjectNameCheck overridables virtual bool isNameValid( diff --git a/dbaccess/source/ui/inc/directsql.hxx b/dbaccess/source/ui/inc/directsql.hxx index 2e95bb29a35f..65d47e54f8ba 100644 --- a/dbaccess/source/ui/inc/directsql.hxx +++ b/dbaccess/source/ui/inc/directsql.hxx @@ -69,7 +69,7 @@ namespace dbaui DirectSQLDialog( Window* _pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConn); - ~DirectSQLDialog(); + virtual ~DirectSQLDialog(); /// number of history entries sal_Int32 getHistorySize() const; diff --git a/dbaccess/source/ui/inc/dlgattr.hxx b/dbaccess/source/ui/inc/dlgattr.hxx index 28240cf4ef81..f6956361fbdc 100644 --- a/dbaccess/source/ui/inc/dlgattr.hxx +++ b/dbaccess/source/ui/inc/dlgattr.hxx @@ -34,7 +34,7 @@ namespace dbaui public: SbaSbAttrDlg(Window * pParent, const SfxItemSet*, SvNumberFormatter*, bool bHasFormat, bool bRow = false); - ~SbaSbAttrDlg(); + virtual ~SbaSbAttrDlg(); virtual void PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage ) SAL_OVERRIDE; }; diff --git a/dbaccess/source/ui/inc/exsrcbrw.hxx b/dbaccess/source/ui/inc/exsrcbrw.hxx index 709d811cc392..acccc3b849fe 100644 --- a/dbaccess/source/ui/inc/exsrcbrw.hxx +++ b/dbaccess/source/ui/inc/exsrcbrw.hxx @@ -83,7 +83,7 @@ namespace dbaui virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~SbaExternalSourceBrowser(); + virtual ~SbaExternalSourceBrowser(); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet > CreateForm() SAL_OVERRIDE; virtual sal_Bool InitializeForm( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& i_formProperties ) SAL_OVERRIDE; diff --git a/dbaccess/source/ui/inc/formadapter.hxx b/dbaccess/source/ui/inc/formadapter.hxx index 913283191ea5..5d3c1474a3fd 100644 --- a/dbaccess/source/ui/inc/formadapter.hxx +++ b/dbaccess/source/ui/inc/formadapter.hxx @@ -152,7 +152,7 @@ namespace dbaui public: SbaXFormAdapter(); - ~SbaXFormAdapter(); + virtual ~SbaXFormAdapter(); // ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > getIdlClass(); // ::com::sun::star::uno::Sequence<::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses(); diff --git a/dbaccess/source/ui/inc/indexfieldscontrol.hxx b/dbaccess/source/ui/inc/indexfieldscontrol.hxx index 1ab3e9222eb0..354322ae3ad0 100644 --- a/dbaccess/source/ui/inc/indexfieldscontrol.hxx +++ b/dbaccess/source/ui/inc/indexfieldscontrol.hxx @@ -51,7 +51,7 @@ namespace dbaui public: IndexFieldsControl( Window* _pParent, const ResId& _rId ,sal_Int32 _nMaxColumnsInIndex,sal_Bool _bAddIndexAppendix); - ~IndexFieldsControl(); + virtual ~IndexFieldsControl(); void Init(const ::com::sun::star::uno::Sequence< OUString >& _rAvailableFields); diff --git a/dbaccess/source/ui/inc/marktree.hxx b/dbaccess/source/ui/inc/marktree.hxx index 9a1de1a95076..77fb8114ca04 100644 --- a/dbaccess/source/ui/inc/marktree.hxx +++ b/dbaccess/source/ui/inc/marktree.hxx @@ -40,7 +40,7 @@ class OMarkableTreeListBox : public DBTreeListBox public: OMarkableTreeListBox( Window* pParent, WinBits nWinStyle=0 ); OMarkableTreeListBox( Window* pParent, const ResId& rResId ); - ~OMarkableTreeListBox(); + virtual ~OMarkableTreeListBox(); virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; virtual void CheckButtonHdl() SAL_OVERRIDE; diff --git a/dbaccess/source/ui/inc/paramdialog.hxx b/dbaccess/source/ui/inc/paramdialog.hxx index afa0dda5bbed..218041cd0457 100644 --- a/dbaccess/source/ui/inc/paramdialog.hxx +++ b/dbaccess/source/ui/inc/paramdialog.hxx @@ -85,7 +85,7 @@ namespace dbaui const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & _rParamContainer, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > & _rxConnection, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext); - ~OParameterDialog(); + virtual ~OParameterDialog(); ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > getValues() const { return m_aFinalValues; } diff --git a/dbaccess/source/ui/inc/querycontainerwindow.hxx b/dbaccess/source/ui/inc/querycontainerwindow.hxx index 18d4468cf0d4..16d59529f2ff 100644 --- a/dbaccess/source/ui/inc/querycontainerwindow.hxx +++ b/dbaccess/source/ui/inc/querycontainerwindow.hxx @@ -49,7 +49,7 @@ namespace dbaui DECL_LINK( SplitHdl, void* ); public: OQueryContainerWindow(Window* pParent, OQueryController& _rController,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >&); - ~OQueryContainerWindow(); + virtual ~OQueryContainerWindow(); virtual void Construct() SAL_OVERRIDE; diff --git a/dbaccess/source/ui/inc/queryfilter.hxx b/dbaccess/source/ui/inc/queryfilter.hxx index 2fbb8127217a..f50ce3611b10 100644 --- a/dbaccess/source/ui/inc/queryfilter.hxx +++ b/dbaccess/source/ui/inc/queryfilter.hxx @@ -112,7 +112,7 @@ namespace dbaui const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSingleSelectQueryComposer>& _rxComposer, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess>& _rxCols ); - ~DlgFilterCrit(); + virtual ~DlgFilterCrit(); void BuildWherePart(); diff --git a/dbaccess/source/ui/inc/queryorder.hxx b/dbaccess/source/ui/inc/queryorder.hxx index 9dedf1c27d19..a4a535ada1d0 100644 --- a/dbaccess/source/ui/inc/queryorder.hxx +++ b/dbaccess/source/ui/inc/queryorder.hxx @@ -84,7 +84,7 @@ namespace dbaui const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSingleSelectQueryComposer>& _rxComposer, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess>& _rxCols); - ~DlgOrderCrit(); + virtual ~DlgOrderCrit(); void BuildOrderPart(); OUString GetOrderList( ) const; diff --git a/dbaccess/source/ui/inc/sqlmessage.hxx b/dbaccess/source/ui/inc/sqlmessage.hxx index 02e45f73a8d7..6a6387445e2b 100644 --- a/dbaccess/source/ui/inc/sqlmessage.hxx +++ b/dbaccess/source/ui/inc/sqlmessage.hxx @@ -89,7 +89,7 @@ public: MessageType _eType = Info, const ::dbtools::SQLExceptionInfo* _pAdditionalErrorInfo = NULL ); - ~OSQLMessageBox(); + virtual ~OSQLMessageBox(); private: void Construct( WinBits nStyle, MessageType eImage ); diff --git a/dbaccess/source/ui/inc/textconnectionsettings.hxx b/dbaccess/source/ui/inc/textconnectionsettings.hxx index bc75286ed240..4ef97f431531 100644 --- a/dbaccess/source/ui/inc/textconnectionsettings.hxx +++ b/dbaccess/source/ui/inc/textconnectionsettings.hxx @@ -38,7 +38,7 @@ namespace dbaui { public: TextConnectionSettingsDialog( Window* _pParent, SfxItemSet& _rItems ); - ~TextConnectionSettingsDialog(); + virtual ~TextConnectionSettingsDialog(); /** initializes a set of PropertyStorage instaces, which are bound to the text-connection relevant items in our item sets diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index c4cec790b08a..c7220ea7cdf4 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -119,7 +119,7 @@ namespace dbaui // attribute access public: SbaTableQueryBrowser(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rM); - ~SbaTableQueryBrowser(); + virtual ~SbaTableQueryBrowser(); enum EntryType { diff --git a/dbaccess/source/ui/misc/controllerframe.cxx b/dbaccess/source/ui/misc/controllerframe.cxx index 9e772b2c8f5e..3bfd496321b1 100644 --- a/dbaccess/source/ui/misc/controllerframe.cxx +++ b/dbaccess/source/ui/misc/controllerframe.cxx @@ -76,7 +76,7 @@ namespace dbaui void dispose(); protected: - ~FrameWindowActivationListener(); + virtual ~FrameWindowActivationListener(); // XTopWindowListener virtual void SAL_CALL windowOpened( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx index 8cb92ff70dbb..afe22ca862e9 100644 --- a/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx +++ b/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx @@ -30,7 +30,7 @@ namespace dbaui { public: OQueryTabWinShowUndoAct(OQueryTableView* pOwner); - ~OQueryTabWinShowUndoAct(); + virtual ~OQueryTabWinShowUndoAct(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; @@ -42,7 +42,7 @@ namespace dbaui { public: OQueryTabWinDelUndoAct(OQueryTableView* pOwner); - ~OQueryTabWinDelUndoAct(); + virtual ~OQueryTabWinDelUndoAct(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx index 1736655d087d..e42bed965e13 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx @@ -79,7 +79,7 @@ namespace dbaui DECL_LINK(OnInvalidateTimer, void*); public: OSelectionBrowseBox( Window* pParent ); - ~OSelectionBrowseBox(); + virtual ~OSelectionBrowseBox(); void initialize(); OTableFieldDescRef InsertField( const OJoinExchangeData& jxdSource, sal_uInt16 _nColumnPosition = BROWSER_INVALIDID, sal_Bool bVis=sal_True, sal_Bool bActivate=sal_True ); diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.hxx b/dbaccess/source/ui/querydesign/limitboxcontroller.hxx index 31283d87b849..1db59a8e6ebf 100644 --- a/dbaccess/source/ui/querydesign/limitboxcontroller.hxx +++ b/dbaccess/source/ui/querydesign/limitboxcontroller.hxx @@ -32,7 +32,7 @@ class LimitBoxController: public svt::ToolboxController, public: LimitBoxController( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext ); - ~LimitBoxController(); + virtual ~LimitBoxController(); /// XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/dbaccess/source/ui/uno/composerdialogs.hxx b/dbaccess/source/ui/uno/composerdialogs.hxx index d364ceb28d24..9d3b8580107a 100644 --- a/dbaccess/source/ui/uno/composerdialogs.hxx +++ b/dbaccess/source/ui/uno/composerdialogs.hxx @@ -52,7 +52,7 @@ namespace dbaui protected: ComposerDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB); - ~ComposerDialog(); + virtual ~ComposerDialog(); public: virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 3c9753f8b815..4f690a532cb7 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -189,7 +189,7 @@ namespace dbaui protected: CopyTableWizard( const Reference< XComponentContext >& _rxORB ); - ~CopyTableWizard(); + virtual ~CopyTableWizard(); // OGenericUnoDialog overridables virtual Dialog* createDialog( Window* _pParent ) SAL_OVERRIDE; diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index 776cbc8de771..4b171595eee2 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -71,7 +71,7 @@ class Desktop : public Application }; Desktop(); - ~Desktop(); + virtual ~Desktop(); virtual int Main( ) SAL_OVERRIDE; virtual void Init() SAL_OVERRIDE; virtual void InitFinished() SAL_OVERRIDE; diff --git a/desktop/source/app/configinit.cxx b/desktop/source/app/configinit.cxx index 9ca43b843d2f..362080360f71 100644 --- a/desktop/source/app/configinit.cxx +++ b/desktop/source/app/configinit.cxx @@ -91,7 +91,7 @@ public: { } - ~Context() + virtual ~Context() { } diff --git a/desktop/source/deployment/gui/descedit.hxx b/desktop/source/deployment/gui/descedit.hxx index f57d91cbc5a1..d8f2257b372a 100644 --- a/desktop/source/deployment/gui/descedit.hxx +++ b/desktop/source/deployment/gui/descedit.hxx @@ -36,7 +36,7 @@ namespace dp_gui public: DescriptionEdit( Window* pParent, const ResId& rResId ); - inline ~DescriptionEdit() {} + virtual inline ~DescriptionEdit() {} void Clear(); }; diff --git a/desktop/source/deployment/gui/dp_gui_autoscrolledit.hxx b/desktop/source/deployment/gui/dp_gui_autoscrolledit.hxx index e2ac5b02285d..f39148f72288 100644 --- a/desktop/source/deployment/gui/dp_gui_autoscrolledit.hxx +++ b/desktop/source/deployment/gui/dp_gui_autoscrolledit.hxx @@ -32,7 +32,7 @@ class AutoScrollEdit : public ExtMultiLineEdit, public SfxListener { public: AutoScrollEdit( Window* pParent, const ResId& rResId ); - ~AutoScrollEdit(); + virtual ~AutoScrollEdit(); using ExtMultiLineEdit::Notify; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; diff --git a/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx b/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx index 789cc19b6b59..5fbf6bf203ba 100644 --- a/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx @@ -38,7 +38,7 @@ public: DependencyDialog( Window * parent, std::vector< OUString > const & dependencies); - ~DependencyDialog(); + virtual ~DependencyDialog(); private: DependencyDialog(DependencyDialog &); // not defined diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 3875b396de1e..4bacb567de5b 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -140,7 +140,7 @@ class ExtBoxWithBtns_Impl : public ExtensionBox_Impl public: ExtBoxWithBtns_Impl(Window* pParent); - ~ExtBoxWithBtns_Impl(); + virtual ~ExtBoxWithBtns_Impl(); void InitFromDialog(ExtMgrDialog *pParentDialog); diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx index 442b0e199d30..fc08dc518b6b 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx @@ -102,7 +102,7 @@ class ExtensionRemovedListener : public ::cppu::WeakImplHelper1< ::com::sun::sta public: ExtensionRemovedListener( ExtensionBox_Impl *pParent ) { m_pParent = pParent; } - ~ExtensionRemovedListener(); + virtual ~ExtensionRemovedListener(); // XEventListener @@ -181,7 +181,7 @@ class ExtensionBox_Impl : public ::svt::IExtensionListBox public: ExtensionBox_Impl(Window* pParent); ExtensionBox_Impl(Window* pParent, TheExtensionManager *pManager); - ~ExtensionBox_Impl(); + virtual ~ExtensionBox_Impl(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void Paint( const Rectangle &rPaintRect ) SAL_OVERRIDE; diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.hxx b/desktop/source/deployment/gui/dp_gui_theextmgr.hxx index a060a3f273aa..c5c3d42e4594 100644 --- a/desktop/source/deployment/gui/dp_gui_theextmgr.hxx +++ b/desktop/source/deployment/gui/dp_gui_theextmgr.hxx @@ -65,7 +65,7 @@ public: TheExtensionManager( Window * pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &xContext ); - ~TheExtensionManager(); + virtual ~TheExtensionManager(); void createDialog( const bool bCreateUpdDlg ); sal_Int16 execute(); diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx index 1dc8e474c57e..8168d0374679 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx @@ -84,7 +84,7 @@ public: com::sun::star::deployment::XPackage > > & vExtensionList, std::vector< dp_gui::UpdateData > * updateData); - ~UpdateDialog(); + virtual ~UpdateDialog(); virtual bool Close() SAL_OVERRIDE; diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx index 917ca8ae8f1c..87f4cdfcbe4b 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx @@ -60,7 +60,7 @@ public: UpdateInstallDialog(Window * parent, std::vector<UpdateData> & aVecUpdateData, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xCtx); - ~UpdateInstallDialog(); + virtual ~UpdateInstallDialog(); bool Close() SAL_OVERRIDE; virtual short Execute() SAL_OVERRIDE; diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx index 858a370a5560..9758d802c31a 100644 --- a/desktop/source/deployment/gui/license_dialog.cxx +++ b/desktop/source/deployment/gui/license_dialog.cxx @@ -56,7 +56,7 @@ class LicenseView : public MultiLineEdit, public SfxListener public: LicenseView( Window* pParent, WinBits nStyle ); - ~LicenseView(); + virtual ~LicenseView(); void ScrollDown( ScrollType eScroll ); diff --git a/desktop/source/migration/services/jvmfwk.cxx b/desktop/source/migration/services/jvmfwk.cxx index 2ffdc531dc89..00b4678ede72 100644 --- a/desktop/source/migration/services/jvmfwk.cxx +++ b/desktop/source/migration/services/jvmfwk.cxx @@ -197,7 +197,7 @@ public: - ~JavaMigration(); + virtual ~JavaMigration(); private: OUString m_sUserDir; diff --git a/drawinglayer/source/primitive2d/textlayoutdevice.cxx b/drawinglayer/source/primitive2d/textlayoutdevice.cxx index c19efb39c463..cbe0c47b27c1 100644 --- a/drawinglayer/source/primitive2d/textlayoutdevice.cxx +++ b/drawinglayer/source/primitive2d/textlayoutdevice.cxx @@ -60,7 +60,7 @@ namespace public: explicit ImpTimedRefDev(scoped_timed_RefDev& rOwnerofMe); - ~ImpTimedRefDev(); + virtual ~ImpTimedRefDev(); virtual void Timeout() SAL_OVERRIDE; VirtualDevice& acquireVirtualDevice(); diff --git a/editeng/source/accessibility/AccessibleHyperlink.hxx b/editeng/source/accessibility/AccessibleHyperlink.hxx index e3cd8a3bb5ea..fe0ef70e91e4 100644 --- a/editeng/source/accessibility/AccessibleHyperlink.hxx +++ b/editeng/source/accessibility/AccessibleHyperlink.hxx @@ -48,7 +48,7 @@ namespace accessibility public: AccessibleHyperlink( SvxAccessibleTextAdapter& r, SvxFieldItem* p, sal_Int32 nP, sal_uInt16 nR, sal_Int32 nStt, sal_Int32 nEnd, const OUString& rD ); - ~AccessibleHyperlink(); + virtual ~AccessibleHyperlink(); // XAccessibleAction virtual sal_Int32 SAL_CALL getAccessibleActionCount() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/editeng/source/editeng/editattr.hxx b/editeng/source/editeng/editattr.hxx index f958b9008a7a..36360635bf6f 100644 --- a/editeng/source/editeng/editattr.hxx +++ b/editeng/source/editeng/editattr.hxx @@ -355,7 +355,7 @@ class EditCharAttribField: public EditCharAttrib public: EditCharAttribField( const SvxFieldItem& rAttr, sal_uInt16 nPos ); EditCharAttribField( const EditCharAttribField& rAttr ); - ~EditCharAttribField(); + virtual ~EditCharAttribField(); bool operator == ( const EditCharAttribField& rAttr ) const; bool operator != ( const EditCharAttribField& rAttr ) const diff --git a/editeng/source/editeng/editundo.hxx b/editeng/source/editeng/editundo.hxx index 9152b5d60b0e..c15d8c9491ee 100644 --- a/editeng/source/editeng/editundo.hxx +++ b/editeng/source/editeng/editundo.hxx @@ -86,7 +86,7 @@ private: public: EditUndoSplitPara(EditEngine* pEE, sal_Int32 nNode, sal_uInt16 nSepPos); - ~EditUndoSplitPara(); + virtual ~EditUndoSplitPara(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; diff --git a/editeng/source/editeng/edtspell.hxx b/editeng/source/editeng/edtspell.hxx index 5e30f9986bdc..7f1f5c54027d 100644 --- a/editeng/source/editeng/edtspell.hxx +++ b/editeng/source/editeng/edtspell.hxx @@ -137,7 +137,7 @@ protected: public: EdtAutoCorrDoc(EditEngine* pE, ContentNode* pCurNode, sal_uInt16 nCrsr, sal_Unicode cIns); - ~EdtAutoCorrDoc(); + virtual ~EdtAutoCorrDoc(); virtual bool Delete( sal_Int32 nStt, sal_Int32 nEnd ) SAL_OVERRIDE; virtual bool Insert( sal_Int32 nPos, const OUString& rTxt ) SAL_OVERRIDE; diff --git a/editeng/source/editeng/eehtml.hxx b/editeng/source/editeng/eehtml.hxx index 1ea44e8c73d3..e17fcc55715f 100644 --- a/editeng/source/editeng/eehtml.hxx +++ b/editeng/source/editeng/eehtml.hxx @@ -70,7 +70,7 @@ protected: public: EditHTMLParser(SvStream& rIn, const OUString& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs); - ~EditHTMLParser(); + virtual ~EditHTMLParser(); SvParserState CallParser(EditEngine* pEE, const EditPaM& rPaM); diff --git a/editeng/source/editeng/eeobj.hxx b/editeng/source/editeng/eeobj.hxx index bee1397c584c..236ee3821421 100644 --- a/editeng/source/editeng/eeobj.hxx +++ b/editeng/source/editeng/eeobj.hxx @@ -38,7 +38,7 @@ private: public: EditDataObject(); - ~EditDataObject(); + virtual ~EditDataObject(); SvMemoryStream& GetStream() { return maBinData; } SvMemoryStream& GetRTFStream() { return maRTFData; } diff --git a/editeng/source/editeng/eertfpar.hxx b/editeng/source/editeng/eertfpar.hxx index ebca3e6aefeb..4a5c3ca152ea 100644 --- a/editeng/source/editeng/eertfpar.hxx +++ b/editeng/source/editeng/eertfpar.hxx @@ -97,7 +97,7 @@ protected: public: EditRTFParser(SvStream& rIn, EditSelection aCurSel, SfxItemPool& rAttrPool, EditEngine* pEditEngine); - ~EditRTFParser(); + virtual ~EditRTFParser(); virtual SvParserState CallParser() SAL_OVERRIDE; diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 16362d0afa6e..93be9b569074 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -193,7 +193,7 @@ private: public: IdleFormattter(); - ~IdleFormattter(); + virtual ~IdleFormattter(); void DoIdleFormat( EditView* pV ); void ForceTimeout(); @@ -267,7 +267,7 @@ protected: public: ImpEditView( EditView* pView, EditEngine* pEng, Window* pWindow ); - ~ImpEditView(); + virtual ~ImpEditView(); EditView* GetEditViewPtr() { return pEditView; } @@ -687,7 +687,7 @@ protected: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; public: - ~ImpEditEngine(); + virtual ~ImpEditEngine(); inline EditUndoManager& GetUndoManager(); inline ::svl::IUndoManager* SetUndoManager(::svl::IUndoManager* pNew); diff --git a/editeng/source/misc/SvXMLAutoCorrectImport.hxx b/editeng/source/misc/SvXMLAutoCorrectImport.hxx index ac88beec89de..ccd74a1fffda 100644 --- a/editeng/source/misc/SvXMLAutoCorrectImport.hxx +++ b/editeng/source/misc/SvXMLAutoCorrectImport.hxx @@ -47,7 +47,7 @@ public: SvxAutoCorrect &rNewAutoCorrect, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rNewStorage); - ~SvXMLAutoCorrectImport ( void ) throw (); + virtual ~SvXMLAutoCorrectImport ( void ) throw (); }; class SvXMLWordListContext : public SvXMLImportContext @@ -64,7 +64,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - ~SvXMLWordListContext ( void ); + virtual ~SvXMLWordListContext ( void ); }; class SvXMLWordContext : public SvXMLImportContext @@ -77,7 +77,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); - ~SvXMLWordContext ( void ); + virtual ~SvXMLWordContext ( void ); }; @@ -98,7 +98,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, SvStringsISortDtor & rNewList ); - ~SvXMLExceptionListImport ( void ) throw (); + virtual ~SvXMLExceptionListImport ( void ) throw (); }; class SvXMLExceptionListContext : public SvXMLImportContext @@ -115,7 +115,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - ~SvXMLExceptionListContext ( void ); + virtual ~SvXMLExceptionListContext ( void ); }; class SvXMLExceptionContext : public SvXMLImportContext @@ -128,7 +128,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); - ~SvXMLExceptionContext ( void ); + virtual ~SvXMLExceptionContext ( void ); }; diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index f2c8c48ed6d3..0b5a5d085ad1 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -84,7 +84,7 @@ class ThesDummy_Impl : public: ThesDummy_Impl() : pLocaleSeq(0) {} - ~ThesDummy_Impl(); + virtual ~ThesDummy_Impl(); // XSupportedLocales virtual ::com::sun::star::uno::Sequence< diff --git a/editeng/source/outliner/outleeng.hxx b/editeng/source/outliner/outleeng.hxx index 6785881acb3f..dae743f8f7d5 100644 --- a/editeng/source/outliner/outleeng.hxx +++ b/editeng/source/outliner/outleeng.hxx @@ -36,7 +36,7 @@ protected: public: OutlinerEditEng( Outliner* pOwner, SfxItemPool* pPool ); - ~OutlinerEditEng(); + virtual ~OutlinerEditEng(); virtual void PaintingFirstLine( sal_Int32 nPara, const Point& rStartPos, long nBaseLineY, const Point& rOrigin, short nOrientation, OutputDevice* pOutDev ) SAL_OVERRIDE; diff --git a/editeng/source/outliner/outlundo.hxx b/editeng/source/outliner/outlundo.hxx index ca622f03ef59..4d43adf744c9 100644 --- a/editeng/source/outliner/outlundo.hxx +++ b/editeng/source/outliner/outlundo.hxx @@ -119,7 +119,7 @@ class OLUndoExpand : public EditUndo void Restore( sal_Bool bUndo ); public: OLUndoExpand( Outliner* pOut, sal_uInt16 nId ); - ~OLUndoExpand(); + virtual ~OLUndoExpand(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; virtual void Repeat(); diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index 94f91c6aec13..65debcbb2aad 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -352,7 +352,7 @@ public: const OUString& rFileName, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler > & xHandler ); - ~SvxXMLTextExportComponent(); + virtual ~SvxXMLTextExportComponent(); // methods without content: virtual void _ExportAutoStyles() SAL_OVERRIDE; diff --git a/embeddedobj/source/inc/docholder.hxx b/embeddedobj/source/inc/docholder.hxx index 31bd6d58c28b..38e6f09c0c32 100644 --- a/embeddedobj/source/inc/docholder.hxx +++ b/embeddedobj/source/inc/docholder.hxx @@ -117,7 +117,7 @@ public: DocumentHolder( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, OCommonEmbeddedObject* pEmbObj ); - ~DocumentHolder(); + virtual ~DocumentHolder(); OCommonEmbeddedObject* GetEmbedObject() { return m_pEmbedObj; } diff --git a/embeddedobj/source/inc/dummyobject.hxx b/embeddedobj/source/inc/dummyobject.hxx index d8eda574a7bf..9c6163a7ba47 100644 --- a/embeddedobj/source/inc/dummyobject.hxx +++ b/embeddedobj/source/inc/dummyobject.hxx @@ -82,7 +82,7 @@ public: , m_bWaitSaveCompleted( sal_False ) {} - ~ODummyEmbeddedObject(); + virtual ~ODummyEmbeddedObject(); // XEmbeddedObject diff --git a/embeddedobj/source/inc/intercept.hxx b/embeddedobj/source/inc/intercept.hxx index a2291fb03703..5eafe0976ec5 100644 --- a/embeddedobj/source/inc/intercept.hxx +++ b/embeddedobj/source/inc/intercept.hxx @@ -38,7 +38,7 @@ class Interceptor : public ::cppu::WeakImplHelper3< ::com::sun::star::frame::XDi public: Interceptor( DocumentHolder* pDocHolder ); - ~Interceptor(); + virtual ~Interceptor(); void DisconnectDocHolder(); // overwritten to release the statuslistner. diff --git a/embeddedobj/source/msole/ownview.cxx b/embeddedobj/source/msole/ownview.cxx index 5e14b2f1dda2..8f2657a4930e 100644 --- a/embeddedobj/source/msole/ownview.cxx +++ b/embeddedobj/source/msole/ownview.cxx @@ -61,7 +61,7 @@ class DummyHandler_Impl : public ::cppu::WeakImplHelper1< task::XInteractionHand { public: DummyHandler_Impl() {} - ~DummyHandler_Impl(); + virtual ~DummyHandler_Impl(); virtual void SAL_CALL handle( const uno::Reference< task::XInteractionRequest >& xRequest ) throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index 318d25bab219..28cdfdf50e1f 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -213,7 +213,7 @@ class EventAttacherImpl : public WeakImplHelper3 < XEventAttacher2, XInitializat { public: EventAttacherImpl( const Reference< XComponentContext >& ); - ~EventAttacherImpl(); + virtual ~EventAttacherImpl(); // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw(RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx index 46d7bb0748ab..ea7d0596c8d7 100644 --- a/extensions/source/abpilot/abspilot.hxx +++ b/extensions/source/abpilot/abspilot.hxx @@ -50,7 +50,7 @@ namespace abp Window* _pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB); /// dtor - ~OAddessBookSourcePilot(); + virtual ~OAddessBookSourcePilot(); /// get the service factory which was used to create the dialog const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& diff --git a/extensions/source/abpilot/typeselectionpage.hxx b/extensions/source/abpilot/typeselectionpage.hxx index cce22fbc8003..dba5bb791d18 100644 --- a/extensions/source/abpilot/typeselectionpage.hxx +++ b/extensions/source/abpilot/typeselectionpage.hxx @@ -67,7 +67,7 @@ namespace abp public: TypeSelectionPage( OAddessBookSourcePilot* _pParent ); - ~TypeSelectionPage(); + virtual ~TypeSelectionPage(); // retrieves the currently selected type AddressSourceType getSelectedType() const; diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx index 342971dddb43..7503b7ab5e7a 100644 --- a/extensions/source/bibliography/bibbeam.cxx +++ b/extensions/source/bibliography/bibbeam.cxx @@ -86,7 +86,7 @@ namespace bib public: BibGridwin(Window* pParent, WinBits nStyle = WB_3DLOOK ); - ~BibGridwin(); + virtual ~BibGridwin(); void createGridWin(const Reference< awt::XControlModel > & xDbForm); void disposeGridWin(); diff --git a/extensions/source/bibliography/bibbeam.hxx b/extensions/source/bibliography/bibbeam.hxx index adc5d67a97c4..54d444623f3d 100644 --- a/extensions/source/bibliography/bibbeam.hxx +++ b/extensions/source/bibliography/bibbeam.hxx @@ -71,7 +71,7 @@ namespace bib getDispatchProviderInterception(); BibBeamer(Window* pParent,BibDataManager* pDatMan, WinBits nStyle = WB_3DLOOK ); - ~BibBeamer(); + virtual ~BibBeamer(); void SetXController(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > &); diff --git a/extensions/source/bibliography/bibconfig.hxx b/extensions/source/bibliography/bibconfig.hxx index eae39cddab1c..45fd60945459 100644 --- a/extensions/source/bibliography/bibconfig.hxx +++ b/extensions/source/bibliography/bibconfig.hxx @@ -104,7 +104,7 @@ class BibConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: BibConfig(); - ~BibConfig(); + virtual ~BibConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE; diff --git a/extensions/source/bibliography/bibcont.hxx b/extensions/source/bibliography/bibcont.hxx index bb73f85e0adc..2dcf27fa6caa 100644 --- a/extensions/source/bibliography/bibcont.hxx +++ b/extensions/source/bibliography/bibcont.hxx @@ -41,7 +41,7 @@ class BibWindowContainer : public BibWindow //Window public: BibWindowContainer( Window* pParent, BibShortCutHandler* pChild, WinBits nStyle = WB_3DLOOK); - ~BibWindowContainer(); + virtual ~BibWindowContainer(); inline Window* GetChild(); @@ -84,7 +84,7 @@ class BibBookContainer: public BibSplitWindow public: BibBookContainer(Window* pParent, WinBits nStyle = WB_3DLOOK ); - ~BibBookContainer(); + virtual ~BibBookContainer(); inline BibWindow* GetTopWin() {return pTopWin;} inline BibWindow* GetBottomWin() {return pBottomWin;} diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 2e0c0fac497f..9854f533304e 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -95,7 +95,7 @@ private: public: BibliographyLoader(); - ~BibliographyLoader(); + virtual ~BibliographyLoader(); // XServiceInfo OUString SAL_CALL getImplementationName() throw(std::exception ) SAL_OVERRIDE; diff --git a/extensions/source/bibliography/bibview.hxx b/extensions/source/bibliography/bibview.hxx index 3129b80ed60c..ada46edde405 100644 --- a/extensions/source/bibliography/bibview.hxx +++ b/extensions/source/bibliography/bibview.hxx @@ -60,7 +60,7 @@ namespace bib public: BibView( Window* _pParent, BibDataManager* _pDatMan, WinBits nStyle = WB_3DLOOK ); - ~BibView(); + virtual ~BibView(); void UpdatePages(); diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 4399ee8cac1b..91314c809a59 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -272,7 +272,7 @@ class MappingDialog_Impl : public ModalDialog public: MappingDialog_Impl(Window* pParent, BibDataManager* pDatMan); - ~MappingDialog_Impl(); + virtual ~MappingDialog_Impl(); void SetModified() {bModified = sal_True;} @@ -536,7 +536,7 @@ class DBChangeDialog_Impl : public ModalDialog DECL_LINK(DoubleClickHdl, SvTabListBox*); public: DBChangeDialog_Impl(Window* pParent, BibDataManager* pMan ); - ~DBChangeDialog_Impl(); + virtual ~DBChangeDialog_Impl(); OUString GetCurrentURL()const; }; diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx index c8965e0fdfa6..546e482c21c0 100644 --- a/extensions/source/bibliography/datman.hxx +++ b/extensions/source/bibliography/datman.hxx @@ -58,7 +58,7 @@ private: ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterception > xInterception; protected: - ~BibInterceptorHelper( ); + virtual ~BibInterceptorHelper( ); public: BibInterceptorHelper( ::bib::BibBeamer* pBibBeamer, ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDispatch); @@ -130,7 +130,7 @@ protected: public: BibDataManager(); - ~BibDataManager(); + virtual ~BibDataManager(); virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/extensions/source/bibliography/formcontrolcontainer.hxx b/extensions/source/bibliography/formcontrolcontainer.hxx index 4378f5f66d10..77e1f4b725aa 100644 --- a/extensions/source/bibliography/formcontrolcontainer.hxx +++ b/extensions/source/bibliography/formcontrolcontainer.hxx @@ -45,7 +45,7 @@ namespace bib protected: FormControlContainer( ); - ~FormControlContainer( ); + virtual ~FormControlContainer( ); sal_Bool isFormConnected() const { return NULL != m_pFormAdapter; } void connectForm( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XLoadable >& _rxForm ); diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 07d5de5ca65d..26200d123070 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -143,7 +143,7 @@ public: , pController(0) {} - ~BibFrameCtrl_Impl(); + virtual ~BibFrameCtrl_Impl(); virtual void SAL_CALL frameAction(const FrameActionEvent& aEvent) throw( RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL disposing( const lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/bibliography/framectr.hxx b/extensions/source/bibliography/framectr.hxx index 263101da440a..450eaf1a2524 100644 --- a/extensions/source/bibliography/framectr.hxx +++ b/extensions/source/bibliography/framectr.hxx @@ -75,7 +75,7 @@ friend class BibFrameCtrl_Impl; public: BibFrameController_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > & xComponent, BibDataManager* pDatMan); - ~BibFrameController_Impl(); + virtual ~BibFrameController_Impl(); void activate(); diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index 72a124e62791..4daaff7cd1bc 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -49,7 +49,7 @@ protected: public: BibToolBarListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - ~BibToolBarListener(); + virtual ~BibToolBarListener(); OUString GetCommand() const; @@ -69,7 +69,7 @@ class BibTBListBoxListener: public BibToolBarListener public: BibTBListBoxListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - ~BibTBListBoxListener(); + virtual ~BibTBListBoxListener(); virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -81,7 +81,7 @@ class BibTBEditListener: public BibToolBarListener public: BibTBEditListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - ~BibTBEditListener(); + virtual ~BibTBEditListener(); virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -93,7 +93,7 @@ class BibTBQueryMenuListener: public BibToolBarListener public: BibTBQueryMenuListener(BibToolBar *pTB, const OUString& aStr, sal_uInt16 nId); - ~BibTBQueryMenuListener(); + virtual ~BibTBQueryMenuListener(); virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -149,7 +149,7 @@ class BibToolBar: public ToolBox public: BibToolBar(Window* pParent, Link aLink, WinBits nStyle = WB_3DLOOK ); - ~BibToolBar(); + virtual ~BibToolBar(); void SetXController(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > &); diff --git a/extensions/source/config/ldap/ldapuserprofilebe.hxx b/extensions/source/config/ldap/ldapuserprofilebe.hxx index 3a24025c3b75..359cd15f9091 100644 --- a/extensions/source/config/ldap/ldapuserprofilebe.hxx +++ b/extensions/source/config/ldap/ldapuserprofilebe.hxx @@ -55,7 +55,7 @@ class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase public : LdapUserProfileBe(const uno::Reference<uno::XComponentContext>& xContext); - ~LdapUserProfileBe(void) ; + virtual ~LdapUserProfileBe(void) ; // XServiceInfo virtual OUString SAL_CALL diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx index 9c571185f923..1ef099113faa 100644 --- a/extensions/source/dbpilots/controlwizard.hxx +++ b/extensions/source/dbpilots/controlwizard.hxx @@ -76,7 +76,7 @@ namespace dbp public: OControlWizardPage( OControlWizard* _pParent, const ResId& _rResId ); - ~OControlWizardPage(); + virtual ~OControlWizardPage(); protected: void fillListBox( @@ -116,7 +116,7 @@ namespace dbp const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObjectModel, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext ); - ~OControlWizard(); + virtual ~OControlWizard(); // make the some base class methods public sal_Bool travelNext() { return OControlWizard_Base::travelNext(); } diff --git a/extensions/source/logging/logger.cxx b/extensions/source/logging/logger.cxx index 68e0f42fbaa3..fee072904824 100644 --- a/extensions/source/logging/logger.cxx +++ b/extensions/source/logging/logger.cxx @@ -91,7 +91,7 @@ namespace logging virtual void SAL_CALL logp( ::sal_Int32 Level, const OUString& SourceClass, const OUString& SourceMethod, const OUString& Message ) throw (RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~EventLogger(); + virtual ~EventLogger(); private: /** logs the given log record diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx index 04c4c8e44a4b..658d1ff8d52a 100644 --- a/extensions/source/plugin/base/xplugin.cxx +++ b/extensions/source/plugin/base/xplugin.cxx @@ -78,7 +78,7 @@ public: salhelper::TTimeValue( 2, 0 ) ), m_pPlugin( pPlugin ) { start(); } - ~PluginDisposer() {} + virtual ~PluginDisposer() {} }; void PluginDisposer::onShot() diff --git a/extensions/source/plugin/inc/plugin/unx/mediator.hxx b/extensions/source/plugin/inc/plugin/unx/mediator.hxx index 073a096b7425..31148e44f69b 100644 --- a/extensions/source/plugin/inc/plugin/unx/mediator.hxx +++ b/extensions/source/plugin/inc/plugin/unx/mediator.hxx @@ -154,7 +154,7 @@ class MediatorListener : public osl::Thread ::osl::Mutex m_aMutex; MediatorListener( Mediator* ); - ~MediatorListener(); + virtual ~MediatorListener(); virtual void run() SAL_OVERRIDE; virtual void onTerminated() SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index 9ce67fa357c9..8332a341b4a5 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -172,7 +172,7 @@ namespace pcr virtual void SAL_CALL release() throw() SAL_OVERRIDE; protected: - ~PropertyControlContext_Impl(); + virtual ~PropertyControlContext_Impl(); // XPropertyControlObserver virtual void SAL_CALL focusGained( const Reference< XPropertyControl >& Control ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/browserlistbox.hxx b/extensions/source/propctrlr/browserlistbox.hxx index 728aef6657f4..a7a050b6db85 100644 --- a/extensions/source/propctrlr/browserlistbox.hxx +++ b/extensions/source/propctrlr/browserlistbox.hxx @@ -124,7 +124,7 @@ namespace pcr public: OBrowserListBox( Window* pParent, WinBits nWinStyle = WB_DIALOGCONTROL ); - ~OBrowserListBox(); + virtual ~OBrowserListBox(); void UpdateAll(); diff --git a/extensions/source/propctrlr/browserpage.hxx b/extensions/source/propctrlr/browserpage.hxx index 49b4d47c5e79..bc013c3eb3b3 100644 --- a/extensions/source/propctrlr/browserpage.hxx +++ b/extensions/source/propctrlr/browserpage.hxx @@ -42,7 +42,7 @@ namespace pcr public: OBrowserPage(Window* pParent, WinBits nWinStyle = 0); - ~OBrowserPage(); + virtual ~OBrowserPage(); sal_Int32 getMinimumWidth(); sal_Int32 getMinimumHeight(); diff --git a/extensions/source/propctrlr/buttonnavigationhandler.hxx b/extensions/source/propctrlr/buttonnavigationhandler.hxx index 94a6b9e18e4b..5a1db39609b8 100644 --- a/extensions/source/propctrlr/buttonnavigationhandler.hxx +++ b/extensions/source/propctrlr/buttonnavigationhandler.hxx @@ -48,7 +48,7 @@ namespace pcr static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (::com::sun::star::uno::RuntimeException); protected: - ~ButtonNavigationHandler(); + virtual ~ButtonNavigationHandler(); static bool isNavigationCapableButton( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxComponent ); diff --git a/extensions/source/propctrlr/cellbindinghandler.hxx b/extensions/source/propctrlr/cellbindinghandler.hxx index 454bf01ad4c0..68342a643efc 100644 --- a/extensions/source/propctrlr/cellbindinghandler.hxx +++ b/extensions/source/propctrlr/cellbindinghandler.hxx @@ -54,7 +54,7 @@ namespace pcr static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (::com::sun::star::uno::RuntimeException); protected: - ~CellBindingPropertyHandler(); + virtual ~CellBindingPropertyHandler(); protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx index 9b523a1cb08b..bbf2fab66fe7 100644 --- a/extensions/source/propctrlr/composeduiupdate.cxx +++ b/extensions/source/propctrlr/composeduiupdate.cxx @@ -154,7 +154,7 @@ namespace pcr virtual void SAL_CALL release() throw() SAL_OVERRIDE; protected: - ~CachedInspectorUI(); + virtual ~CachedInspectorUI(); /// determines whether the instance is already disposed inline bool isDisposed() const { return m_bDisposed; } diff --git a/extensions/source/propctrlr/controlfontdialog.hxx b/extensions/source/propctrlr/controlfontdialog.hxx index 100935ba509c..2aada9d5ec52 100644 --- a/extensions/source/propctrlr/controlfontdialog.hxx +++ b/extensions/source/propctrlr/controlfontdialog.hxx @@ -55,7 +55,7 @@ namespace pcr public: OControlFontDialog(const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& _rxContext); - ~OControlFontDialog(); + virtual ~OControlFontDialog(); // XTypeProvider virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/defaultforminspection.hxx b/extensions/source/propctrlr/defaultforminspection.hxx index 6ca637bd4f50..da81086414e7 100644 --- a/extensions/source/propctrlr/defaultforminspection.hxx +++ b/extensions/source/propctrlr/defaultforminspection.hxx @@ -44,7 +44,7 @@ namespace pcr SAL_WNODEPRECATED_DECLARATIONS_POP protected: - ~DefaultFormComponentInspectorModel(); + virtual ~DefaultFormComponentInspectorModel(); // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/defaulthelpprovider.hxx b/extensions/source/propctrlr/defaulthelpprovider.hxx index a2141353aa7c..a308f06bf7ab 100644 --- a/extensions/source/propctrlr/defaulthelpprovider.hxx +++ b/extensions/source/propctrlr/defaulthelpprovider.hxx @@ -57,7 +57,7 @@ namespace pcr Create(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >&); protected: - ~DefaultHelpProvider(); + virtual ~DefaultHelpProvider(); // XPropertyControlObserver virtual void SAL_CALL focusGained( const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControl >& Control ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/editpropertyhandler.hxx b/extensions/source/propctrlr/editpropertyhandler.hxx index 4e04cbe81e38..8cbc02499db8 100644 --- a/extensions/source/propctrlr/editpropertyhandler.hxx +++ b/extensions/source/propctrlr/editpropertyhandler.hxx @@ -45,7 +45,7 @@ namespace pcr static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (::com::sun::star::uno::RuntimeException); protected: - ~EditPropertyHandler(); + virtual ~EditPropertyHandler(); protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/eformspropertyhandler.hxx b/extensions/source/propctrlr/eformspropertyhandler.hxx index 63ed5afbb938..1f0e03c1cad6 100644 --- a/extensions/source/propctrlr/eformspropertyhandler.hxx +++ b/extensions/source/propctrlr/eformspropertyhandler.hxx @@ -55,7 +55,7 @@ namespace pcr static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (::com::sun::star::uno::RuntimeException); protected: - ~EFormsPropertyHandler(); + virtual ~EFormsPropertyHandler(); protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index 6cf014207cd4..f451325e5639 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -349,7 +349,7 @@ namespace pcr virtual ::sal_Bool SAL_CALL hasElements( ) throw (RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~EventHolder( ); + virtual ~EventHolder( ); private: ScriptEventDescriptor impl_getDescriptor_throw( const OUString& _rEventName ) const; diff --git a/extensions/source/propctrlr/eventhandler.hxx b/extensions/source/propctrlr/eventhandler.hxx index 6027d45b54d6..2054c3d3de5f 100644 --- a/extensions/source/propctrlr/eventhandler.hxx +++ b/extensions/source/propctrlr/eventhandler.hxx @@ -106,7 +106,7 @@ namespace pcr const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext ); - ~EventHandler(); + virtual ~EventHandler(); protected: // XPropertyHandler overridables diff --git a/extensions/source/propctrlr/fontdialog.hxx b/extensions/source/propctrlr/fontdialog.hxx index f346b71148b1..7fff48b0d5d9 100644 --- a/extensions/source/propctrlr/fontdialog.hxx +++ b/extensions/source/propctrlr/fontdialog.hxx @@ -36,7 +36,7 @@ namespace pcr { public: ControlCharacterDialog(Window* _pParent, const SfxItemSet& _rCoreSet); - ~ControlCharacterDialog(); + virtual ~ControlCharacterDialog(); /// creates an item set to be used with this dialog static SfxItemSet* createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rpPool, SfxPoolItem**& _rppDefaults); diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx index fac0d429dad8..0753d826508e 100644 --- a/extensions/source/propctrlr/formcomponenthandler.hxx +++ b/extensions/source/propctrlr/formcomponenthandler.hxx @@ -108,7 +108,7 @@ namespace pcr static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (::com::sun::star::uno::RuntimeException); protected: - ~FormComponentPropertyHandler(); + virtual ~FormComponentPropertyHandler(); protected: virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/formcontroller.hxx b/extensions/source/propctrlr/formcontroller.hxx index 918fb197a328..194bd8fa7ace 100644 --- a/extensions/source/propctrlr/formcontroller.hxx +++ b/extensions/source/propctrlr/formcontroller.hxx @@ -75,7 +75,7 @@ namespace pcr Create(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >&); protected: - ~FormController(); + virtual ~FormController(); DECLARE_XINTERFACE() DECLARE_XTYPEPROVIDER() diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx index 0035646f5836..91ad0f2c47c7 100644 --- a/extensions/source/propctrlr/formgeometryhandler.cxx +++ b/extensions/source/propctrlr/formgeometryhandler.cxx @@ -218,7 +218,7 @@ namespace pcr static Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (RuntimeException); protected: - ~FormGeometryHandler(); + virtual ~FormGeometryHandler(); protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/formlinkdialog.hxx b/extensions/source/propctrlr/formlinkdialog.hxx index beabf9e31137..920d4059fe9f 100644 --- a/extensions/source/propctrlr/formlinkdialog.hxx +++ b/extensions/source/propctrlr/formlinkdialog.hxx @@ -83,7 +83,7 @@ namespace pcr const OUString& _sDetailLabel = OUString(), const OUString& _sMasterLabel = OUString() ); - ~FormLinkDialog( ); + virtual ~FormLinkDialog( ); // Dialog overridables virtual short Execute() SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx index c64cceff8a41..5bb9ad001422 100644 --- a/extensions/source/propctrlr/formmetadata.hxx +++ b/extensions/source/propctrlr/formmetadata.hxx @@ -87,7 +87,7 @@ namespace pcr DefaultEnumRepresentation( const IPropertyInfoService& _rInfo, const ::com::sun::star::uno::Type& _rType, sal_Int32 _nPropertyId ); protected: - ~DefaultEnumRepresentation(); + virtual ~DefaultEnumRepresentation(); protected: // IPropertyEnumRepresentation implementqation diff --git a/extensions/source/propctrlr/genericpropertyhandler.cxx b/extensions/source/propctrlr/genericpropertyhandler.cxx index 979c56b9e46b..235ea36f9727 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.cxx +++ b/extensions/source/propctrlr/genericpropertyhandler.cxx @@ -206,7 +206,7 @@ namespace pcr UrlClickHandler( const Reference<XComponentContext>& _rContext, const Reference< XHyperlinkControl >& _rxControl ); protected: - ~UrlClickHandler(); + virtual ~UrlClickHandler(); // XActionListener virtual void SAL_CALL actionPerformed( const ActionEvent& rEvent ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/genericpropertyhandler.hxx b/extensions/source/propctrlr/genericpropertyhandler.hxx index 571c8597857f..7723a7a4e8d5 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.hxx +++ b/extensions/source/propctrlr/genericpropertyhandler.hxx @@ -90,7 +90,7 @@ namespace pcr const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext ); - ~GenericPropertyHandler(); + virtual ~GenericPropertyHandler(); protected: // XPropertyHandler overridables diff --git a/extensions/source/propctrlr/inspectormodelbase.hxx b/extensions/source/propctrlr/inspectormodelbase.hxx index f5e0d1655cbb..db002132e401 100644 --- a/extensions/source/propctrlr/inspectormodelbase.hxx +++ b/extensions/source/propctrlr/inspectormodelbase.hxx @@ -57,7 +57,7 @@ namespace pcr ::std::auto_ptr< InspectorModelProperties > m_pProperties; protected: - ~ImplInspectorModel(); + virtual ~ImplInspectorModel(); public: ImplInspectorModel(); diff --git a/extensions/source/propctrlr/pcrunodialogs.hxx b/extensions/source/propctrlr/pcrunodialogs.hxx index 30f72b694953..545af7988fb0 100644 --- a/extensions/source/propctrlr/pcrunodialogs.hxx +++ b/extensions/source/propctrlr/pcrunodialogs.hxx @@ -51,7 +51,7 @@ namespace pcr public: OTabOrderDialog( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& _rxContext ); - ~OTabOrderDialog(); + virtual ~OTabOrderDialog(); // XTypeProvider virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx index a69ae642045a..d324cf8e76b6 100644 --- a/extensions/source/propctrlr/propertyeditor.hxx +++ b/extensions/source/propctrlr/propertyeditor.hxx @@ -73,7 +73,7 @@ namespace pcr public: OPropertyEditor (Window* pParent, WinBits nWinStyle = WB_DIALOGCONTROL); - ~OPropertyEditor(); + virtual ~OPropertyEditor(); void EnableUpdate(); void DisableUpdate(); diff --git a/extensions/source/propctrlr/propertyhandler.hxx b/extensions/source/propctrlr/propertyhandler.hxx index 5c3ddfb8879d..2480ab90e199 100644 --- a/extensions/source/propctrlr/propertyhandler.hxx +++ b/extensions/source/propctrlr/propertyhandler.hxx @@ -100,7 +100,7 @@ namespace pcr PropertyHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext ); - ~PropertyHandler(); + virtual ~PropertyHandler(); // default implementations for XPropertyHandler virtual void SAL_CALL inspect( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxIntrospectee ) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::NullPointerException, std::exception) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/selectlabeldialog.hxx b/extensions/source/propctrlr/selectlabeldialog.hxx index ccf52286b1d5..0a732f0e8f2d 100644 --- a/extensions/source/propctrlr/selectlabeldialog.hxx +++ b/extensions/source/propctrlr/selectlabeldialog.hxx @@ -60,7 +60,7 @@ namespace pcr public: OSelectLabelDialog(Window* pParent, ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > _xControlModel); - ~OSelectLabelDialog(); + virtual ~OSelectLabelDialog(); ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > GetSelected() const { return m_aNoAssignment.IsChecked() ? ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > () : m_xSelectedControl; } diff --git a/extensions/source/propctrlr/sqlcommanddesign.hxx b/extensions/source/propctrlr/sqlcommanddesign.hxx index e581a9c8098f..ad86dbd19393 100644 --- a/extensions/source/propctrlr/sqlcommanddesign.hxx +++ b/extensions/source/propctrlr/sqlcommanddesign.hxx @@ -115,7 +115,7 @@ namespace pcr virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~SQLCommandDesigner(); + virtual ~SQLCommandDesigner(); /** opens a new frame for interactively designing an SQL command @precond diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx index 8e6fefd65004..b365cdd59963 100644 --- a/extensions/source/propctrlr/standardcontrol.hxx +++ b/extensions/source/propctrlr/standardcontrol.hxx @@ -382,7 +382,7 @@ namespace pcr public: DropDownEditControl( Window* _pParent, WinBits _nStyle ); - ~DropDownEditControl(); + virtual ~DropDownEditControl(); void setOperationMode( MultiLineOperationMode _eMode ) { m_nOperationMode = _eMode; } MultiLineOperationMode getOperationMode() const { return m_nOperationMode; } diff --git a/extensions/source/propctrlr/submissionhandler.hxx b/extensions/source/propctrlr/submissionhandler.hxx index 488ebd4adfdb..8ba663007a95 100644 --- a/extensions/source/propctrlr/submissionhandler.hxx +++ b/extensions/source/propctrlr/submissionhandler.hxx @@ -81,7 +81,7 @@ namespace pcr static OUString SAL_CALL getImplementationName_static( ) throw (::com::sun::star::uno::RuntimeException); static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (::com::sun::star::uno::RuntimeException); - ~SubmissionPropertyHandler(); + virtual ~SubmissionPropertyHandler(); protected: // XPropertyHandler overriables diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx index 98abdaaa83f1..5fcf95b99ff0 100644 --- a/extensions/source/propctrlr/usercontrol.hxx +++ b/extensions/source/propctrlr/usercontrol.hxx @@ -118,7 +118,7 @@ namespace pcr void SetThousandsSep(sal_Bool bEnable) { getTypedControlWindow()->SetThousandsSep(bEnable); } protected: - ~OFormattedNumericControl(); + virtual ~OFormattedNumericControl(); }; @@ -136,7 +136,7 @@ namespace pcr virtual ::com::sun::star::uno::Type SAL_CALL getValueType() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~OFileUrlControl(); + virtual ~OFileUrlControl(); }; @@ -146,7 +146,7 @@ namespace pcr { public: OTimeDurationControl( ::Window* pParent, WinBits nWinStyle ); - ~OTimeDurationControl(); + virtual ~OTimeDurationControl(); // XPropertyControl ::sal_Int16 SAL_CALL getControlType() throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; diff --git a/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx b/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx index eb0274adb96e..37cbe6fd2b3b 100644 --- a/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx +++ b/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx @@ -49,7 +49,7 @@ namespace pcr static ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames_static( ) throw (::com::sun::star::uno::RuntimeException); protected: - ~XSDValidationPropertyHandler(); + virtual ~XSDValidationPropertyHandler(); protected: // XPropertyHandler overriables diff --git a/extensions/source/resource/oooresourceloader.cxx b/extensions/source/resource/oooresourceloader.cxx index 11911d5ef64e..79a1cbbe8336 100644 --- a/extensions/source/resource/oooresourceloader.cxx +++ b/extensions/source/resource/oooresourceloader.cxx @@ -111,7 +111,7 @@ namespace extensions { namespace resource ); protected: - ~OpenOfficeResourceBundle(); + virtual ~OpenOfficeResourceBundle(); public: // XResourceBundle diff --git a/extensions/source/scanner/grid.hxx b/extensions/source/scanner/grid.hxx index c2e160979457..7add3d23a0ec 100644 --- a/extensions/source/scanner/grid.hxx +++ b/extensions/source/scanner/grid.hxx @@ -118,7 +118,7 @@ class GridWindow : public ModalDialog public: GridWindow( double* pXValues, double* pYValues, int nValues, Window* pParent, sal_Bool bCutValues = sal_True ); - ~GridWindow(); + virtual ~GridWindow(); void setBoundings( double fMinX, double fMinY, double fMaxX, double fMaxY ); double getMinX() { return m_fMinX; } diff --git a/extensions/source/scanner/sanedlg.hxx b/extensions/source/scanner/sanedlg.hxx index f658d822766b..cede6214fe9a 100644 --- a/extensions/source/scanner/sanedlg.hxx +++ b/extensions/source/scanner/sanedlg.hxx @@ -135,7 +135,7 @@ private: virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; public: SaneDlg( Window*, Sane&, bool ); - ~SaneDlg(); + virtual ~SaneDlg(); virtual short Execute() SAL_OVERRIDE; bool getDoScan(); diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index d16e92b54ff2..e42ccfa05ed1 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -328,7 +328,7 @@ public: virtual void SAL_CALL onTerminated() SAL_OVERRIDE; protected: - ~DownloadThread(); + virtual ~DownloadThread(); private: osl::Condition& m_aCondition; @@ -347,7 +347,7 @@ public: virtual void SAL_CALL onTerminated() SAL_OVERRIDE; protected: - ~ShutdownThread(); + virtual ~ShutdownThread(); private: osl::Condition m_aCondition; diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index e4d13a7ad805..eb19f8366873 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -105,7 +105,7 @@ private: public: BubbleWindow( Window* pParent, const OUString& rTitle, const OUString& rText, const Image& rImage ); - ~BubbleWindow(); + virtual ~BubbleWindow(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/filter/source/flash/impswfdialog.hxx b/filter/source/flash/impswfdialog.hxx index b663c081ceff..0726e2de3729 100644 --- a/filter/source/flash/impswfdialog.hxx +++ b/filter/source/flash/impswfdialog.hxx @@ -57,7 +57,7 @@ private: public: ImpSWFDialog( Window* pParent, com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rFilterData ); - ~ImpSWFDialog(); + virtual ~ImpSWFDialog(); com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > GetFilterData(); }; diff --git a/filter/source/graphicfilter/icgm/outact.hxx b/filter/source/graphicfilter/icgm/outact.hxx index d484be5190c0..99b8dd5bbe91 100644 --- a/filter/source/graphicfilter/icgm/outact.hxx +++ b/filter/source/graphicfilter/icgm/outact.hxx @@ -113,7 +113,7 @@ class CGMImpressOutAct : public CGMOutAct void ImplSetTextBundle( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & ) ; public: CGMImpressOutAct( CGM&, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & ) ; - ~CGMImpressOutAct() {} ; + virtual ~CGMImpressOutAct() {} ; virtual void InsertPage() SAL_OVERRIDE ; virtual void BeginGroup() SAL_OVERRIDE ; virtual void EndGroup() SAL_OVERRIDE ; diff --git a/filter/source/graphicfilter/idxf/dxfentrd.hxx b/filter/source/graphicfilter/idxf/dxfentrd.hxx index add9e533f2a6..8c6f950a1f21 100644 --- a/filter/source/graphicfilter/idxf/dxfentrd.hxx +++ b/filter/source/graphicfilter/idxf/dxfentrd.hxx @@ -367,7 +367,7 @@ class DXFLWPolyLineEntity : public DXFBasicEntity DXFVector* pP; DXFLWPolyLineEntity(); - ~DXFLWPolyLineEntity(); + virtual ~DXFLWPolyLineEntity(); protected : @@ -480,7 +480,7 @@ class DXFHatchEntity : public DXFBasicEntity DXFBoundaryPathData* pBoundaryPathData; DXFHatchEntity(); - ~DXFHatchEntity(); + virtual ~DXFHatchEntity(); protected : diff --git a/filter/source/pdf/impdialog.hxx b/filter/source/pdf/impdialog.hxx index 5e44848d9111..0d737ed46afd 100644 --- a/filter/source/pdf/impdialog.hxx +++ b/filter/source/pdf/impdialog.hxx @@ -62,7 +62,7 @@ class ImplErrorDialog : public MessageDialog DECL_LINK(SelectHdl, void *); public: ImplErrorDialog( const std::set< vcl::PDFWriter::ErrorCode >& ); - ~ImplErrorDialog(); + virtual ~ImplErrorDialog(); }; class ImpPDFTabSecurityPage; @@ -169,7 +169,7 @@ public: Sequence< PropertyValue >& rFilterData, const Reference< XComponent >& rDoc ); - ~ImpPDFTabDialog(); + virtual ~ImpPDFTabDialog(); Sequence< PropertyValue > GetFilterData(); @@ -241,7 +241,7 @@ public: ImpPDFTabGeneralPage( Window* pParent, const SfxItemSet& rSet ); - ~ImpPDFTabGeneralPage(); + virtual ~ImpPDFTabGeneralPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -280,7 +280,7 @@ public: ImpPDFTabOpnFtrPage( Window* pParent, const SfxItemSet& rSet ); - ~ImpPDFTabOpnFtrPage(); + virtual ~ImpPDFTabOpnFtrPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); @@ -313,7 +313,7 @@ public: ImpPDFTabViewerPage( Window* pParent, const SfxItemSet& rSet ); - ~ImpPDFTabViewerPage(); + virtual ~ImpPDFTabViewerPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); @@ -368,7 +368,7 @@ public: ImpPDFTabSecurityPage( Window* pParent, const SfxItemSet& rSet ); - ~ImpPDFTabSecurityPage(); + virtual ~ImpPDFTabSecurityPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); @@ -399,7 +399,7 @@ public: ImpPDFTabLinksPage( Window* pParent, const SfxItemSet& rSet ); - ~ImpPDFTabLinksPage(); + virtual ~ImpPDFTabLinksPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); @@ -428,7 +428,7 @@ public: ImpPDFTabSigningPage( Window* pParent, const SfxItemSet& rSet ); - ~ImpPDFTabSigningPage(); + virtual ~ImpPDFTabSigningPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/filter/source/svg/impsvgdialog.hxx b/filter/source/svg/impsvgdialog.hxx index 266bd2711321..f6bc5221b915 100644 --- a/filter/source/svg/impsvgdialog.hxx +++ b/filter/source/svg/impsvgdialog.hxx @@ -66,7 +66,7 @@ public: ImpSVGDialog( Window* pParent, /*ResMgr& rResMgr,*/ com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rFilterData ); - ~ImpSVGDialog(); + virtual ~ImpSVGDialog(); com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > GetFilterData(); }; diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx index eec7a98e89a6..499b6785a0f0 100644 --- a/filter/source/t602/t602filter.hxx +++ b/filter/source/t602/t602filter.hxx @@ -104,7 +104,7 @@ class T602ImportFilterDialog : public cppu::WeakImplHelper4 < OUString getResStr( sal_Int16 resid ); void initLocale(); - ~T602ImportFilterDialog(); + virtual ~T602ImportFilterDialog(); // XExecutableDialog virtual void SAL_CALL setTitle( const OUString& aTitle ) @@ -217,7 +217,7 @@ private: public: T602ImportFilter(const ::com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory > &r ); - ~T602ImportFilter(); + virtual ~T602ImportFilter(); // XFilter virtual sal_Bool SAL_CALL filter( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx index 20a8d8298d3e..7fbd3622f0e7 100644 --- a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx +++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx @@ -49,7 +49,7 @@ public: SvxPathControl(Window* pParent); HeaderBar* getHeaderBar() { return m_pHeaderBar; } XMLFilterListBox* getListBox() { return m_pFocusCtrl; } - ~SvxPathControl(); + virtual ~SvxPathControl(); virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; }; diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index 8ffc69063619..a0761f8dfd96 100644 --- a/filter/source/xsltfilter/XSLTFilter.cxx +++ b/filter/source/xsltfilter/XSLTFilter.cxx @@ -131,7 +131,7 @@ namespace XSLT // ctor... XSLTFilter(const css::uno::Reference<XComponentContext> &r); - ~XSLTFilter(); + virtual ~XSLTFilter(); // XStreamListener virtual void SAL_CALL diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx index 69a1f07df862..b4762bad2c46 100644 --- a/forms/source/component/DatabaseForm.hxx +++ b/forms/source/component/DatabaseForm.hxx @@ -220,7 +220,7 @@ class ODatabaseForm :public OFormComponents public: ODatabaseForm(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory); ODatabaseForm( const ODatabaseForm& _cloneSource ); - ~ODatabaseForm(); + virtual ~ODatabaseForm(); // UNO binding DECLARE_UNO3_AGG_DEFAULTS(ODatabaseForm, OFormComponents); diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index f39db452873e..28229fcb3abe 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -87,7 +87,7 @@ public: using SvNumberFormatsSupplierObj::operator delete; protected: StandardFormatsSupplier(const Reference< XComponentContext >& _rxFactory,LanguageType _eSysLanguage); - ~StandardFormatsSupplier(); + virtual ~StandardFormatsSupplier(); protected: virtual bool queryTermination() const SAL_OVERRIDE; virtual void notifyTermination() SAL_OVERRIDE; diff --git a/forms/source/component/imgprod.hxx b/forms/source/component/imgprod.hxx index de2418e4562e..57d5e1d55302 100644 --- a/forms/source/component/imgprod.hxx +++ b/forms/source/component/imgprod.hxx @@ -68,7 +68,7 @@ private: public: ImageProducer(); - ~ImageProducer(); + virtual ~ImageProducer(); void SetImage( const OUString& rPath ); void SetImage( SvStream& rStm ); diff --git a/forms/source/helper/commanddescriptionprovider.cxx b/forms/source/helper/commanddescriptionprovider.cxx index f72a293eb3dd..6a6621b8fb5a 100644 --- a/forms/source/helper/commanddescriptionprovider.cxx +++ b/forms/source/helper/commanddescriptionprovider.cxx @@ -63,7 +63,7 @@ namespace frm impl_init_nothrow( _rxContext, _rxDocument ); } - ~DefaultCommandDescriptionProvider() + virtual ~DefaultCommandDescriptionProvider() { } diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index 1c78873f115b..27e6f8db0800 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -529,7 +529,7 @@ public: // simple destructor #define DECLARE_DEFAULT_DTOR( classname ) \ - ~classname() \ + ~classname()override/*TODO*/ \ // constructor for cloning a class #define DECLARE_DEFAULT_CLONE_CTOR( classname ) \ diff --git a/forms/source/richtext/attributedispatcher.hxx b/forms/source/richtext/attributedispatcher.hxx index 36bc578cb91b..c212529a97f9 100644 --- a/forms/source/richtext/attributedispatcher.hxx +++ b/forms/source/richtext/attributedispatcher.hxx @@ -62,7 +62,7 @@ namespace frm void notifyAttributeState( const AttributeState& _rState ) SAL_THROW (()); protected: - ~OAttributeDispatcher( ); + virtual ~OAttributeDispatcher( ); protected: // XDispatch diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx index 42b40dfda60f..c44e005f76cc 100644 --- a/forms/source/richtext/clipboarddispatcher.hxx +++ b/forms/source/richtext/clipboarddispatcher.hxx @@ -79,7 +79,7 @@ namespace frm OPasteClipboardDispatcher( EditView& _rView ); protected: - ~OPasteClipboardDispatcher(); + virtual ~OPasteClipboardDispatcher(); // OClipboardDispatcher virtual sal_Bool implIsEnabled( ) const SAL_OVERRIDE; diff --git a/forms/source/richtext/featuredispatcher.hxx b/forms/source/richtext/featuredispatcher.hxx index fe8cde9caa4f..485b8ae8c120 100644 --- a/forms/source/richtext/featuredispatcher.hxx +++ b/forms/source/richtext/featuredispatcher.hxx @@ -59,7 +59,7 @@ namespace frm protected: ORichTextFeatureDispatcher( EditView& _rView, const ::com::sun::star::util::URL& _rURL ); - ~ORichTextFeatureDispatcher( ); + virtual ~ORichTextFeatureDispatcher( ); public: /// clean up resources associated with this instance diff --git a/forms/source/richtext/parametrizedattributedispatcher.hxx b/forms/source/richtext/parametrizedattributedispatcher.hxx index 41f1335f21cc..7f2827cd0d4b 100644 --- a/forms/source/richtext/parametrizedattributedispatcher.hxx +++ b/forms/source/richtext/parametrizedattributedispatcher.hxx @@ -42,7 +42,7 @@ namespace frm ); protected: - ~OParametrizedAttributeDispatcher(); + virtual ~OParametrizedAttributeDispatcher(); // XDispatch virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index d048affb1dda..a74e92e5f72f 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -52,7 +52,7 @@ namespace frm ORichTextControl(); protected: - ~ORichTextControl(); + virtual ~ORichTextControl(); public: // XServiceInfo - static version @@ -113,7 +113,7 @@ namespace frm protected: ORichTextPeer(); - ~ORichTextPeer(); + virtual ~ORichTextPeer(); // XView void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index 9a81210f8387..d05dc54a7446 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -56,7 +56,7 @@ namespace frm static RichTextEngine* Create(); RichTextEngine* Clone(); - ~RichTextEngine( ); + virtual ~RichTextEngine( ); // for multiplexing the StatusChanged events of the edit engine void registerEngineStatusListener( IEngineStatusListener* _pListener ); diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx index 166ae2c25fef..95c2c1ea4cbc 100644 --- a/forms/source/richtext/richtextunowrapper.hxx +++ b/forms/source/richtext/richtextunowrapper.hxx @@ -49,7 +49,7 @@ namespace frm ORichTextUnoWrapper( EditEngine& _rEngine, IEngineTextChangeListener* _pTextChangeListener ); protected: - ~ORichTextUnoWrapper() throw(); + virtual ~ORichTextUnoWrapper() throw(); private: @@ -77,7 +77,7 @@ namespace frm virtual void UpdateData() SAL_OVERRIDE; protected: - ~RichTextEditSource(); + virtual ~RichTextEditSource(); private: RichTextEditSource( ); // never implemented diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index ddae0748ef81..139239772b59 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -54,7 +54,7 @@ namespace frm ITextSelectionListener* _pSelectionListener ); - ~RichTextControl( ); + virtual ~RichTextControl( ); /* enables the change notifications for a particular attribute diff --git a/forms/source/richtext/specialdispatchers.hxx b/forms/source/richtext/specialdispatchers.hxx index 1e06f1372ef3..69bccf64b81f 100644 --- a/forms/source/richtext/specialdispatchers.hxx +++ b/forms/source/richtext/specialdispatchers.hxx @@ -36,7 +36,7 @@ namespace frm OSelectAllDispatcher( EditView& _rView, const ::com::sun::star::util::URL& _rURL ); protected: - ~OSelectAllDispatcher(); + virtual ~OSelectAllDispatcher(); // XDispatch virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx index 3d387d0530b3..36faf579f8fb 100644 --- a/forms/source/solar/component/navbarcontrol.hxx +++ b/forms/source/solar/component/navbarcontrol.hxx @@ -53,7 +53,7 @@ namespace frm ); protected: - ~ONavigationBarControl(); + virtual ~ONavigationBarControl(); public: // XServiceInfo - static version @@ -106,7 +106,7 @@ namespace frm ONavigationBarPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB ); - ~ONavigationBarPeer(); + virtual ~ONavigationBarPeer(); public: // XInterface diff --git a/forms/source/solar/inc/navtoolbar.hxx b/forms/source/solar/inc/navtoolbar.hxx index cb39aac010e8..e83667d379db 100644 --- a/forms/source/solar/inc/navtoolbar.hxx +++ b/forms/source/solar/inc/navtoolbar.hxx @@ -73,7 +73,7 @@ namespace frm const ::boost::shared_ptr< const ICommandImageProvider >& _pImageProvider, const ::boost::shared_ptr< const ICommandDescriptionProvider >& _pDescriptionProvider ); - ~NavigationToolBar( ); + virtual ~NavigationToolBar( ); /** sets the dispatcher which is to be used for the features @@ -164,7 +164,7 @@ namespace frm public: RecordPositionInput( Window* _pParent ); - ~RecordPositionInput(); + virtual ~RecordPositionInput(); /** sets the dispatcher which is to be used for the features */ diff --git a/forms/source/xforms/datatyperepository.hxx b/forms/source/xforms/datatyperepository.hxx index 74e3d29fa1bf..d91cc0534dd4 100644 --- a/forms/source/xforms/datatyperepository.hxx +++ b/forms/source/xforms/datatyperepository.hxx @@ -50,7 +50,7 @@ namespace xforms ODataTypeRepository( ); protected: - ~ODataTypeRepository( ); + virtual ~ODataTypeRepository( ); // XDataTypeRepository virtual ::com::sun::star::uno::Reference< ::com::sun::star::xsd::XDataType > SAL_CALL getBasicDataType( sal_Int16 dataTypeClass ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/forms/source/xforms/datatypes.hxx b/forms/source/xforms/datatypes.hxx index 923a26390145..a65ee572dc69 100644 --- a/forms/source/xforms/datatypes.hxx +++ b/forms/source/xforms/datatypes.hxx @@ -81,7 +81,7 @@ namespace xforms protected: // create basic data type OXSDDataType( const OUString& _rName, sal_Int16 _nTypeClass ); - ~OXSDDataType(); + virtual ~OXSDDataType(); public: DECLARE_XINTERFACE() diff --git a/formula/source/ui/dlg/parawin.hxx b/formula/source/ui/dlg/parawin.hxx index 3aacd91bb7c2..2a315b35514d 100644 --- a/formula/source/ui/dlg/parawin.hxx +++ b/formula/source/ui/dlg/parawin.hxx @@ -124,7 +124,7 @@ protected: public: ParaWin(Window* pParent,IControlReferenceHandler* _pDlg,Point aPos); - ~ParaWin(); + virtual ~ParaWin(); void SetFunctionDesc(const IFunctionDescription* pFDesc); void SetArgumentOffset(sal_uInt16 nOffset); diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx index a9571c35c112..125e54a86109 100644 --- a/fpicker/source/office/PlacesListBox.hxx +++ b/fpicker/source/office/PlacesListBox.hxx @@ -28,7 +28,7 @@ class PlacesListBox_Impl : public SvHeaderTabListBox public: PlacesListBox_Impl( PlacesListBox* pParent, const OUString& rTitle ); - ~PlacesListBox_Impl( ); + virtual ~PlacesListBox_Impl( ); virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; }; @@ -49,7 +49,7 @@ class PlacesListBox : public Control public: PlacesListBox( SvtFileDialog* pFileDlg, const OUString& rTitle, const ResId& rResId ); - ~PlacesListBox( ); + virtual ~PlacesListBox( ); void AppendPlace( PlacePtr pPlace ); void RemovePlace( sal_uInt16 nPos ); diff --git a/fpicker/source/office/fpinteraction.hxx b/fpicker/source/office/fpinteraction.hxx index 66aa054b0da8..8d0b9f43e372 100644 --- a/fpicker/source/office/fpinteraction.hxx +++ b/fpicker/source/office/fpinteraction.hxx @@ -73,7 +73,7 @@ namespace svt virtual void SAL_CALL handle( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest >& _rxRequest ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: - ~OFilePickerInteractionHandler(); + virtual ~OFilePickerInteractionHandler(); }; diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx index d948a9e8a394..e859309c0091 100644 --- a/fpicker/source/office/iodlg.hxx +++ b/fpicker/source/office/iodlg.hxx @@ -200,7 +200,7 @@ protected: public: SvtFileDialog( Window* _pParent, WinBits nBits, WinBits nExtraBits ); SvtFileDialog( Window* _pParent, WinBits nBits ); - ~SvtFileDialog(); + virtual ~SvtFileDialog(); virtual long OK(); virtual short Execute() SAL_OVERRIDE; diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx index ddd8a300deec..7a7f871d4b0b 100644 --- a/fpicker/source/office/iodlgimp.hxx +++ b/fpicker/source/office/iodlgimp.hxx @@ -91,7 +91,7 @@ protected: protected: SvtFileDialogURLSelector( SvtFileDialog* _pParent, const ResId& _rResId, sal_uInt16 _nButtonId ); - ~SvtFileDialogURLSelector(); + virtual ~SvtFileDialogURLSelector(); virtual void Activate() SAL_OVERRIDE; }; @@ -103,7 +103,7 @@ private: public: SvtUpButton_Impl( SvtFileDialog* pParent, const ResId& rResId ); - ~SvtUpButton_Impl(); + virtual ~SvtUpButton_Impl(); protected: virtual void FillURLMenu( PopupMenu* _pMenu ) SAL_OVERRIDE; diff --git a/framework/inc/classes/fwktabwindow.hxx b/framework/inc/classes/fwktabwindow.hxx index dd33aa8a6811..194bc69a51c5 100644 --- a/framework/inc/classes/fwktabwindow.hxx +++ b/framework/inc/classes/fwktabwindow.hxx @@ -110,7 +110,7 @@ private: public: FwkTabWindow( Window* pParent ); - ~FwkTabWindow(); + virtual ~FwkTabWindow(); void AddEventListener( const Link& rEventListener ); void RemoveEventListener( const Link& rEventListener ); diff --git a/framework/inc/recording/dispatchrecorder.hxx b/framework/inc/recording/dispatchrecorder.hxx index 1d364bc1623e..99726c42feda 100644 --- a/framework/inc/recording/dispatchrecorder.hxx +++ b/framework/inc/recording/dispatchrecorder.hxx @@ -62,7 +62,7 @@ class DispatchRecorder // public interface public: DispatchRecorder( const css::uno::Reference< css::uno::XComponentContext >& xSMGR ); - ~DispatchRecorder(); + virtual ~DispatchRecorder(); // XInterface, XTypeProvider, XServiceInfo DECLARE_XSERVICEINFO diff --git a/framework/inc/recording/dispatchrecordersupplier.hxx b/framework/inc/recording/dispatchrecordersupplier.hxx index b8a6d5444865..e85e57e122da 100644 --- a/framework/inc/recording/dispatchrecordersupplier.hxx +++ b/framework/inc/recording/dispatchrecordersupplier.hxx @@ -87,7 +87,7 @@ class DispatchRecorderSupplier : public ::cppu::WeakImplHelper2< public: DispatchRecorderSupplier( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ); - ~DispatchRecorderSupplier(); + virtual ~DispatchRecorderSupplier(); }; // class DispatchRecorderSupplier diff --git a/framework/inc/uielement/generictoolbarcontroller.hxx b/framework/inc/uielement/generictoolbarcontroller.hxx index c3d24503bf18..84c7f1a72998 100644 --- a/framework/inc/uielement/generictoolbarcontroller.hxx +++ b/framework/inc/uielement/generictoolbarcontroller.hxx @@ -75,7 +75,7 @@ class MenuToolbarController : public GenericToolbarController const OUString& aModuleIdentifier, const com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess >& xMenuDesc ); - ~MenuToolbarController(); + virtual ~MenuToolbarController(); // XToolbarController virtual void SAL_CALL click() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL createPopupWindow() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/framework/inc/uielement/statusbaritem.hxx b/framework/inc/uielement/statusbaritem.hxx index 2661db41fd3b..68c416382bdb 100644 --- a/framework/inc/uielement/statusbaritem.hxx +++ b/framework/inc/uielement/statusbaritem.hxx @@ -41,7 +41,7 @@ public: AddonStatusbarItemData *pItemData, sal_uInt16 nId, const rtl::OUString& aCommand ); - ~StatusbarItem(); + virtual ~StatusbarItem(); void SAL_CALL disposing() SAL_OVERRIDE; diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index 2387e574e863..9008a3dc4509 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -215,7 +215,7 @@ class AddonsOptions_Impl : public ConfigItem AddonsOptions_Impl(); - ~AddonsOptions_Impl(); + virtual ~AddonsOptions_Impl(); // overloaded methods of baseclass diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index 21f664589bef..0e1fe7354556 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -185,7 +185,7 @@ namespace framework } protected: - ~UndoManagerRequest() + virtual ~UndoManagerRequest() { } diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx index f5fdc40b13ba..4e76152904db 100644 --- a/framework/source/uielement/generictoolbarcontroller.cxx +++ b/framework/source/uielement/generictoolbarcontroller.cxx @@ -325,7 +325,7 @@ class Toolbarmenu : public ::PopupMenu { public: Toolbarmenu(); - ~Toolbarmenu(); + virtual ~Toolbarmenu(); }; Toolbarmenu::Toolbarmenu() diff --git a/hwpfilter/source/attributes.hxx b/hwpfilter/source/attributes.hxx index f9a5284f8118..7909e8fbd4f5 100644 --- a/hwpfilter/source/attributes.hxx +++ b/hwpfilter/source/attributes.hxx @@ -39,7 +39,7 @@ struct AttributeListImpl_impl; class AttributeListImpl : public WeakImplHelper1< XAttributeList > { protected: - ~AttributeListImpl(); + virtual ~AttributeListImpl(); public: AttributeListImpl(); diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index 3eb537cbec2e..306b2f5a7c73 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -79,7 +79,7 @@ class HwpReader : public WeakImplHelper1<XFilter> public: HwpReader(); - ~HwpReader(); + virtual ~HwpReader(); public: /** @@ -158,7 +158,7 @@ class HwpImportFilter : public WeakImplHelper4< XFilter, XImporter, XServiceInfo { public: HwpImportFilter( const Reference< XMultiServiceFactory > xFact ); - ~HwpImportFilter(); + virtual ~HwpImportFilter(); public: static Sequence< OUString > getSupportedServiceNames_Static() throw(); diff --git a/i18npool/inc/breakiteratorImpl.hxx b/i18npool/inc/breakiteratorImpl.hxx index 8c71ec54f7a6..b43adbf24b23 100644 --- a/i18npool/inc/breakiteratorImpl.hxx +++ b/i18npool/inc/breakiteratorImpl.hxx @@ -48,7 +48,7 @@ class BreakIteratorImpl : public cppu::WeakImplHelper2 public: BreakIteratorImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); BreakIteratorImpl(); - ~BreakIteratorImpl(); + virtual ~BreakIteratorImpl(); virtual sal_Int32 SAL_CALL nextCharacters( const OUString& Text, sal_Int32 nStartPos, const com::sun::star::lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, diff --git a/i18npool/inc/breakiterator_cjk.hxx b/i18npool/inc/breakiterator_cjk.hxx index 3396cdfb67a1..dce0f5562391 100644 --- a/i18npool/inc/breakiterator_cjk.hxx +++ b/i18npool/inc/breakiterator_cjk.hxx @@ -54,7 +54,7 @@ protected: class BreakIterator_##lang : public BreakIterator_CJK {\ public:\ BreakIterator_##lang (); \ - ~BreakIterator_##lang (); \ + virtual ~BreakIterator_##lang (); \ }; #ifdef BREAKITERATOR_ALL diff --git a/i18npool/inc/breakiterator_ctl.hxx b/i18npool/inc/breakiterator_ctl.hxx index 0baee89af9e6..6c9e840757da 100644 --- a/i18npool/inc/breakiterator_ctl.hxx +++ b/i18npool/inc/breakiterator_ctl.hxx @@ -31,7 +31,7 @@ class BreakIterator_CTL : public BreakIterator_Unicode { public: BreakIterator_CTL(); - ~BreakIterator_CTL(); + virtual ~BreakIterator_CTL(); virtual sal_Int32 SAL_CALL previousCharacters(const OUString& text, sal_Int32 start, const lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 count, sal_Int32& nDone) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/breakiterator_th.hxx b/i18npool/inc/breakiterator_th.hxx index 806bb62aa455..cee1b52292e6 100644 --- a/i18npool/inc/breakiterator_th.hxx +++ b/i18npool/inc/breakiterator_th.hxx @@ -29,7 +29,7 @@ class BreakIterator_th : public BreakIterator_CTL { public: BreakIterator_th(); - ~BreakIterator_th(); + virtual ~BreakIterator_th(); protected: void SAL_CALL makeIndex(const OUString& text, sal_Int32 pos) throw(com::sun::star::uno::RuntimeException) SAL_OVERRIDE; diff --git a/i18npool/inc/breakiterator_unicode.hxx b/i18npool/inc/breakiterator_unicode.hxx index 88802c89153f..3f78120e97b2 100644 --- a/i18npool/inc/breakiterator_unicode.hxx +++ b/i18npool/inc/breakiterator_unicode.hxx @@ -37,7 +37,7 @@ class BreakIterator_Unicode : public BreakIteratorImpl { public: BreakIterator_Unicode(); - ~BreakIterator_Unicode(); + virtual ~BreakIterator_Unicode(); virtual sal_Int32 SAL_CALL previousCharacters( const OUString& Text, sal_Int32 nStartPos, const com::sun::star::lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, diff --git a/i18npool/inc/calendarImpl.hxx b/i18npool/inc/calendarImpl.hxx index 063f960f49dd..4bbdc5fa62a4 100644 --- a/i18npool/inc/calendarImpl.hxx +++ b/i18npool/inc/calendarImpl.hxx @@ -49,7 +49,7 @@ public: /** * Destructor */ - ~CalendarImpl(); + virtual ~CalendarImpl(); // Methods diff --git a/i18npool/inc/calendar_gregorian.hxx b/i18npool/inc/calendar_gregorian.hxx index e6a89828b028..da071da4fffa 100644 --- a/i18npool/inc/calendar_gregorian.hxx +++ b/i18npool/inc/calendar_gregorian.hxx @@ -53,7 +53,7 @@ public: /** * Destructor */ - ~Calendar_gregorian(); + virtual ~Calendar_gregorian(); // Methods in XCalendar virtual void SAL_CALL loadCalendar(const OUString& uniqueID, const com::sun::star::lang::Locale& rLocale) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx index c2f43a20d22f..98c8d14eca1a 100644 --- a/i18npool/inc/cclass_unicode.hxx +++ b/i18npool/inc/cclass_unicode.hxx @@ -40,7 +40,7 @@ class cclass_Unicode : public cppu::WeakImplHelper2 < XCharacterClassification, { public: cclass_Unicode(const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); - ~cclass_Unicode(); + virtual ~cclass_Unicode(); virtual OUString SAL_CALL toUpper( const OUString& Text, sal_Int32 nPos, sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/chaptercollator.hxx b/i18npool/inc/chaptercollator.hxx index 4866bb6362a5..96807c497dfa 100644 --- a/i18npool/inc/chaptercollator.hxx +++ b/i18npool/inc/chaptercollator.hxx @@ -33,7 +33,7 @@ public: // Constructors ChapterCollator( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); // Destructor - ~ChapterCollator(); + virtual ~ChapterCollator(); sal_Int32 SAL_CALL compareSubstring( const OUString& s1, sal_Int32 off1, sal_Int32 len1, const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/collatorImpl.hxx b/i18npool/inc/collatorImpl.hxx index d32b48ed7fd1..d6a0f369f56c 100644 --- a/i18npool/inc/collatorImpl.hxx +++ b/i18npool/inc/collatorImpl.hxx @@ -45,7 +45,7 @@ public: // Constructors CollatorImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); // Destructor - ~CollatorImpl(); + virtual ~CollatorImpl(); virtual sal_Int32 SAL_CALL compareSubstring(const OUString& s1, sal_Int32 off1, sal_Int32 len1, const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/collator_unicode.hxx b/i18npool/inc/collator_unicode.hxx index bbc7f02ef802..934b9b7dd728 100644 --- a/i18npool/inc/collator_unicode.hxx +++ b/i18npool/inc/collator_unicode.hxx @@ -39,7 +39,7 @@ public: // Constructors Collator_Unicode(); // Destructor - ~Collator_Unicode(); + virtual ~Collator_Unicode(); sal_Int32 SAL_CALL compareSubstring( const OUString& s1, sal_Int32 off1, sal_Int32 len1, const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/defaultnumberingprovider.hxx b/i18npool/inc/defaultnumberingprovider.hxx index 9c9a9985e3ea..713e54463807 100644 --- a/i18npool/inc/defaultnumberingprovider.hxx +++ b/i18npool/inc/defaultnumberingprovider.hxx @@ -46,7 +46,7 @@ class DefaultNumberingProvider : public cppu::WeakImplHelper4 public: DefaultNumberingProvider( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); - ~DefaultNumberingProvider(); + virtual ~DefaultNumberingProvider(); //XDefaultNumberingProvider virtual com::sun::star::uno::Sequence< com::sun::star::uno::Reference< diff --git a/i18npool/inc/indexentrysupplier_asian.hxx b/i18npool/inc/indexentrysupplier_asian.hxx index 251c92955e2d..2f6afd1283e3 100644 --- a/i18npool/inc/indexentrysupplier_asian.hxx +++ b/i18npool/inc/indexentrysupplier_asian.hxx @@ -32,7 +32,7 @@ namespace com { namespace sun { namespace star { namespace i18n { class IndexEntrySupplier_asian : public IndexEntrySupplier_Common { public: IndexEntrySupplier_asian( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); - ~IndexEntrySupplier_asian(); + virtual ~IndexEntrySupplier_asian(); OUString SAL_CALL getIndexCharacter( const OUString& rIndexEntry, const com::sun::star::lang::Locale& rLocale, const OUString& rAlgorithm ) diff --git a/i18npool/inc/indexentrysupplier_common.hxx b/i18npool/inc/indexentrysupplier_common.hxx index d48767e37ca1..cc9c2df4a671 100644 --- a/i18npool/inc/indexentrysupplier_common.hxx +++ b/i18npool/inc/indexentrysupplier_common.hxx @@ -39,7 +39,7 @@ class IndexEntrySupplier_Common : public cppu::WeakImplHelper2 { public: IndexEntrySupplier_Common( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); - ~IndexEntrySupplier_Common(); + virtual ~IndexEntrySupplier_Common(); virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/indexentrysupplier_default.hxx b/i18npool/inc/indexentrysupplier_default.hxx index 4c69e0a981cf..bae7c492443c 100644 --- a/i18npool/inc/indexentrysupplier_default.hxx +++ b/i18npool/inc/indexentrysupplier_default.hxx @@ -31,7 +31,7 @@ class Index; class IndexEntrySupplier_Unicode : public IndexEntrySupplier_Common { public: IndexEntrySupplier_Unicode( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); - ~IndexEntrySupplier_Unicode(); + virtual ~IndexEntrySupplier_Unicode(); virtual sal_Bool SAL_CALL loadAlgorithm( const com::sun::star::lang::Locale& rLocale, diff --git a/i18npool/inc/inputsequencechecker.hxx b/i18npool/inc/inputsequencechecker.hxx index d9e027adf772..8fe3601cdbd5 100644 --- a/i18npool/inc/inputsequencechecker.hxx +++ b/i18npool/inc/inputsequencechecker.hxx @@ -41,7 +41,7 @@ class InputSequenceCheckerImpl : public cppu::WeakImplHelper2 public: InputSequenceCheckerImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); InputSequenceCheckerImpl(const char *pServiceName); - ~InputSequenceCheckerImpl(); + virtual ~InputSequenceCheckerImpl(); virtual sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos, sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/inputsequencechecker_hi.hxx b/i18npool/inc/inputsequencechecker_hi.hxx index ae70fa86d63d..0b854f0caf81 100644 --- a/i18npool/inc/inputsequencechecker_hi.hxx +++ b/i18npool/inc/inputsequencechecker_hi.hxx @@ -33,7 +33,7 @@ class InputSequenceChecker_hi : public InputSequenceCheckerImpl { public: InputSequenceChecker_hi(); - ~InputSequenceChecker_hi(); + virtual ~InputSequenceChecker_hi(); sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos, sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/inputsequencechecker_th.hxx b/i18npool/inc/inputsequencechecker_th.hxx index c0acec0eb3b6..ec03fe315538 100644 --- a/i18npool/inc/inputsequencechecker_th.hxx +++ b/i18npool/inc/inputsequencechecker_th.hxx @@ -30,7 +30,7 @@ class InputSequenceChecker_th : public InputSequenceCheckerImpl { public: InputSequenceChecker_th(); - ~InputSequenceChecker_th(); + virtual ~InputSequenceChecker_th(); sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos, sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx index 1bfd22ee6166..fccbd4ae61a6 100644 --- a/i18npool/inc/localedata.hxx +++ b/i18npool/inc/localedata.hxx @@ -70,7 +70,7 @@ class LocaleDataImpl : public cppu::WeakImplHelper2 { public: LocaleDataImpl(); - ~LocaleDataImpl(); + virtual ~LocaleDataImpl(); static com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem > downcastCalendarItems( const com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem2 > & rCi ); static com::sun::star::i18n::Calendar downcastCalendar( const com::sun::star::i18n::Calendar2 & rC ); diff --git a/i18npool/inc/numberformatcode.hxx b/i18npool/inc/numberformatcode.hxx index db54d3b43aca..c4461db877d1 100644 --- a/i18npool/inc/numberformatcode.hxx +++ b/i18npool/inc/numberformatcode.hxx @@ -38,7 +38,7 @@ class NumberFormatCodeMapper : public cppu::WeakImplHelper2 public: NumberFormatCodeMapper( const ::com::sun::star::uno::Reference < ::com::sun::star::uno::XComponentContext >& rxContext ); - ~NumberFormatCodeMapper(); + virtual ~NumberFormatCodeMapper(); virtual ::com::sun::star::i18n::NumberFormatCode SAL_CALL getDefault( sal_Int16 nFormatType, sal_Int16 nFormatUsage, const ::com::sun::star::lang::Locale& rLocale ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::i18n::NumberFormatCode SAL_CALL getFormatCode( sal_Int16 nFormatIndex, const ::com::sun::star::lang::Locale& rLocale ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/inc/textToPronounce_zh.hxx b/i18npool/inc/textToPronounce_zh.hxx index 927a76608e03..6bea259341c8 100644 --- a/i18npool/inc/textToPronounce_zh.hxx +++ b/i18npool/inc/textToPronounce_zh.hxx @@ -39,7 +39,7 @@ public: #else TextToPronounce_zh(sal_uInt16 ** (*function)()); #endif - ~TextToPronounce_zh(); + virtual ~TextToPronounce_zh(); OUString SAL_CALL folding(const OUString & inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 > & offset) diff --git a/i18npool/inc/textconversion.hxx b/i18npool/inc/textconversion.hxx index 8d2189a2356d..aff4181ed52e 100644 --- a/i18npool/inc/textconversion.hxx +++ b/i18npool/inc/textconversion.hxx @@ -41,7 +41,7 @@ class TextConversion: public cppu::WeakImplHelper2 { public: TextConversion(const char* pImplName); - ~TextConversion(); + virtual ~TextConversion(); // Methods virtual com::sun::star::i18n::TextConversionResult SAL_CALL getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx index 00ed73d541a3..e318f87b6f45 100644 --- a/i18npool/inc/transliterationImpl.hxx +++ b/i18npool/inc/transliterationImpl.hxx @@ -46,7 +46,7 @@ public: // Constructors TransliterationImpl(const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& xContext); // Destructor - ~TransliterationImpl(); + virtual ~TransliterationImpl(); // Methods virtual OUString SAL_CALL getName( ) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ; diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 0df1835a844a..f38362666b43 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -1371,7 +1371,7 @@ class OutlineNumbering : public cppu::WeakImplHelper1 < container::XIndexAccess sal_Int16 m_nCount; public: OutlineNumbering(const OutlineNumberingLevel_Impl* pOutlineLevels, int nLevels); - ~OutlineNumbering(); + virtual ~OutlineNumbering(); //XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw(RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/i18npool/source/localedata/saxparser.cxx b/i18npool/source/localedata/saxparser.cxx index 5a68c5201499..d3647aa6bf56 100644 --- a/i18npool/source/localedata/saxparser.cxx +++ b/i18npool/source/localedata/saxparser.cxx @@ -166,7 +166,7 @@ public: theLocale[sizeof(theLocale)-1] = 0; } - ~TestDocumentHandler( ) + virtual ~TestDocumentHandler( ) { of.closeOutput(); delete rootNode; diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx index d08a545ce75f..5cf0b837edc4 100644 --- a/idl/inc/hash.hxx +++ b/idl/inc/hash.hxx @@ -69,7 +69,7 @@ public: , bHasId(true) { } - ~SvStringHashEntry(); + virtual ~SvStringHashEntry(); const OString& GetName() const { return aName; } sal_Bool HasId() const { return bHasId; } diff --git a/include/avmedia/mediaplayer.hxx b/include/avmedia/mediaplayer.hxx index d1b5cb45cd01..e7c16c8c67d9 100644 --- a/include/avmedia/mediaplayer.hxx +++ b/include/avmedia/mediaplayer.hxx @@ -32,7 +32,7 @@ class AVMEDIA_DLLPUBLIC MediaPlayer : public SfxChildWindow { public: MediaPlayer( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* ); - ~MediaPlayer(); + virtual ~MediaPlayer(); SFX_DECL_CHILDWINDOW_WITHID( MediaPlayer ); }; @@ -44,7 +44,7 @@ class AVMEDIA_DLLPUBLIC MediaFloater : public SfxDockingWindow public: MediaFloater( SfxBindings* pBindings, SfxChildWindow* pCW, Window* pParent ); - ~MediaFloater(); + virtual ~MediaFloater(); void setURL( const OUString& rURL, const OUString& rReferer, bool bPlayImmediately ); diff --git a/include/avmedia/mediatoolbox.hxx b/include/avmedia/mediatoolbox.hxx index bcf040071d22..3e4d636ca7d0 100644 --- a/include/avmedia/mediatoolbox.hxx +++ b/include/avmedia/mediatoolbox.hxx @@ -42,7 +42,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); MediaToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbX ); - ~MediaToolBoxControl(); + virtual ~MediaToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE; diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx index 01d90e7ecf52..06c67cd75dd3 100644 --- a/include/basic/basmgr.hxx +++ b/include/basic/basmgr.hxx @@ -141,7 +141,7 @@ protected: bool ImplEncryptStream( SvStream& rStream ) const; BasicLibInfo* FindLibInfo( StarBASIC* pBasic ) const; void CheckModules( StarBASIC* pBasic, bool bReference ) const; - ~BasicManager(); + virtual ~BasicManager(); public: TYPEINFO_OVERRIDE(); diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx index 0dc63e390290..c5acf1594b0c 100644 --- a/include/basic/sbmod.hxx +++ b/include/basic/sbmod.hxx @@ -150,7 +150,7 @@ class BASIC_DLLPUBLIC SbClassModuleObject : public SbModule public: TYPEINFO_OVERRIDE(); SbClassModuleObject( SbModule* pClassModule ); - ~SbClassModuleObject(); + virtual ~SbClassModuleObject(); // Overridden to support NameAccess etc. virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE; diff --git a/include/basic/sbxmeth.hxx b/include/basic/sbxmeth.hxx index c442bacaebc1..6d8be5c51d62 100644 --- a/include/basic/sbxmeth.hxx +++ b/include/basic/sbxmeth.hxx @@ -30,7 +30,7 @@ public: TYPEINFO_OVERRIDE(); SbxMethod( const OUString& r, SbxDataType t ); SbxMethod( const SbxMethod& r ); - ~SbxMethod(); + virtual ~SbxMethod(); SbxMethod& operator=( const SbxMethod& r ) { SbxVariable::operator=( r ); return *this; } virtual SbxClassType GetClass() const SAL_OVERRIDE; }; diff --git a/include/canvas/base/cachedprimitivebase.hxx b/include/canvas/base/cachedprimitivebase.hxx index 2d5794bd8ad4..99b9b9108dc0 100644 --- a/include/canvas/base/cachedprimitivebase.hxx +++ b/include/canvas/base/cachedprimitivebase.hxx @@ -77,7 +77,7 @@ namespace canvas virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~CachedPrimitiveBase(); // we're a ref-counted UNO class. _We_ destroy ourselves. + virtual ~CachedPrimitiveBase(); // we're a ref-counted UNO class. _We_ destroy ourselves. private: CachedPrimitiveBase( const CachedPrimitiveBase& ); diff --git a/include/canvas/parametricpolypolygon.hxx b/include/canvas/parametricpolypolygon.hxx index 8c6a9d0f24fe..7671aee30f7e 100644 --- a/include/canvas/parametricpolypolygon.hxx +++ b/include/canvas/parametricpolypolygon.hxx @@ -116,7 +116,7 @@ namespace canvas Values getValues() const; protected: - ~ParametricPolyPolygon(); // we're a ref-counted UNO class. _We_ destroy ourselves. + virtual ~ParametricPolyPolygon(); // we're a ref-counted UNO class. _We_ destroy ourselves. private: static ParametricPolyPolygon* createLinearHorizontalGradient( const ::com::sun::star::uno::Reference< diff --git a/include/comphelper/accessiblecomponenthelper.hxx b/include/comphelper/accessiblecomponenthelper.hxx index c39b02486871..520ce81f71b8 100644 --- a/include/comphelper/accessiblecomponenthelper.hxx +++ b/include/comphelper/accessiblecomponenthelper.hxx @@ -43,7 +43,7 @@ namespace comphelper protected: /// see the respective base class ctor for an extensive comment on this, please OCommonAccessibleComponent( IMutex* _pExternalLock ); - ~OCommonAccessibleComponent(); + virtual ~OCommonAccessibleComponent(); protected: /// implements the calculation of the bounding rectangle - still waiting to be overwritten diff --git a/include/comphelper/accessiblecontexthelper.hxx b/include/comphelper/accessiblecontexthelper.hxx index fe2cdb5f7c08..a1a8247f09e6 100644 --- a/include/comphelper/accessiblecontexthelper.hxx +++ b/include/comphelper/accessiblecontexthelper.hxx @@ -90,7 +90,7 @@ namespace comphelper OContextHelper_Impl* m_pImpl; protected: - ~OAccessibleContextHelper( ); + virtual ~OAccessibleContextHelper( ); /** ctor diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx index 3e7dab3f22af..26a81bfa167e 100644 --- a/include/comphelper/accessiblewrapper.hxx +++ b/include/comphelper/accessiblewrapper.hxx @@ -114,7 +114,7 @@ namespace comphelper ); protected: - ~OAccessibleWrapper( ); + virtual ~OAccessibleWrapper( ); private: COMPHELPER_DLLPRIVATE OAccessibleWrapper( ); // never implemented @@ -226,7 +226,7 @@ namespace comphelper virtual void notifyTranslatedEvent( const ::com::sun::star::accessibility::AccessibleEventObject& _rEvent ) throw (::com::sun::star::uno::RuntimeException) = 0; protected: - ~OAccessibleContextWrapperHelper( ); + virtual ~OAccessibleContextWrapperHelper( ); OAccessibleContextWrapperHelper( ); // never implemented OAccessibleContextWrapperHelper( const OAccessibleContextWrapperHelper& ); // never implemented @@ -397,7 +397,7 @@ namespace comphelper void implTranslateChildEventValue( const ::com::sun::star::uno::Any& _rInValue, ::com::sun::star::uno::Any& _rOutValue ); protected: - ~OWrappedAccessibleChildrenManager( ); + virtual ~OWrappedAccessibleChildrenManager( ); private: COMPHELPER_DLLPRIVATE OWrappedAccessibleChildrenManager( ); // never implemented diff --git a/include/comphelper/ihwrapnofilter.hxx b/include/comphelper/ihwrapnofilter.hxx index 0daa123428f3..f91595e21d4f 100644 --- a/include/comphelper/ihwrapnofilter.hxx +++ b/include/comphelper/ihwrapnofilter.hxx @@ -38,7 +38,7 @@ namespace comphelper { public: OIHWrapNoFilterDialog( com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler > xInteraction ); - ~OIHWrapNoFilterDialog(); + virtual ~OIHWrapNoFilterDialog(); static OUString SAL_CALL impl_staticGetImplementationName(); static ::com::sun::star::uno::Sequence< OUString > SAL_CALL impl_staticGetSupportedServiceNames(); diff --git a/include/comphelper/ofopxmlhelper.hxx b/include/comphelper/ofopxmlhelper.hxx index bd831158acb3..0c759bbbb382 100644 --- a/include/comphelper/ofopxmlhelper.hxx +++ b/include/comphelper/ofopxmlhelper.hxx @@ -62,7 +62,7 @@ class COMPHELPER_DLLPUBLIC OFOPXMLHelper : public cppu::WeakImplHelper1 < com::s throw( ::com::sun::star::uno::Exception ); public: - ~OFOPXMLHelper(); + virtual ~OFOPXMLHelper(); // returns sequence of elements, where each element is described by sequence of tags, // where each tag is described by StringPair ( First - name, Second - value ) diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx index 3a7dec8271a5..5410d5d0ce34 100644 --- a/include/comphelper/propagg.hxx +++ b/include/comphelper/propagg.hxx @@ -256,7 +256,7 @@ public: virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue ) throw ( ::com::sun::star::uno::Exception, std::exception ) SAL_OVERRIDE; protected: - ~OPropertySetAggregationHelper(); + virtual ~OPropertySetAggregationHelper(); virtual void SAL_CALL getFastPropertyValue(::com::sun::star::uno::Any& rValue, sal_Int32 nHandle) const SAL_OVERRIDE; void disposing(); diff --git a/include/comphelper/scoped_disposing_ptr.hxx b/include/comphelper/scoped_disposing_ptr.hxx index b029849b1dcd..033307b56de5 100644 --- a/include/comphelper/scoped_disposing_ptr.hxx +++ b/include/comphelper/scoped_disposing_ptr.hxx @@ -85,7 +85,7 @@ private: } } - ~TerminateListener() + virtual ~TerminateListener() { if ( m_xComponent.is() ) { diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx index a5c27e2e07d7..d5729955000c 100644 --- a/include/comphelper/seqstream.hxx +++ b/include/comphelper/seqstream.hxx @@ -93,7 +93,7 @@ protected: ::osl::Mutex m_aMutex; protected: - ~OSequenceOutputStream() { if (m_bConnected) closeOutput(); } + virtual ~OSequenceOutputStream() { if (m_bConnected) closeOutput(); } public: /** constructs the object. Everything written into the stream through the XOutputStream methods will be forwarded diff --git a/include/editeng/UnoForbiddenCharsTable.hxx b/include/editeng/UnoForbiddenCharsTable.hxx index d073c4ee6855..45ef28ed1eb8 100644 --- a/include/editeng/UnoForbiddenCharsTable.hxx +++ b/include/editeng/UnoForbiddenCharsTable.hxx @@ -41,7 +41,7 @@ protected: public: SvxUnoForbiddenCharsTable(rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars); - ~SvxUnoForbiddenCharsTable(); + virtual ~SvxUnoForbiddenCharsTable(); // XForbiddenCharacters virtual com::sun::star::i18n::ForbiddenCharacters SAL_CALL getForbiddenCharacters( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::container::NoSuchElementException, com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/editeng/acorrcfg.hxx b/include/editeng/acorrcfg.hxx index 73ab582e7551..14e2b69d808d 100644 --- a/include/editeng/acorrcfg.hxx +++ b/include/editeng/acorrcfg.hxx @@ -31,7 +31,7 @@ class EDITENG_DLLPUBLIC SvxBaseAutoCorrCfg : public utl::ConfigItem public: SvxBaseAutoCorrCfg(SvxAutoCorrCfg& rParent); - ~SvxBaseAutoCorrCfg(); + virtual ~SvxBaseAutoCorrCfg(); void Load(bool bInit); virtual void Commit() SAL_OVERRIDE; @@ -46,7 +46,7 @@ class EDITENG_DLLPUBLIC SvxSwAutoCorrCfg : public utl::ConfigItem public: SvxSwAutoCorrCfg(SvxAutoCorrCfg& rParent); - ~SvxSwAutoCorrCfg(); + virtual ~SvxSwAutoCorrCfg(); void Load(bool bInit); virtual void Commit() SAL_OVERRIDE; diff --git a/include/editeng/boxitem.hxx b/include/editeng/boxitem.hxx index d0fde67ab107..37c2d8f4aab0 100644 --- a/include/editeng/boxitem.hxx +++ b/include/editeng/boxitem.hxx @@ -66,7 +66,7 @@ public: explicit SvxBoxItem( const sal_uInt16 nId ); SvxBoxItem( const SvxBoxItem &rCpy ); - ~SvxBoxItem(); + virtual ~SvxBoxItem(); SvxBoxItem &operator=( const SvxBoxItem& rBox ); // "pure virtual Methods" from SfxPoolItem @@ -176,7 +176,7 @@ public: explicit SvxBoxInfoItem( const sal_uInt16 nId ); SvxBoxInfoItem( const SvxBoxInfoItem &rCpy ); - ~SvxBoxInfoItem(); + virtual ~SvxBoxInfoItem(); SvxBoxInfoItem &operator=( const SvxBoxInfoItem &rCpy ); // "pure virtual Methods" from SfxPoolItem diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx index 61397f16b0e6..12cb66657cea 100644 --- a/include/editeng/brushitem.hxx +++ b/include/editeng/brushitem.hxx @@ -76,7 +76,7 @@ public: SvxBrushItem( const SvxBrushItem& ); SvxBrushItem( const CntWallpaperItem&, sal_uInt16 nWhich ); - ~SvxBrushItem(); + virtual ~SvxBrushItem(); public: diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx index 2dc62288f39d..42cbf2ce2eda 100644 --- a/include/editeng/bulletitem.hxx +++ b/include/editeng/bulletitem.hxx @@ -83,7 +83,7 @@ public: explicit SvxBulletItem( sal_uInt16 nWhich = 0 ); explicit SvxBulletItem( SvStream& rStrm, sal_uInt16 nWhich = 0 ); SvxBulletItem( const SvxBulletItem& ); - ~SvxBulletItem(); + virtual ~SvxBulletItem(); virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; virtual SfxPoolItem* Create( SvStream&, sal_uInt16 nVersion ) const SAL_OVERRIDE; diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx index 08801f5b07d4..fc82bd282935 100644 --- a/include/editeng/colritem.hxx +++ b/include/editeng/colritem.hxx @@ -46,7 +46,7 @@ public: SvxColorItem( const Color& aColor, const sal_uInt16 nId ); SvxColorItem( SvStream& rStrm, const sal_uInt16 nId ); SvxColorItem( const SvxColorItem& rCopy ); - ~SvxColorItem(); + virtual ~SvxColorItem(); // "pure virtual Methods" from SfxPoolItem virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index d91fc1d59f0d..50a7f81b6878 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -79,7 +79,7 @@ public: SvxFieldItem( const SvxFieldData& rField, const sal_uInt16 nId ); SvxFieldItem( const SvxFieldItem& rItem ); - ~SvxFieldItem(); + virtual ~SvxFieldItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; diff --git a/include/editeng/forbiddencharacterstable.hxx b/include/editeng/forbiddencharacterstable.hxx index d5fbc90290a5..88a685e6b54c 100644 --- a/include/editeng/forbiddencharacterstable.hxx +++ b/include/editeng/forbiddencharacterstable.hxx @@ -43,7 +43,7 @@ private: public: SvxForbiddenCharactersTable( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext); - ~SvxForbiddenCharactersTable() {} + virtual ~SvxForbiddenCharactersTable() {} Map& GetMap() { return maMap; } const com::sun::star::i18n::ForbiddenCharacters* GetForbiddenCharacters( sal_uInt16 nLanguage, bool bGetDefault ); diff --git a/include/editeng/lcolitem.hxx b/include/editeng/lcolitem.hxx index a4cd049d8cf9..35488265c1b1 100644 --- a/include/editeng/lcolitem.hxx +++ b/include/editeng/lcolitem.hxx @@ -34,7 +34,7 @@ public: explicit SvxLineColorItem( const sal_uInt16 nId ); SvxLineColorItem( const SvxLineColorItem& rCopy ); - ~SvxLineColorItem(); + virtual ~SvxLineColorItem(); virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, diff --git a/include/editeng/lineitem.hxx b/include/editeng/lineitem.hxx index 92fd26d43706..ce2819c4edb7 100644 --- a/include/editeng/lineitem.hxx +++ b/include/editeng/lineitem.hxx @@ -43,7 +43,7 @@ public: explicit SvxLineItem( const sal_uInt16 nId ); SvxLineItem( const SvxLineItem& rCpy ); - ~SvxLineItem(); + virtual ~SvxLineItem(); SvxLineItem &operator=( const SvxLineItem& rLine ); virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE; diff --git a/include/editeng/spltitem.hxx b/include/editeng/spltitem.hxx index 5207d7e00e9d..35b728bb1bd9 100644 --- a/include/editeng/spltitem.hxx +++ b/include/editeng/spltitem.hxx @@ -35,7 +35,7 @@ class EDITENG_DLLPUBLIC SvxFmtSplitItem : public SfxBoolItem { public: TYPEINFO_OVERRIDE(); - ~SvxFmtSplitItem(); + virtual ~SvxFmtSplitItem(); inline SvxFmtSplitItem( const bool bSplit /*= true*/, const sal_uInt16 nWh ); diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx index 770cec8ca115..34ca35f6df76 100644 --- a/include/editeng/unoedprx.hxx +++ b/include/editeng/unoedprx.hxx @@ -140,7 +140,7 @@ class EDITENG_DLLPUBLIC SvxEditSourceAdapter : public SvxEditSource { public: SvxEditSourceAdapter(); - ~SvxEditSourceAdapter(); + virtual ~SvxEditSourceAdapter(); virtual SvxEditSource* Clone() const SAL_OVERRIDE; virtual SvxTextForwarder* GetTextForwarder() SAL_OVERRIDE; diff --git a/include/filter/msfilter/mstoolbar.hxx b/include/filter/msfilter/mstoolbar.hxx index 1eaa7acdb5dd..2a9f38dd9118 100644 --- a/include/filter/msfilter/mstoolbar.hxx +++ b/include/filter/msfilter/mstoolbar.hxx @@ -104,7 +104,7 @@ class MSFILTER_DLLPUBLIC WString : public TBBase public: WString(){}; - ~WString(){}; + virtual ~WString(){}; bool Read(SvStream &rS) SAL_OVERRIDE; OUString getString(){ return sString; } }; @@ -123,7 +123,7 @@ class MSFILTER_DLLPUBLIC TBCExtraInfo : public TBBase TBCExtraInfo& operator = ( const TBCExtraInfo&); public: TBCExtraInfo(); - ~TBCExtraInfo(){} + virtual ~TBCExtraInfo(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; OUString getOnAction(); @@ -139,7 +139,7 @@ class MSFILTER_DLLPUBLIC TBCGeneralInfo : public TBBase public: TBCGeneralInfo(); - ~TBCGeneralInfo() {} + virtual ~TBCGeneralInfo() {} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; bool ImportToolBarControlData( CustomToolBarImportHelper&, std::vector< css::beans::PropertyValue >& ); @@ -155,7 +155,7 @@ friend class TBCBSpecific; // #FIXME hacky access, need to fix Bitmap mBitMap; public: TBCBitMap(); - ~TBCBitMap(); + virtual ~TBCBitMap(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; Bitmap& getBitMap(); @@ -167,7 +167,7 @@ class MSFILTER_DLLPUBLIC TBCMenuSpecific : public TBBase boost::shared_ptr< WString > name; //exist only if tbid equals 0x00000001 public: TBCMenuSpecific(); - ~TBCMenuSpecific(){} + virtual ~TBCMenuSpecific(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; OUString Name(); @@ -185,7 +185,7 @@ class MSFILTER_DLLPUBLIC TBCCDData : public TBBase public: TBCCDData(); - ~TBCCDData(); + virtual ~TBCCDData(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; }; @@ -210,7 +210,7 @@ class TBCBSpecific : public TBBase public: TBCBSpecific(); - ~TBCBSpecific(){} + virtual ~TBCBSpecific(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; // #TODO just add a getGraphic member here @@ -254,7 +254,7 @@ class MSFILTER_DLLPUBLIC TBCHeader : public TBBase public: TBCHeader(); - ~TBCHeader(); + virtual ~TBCHeader(); sal_uInt8 getTct() const { return tct; } sal_uInt16 getTcID() const { return tcid; } bool isVisible() { return !( bFlagsTCR & 0x1 ); } @@ -273,7 +273,7 @@ class MSFILTER_DLLPUBLIC TBCData : public TBBase TBCData& operator = ( const TBCData&); public: TBCData( const TBCHeader& Header ); - ~TBCData(){} + virtual ~TBCData(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; bool ImportToolBarControl( CustomToolBarImportHelper&, std::vector< css::beans::PropertyValue >&, bool& bBeginGroup, bool bIsMenuBar ); @@ -293,7 +293,7 @@ class MSFILTER_DLLPUBLIC TB : public TBBase WString name; //Structure of type WString that specifies the toolbar name public: TB(); - ~TB(){} + virtual ~TB(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; sal_Int16 getcCL(){ return cCL; } @@ -328,7 +328,7 @@ class MSFILTER_DLLPUBLIC TBVisualData : public TBBase public: TBVisualData(); - ~TBVisualData(){} + virtual ~TBVisualData(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; }; diff --git a/include/framework/addonmenu.hxx b/include/framework/addonmenu.hxx index d100263d0d24..8d12399e7df4 100644 --- a/include/framework/addonmenu.hxx +++ b/include/framework/addonmenu.hxx @@ -36,7 +36,7 @@ class FWE_DLLPUBLIC AddonMenu : public PopupMenu { public: AddonMenu( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ); - ~AddonMenu(); + virtual ~AddonMenu(); protected: ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame; @@ -47,7 +47,7 @@ class AddonMenuManager; class FWE_DLLPUBLIC AddonPopupMenu : public AddonMenu { public: - ~AddonPopupMenu(); + virtual ~AddonPopupMenu(); // Check if command URL string has the unique prefix to identify addon popup menus static bool IsCommandURLPrefix( const OUString& aCmdURL ); diff --git a/include/framework/bmkmenu.hxx b/include/framework/bmkmenu.hxx index a9a37e254cd9..79c8c92baab4 100644 --- a/include/framework/bmkmenu.hxx +++ b/include/framework/bmkmenu.hxx @@ -48,7 +48,7 @@ class FWE_DLLPUBLIC BmkMenu : public AddonMenu BmkMenuType nType ); - ~BmkMenu(); + virtual ~BmkMenu(); void Initialize(); // Synchrones Laden der Eintraege diff --git a/include/oox/drawingml/effectpropertiescontext.hxx b/include/oox/drawingml/effectpropertiescontext.hxx index 570b273ad507..060604b61d50 100644 --- a/include/oox/drawingml/effectpropertiescontext.hxx +++ b/include/oox/drawingml/effectpropertiescontext.hxx @@ -24,7 +24,7 @@ class OOX_DLLPUBLIC EffectPropertiesContext : public ::oox::core::ContextHandler public: EffectPropertiesContext( ::oox::core::ContextHandler2Helper& rParent, EffectProperties& rEffectProperties ) throw(); - ~EffectPropertiesContext(); + virtual ~EffectPropertiesContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/graphicshapecontext.hxx b/include/oox/drawingml/graphicshapecontext.hxx index a9afc0b20ebd..72881fe4a1c9 100644 --- a/include/oox/drawingml/graphicshapecontext.hxx +++ b/include/oox/drawingml/graphicshapecontext.hxx @@ -55,7 +55,7 @@ class OleObjectGraphicDataContext : public ShapeContext { public: OleObjectGraphicDataContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr pShapePtr ); - ~OleObjectGraphicDataContext(); + virtual ~OleObjectGraphicDataContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; private: diff --git a/include/oox/drawingml/linepropertiescontext.hxx b/include/oox/drawingml/linepropertiescontext.hxx index f302f11431b0..efd85ca4e247 100644 --- a/include/oox/drawingml/linepropertiescontext.hxx +++ b/include/oox/drawingml/linepropertiescontext.hxx @@ -35,7 +35,7 @@ public: LinePropertiesContext( ::oox::core::ContextHandler2Helper& rParent, const ::oox::AttributeList& rAttributes, LineProperties& rLineProperties ) throw(); - ~LinePropertiesContext(); + virtual ~LinePropertiesContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/shapestylecontext.hxx b/include/oox/drawingml/shapestylecontext.hxx index 7be239389d7a..b7a479124560 100644 --- a/include/oox/drawingml/shapestylecontext.hxx +++ b/include/oox/drawingml/shapestylecontext.hxx @@ -29,7 +29,7 @@ class ShapeStyleContext : public ::oox::core::ContextHandler2 { public: ShapeStyleContext( ::oox::core::ContextHandler2Helper& rParent, Shape& rShape ); - ~ShapeStyleContext(); + virtual ~ShapeStyleContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/table/tablebackgroundstylecontext.hxx b/include/oox/drawingml/table/tablebackgroundstylecontext.hxx index 6be484408295..4885f5bc1466 100644 --- a/include/oox/drawingml/table/tablebackgroundstylecontext.hxx +++ b/include/oox/drawingml/table/tablebackgroundstylecontext.hxx @@ -30,7 +30,7 @@ class TableBackgroundStyleContext : public ::oox::core::ContextHandler2 { public: TableBackgroundStyleContext( ::oox::core::ContextHandler2Helper& rParent, TableStyle& rTableStyle ); - ~TableBackgroundStyleContext(); + virtual ~TableBackgroundStyleContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/table/tablecellcontext.hxx b/include/oox/drawingml/table/tablecellcontext.hxx index 2d06136f1604..4656e243e9df 100644 --- a/include/oox/drawingml/table/tablecellcontext.hxx +++ b/include/oox/drawingml/table/tablecellcontext.hxx @@ -31,7 +31,7 @@ class TableCellContext : public ::oox::core::ContextHandler2 public: TableCellContext( ::oox::core::ContextHandler2Helper& rParent, const ::oox::AttributeList& rAttribs, TableCell& rTableCell ); - ~TableCellContext(); + virtual ~TableCellContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/table/tablecontext.hxx b/include/oox/drawingml/table/tablecontext.hxx index 25471b78cdac..b9940422435d 100644 --- a/include/oox/drawingml/table/tablecontext.hxx +++ b/include/oox/drawingml/table/tablecontext.hxx @@ -31,7 +31,7 @@ class TableContext : public ShapeContext { public: TableContext( ::oox::core::ContextHandler2Helper& rParent, ShapePtr pShapePtr ); - ~TableContext(); + virtual ~TableContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/table/tablepartstylecontext.hxx b/include/oox/drawingml/table/tablepartstylecontext.hxx index f11e542d3a15..84b7ef1e2f02 100644 --- a/include/oox/drawingml/table/tablepartstylecontext.hxx +++ b/include/oox/drawingml/table/tablepartstylecontext.hxx @@ -30,7 +30,7 @@ class TablePartStyleContext : public ::oox::core::ContextHandler2 { public: TablePartStyleContext( ::oox::core::ContextHandler2Helper& rParent, TableStylePart& rTableStylePart ); - ~TablePartStyleContext(); + virtual ~TablePartStyleContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/table/tablerowcontext.hxx b/include/oox/drawingml/table/tablerowcontext.hxx index abe483de98dc..0224a4a513ed 100644 --- a/include/oox/drawingml/table/tablerowcontext.hxx +++ b/include/oox/drawingml/table/tablerowcontext.hxx @@ -32,7 +32,7 @@ class TableRowContext : public ::oox::core::ContextHandler2 public: TableRowContext( ::oox::core::ContextHandler2Helper& rParent, const ::oox::AttributeList& rAttribs, TableRow& rTableRow ); - ~TableRowContext(); + virtual ~TableRowContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/table/tablestylecellstylecontext.hxx b/include/oox/drawingml/table/tablestylecellstylecontext.hxx index 523d51f4300f..b7d30267ee5b 100644 --- a/include/oox/drawingml/table/tablestylecellstylecontext.hxx +++ b/include/oox/drawingml/table/tablestylecellstylecontext.hxx @@ -30,7 +30,7 @@ class TableStyleCellStyleContext : public ::oox::core::ContextHandler2 { public: TableStyleCellStyleContext( ::oox::core::ContextHandler2Helper& rParent, TableStylePart& rTableStylePart ); - ~TableStyleCellStyleContext(); + virtual ~TableStyleCellStyleContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/table/tablestylecontext.hxx b/include/oox/drawingml/table/tablestylecontext.hxx index 922d3fe4b2c4..fd6eb526384e 100644 --- a/include/oox/drawingml/table/tablestylecontext.hxx +++ b/include/oox/drawingml/table/tablestylecontext.hxx @@ -32,7 +32,7 @@ public: TableStyleContext( ::oox::core::ContextHandler2Helper& rParent, const ::oox::AttributeList& rAttribs, TableStyle& rTableStyle ); - ~TableStyleContext(); + virtual ~TableStyleContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/table/tablestyletextstylecontext.hxx b/include/oox/drawingml/table/tablestyletextstylecontext.hxx index 71ab67445a3a..6543e319ecf6 100644 --- a/include/oox/drawingml/table/tablestyletextstylecontext.hxx +++ b/include/oox/drawingml/table/tablestyletextstylecontext.hxx @@ -32,7 +32,7 @@ public: TableStyleTextStyleContext( ::oox::core::ContextHandler2Helper& rParent, const ::oox::AttributeList& rAttribs, TableStylePart& rTableStylePart ); - ~TableStyleTextStyleContext(); + virtual ~TableStyleTextStyleContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/textliststylecontext.hxx b/include/oox/drawingml/textliststylecontext.hxx index 5dba0ab9a91e..2e9900830500 100644 --- a/include/oox/drawingml/textliststylecontext.hxx +++ b/include/oox/drawingml/textliststylecontext.hxx @@ -29,7 +29,7 @@ class TextListStyleContext : public ::oox::core::ContextHandler2 { public: TextListStyleContext( ::oox::core::ContextHandler2Helper& rParent, TextListStyle& rTextListStyle ); - ~TextListStyleContext(); + virtual ~TextListStyleContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/drawingml/textparagraphpropertiescontext.hxx b/include/oox/drawingml/textparagraphpropertiescontext.hxx index 0d3dc98d629e..b2b124daf7a3 100644 --- a/include/oox/drawingml/textparagraphpropertiescontext.hxx +++ b/include/oox/drawingml/textparagraphpropertiescontext.hxx @@ -36,7 +36,7 @@ public: TextParagraphPropertiesContext( ::oox::core::ContextHandler2Helper& rParent, const ::oox::AttributeList& rAttributes, TextParagraphProperties& rTextParagraphProperties ); - ~TextParagraphPropertiesContext(); + virtual ~TextParagraphPropertiesContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/include/oox/ole/olehelper.hxx b/include/oox/ole/olehelper.hxx index 82afa4173112..5b25c1df7e6e 100644 --- a/include/oox/ole/olehelper.hxx +++ b/include/oox/ole/olehelper.hxx @@ -173,7 +173,7 @@ protected: sal_Int32 nSize ); public: MSConvertOCXControls( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& rxModel ); - ~MSConvertOCXControls(); + virtual ~MSConvertOCXControls(); sal_Bool ReadOCXStorage( SotStorageRef& rSrc1, ::com::sun::star::uno::Reference< com::sun::star::form::XFormComponent > & rxFormComp ); sal_Bool ReadOCXCtlsStream(SotStorageStreamRef& rSrc1, ::com::sun::star::uno::Reference< com::sun::star::form::XFormComponent > & rxFormComp, sal_Int32 nPos, sal_Int32 nSize ); diff --git a/include/oox/ppt/customshowlistcontext.hxx b/include/oox/ppt/customshowlistcontext.hxx index 20e2971f8f44..23739cf97ad8 100644 --- a/include/oox/ppt/customshowlistcontext.hxx +++ b/include/oox/ppt/customshowlistcontext.hxx @@ -42,7 +42,7 @@ namespace oox { namespace ppt { CustomShowListContext( ::oox::core::FragmentHandler2& rParent, std::vector< CustomShow >& rCustomShowList ); - ~CustomShowListContext( ); + virtual ~CustomShowListContext( ); virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE; }; diff --git a/include/oox/ppt/slidemastertextstylescontext.hxx b/include/oox/ppt/slidemastertextstylescontext.hxx index bc7ca2d8ed73..05aa3853d5f5 100644 --- a/include/oox/ppt/slidemastertextstylescontext.hxx +++ b/include/oox/ppt/slidemastertextstylescontext.hxx @@ -31,7 +31,7 @@ class SlideMasterTextStylesContext : public oox::core::FragmentHandler2 { public: SlideMasterTextStylesContext( ::oox::core::FragmentHandler2& rParent, SlidePersistPtr pSlidePersistPtr ); - ~SlideMasterTextStylesContext(); + virtual ~SlideMasterTextStylesContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE; protected: diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx index 247ccface11c..f3b72cd54c98 100644 --- a/include/sfx2/app.hxx +++ b/include/sfx2/app.hxx @@ -141,7 +141,7 @@ public: SFX_DECL_INTERFACE(SFX_INTERFACE_SFXAPP) SfxApplication(); - ~SfxApplication(); + virtual ~SfxApplication(); static SfxApplication* GetOrCreate(); // Resource Manager diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index 4349a5be9b07..64e60d28ccdf 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -81,7 +81,7 @@ protected: SfxItemSet* GetOutputSetImpl() { return pOutputSet; } public: - ~SfxModalDialog(); + virtual ~SfxModalDialog(); const SfxItemSet* GetOutputItemSet() const { return pOutputSet; } const SfxItemSet* GetInputItemSet() const { return pInputSet; } }; @@ -104,7 +104,7 @@ protected: Window*, const ResId& ); SfxModelessDialog( SfxBindings*, SfxChildWindow*, Window*, const OString& rID, const OUString& rUIXMLDescription ); - ~SfxModelessDialog(); + virtual ~SfxModelessDialog(); virtual bool Close() SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; virtual void Move() SAL_OVERRIDE; @@ -141,7 +141,7 @@ protected: SfxChildWindow *pCW, Window* pParent, const ResId& rResId); - ~SfxFloatingWindow(); + virtual ~SfxFloatingWindow(); virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; virtual bool Close() SAL_OVERRIDE; diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx index a45b7f52dfe8..9f03537a2b2a 100644 --- a/include/sfx2/bindings.hxx +++ b/include/sfx2/bindings.hxx @@ -125,7 +125,7 @@ private: public: SfxBindings(); - ~SfxBindings(); + virtual ~SfxBindings(); void HidePopups( bool bHide = true ); SAL_DLLPRIVATE void HidePopupCtrls_Impl( bool bHide = true ); diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index a0f65b7825ff..aab6bda0e1e3 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -329,7 +329,7 @@ protected: virtual void RequestHelp(const HelpEvent& rEvt) SAL_OVERRIDE; public: CustomPropertiesDurationField( Window* pParent, const ResId& rResId, CustomPropertyLine* pLine ); - ~CustomPropertiesDurationField(); + virtual ~CustomPropertiesDurationField(); void SetDuration( const com::sun::star::util::Duration& rDuration ); const com::sun::star::util::Duration& GetDuration() const { return m_aDuration; } @@ -341,7 +341,7 @@ class CustomPropertiesEditButton : public PushButton public: CustomPropertiesEditButton( Window* pParent, const ResId& rResId, CustomPropertyLine* pLine ); - ~CustomPropertiesEditButton(); + virtual ~CustomPropertiesEditButton(); DECL_LINK(ClickHdl, void *); }; @@ -444,7 +444,7 @@ public: const OUString &rHeaderAccName, const OUString &rHeaderAccType, const OUString &rHeaderAccValue); - ~CustomPropertiesWindow(); + virtual ~CustomPropertiesWindow(); void InitControls( HeaderBar* pHeaderBar, const ScrollBar* pScrollBar ); sal_uInt16 GetVisibleLineCount() const; @@ -479,7 +479,7 @@ private: public: CustomPropertiesControl(Window* pParent); - ~CustomPropertiesControl(); + virtual ~CustomPropertiesControl(); void AddLine( const OUString& sName, com::sun::star::uno::Any& rAny, bool bInteractive ); @@ -556,7 +556,7 @@ struct CmisPropertyLine : public VclBuilderContainer sal_Int32 m_nNumValue; long getItemHeight() const; CmisPropertyLine( Window* pParent ); - ~CmisPropertyLine(); + virtual ~CmisPropertyLine(); }; // class CmisPropertiesWindow ------------------------------------------ diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx index ef9ef9bdc6cf..2ed484a0e17c 100644 --- a/include/sfx2/docfile.hxx +++ b/include/sfx2/docfile.hxx @@ -100,7 +100,7 @@ public: const SfxItemSet* pSet=0 ); SfxMedium( const css::uno::Sequence< css::beans::PropertyValue >& aArgs ); - ~SfxMedium(); + virtual ~SfxMedium(); void UseInteractionHandler( bool ); css::uno::Reference< css::task::XInteractionHandler > diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx index 919e30111ce9..6675e84e8b53 100644 --- a/include/sfx2/dockwin.hxx +++ b/include/sfx2/dockwin.hxx @@ -79,7 +79,7 @@ public: SfxChildWindow *pCW, Window* pParent, const ResId& rResId); - ~SfxDockingWindow(); + virtual ~SfxDockingWindow(); void Initialize (SfxChildWinInfo* pInfo); virtual void FillInfo(SfxChildWinInfo&) const; diff --git a/include/sfx2/infobar.hxx b/include/sfx2/infobar.hxx index 091b98134e22..383ebc868b59 100644 --- a/include/sfx2/infobar.hxx +++ b/include/sfx2/infobar.hxx @@ -50,7 +50,7 @@ class SfxInfoBarWindow : public Window SfxInfoBarWindow( Window* parent, const OUString& sId, const OUString& sMessage, std::vector< PushButton* > aButtons ); - ~SfxInfoBarWindow( ); + virtual ~SfxInfoBarWindow( ); virtual const OUString& getId() const { return m_sId; } virtual void Paint( const Rectangle& ) SAL_OVERRIDE; @@ -68,7 +68,7 @@ class SfxInfoBarContainerWindow : public Window public: SfxInfoBarContainerWindow( SfxInfoBarContainerChild* pChildWin ); - ~SfxInfoBarContainerWindow( ); + virtual ~SfxInfoBarContainerWindow( ); void appendInfoBar( const OUString& sId, const OUString& sMessage, std::vector< PushButton* > aButtons ); SfxInfoBarWindow* getInfoBar( const OUString& sId ); diff --git a/include/sfx2/mgetempl.hxx b/include/sfx2/mgetempl.hxx index 9b0e1093eb58..65ba7119bddb 100644 --- a/include/sfx2/mgetempl.hxx +++ b/include/sfx2/mgetempl.hxx @@ -74,7 +74,7 @@ friend class SfxStyleDialog; void SetDescriptionText_Impl(); SfxManageStyleSheetPage(Window *pParent, const SfxItemSet &rAttrSet ); - ~SfxManageStyleSheetPage(); + virtual ~SfxManageStyleSheetPage(); static SfxTabPage* Create(Window *pParent, const SfxItemSet &rAttrSet ); diff --git a/include/sfx2/mnuitem.hxx b/include/sfx2/mnuitem.hxx index 97892478c0c8..57e86382d00e 100644 --- a/include/sfx2/mnuitem.hxx +++ b/include/sfx2/mnuitem.hxx @@ -50,7 +50,7 @@ public: static SfxMenuControl* CreateImpl( sal_uInt16 nId, Menu &rMenu, SfxBindings &rBindings ); static void RegisterControl( sal_uInt16 nSlotId = 0, SfxModule *pMod=NULL ); - ~SfxMenuControl(); + virtual ~SfxMenuControl(); using SfxControllerItem::Bind; void Bind( SfxVirtualMenu* pOwnMenu, sal_uInt16 nId, @@ -79,7 +79,7 @@ public: SfxUnoMenuControl( const OUString&, sal_uInt16 nId, Menu&, const OUString&, SfxBindings&, SfxVirtualMenu* ); - ~SfxUnoMenuControl(); + virtual ~SfxUnoMenuControl(); }; typedef SfxMenuControl* (*SfxMenuControlCtor)( sal_uInt16 nId, Menu &, SfxBindings & ); @@ -131,7 +131,7 @@ protected: public: SFX_DECL_MENU_CONTROL(); SfxAppMenuControl_Impl( sal_uInt16 nPos, Menu& rMenu, SfxBindings& rBindings ); - ~SfxAppMenuControl_Impl(); + virtual ~SfxAppMenuControl_Impl(); struct ExecuteInfo { diff --git a/include/sfx2/module.hxx b/include/sfx2/module.hxx index a6a57fcf342a..a12bd1646641 100644 --- a/include/sfx2/module.hxx +++ b/include/sfx2/module.hxx @@ -71,7 +71,7 @@ public: SfxModule( ResMgr* pMgrP, bool bDummy, SfxObjectFactory* pFactoryP, ... ); - ~SfxModule(); + virtual ~SfxModule(); ResMgr* GetResMgr() const { return SfxShell::GetResMgr(); } virtual ResMgr* GetResMgr(); diff --git a/include/sfx2/new.hxx b/include/sfx2/new.hxx index c457562f3431..bc1a452d74a7 100644 --- a/include/sfx2/new.hxx +++ b/include/sfx2/new.hxx @@ -57,7 +57,7 @@ private: public: SfxNewFileDialog(Window *pParent, sal_uInt16 nFlags = 0); - ~SfxNewFileDialog(); + virtual ~SfxNewFileDialog(); // Returns false, when '- No -' is set as Template // Template names can only be obtained when IsTemplate() returns true. diff --git a/include/sfx2/newstyle.hxx b/include/sfx2/newstyle.hxx index 368d154e9eee..6ced44ba5bb8 100644 --- a/include/sfx2/newstyle.hxx +++ b/include/sfx2/newstyle.hxx @@ -44,7 +44,7 @@ private: public: SfxNewStyleDlg( Window* pParent, SfxStyleSheetBasePool& ); - ~SfxNewStyleDlg(); + virtual ~SfxNewStyleDlg(); OUString GetName() const { return comphelper::string::stripStart(m_pColBox->GetText(), ' '); } }; diff --git a/include/sfx2/printer.hxx b/include/sfx2/printer.hxx index 6994cb58abcf..66dd4dcde747 100644 --- a/include/sfx2/printer.hxx +++ b/include/sfx2/printer.hxx @@ -53,7 +53,7 @@ public: const OUString &rPrinterName, const JobSetup &rTheOrigJobSetup ); SfxPrinter( const SfxPrinter &rPrinter ); - ~SfxPrinter(); + virtual ~SfxPrinter(); SfxPrinter* Clone() const; diff --git a/include/sfx2/printopt.hxx b/include/sfx2/printopt.hxx index 03bb3a32f2db..b0d3c8f381b6 100644 --- a/include/sfx2/printopt.hxx +++ b/include/sfx2/printopt.hxx @@ -94,7 +94,7 @@ protected: public: SfxCommonPrintOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SfxCommonPrintOptionsTabPage(); + virtual ~SfxCommonPrintOptionsTabPage(); virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet& rSet ) SAL_OVERRIDE; diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx index 0512e6853d7a..35eb7b1a4cc9 100644 --- a/include/sfx2/request.hxx +++ b/include/sfx2/request.hxx @@ -65,7 +65,7 @@ public: sal_uInt16 nCallMode, SfxItemPool &rPool ); SfxRequest( sal_uInt16 nSlot, sal_uInt16 nCallMode, const SfxAllItemSet& rSfxArgs ); SfxRequest( const SfxRequest& rOrig ); - ~SfxRequest(); + virtual ~SfxRequest(); sal_uInt16 GetSlot() const { return nSlot; } void SetSlot(sal_uInt16 nNewSlot) { nSlot = nNewSlot; } diff --git a/include/sfx2/sfxbasecontroller.hxx b/include/sfx2/sfxbasecontroller.hxx index 5de5c26e7b91..13f1e61c01e9 100644 --- a/include/sfx2/sfxbasecontroller.hxx +++ b/include/sfx2/sfxbasecontroller.hxx @@ -112,7 +112,7 @@ public: @onerror - */ - ~SfxBaseController() ; + virtual ~SfxBaseController() ; SAL_DLLPRIVATE void ReleaseShell_Impl(); SAL_DLLPRIVATE void BorderWidthsChanged_Impl(); diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx index 5bfa02892fbb..d3ab2cec93bb 100644 --- a/include/sfx2/sfxhelp.hxx +++ b/include/sfx2/sfxhelp.hxx @@ -43,7 +43,7 @@ private: public: SfxHelp(); - ~SfxHelp(); + virtual ~SfxHelp(); inline void SetTicket( const OUString& rTicket ) { aTicket = rTicket; } inline void SetUser( const OUString& rUser ) { aUser = rUser; } diff --git a/include/sfx2/styledlg.hxx b/include/sfx2/styledlg.hxx index 366703ea9bc9..fec8446742df 100644 --- a/include/sfx2/styledlg.hxx +++ b/include/sfx2/styledlg.hxx @@ -39,7 +39,7 @@ public: SfxStyleDialog(Window* pParent, const OString& rID, const OUString& rUIXMLDescription, SfxStyleSheetBase&); - ~SfxStyleDialog(); + virtual ~SfxStyleDialog(); SfxStyleSheetBase& GetStyleSheet() { return *pStyle; } const SfxStyleSheetBase& GetStyleSheet() const { return *pStyle; } diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 1e91f7dab83e..4bc1138e71db 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -135,7 +135,7 @@ public: SfxTabDialog( SfxViewFrame *pViewFrame, Window* pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet * = 0, sal_Bool bEditFmt = sal_False ); - ~SfxTabDialog(); + virtual ~SfxTabDialog(); sal_uInt16 AddTabPage( const OString& rName, // Name of the label for the page in the notebook .ui CreateTabPage pCreateFunc, // != 0 diff --git a/include/sfx2/taskpane.hxx b/include/sfx2/taskpane.hxx index 9f4e42c7ca9d..f7b6ef0d455f 100644 --- a/include/sfx2/taskpane.hxx +++ b/include/sfx2/taskpane.hxx @@ -117,7 +117,7 @@ namespace sfx2 Window& i_rParentWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rDocumentFrame ); - ~ModuleTaskPane(); + virtual ~ModuleTaskPane(); /** determines whether a given module has any registered tool panels */ diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx index 5c40c48747a3..906d2271bf6e 100644 --- a/include/sfx2/tbxctrl.hxx +++ b/include/sfx2/tbxctrl.hxx @@ -149,7 +149,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, Window* pParentWindow, const ResId &rId ); - ~SfxPopupWindow(); + virtual ~SfxPopupWindow(); virtual SfxPopupWindow* Clone() const; virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -372,7 +372,7 @@ protected: public: SFX_DECL_TOOLBOX_CONTROL(); SfxAddonsToolBoxControl_Impl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rBox ); - ~SfxAddonsToolBoxControl_Impl(); + virtual ~SfxAddonsToolBoxControl_Impl(); void RefreshMenuImages( Menu* pMenu ); }; diff --git a/include/sfx2/templateinfodlg.hxx b/include/sfx2/templateinfodlg.hxx index d064109736c0..dd32e49dd6f3 100644 --- a/include/sfx2/templateinfodlg.hxx +++ b/include/sfx2/templateinfodlg.hxx @@ -26,7 +26,7 @@ public: SfxTemplateInfoDlg (Window *pParent = NULL); - ~SfxTemplateInfoDlg (); + virtual ~SfxTemplateInfoDlg (); void loadDocument (const OUString &rURL); diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx index 3633d86911bf..39a5de3df564 100644 --- a/include/sfx2/templdlg.hxx +++ b/include/sfx2/templdlg.hxx @@ -59,7 +59,7 @@ friend class SfxTemplateDialog_Impl; public: SfxTemplateDialog( SfxBindings*, SfxChildWindow*, Window* ); - ~SfxTemplateDialog(); + virtual ~SfxTemplateDialog(); virtual void Update(); diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx index 26b47b615621..75d245721836 100644 --- a/include/sfx2/unoctitm.hxx +++ b/include/sfx2/unoctitm.hxx @@ -54,7 +54,7 @@ class SfxUnoControllerItem : public ::cppu::WeakImplHelper1< css::frame::XSta public: SfxUnoControllerItem( SfxControllerItem*, SfxBindings&, const OUString& ); - ~SfxUnoControllerItem(); + virtual ~SfxUnoControllerItem(); const ::com::sun::star::util::URL& GetCommand() const { return aCommand; } @@ -115,7 +115,7 @@ public: SfxOfficeDispatch( SfxDispatcher* pDispat, const SfxSlot* pSlot, const ::com::sun::star::util::URL& rURL ); - ~SfxOfficeDispatch(); + virtual ~SfxOfficeDispatch(); virtual void SAL_CALL dispatchWithNotification( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs, @@ -165,7 +165,7 @@ public: SfxDispatcher* pDispat, const SfxSlot* pSlot, const ::com::sun::star::util::URL& rURL ); - ~SfxDispatchController_Impl(); + virtual ~SfxDispatchController_Impl(); static OUString getSlaveCommand( const ::com::sun::star::util::URL& rURL ); diff --git a/include/sfx2/zoomitem.hxx b/include/sfx2/zoomitem.hxx index e36780fd32b4..90c51545a408 100644 --- a/include/sfx2/zoomitem.hxx +++ b/include/sfx2/zoomitem.hxx @@ -47,7 +47,7 @@ public: SvxZoomItem( SvxZoomType eZoomType = SVX_ZOOM_PERCENT, sal_uInt16 nVal = 0, sal_uInt16 nWhich = SID_ATTR_ZOOM ); SvxZoomItem( const SvxZoomItem& ); - ~SvxZoomItem(); + virtual ~SvxZoomItem(); void SetValueSet( sal_uInt16 nValues ) { nValueSet = nValues; } sal_uInt16 GetValueSet() const { return nValueSet; } diff --git a/include/sot/filelist.hxx b/include/sot/filelist.hxx index 847f498be097..e3b063e8860f 100644 --- a/include/sot/filelist.hxx +++ b/include/sot/filelist.hxx @@ -45,7 +45,7 @@ public: TYPEINFO_OVERRIDE(); FileList() {}; - ~FileList(); + virtual ~FileList(); // Zuweisungsoperator FileList& operator=( const FileList& rFileList ); diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx index 2805d2acdda2..b42ed4c7f590 100644 --- a/include/sot/stg.hxx +++ b/include/sot/stg.hxx @@ -154,7 +154,7 @@ class StorageStream : public BaseStorageStream, public OLEStorageBase //friend class Storage; sal_uLong nPos; // current position protected: - ~StorageStream(); + virtual ~StorageStream(); public: TYPEINFO_OVERRIDE(); StorageStream( StgIo*, StgDirEntry*, StreamMode ); @@ -183,7 +183,7 @@ class SOT_DLLPUBLIC Storage : public BaseStorage, public OLEStorageBase void Init( bool bCreate ); Storage( StgIo*, StgDirEntry*, StreamMode ); protected: - ~Storage(); + virtual ~Storage(); public: TYPEINFO_OVERRIDE(); Storage( const OUString &, StreamMode = STREAM_STD_READWRITE, bool bDirect = true ); @@ -247,7 +247,7 @@ friend class UCBStorage; UCBStorageStream_Impl* pImp; protected: - ~UCBStorageStream(); + virtual ~UCBStorageStream(); public: TYPEINFO_OVERRIDE(); UCBStorageStream( const OUString& rName, StreamMode nMode, bool bDirect, const OString* pKey, bool bRepair, ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XProgressHandler > xProgress ); @@ -284,7 +284,7 @@ class SOT_DLLPUBLIC UCBStorage : public BaseStorage UCBStorage_Impl* pImp; protected: - ~UCBStorage(); + virtual ~UCBStorage(); public: static bool IsStorageFile( SvStream* ); static bool IsDiskSpannedFile( SvStream* ); diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx index b0c5b4670733..a82efb1307ae 100644 --- a/include/sot/storage.hxx +++ b/include/sot/storage.hxx @@ -58,7 +58,7 @@ protected: virtual sal_uLong PutData( const void* pData, sal_uLong nSize ) SAL_OVERRIDE; virtual sal_uInt64 SeekPos(sal_uInt64 nPos) SAL_OVERRIDE; virtual void FlushData() SAL_OVERRIDE; - ~SotStorageStream(); + virtual ~SotStorageStream(); public: SotStorageStream( const OUString &, StreamMode = STREAM_STD_READWRITE, @@ -114,7 +114,7 @@ friend class SvStorage; long m_nVersion; protected: - ~SotStorage(); + virtual ~SotStorage(); void CreateStorage( bool bUCBStorage, StreamMode, StorageMode ); public: SotStorage( const OUString &, diff --git a/include/svl/aeitem.hxx b/include/svl/aeitem.hxx index 26e2a8b5b05c..6a34c2ea0ea5 100644 --- a/include/svl/aeitem.hxx +++ b/include/svl/aeitem.hxx @@ -41,7 +41,7 @@ public: SfxAllEnumItem( sal_uInt16 nWhich, sal_uInt16 nVal ); SfxAllEnumItem( sal_uInt16 nWhich, SvStream &rStream ); SfxAllEnumItem( const SfxAllEnumItem & ); - ~SfxAllEnumItem(); + virtual ~SfxAllEnumItem(); void InsertValue( sal_uInt16 nValue ); void InsertValue( sal_uInt16 nValue, const OUString &rText ); diff --git a/include/svl/cntwall.hxx b/include/svl/cntwall.hxx index 4214c57228f7..9d6f32c36c36 100644 --- a/include/svl/cntwall.hxx +++ b/include/svl/cntwall.hxx @@ -41,7 +41,7 @@ public: CntWallpaperItem( sal_uInt16 nWhich ); CntWallpaperItem( sal_uInt16 nWhich, SvStream& rStream, sal_uInt16 nVersion ); CntWallpaperItem( const CntWallpaperItem& rCpy ); - ~CntWallpaperItem(); + virtual ~CntWallpaperItem(); virtual sal_uInt16 GetVersion(sal_uInt16) const SAL_OVERRIDE; diff --git a/include/svl/flagitem.hxx b/include/svl/flagitem.hxx index 2ff5ad002ac8..24e38627cce4 100644 --- a/include/svl/flagitem.hxx +++ b/include/svl/flagitem.hxx @@ -35,7 +35,7 @@ public: explicit SfxFlagItem( sal_uInt16 nWhich = 0, sal_uInt16 nValue = 0 ); SfxFlagItem( const SfxFlagItem& ); - ~SfxFlagItem() {} + virtual ~SfxFlagItem() {} virtual sal_uInt8 GetFlagCount() const; diff --git a/include/svl/globalnameitem.hxx b/include/svl/globalnameitem.hxx index 764bf0e15b55..8ff2b10ff242 100644 --- a/include/svl/globalnameitem.hxx +++ b/include/svl/globalnameitem.hxx @@ -32,7 +32,7 @@ public: TYPEINFO_OVERRIDE(); SfxGlobalNameItem(); SfxGlobalNameItem( sal_uInt16 nWhich, const SvGlobalName& ); - ~SfxGlobalNameItem(); + virtual ~SfxGlobalNameItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; diff --git a/include/svl/grabbagitem.hxx b/include/svl/grabbagitem.hxx index 0d70b9662cb5..d7606199fc4f 100644 --- a/include/svl/grabbagitem.hxx +++ b/include/svl/grabbagitem.hxx @@ -28,7 +28,7 @@ public: SfxGrabBagItem(); SfxGrabBagItem(sal_uInt16 nWhich, const std::map<OUString, com::sun::star::uno::Any>* pMap = 0); SfxGrabBagItem(const SfxGrabBagItem& rItem); - ~SfxGrabBagItem(); + virtual ~SfxGrabBagItem(); const std::map<OUString, com::sun::star::uno::Any>& GetGrabBag() const; diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx index 3191e4cfe2ea..f47dbc89a05d 100644 --- a/include/svl/hint.hxx +++ b/include/svl/hint.hxx @@ -41,7 +41,7 @@ public: public: \ TYPEINFO_OVERRIDE(); \ explicit Name( Type* Object, bool bOwnedByHint = false ); \ - ~Name(); \ + virtual ~Name(); \ \ Type* GetObject() const { return pObj; } \ bool IsOwner() const { return bIsOwner; } \ diff --git a/include/svl/ilstitem.hxx b/include/svl/ilstitem.hxx index 1f581f363409..0842a13119ae 100644 --- a/include/svl/ilstitem.hxx +++ b/include/svl/ilstitem.hxx @@ -36,7 +36,7 @@ public: SfxIntegerListItem( sal_uInt16 nWhich, const ::std::vector < sal_Int32 >& rList ); SfxIntegerListItem( sal_uInt16 nWhich, const ::com::sun::star::uno::Sequence < sal_Int32 >& rList ); SfxIntegerListItem( const SfxIntegerListItem& rItem ); - ~SfxIntegerListItem(); + virtual ~SfxIntegerListItem(); ::com::sun::star::uno::Sequence < sal_Int32 > GetSequence() { return m_aList; } diff --git a/include/svl/languageoptions.hxx b/include/svl/languageoptions.hxx index a804ad82594a..17d8767906e0 100644 --- a/include/svl/languageoptions.hxx +++ b/include/svl/languageoptions.hxx @@ -66,7 +66,7 @@ public: // bDontLoad is for referencing purposes only SvtLanguageOptions( bool _bDontLoad = false ); - ~SvtLanguageOptions(); + virtual ~SvtLanguageOptions(); // CJK options bool IsCJKFontEnabled() const; @@ -102,7 +102,7 @@ private: public: SvtSystemLanguageOptions(); - ~SvtSystemLanguageOptions(); + virtual ~SvtSystemLanguageOptions(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const com::sun::star::uno::Sequence< OUString >& rPropertyNames ) SAL_OVERRIDE; diff --git a/include/svl/lckbitem.hxx b/include/svl/lckbitem.hxx index 748deba0d986..cbdd88beab07 100644 --- a/include/svl/lckbitem.hxx +++ b/include/svl/lckbitem.hxx @@ -33,7 +33,7 @@ public: SfxLockBytesItem(); SfxLockBytesItem( sal_uInt16 nWhich, SvStream & ); SfxLockBytesItem( const SfxLockBytesItem& ); - ~SfxLockBytesItem(); + virtual ~SfxLockBytesItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; diff --git a/include/svl/metitem.hxx b/include/svl/metitem.hxx index cac661e5d328..070b9319f3a6 100644 --- a/include/svl/metitem.hxx +++ b/include/svl/metitem.hxx @@ -29,7 +29,7 @@ public: explicit SfxMetricItem( sal_uInt16 nWhich = 0, sal_uInt32 nValue = 0 ); SfxMetricItem( sal_uInt16 nWhich, SvStream & ); SfxMetricItem( const SfxMetricItem& ); - ~SfxMetricItem() {} + virtual ~SfxMetricItem() {} virtual bool ScaleMetrics( long lMult, long lDiv ) SAL_OVERRIDE; virtual bool HasMetrics() const SAL_OVERRIDE; diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx index de5fea4ff83a..5a3157170889 100644 --- a/include/svl/poolitem.hxx +++ b/include/svl/poolitem.hxx @@ -324,7 +324,7 @@ public: explicit SfxVoidItem( sal_uInt16 nWhich ); SfxVoidItem( sal_uInt16 nWhich, SvStream & ); SfxVoidItem( const SfxVoidItem& ); - ~SfxVoidItem(); + virtual ~SfxVoidItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -352,7 +352,7 @@ public: SfxSetItem( sal_uInt16 nWhich, SfxItemSet *pSet ); SfxSetItem( sal_uInt16 nWhich, const SfxItemSet &rSet ); SfxSetItem( const SfxSetItem&, SfxItemPool *pPool = 0 ); - ~SfxSetItem(); + virtual ~SfxSetItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/include/svl/ptitem.hxx b/include/svl/ptitem.hxx index e24912c40230..911a067fb3b4 100644 --- a/include/svl/ptitem.hxx +++ b/include/svl/ptitem.hxx @@ -34,7 +34,7 @@ public: SfxPointItem(); SfxPointItem( sal_uInt16 nWhich, const Point& rVal ); SfxPointItem( const SfxPointItem& ); - ~SfxPointItem() {} + virtual ~SfxPointItem() {} virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, diff --git a/include/svl/rectitem.hxx b/include/svl/rectitem.hxx index 2c05a76a51c9..129f17f7667f 100644 --- a/include/svl/rectitem.hxx +++ b/include/svl/rectitem.hxx @@ -35,7 +35,7 @@ public: SfxRectangleItem(); SfxRectangleItem( sal_uInt16 nWhich, const Rectangle& rVal ); SfxRectangleItem( const SfxRectangleItem& ); - ~SfxRectangleItem() {} + virtual ~SfxRectangleItem() {} virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, diff --git a/include/svl/slstitm.hxx b/include/svl/slstitm.hxx index c3d60f080ca3..80b81e44380b 100644 --- a/include/svl/slstitm.hxx +++ b/include/svl/slstitm.hxx @@ -40,7 +40,7 @@ public: SfxStringListItem( sal_uInt16 nWhich, const std::vector<OUString> *pList=NULL ); SfxStringListItem( sal_uInt16 nWhich, SvStream& rStream ); SfxStringListItem( const SfxStringListItem& rItem ); - ~SfxStringListItem(); + virtual ~SfxStringListItem(); std::vector<OUString>& GetList(); diff --git a/include/svl/smplhint.hxx b/include/svl/smplhint.hxx index 5d70dfe14866..8189a005456b 100644 --- a/include/svl/smplhint.hxx +++ b/include/svl/smplhint.hxx @@ -77,7 +77,7 @@ public: public: \ TYPEINFO_OVERRIDE(); \ Name( sal_uInt16 nId, const Type& rObject ); \ - ~Name(); \ + virtual ~Name(); \ const Type& GetObject() const { return aObj; } \ } diff --git a/include/svl/szitem.hxx b/include/svl/szitem.hxx index 1ee8228c54d2..690e3ee82899 100644 --- a/include/svl/szitem.hxx +++ b/include/svl/szitem.hxx @@ -35,7 +35,7 @@ public: SfxSizeItem(); SfxSizeItem( sal_uInt16 nWhich, const Size& rVal ); SfxSizeItem( const SfxSizeItem& ); - ~SfxSizeItem() {} + virtual ~SfxSizeItem() {} virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx index 0555ab4fd80d..2a53e4750db7 100644 --- a/include/svl/undo.hxx +++ b/include/svl/undo.hxx @@ -455,7 +455,7 @@ private: public: TYPEINFO_OVERRIDE(); SfxLinkUndoAction(::svl::IUndoManager *pManager); - ~SfxLinkUndoAction(); + virtual ~SfxLinkUndoAction(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; diff --git a/include/svtools/GraphicExportOptionsDialog.hxx b/include/svtools/GraphicExportOptionsDialog.hxx index becf221a9c35..803467a082c6 100644 --- a/include/svtools/GraphicExportOptionsDialog.hxx +++ b/include/svtools/GraphicExportOptionsDialog.hxx @@ -62,7 +62,7 @@ private: public: GraphicExportOptionsDialog( Window* pWindow, const css::uno::Reference<css::lang::XComponent>& rxSourceDocument ); - ~GraphicExportOptionsDialog(); + virtual ~GraphicExportOptionsDialog(); css::uno::Sequence<css::beans::PropertyValue> getFilterData(); }; diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx index 5a6daff8b9dc..9d79ff9b558c 100644 --- a/include/svtools/PlaceEditDialog.hxx +++ b/include/svtools/PlaceEditDialog.hxx @@ -50,7 +50,7 @@ public : PlaceEditDialog( Window* pParent); PlaceEditDialog(Window* pParent, const boost::shared_ptr<Place> &pPlace ); - ~PlaceEditDialog(); + virtual ~PlaceEditDialog(); // Returns a place instance with given information boost::shared_ptr<Place> GetPlace(); diff --git a/include/svtools/ServerDetailsControls.hxx b/include/svtools/ServerDetailsControls.hxx index 9bc37a41c52d..a4997b3113c7 100644 --- a/include/svtools/ServerDetailsControls.hxx +++ b/include/svtools/ServerDetailsControls.hxx @@ -85,7 +85,7 @@ class DavDetailsContainer : public HostDetailsContainer public: DavDetailsContainer( VclBuilderContainer* pBuilder ); - ~DavDetailsContainer( ) { }; + virtual ~DavDetailsContainer( ) { }; virtual void show( bool bShow = true ) SAL_OVERRIDE; @@ -105,7 +105,7 @@ class SmbDetailsContainer : public DetailsContainer public: SmbDetailsContainer( VclBuilderContainer* pBuilder ); - ~SmbDetailsContainer( ) { }; + virtual ~SmbDetailsContainer( ) { }; virtual INetURLObject getUrl( ) SAL_OVERRIDE; virtual bool setUrl( const INetURLObject& rUrl ) SAL_OVERRIDE; @@ -128,7 +128,7 @@ class CmisDetailsContainer : public DetailsContainer public: CmisDetailsContainer( VclBuilderContainer* pBuilder ); - ~CmisDetailsContainer( ) { }; + virtual ~CmisDetailsContainer( ) { }; virtual INetURLObject getUrl( ) SAL_OVERRIDE; virtual bool setUrl( const INetURLObject& rUrl ) SAL_OVERRIDE; diff --git a/include/svtools/addresstemplate.hxx b/include/svtools/addresstemplate.hxx index 8a5d1a386db9..0ade142d02f8 100644 --- a/include/svtools/addresstemplate.hxx +++ b/include/svtools/addresstemplate.hxx @@ -99,7 +99,7 @@ namespace svt const ::com::sun::star::uno::Sequence< ::com::sun::star::util::AliasProgrammaticPair >& _rMapping ); - ~AddressBookSourceDialog(); + virtual ~AddressBookSourceDialog(); // to be used if the object was constructed for editing a field mapping only void getFieldMapping( diff --git a/include/svtools/apearcfg.hxx b/include/svtools/apearcfg.hxx index 63ccad654ab6..973577d31a3c 100644 --- a/include/svtools/apearcfg.hxx +++ b/include/svtools/apearcfg.hxx @@ -58,7 +58,7 @@ class SVT_DLLPUBLIC SvtTabAppearanceCfg : public utl::ConfigItem public: SvtTabAppearanceCfg( ); - ~SvtTabAppearanceCfg( ); + virtual ~SvtTabAppearanceCfg( ); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const com::sun::star::uno::Sequence< OUString >& _rPropertyNames) SAL_OVERRIDE; diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index 576358fd05d0..ce23bf6c605a 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -408,7 +408,7 @@ public: BrowserMode nMode = 0 ); BrowseBox( Window* pParent, const ResId& rId, BrowserMode nMode = 0 ); - ~BrowseBox(); + virtual ~BrowseBox(); // ererbte ueberladene Handler virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx index 9fd8e8abccb7..ef270c5db3a8 100644 --- a/include/svtools/calendar.hxx +++ b/include/svtools/calendar.hxx @@ -258,7 +258,7 @@ protected: public: Calendar( Window* pParent, WinBits nWinStyle = 0 ); - ~Calendar(); + virtual ~Calendar(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -416,7 +416,7 @@ private: public: CalendarField( Window* pParent, WinBits nWinStyle ); - ~CalendarField(); + virtual ~CalendarField(); virtual void Select(); diff --git a/include/svtools/cliplistener.hxx b/include/svtools/cliplistener.hxx index 5557c491bf70..3db4fb4bdc40 100644 --- a/include/svtools/cliplistener.hxx +++ b/include/svtools/cliplistener.hxx @@ -36,7 +36,7 @@ class SVT_DLLPUBLIC TransferableClipboardListener : public ::cppu::WeakImplHelpe public: // Link is called with a TransferableDataHelper pointer TransferableClipboardListener( const Link& rCallback ); - ~TransferableClipboardListener(); + virtual ~TransferableClipboardListener(); void AddRemoveListener( Window* pWin, bool bAdd ); void ClearCallbackLink(); diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index b4706b6039e5..74b59041ea13 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -241,7 +241,7 @@ namespace svt TYPEINFO_OVERRIDE(); EditCellController( Edit* _pEdit ); EditCellController( IEditImplementation* _pImplementation ); - ~EditCellController( ); + virtual ~EditCellController( ); const IEditImplementation* GetEditImplementation( ) const { return m_pEditImplementation; } IEditImplementation* GetEditImplementation( ) { return m_pEditImplementation; } @@ -285,7 +285,7 @@ namespace svt public: CheckBoxControl(Window* pParent, WinBits nWinStyle = 0); - ~CheckBoxControl(); + virtual ~CheckBoxControl(); virtual void GetFocus() SAL_OVERRIDE; virtual bool PreNotify(NotifyEvent& rEvt) SAL_OVERRIDE; @@ -593,7 +593,7 @@ namespace svt public: EditBrowseBox(Window* pParent, sal_Int32 nBrowserFlags = EBBF_NONE, WinBits nBits = WB_TABSTOP, BrowserMode nMode = 0 ); EditBrowseBox(Window* pParent, const ResId& rId, sal_Int32 nBrowserFlags = EBBF_NONE, BrowserMode nMode = 0 ); - ~EditBrowseBox(); + virtual ~EditBrowseBox(); bool IsEditing() const {return aController.Is();} void InvalidateStatusCell(long nRow) {RowModified(nRow, 0);} diff --git a/include/svtools/editsyntaxhighlighter.hxx b/include/svtools/editsyntaxhighlighter.hxx index a7c1291e4de1..98c13b38e26a 100644 --- a/include/svtools/editsyntaxhighlighter.hxx +++ b/include/svtools/editsyntaxhighlighter.hxx @@ -40,7 +40,7 @@ class SVT_DLLPUBLIC MultiLineEditSyntaxHighlight : public MultiLineEdit public: MultiLineEditSyntaxHighlight( Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER , HighlighterLanguage aLanguage = HIGHLIGHT_SQL); - ~MultiLineEditSyntaxHighlight(); + virtual ~MultiLineEditSyntaxHighlight(); virtual void UpdateData() SAL_OVERRIDE; virtual void SetText(const OUString& rNewText) SAL_OVERRIDE; diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx index 3efcfb8d4247..d5038c7bd590 100644 --- a/include/svtools/ehdl.hxx +++ b/include/svtools/ehdl.hxx @@ -51,7 +51,7 @@ class SVT_DLLPUBLIC SfxErrorHandler : private ErrorHandler { public: SfxErrorHandler(sal_uInt16 nId, sal_uLong lStart, sal_uLong lEnd, ResMgr *pMgr=0); - ~SfxErrorHandler(); + virtual ~SfxErrorHandler(); protected: virtual bool GetErrorString(sal_uLong lErrId, OUString &, sal_uInt16&) const; diff --git a/include/svtools/embedtransfer.hxx b/include/svtools/embedtransfer.hxx index f3808dbfe066..61622e9098b9 100644 --- a/include/svtools/embedtransfer.hxx +++ b/include/svtools/embedtransfer.hxx @@ -44,7 +44,7 @@ public: SvEmbedTransferHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj, const Graphic* pGraphic, sal_Int64 nAspect ); - ~SvEmbedTransferHelper(); + virtual ~SvEmbedTransferHelper(); static void FillTransferableObjectDescriptor( TransferableObjectDescriptor& rDesc, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj, diff --git a/include/svtools/extcolorcfg.hxx b/include/svtools/extcolorcfg.hxx index e4dbacaab765..1b08fa3700ab 100644 --- a/include/svtools/extcolorcfg.hxx +++ b/include/svtools/extcolorcfg.hxx @@ -67,7 +67,7 @@ private: static ExtendedColorConfig_Impl* m_pImpl; public: ExtendedColorConfig(); - ~ExtendedColorConfig(); + virtual ~ExtendedColorConfig(); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; diff --git a/include/svtools/filectrl.hxx b/include/svtools/filectrl.hxx index 47809595576f..aa591df7edc4 100644 --- a/include/svtools/filectrl.hxx +++ b/include/svtools/filectrl.hxx @@ -65,7 +65,7 @@ protected: public: FileControl( Window* pParent, WinBits nStyle, FileControlMode = 0 ); - ~FileControl(); + virtual ~FileControl(); Edit& GetEdit() { return maEdit; } PushButton& GetButton() { return maButton; } diff --git a/include/svtools/fileview.hxx b/include/svtools/fileview.hxx index a1a2aa835ce0..28a18a8c1ea5 100644 --- a/include/svtools/fileview.hxx +++ b/include/svtools/fileview.hxx @@ -82,7 +82,7 @@ protected: public: SvtFileView( Window* pParent, const ResId& rResId, bool bOnlyFolder, bool bMultiSelection ); SvtFileView( Window* pParent, const ResId& rResId, sal_uInt8 nFlags ); - ~SvtFileView(); + virtual ~SvtFileView(); const OUString& GetViewURL() const; OUString GetURL( SvTreeListEntry* pEntry ) const; diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index 4b392a9693e1..3e1423ac6b3b 100644 --- a/include/svtools/grfmgr.hxx +++ b/include/svtools/grfmgr.hxx @@ -316,7 +316,7 @@ public: GraphicObject( const Graphic& rGraphic, const GraphicManager* pMgr = NULL ); GraphicObject( const GraphicObject& rCacheObj, const GraphicManager* pMgr = NULL ); explicit GraphicObject( const OString& rUniqueID, const GraphicManager* pMgr = NULL ); - ~GraphicObject(); + virtual ~GraphicObject(); GraphicObject& operator=( const GraphicObject& rCacheObj ); bool operator==( const GraphicObject& rCacheObj ) const; diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx index 940633dfa810..ce4d50b077f3 100644 --- a/include/svtools/headbar.hxx +++ b/include/svtools/headbar.hxx @@ -292,7 +292,7 @@ private: public: HeaderBar( Window* pParent, WinBits nWinBits = WB_STDHEADERBAR ); - ~HeaderBar(); + virtual ~HeaderBar(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/include/svtools/htmlcfg.hxx b/include/svtools/htmlcfg.hxx index 6aca1a439c87..69d4782b0d0e 100644 --- a/include/svtools/htmlcfg.hxx +++ b/include/svtools/htmlcfg.hxx @@ -44,7 +44,7 @@ class SVT_DLLPUBLIC SvxHtmlOptions : public utl::ConfigItem public: SvxHtmlOptions(); - ~SvxHtmlOptions(); + virtual ~SvxHtmlOptions(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const com::sun::star::uno::Sequence< OUString >& _rPropertyNames) SAL_OVERRIDE; diff --git a/include/svtools/hyperlabel.hxx b/include/svtools/hyperlabel.hxx index 4b6de2647dc0..ff68064673dd 100644 --- a/include/svtools/hyperlabel.hxx +++ b/include/svtools/hyperlabel.hxx @@ -53,7 +53,7 @@ namespace svt public: HyperLabel( Window* _pParent, WinBits _nWinStyle = 0 ); - ~HyperLabel( ); + virtual ~HyperLabel( ); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index 0c314de0dd70..8bd931e2bec1 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -61,7 +61,7 @@ public: SvtURLBox( Window* pParent, INetProtocol eSmart = INET_PROT_NOT_VALID, bool bSetDefaultHelpID = true ); SvtURLBox( Window* pParent, WinBits _nStyle, INetProtocol eSmart = INET_PROT_NOT_VALID, bool bSetDefaultHelpID = true ); SvtURLBox( Window* pParent, const ResId& _rResId, INetProtocol eSmart = INET_PROT_NOT_VALID, bool bSetDefaultHelpID = true ); - ~SvtURLBox(); + virtual ~SvtURLBox(); void SetBaseURL( const OUString& rURL ); const OUString& GetBaseURL() const { return aBaseURL; } diff --git a/include/svtools/openfiledroptargetlistener.hxx b/include/svtools/openfiledroptargetlistener.hxx index ca854d07b9e1..2d708f7aa253 100644 --- a/include/svtools/openfiledroptargetlistener.hxx +++ b/include/svtools/openfiledroptargetlistener.hxx @@ -50,7 +50,7 @@ class SVT_DLLPUBLIC OpenFileDropTargetListener : public ::cppu::WeakImplHelper1< public: OpenFileDropTargetListener( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::frame::XFrame >& xFrame ); - ~OpenFileDropTargetListener(); + virtual ~OpenFileDropTargetListener(); public: // XEventListener diff --git a/include/svtools/popupwindowcontroller.hxx b/include/svtools/popupwindowcontroller.hxx index 8925481980a8..86466f08059a 100644 --- a/include/svtools/popupwindowcontroller.hxx +++ b/include/svtools/popupwindowcontroller.hxx @@ -39,7 +39,7 @@ public: PopupWindowController( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame, const OUString& aCommandURL ); - ~PopupWindowController(); + virtual ~PopupWindowController(); virtual ::Window* createPopupWindow( ::Window* pParent ) = 0; diff --git a/include/svtools/prnsetup.hxx b/include/svtools/prnsetup.hxx index c83feda4609c..c4df80474254 100644 --- a/include/svtools/prnsetup.hxx +++ b/include/svtools/prnsetup.hxx @@ -60,7 +60,7 @@ private: public: PrinterSetupDialog( Window* pWindow ); - ~PrinterSetupDialog(); + virtual ~PrinterSetupDialog(); void SetPrinter( Printer* pNewPrinter ) { mpPrinter = pNewPrinter; } Printer* GetPrinter() const { return mpPrinter; } diff --git a/include/svtools/roadmap.hxx b/include/svtools/roadmap.hxx index a35e217b82e4..429806706b1e 100644 --- a/include/svtools/roadmap.hxx +++ b/include/svtools/roadmap.hxx @@ -57,7 +57,7 @@ namespace svt public: ORoadmap( Window* _pParent, WinBits _nWinStyle = 0 ); - ~ORoadmap( ); + virtual ~ORoadmap( ); void SetRoadmapBitmap( const BitmapEx& maBitmap, bool _bInvalidate = true ); diff --git a/include/svtools/roadmapwizard.hxx b/include/svtools/roadmapwizard.hxx index c2dcc819e88d..b6270ca1cc21 100644 --- a/include/svtools/roadmapwizard.hxx +++ b/include/svtools/roadmapwizard.hxx @@ -77,7 +77,7 @@ namespace svt const WinBits i_nStyle, sal_uInt32 _nButtonFlags = WZB_NEXT | WZB_PREVIOUS | WZB_FINISH | WZB_CANCEL | WZB_HELP ); - ~RoadmapWizard( ); + virtual ~RoadmapWizard( ); void SetRoadmapHelpId( const OString& _rId ); diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index 0b458e7ef8b0..1d3ab7c735c1 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -86,7 +86,7 @@ protected: public: SvSimpleTable(SvSimpleTableContainer& rParent, WinBits nBits = WB_BORDER); - ~SvSimpleTable(); + virtual ~SvSimpleTable(); void UpdateViewSize(); diff --git a/include/svtools/stdmenu.hxx b/include/svtools/stdmenu.hxx index 7f61dd8f9bf8..e87a6db8609c 100644 --- a/include/svtools/stdmenu.hxx +++ b/include/svtools/stdmenu.hxx @@ -140,7 +140,7 @@ private: public: FontSizeMenu(); - ~FontSizeMenu(); + virtual ~FontSizeMenu(); virtual void Select() SAL_OVERRIDE; virtual void Highlight() SAL_OVERRIDE; diff --git a/include/svtools/svmedit2.hxx b/include/svtools/svmedit2.hxx index 280ce2ba7fb8..fcba12e8ebac 100644 --- a/include/svtools/svmedit2.hxx +++ b/include/svtools/svmedit2.hxx @@ -29,7 +29,7 @@ class SVT_DLLPUBLIC ExtMultiLineEdit : public MultiLineEdit public: ExtMultiLineEdit( Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER ); ExtMultiLineEdit( Window* pParent, const ResId& rResId ); - ~ExtMultiLineEdit(); + virtual ~ExtMultiLineEdit(); // methods of TextView void InsertText( const OUString& rNew, bool bSelect = false ); diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx index c8d1551735e2..2efba9321a42 100644 --- a/include/svtools/svtabbx.hxx +++ b/include/svtools/svtabbx.hxx @@ -65,7 +65,7 @@ protected: public: SvTabListBox( Window* pParent, WinBits = WB_BORDER ); SvTabListBox( Window* pParent, const ResId& ); - ~SvTabListBox(); + virtual ~SvTabListBox(); void SetTabs( long* pTabs, MapUnit = MAP_APPFONT ); sal_uInt16 TabCount() const { return (sal_uInt16)nTabCount; } using SvTreeListBox::GetTab; @@ -140,7 +140,7 @@ private: public: SvHeaderTabListBox( Window* pParent, WinBits nBits ); - ~SvHeaderTabListBox(); + virtual ~SvHeaderTabListBox(); virtual void Paint( const Rectangle& ) SAL_OVERRIDE; diff --git a/include/svtools/table/defaultinputhandler.hxx b/include/svtools/table/defaultinputhandler.hxx index e1079163cf91..24945278a4c0 100644 --- a/include/svtools/table/defaultinputhandler.hxx +++ b/include/svtools/table/defaultinputhandler.hxx @@ -42,7 +42,7 @@ namespace svt { namespace table public: DefaultInputHandler(); - ~DefaultInputHandler(); + virtual ~DefaultInputHandler(); virtual bool MouseMove ( ITableControl& _rControl, const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual bool MouseButtonDown ( ITableControl& _rControl, const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/include/svtools/table/gridtablerenderer.hxx b/include/svtools/table/gridtablerenderer.hxx index 8022c81ec6af..c06f0baadd15 100644 --- a/include/svtools/table/gridtablerenderer.hxx +++ b/include/svtools/table/gridtablerenderer.hxx @@ -53,7 +53,7 @@ namespace svt { namespace table at least as long as the renderer instance lives */ GridTableRenderer( ITableModel& _rModel ); - ~GridTableRenderer(); + virtual ~GridTableRenderer(); /** determines whether or not to paint grid lines */ diff --git a/include/svtools/table/tablecontrol.hxx b/include/svtools/table/tablecontrol.hxx index d8c5bf24c2a9..4d05ee2d8371 100644 --- a/include/svtools/table/tablecontrol.hxx +++ b/include/svtools/table/tablecontrol.hxx @@ -66,7 +66,7 @@ namespace svt { namespace table public: TableControl( Window* _pParent, WinBits _nStyle ); - ~TableControl(); + virtual ~TableControl(); /// sets a new table model void SetModel( PTableModel _pModel ); diff --git a/include/svtools/templdlg.hxx b/include/svtools/templdlg.hxx index 2e58f2bf3eaf..34ca7e4f6b60 100644 --- a/include/svtools/templdlg.hxx +++ b/include/svtools/templdlg.hxx @@ -67,7 +67,7 @@ public: </ul> */ - ~SvtDocumentTemplateDialog(); + virtual ~SvtDocumentTemplateDialog(); void SelectTemplateFolder(); diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx index 238fa2a6083e..5f2f0f26e310 100644 --- a/include/svtools/toolbarmenu.hxx +++ b/include/svtools/toolbarmenu.hxx @@ -54,7 +54,7 @@ public: Window* pParentWindow, const ResId& rResId ); - ~ToolbarMenu(); + virtual ~ToolbarMenu(); virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/include/svtools/toolpanel/drawerlayouter.hxx b/include/svtools/toolpanel/drawerlayouter.hxx index ed829ea21de7..4ee46ae2a065 100644 --- a/include/svtools/toolpanel/drawerlayouter.hxx +++ b/include/svtools/toolpanel/drawerlayouter.hxx @@ -50,7 +50,7 @@ namespace svt ::Window& i_rParentWindow, IToolPanelDeck& i_rPanels ); - ~DrawerDeckLayouter(); + virtual ~DrawerDeckLayouter(); // IReference DECLARE_IREFERENCE() diff --git a/include/svtools/toolpanel/paneltabbar.hxx b/include/svtools/toolpanel/paneltabbar.hxx index b4f7b6ac58b3..3f1d36ccb858 100644 --- a/include/svtools/toolpanel/paneltabbar.hxx +++ b/include/svtools/toolpanel/paneltabbar.hxx @@ -51,7 +51,7 @@ namespace svt { public: PanelTabBar( Window& i_rParentWindow, IToolPanelDeck& i_rPanelDeck, const TabAlignment i_eAlignment, const TabItemContent i_eItemContent ); - ~PanelTabBar(); + virtual ~PanelTabBar(); // attribute access TabItemContent GetTabItemContent() const; diff --git a/include/svtools/toolpanel/tablayouter.hxx b/include/svtools/toolpanel/tablayouter.hxx index 8f9106cd2142..17b5c4fa6429 100644 --- a/include/svtools/toolpanel/tablayouter.hxx +++ b/include/svtools/toolpanel/tablayouter.hxx @@ -65,7 +65,7 @@ namespace svt const TabAlignment i_eAlignment, const TabItemContent i_eItemContent ); - ~TabDeckLayouter(); + virtual ~TabDeckLayouter(); // attribute access TabItemContent GetTabItemContent() const; diff --git a/include/svtools/toolpanel/toolpanel.hxx b/include/svtools/toolpanel/toolpanel.hxx index 6ecb29da3844..7fea98826098 100644 --- a/include/svtools/toolpanel/toolpanel.hxx +++ b/include/svtools/toolpanel/toolpanel.hxx @@ -123,7 +123,7 @@ namespace svt { protected: ToolPanelBase(); - ~ToolPanelBase(); + virtual ~ToolPanelBase(); public: DECLARE_IREFERENCE() diff --git a/include/svtools/toolpanel/toolpaneldeck.hxx b/include/svtools/toolpanel/toolpaneldeck.hxx index 0a046553f7ce..2eb7d8318548 100644 --- a/include/svtools/toolpanel/toolpaneldeck.hxx +++ b/include/svtools/toolpanel/toolpaneldeck.hxx @@ -137,7 +137,7 @@ namespace svt { public: ToolPanelDeck( Window& i_rParent, const WinBits i_nStyle = WB_DIALOGCONTROL ); - ~ToolPanelDeck(); + virtual ~ToolPanelDeck(); // attributes PDeckLayouter GetLayouter() const; diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx index 866c4faa4715..49019eb27cdc 100644 --- a/include/svtools/transfer.hxx +++ b/include/svtools/transfer.hxx @@ -392,7 +392,7 @@ private: public: DragGestureListener( DragSourceHelper& rDragSourceHelper ); - ~DragGestureListener(); + virtual ~DragGestureListener(); }; friend class DragSourceHelper::DragGestureListener; @@ -443,7 +443,7 @@ private: public: DropTargetListener( DropTargetHelper& rDropTargetHelper ); - ~DropTargetListener(); + virtual ~DropTargetListener(); }; friend class DropTargetHelper::DropTargetListener; @@ -499,7 +499,7 @@ protected: public: TransferDataContainer(); - ~TransferDataContainer(); + virtual ~TransferDataContainer(); void CopyINetBookmark( const INetBookmark& rBkmk ); void CopyINetImage( const INetImage& rINtImg ); diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index fc1fd0768e5b..2c4bcbc6bb36 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -287,7 +287,7 @@ protected: public: ValueSet( Window* pParent, WinBits nWinStyle, bool bDisableTransientChildren = false ); ValueSet( Window* pParent, const ResId& rResId, bool bDisableTransientChildren = false ); - ~ValueSet(); + virtual ~ValueSet(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/include/svtools/vclxaccessibleheaderbaritem.hxx b/include/svtools/vclxaccessibleheaderbaritem.hxx index 10a343904f82..33a407ae4742 100644 --- a/include/svtools/vclxaccessibleheaderbaritem.hxx +++ b/include/svtools/vclxaccessibleheaderbaritem.hxx @@ -69,7 +69,7 @@ protected: public: VCLXAccessibleHeaderBarItem( HeaderBar* pHeadBar, sal_Int32 _nIndexInParent ); - ~VCLXAccessibleHeaderBarItem(); + virtual ~VCLXAccessibleHeaderBarItem(); // XInterface DECLARE_XINTERFACE() diff --git a/include/svtools/wizardmachine.hxx b/include/svtools/wizardmachine.hxx index 0e0ba2dbaf83..42a73056fcc0 100644 --- a/include/svtools/wizardmachine.hxx +++ b/include/svtools/wizardmachine.hxx @@ -100,7 +100,7 @@ namespace svt */ OWizardPage(Window* _pParent, const ResId& _rResId); OWizardPage(Window *pParent, const OString& rID, const OUString& rUIXMLDescription); - ~OWizardPage(); + virtual ~OWizardPage(); // IWizardPageController overridables virtual void initializePage() SAL_OVERRIDE; @@ -177,7 +177,7 @@ namespace svt */ OWizardMachine(Window* _pParent, const ResId& _rRes, sal_uInt32 _nButtonFlags ); OWizardMachine(Window* _pParent, const WinBits i_nStyle, sal_uInt32 _nButtonFlags ); - ~OWizardMachine(); + virtual ~OWizardMachine(); /// enable (or disable) buttons void enableButtons(sal_uInt32 _nWizardButtonFlags, bool _bEnable); diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx index 698fb3680c5c..798d706b9551 100644 --- a/include/svtools/wizdlg.hxx +++ b/include/svtools/wizdlg.hxx @@ -254,7 +254,7 @@ private: public: WizardDialog( Window* pParent, WinBits nStyle = WB_STDTABDIALOG ); WizardDialog( Window* pParent, const ResId& rResId ); - ~WizardDialog(); + virtual ~WizardDialog(); virtual void Resize() SAL_OVERRIDE; virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; diff --git a/include/svtools/xwindowitem.hxx b/include/svtools/xwindowitem.hxx index 139c51786005..d9df9dc9d34c 100644 --- a/include/svtools/xwindowitem.hxx +++ b/include/svtools/xwindowitem.hxx @@ -42,7 +42,7 @@ public: TYPEINFO_OVERRIDE(); XWindowItem(); XWindowItem( const XWindowItem &rItem ); - ~XWindowItem(); + virtual ~XWindowItem(); virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const SAL_OVERRIDE; virtual bool operator == ( const SfxPoolItem& rAttr ) const SAL_OVERRIDE; diff --git a/include/svx/EnhancedCustomShape2d.hxx b/include/svx/EnhancedCustomShape2d.hxx index 2d7ef9da7ce1..692455af94a6 100644 --- a/include/svx/EnhancedCustomShape2d.hxx +++ b/include/svx/EnhancedCustomShape2d.hxx @@ -185,7 +185,7 @@ class EnhancedCustomShape2d : public SfxItemSet SVX_DLLPUBLIC bool SetHandleControllerPosition( const sal_uInt32 nIndex, const com::sun::star::awt::Point& rPosition ); SVX_DLLPUBLIC EnhancedCustomShape2d( SdrObject* pSdrObjCustomShape ); - SVX_DLLPUBLIC ~EnhancedCustomShape2d(); + SVX_DLLPUBLIC virtual ~EnhancedCustomShape2d(); enum EnumFunc { diff --git a/include/svx/SmartTagCtl.hxx b/include/svx/SmartTagCtl.hxx index 9833516c1726..3a8793f4a647 100644 --- a/include/svx/SmartTagCtl.hxx +++ b/include/svx/SmartTagCtl.hxx @@ -67,7 +67,7 @@ private: public: SvxSmartTagsControl( sal_uInt16 nId, Menu&, SfxBindings& ); - ~SvxSmartTagsControl(); + virtual ~SvxSmartTagsControl(); virtual PopupMenu* GetPopup() const SAL_OVERRIDE; SFX_DECL_MENU_CONTROL(); diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx index 29003e2bc74c..95a7b8669724 100644 --- a/include/svx/bmpmask.hxx +++ b/include/svx/bmpmask.hxx @@ -148,7 +148,7 @@ public: SfxChildWindow *pCW, Window* pParent, const ResId& rResId ); - ~SvxBmpMask(); + virtual ~SvxBmpMask(); void SetColor( const Color& rColor ); void PipetteClicked(); diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx index 813c7e4bebdf..b402e7435757 100644 --- a/include/svx/charmap.hxx +++ b/include/svx/charmap.hxx @@ -45,7 +45,7 @@ class SVX_DLLPUBLIC SvxShowCharSet : public Control public: SvxShowCharSet( Window* pParent, const ResId& rResId ); SvxShowCharSet( Window* pParent ); - ~SvxShowCharSet(); + virtual ~SvxShowCharSet(); void SetFont( const Font& rFont ); diff --git a/include/svx/checklbx.hxx b/include/svx/checklbx.hxx index 08986983d9f4..ba379019d970 100644 --- a/include/svx/checklbx.hxx +++ b/include/svx/checklbx.hxx @@ -47,7 +47,7 @@ public: SvxCheckListBox( Window* pParent, const ResId& rResId ); SvxCheckListBox( Window* pParent, const ResId& rResId, const Image& rNormalStaticImage ); - ~SvxCheckListBox(); + virtual ~SvxCheckListBox(); void InsertEntry ( const OUString& rStr, sal_uLong nPos = TREELIST_APPEND, diff --git a/include/svx/clipboardctl.hxx b/include/svx/clipboardctl.hxx index 813fafb3285e..9faedb483924 100644 --- a/include/svx/clipboardctl.hxx +++ b/include/svx/clipboardctl.hxx @@ -43,7 +43,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxClipBoardControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxClipBoardControl(); + virtual ~SvxClipBoardControl(); virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; diff --git a/include/svx/colrctrl.hxx b/include/svx/colrctrl.hxx index a2b01ef38c83..2a1df616d24e 100644 --- a/include/svx/colrctrl.hxx +++ b/include/svx/colrctrl.hxx @@ -104,7 +104,7 @@ public: SfxChildWindow *pCW, Window* pParent, const ResId& rResId ); - ~SvxColorDockingWindow(); + virtual ~SvxColorDockingWindow(); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; diff --git a/include/svx/contdlg.hxx b/include/svx/contdlg.hxx index 1a8ecd45417c..37d1a942a827 100644 --- a/include/svx/contdlg.hxx +++ b/include/svx/contdlg.hxx @@ -75,7 +75,7 @@ public: SvxContourDlg( SfxBindings *pBindings, SfxChildWindow *pCW, Window* pParent, const ResId& rResId ); - ~SvxContourDlg(); + virtual ~SvxContourDlg(); const Graphic& GetGraphic() const; bool IsGraphicChanged() const; diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 703a75c1fd2a..9d97b3e7cb71 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -73,7 +73,7 @@ public: SvLBoxColorString( SvTreeListEntry*, sal_uInt16 nFlags, const OUString& rStr, const Color& rCol); SvLBoxColorString(); - ~SvLBoxColorString(); + virtual ~SvLBoxColorString(); virtual void Paint( const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE; @@ -113,7 +113,7 @@ protected: public: SvxRedlinTable(SvSimpleTableContainer& rParent, WinBits nBits = WB_BORDER); - ~SvxRedlinTable(); + virtual ~SvxRedlinTable(); // For FilterPage only { void SetFilterDate(bool bFlag=true); @@ -315,7 +315,7 @@ private: public: SvxTPView(Window * pParent); - ~SvxTPView(); + virtual ~SvxTPView(); void InsertWriterHeader(); void InsertCalcHeader(); @@ -375,7 +375,7 @@ private: public: SvxAcceptChgCtr(Window* pParent); - ~SvxAcceptChgCtr(); + virtual ~SvxAcceptChgCtr(); void ShowFilterPage(); void ShowViewPage(); diff --git a/include/svx/dbtoolsclient.hxx b/include/svx/dbtoolsclient.hxx index 5a5542ba2cfe..bae28bfd338c 100644 --- a/include/svx/dbtoolsclient.hxx +++ b/include/svx/dbtoolsclient.hxx @@ -158,7 +158,7 @@ namespace svxform { public: DBToolsObjectFactory(); - ~DBToolsObjectFactory(); + virtual ~DBToolsObjectFactory(); ::std::auto_ptr< ::dbtools::FormattedColumnValue > createFormattedColumnValue( const css::uno::Reference<css::uno::XComponentContext>& _rContext, diff --git a/include/svx/dlgctl3d.hxx b/include/svx/dlgctl3d.hxx index c102022aa621..3ebb61fb21c2 100644 --- a/include/svx/dlgctl3d.hxx +++ b/include/svx/dlgctl3d.hxx @@ -57,7 +57,7 @@ protected: public: Svx3DPreviewControl(Window* pParent, const ResId& rResId); Svx3DPreviewControl(Window* pParent, WinBits nStyle = 0); - ~Svx3DPreviewControl(); + virtual ~Svx3DPreviewControl(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -112,7 +112,7 @@ class SVX_DLLPUBLIC Svx3DLightControl : public Svx3DPreviewControl public: Svx3DLightControl(Window* pParent, WinBits nStyle = 0); - ~Svx3DLightControl(); + virtual ~Svx3DLightControl(); virtual void Paint(const Rectangle& rRect) SAL_OVERRIDE; virtual void MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE; @@ -167,7 +167,7 @@ private: public: SvxLightCtl3D( Window* pParent, const ResId& rResId); SvxLightCtl3D( Window* pParent); - ~SvxLightCtl3D(); + virtual ~SvxLightCtl3D(); // react to size changes virtual void Resize() SAL_OVERRIDE; diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 2d09ad61f28f..7a74c33ba447 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -182,7 +182,7 @@ protected: public: SvxPixelCtl( Window* pParent, sal_uInt16 nNumber = 8 ); - ~SvxPixelCtl(); + virtual ~SvxPixelCtl(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/include/svx/e3ditem.hxx b/include/svx/e3ditem.hxx index b425583a268f..8340b3d3d603 100644 --- a/include/svx/e3ditem.hxx +++ b/include/svx/e3ditem.hxx @@ -38,7 +38,7 @@ public: SvxB3DVectorItem(); SvxB3DVectorItem( sal_uInt16 nWhich, const basegfx::B3DVector& rVal ); SvxB3DVectorItem( const SvxB3DVectorItem& ); - ~SvxB3DVectorItem(); + virtual ~SvxB3DVectorItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; diff --git a/include/svx/extrusionbar.hxx b/include/svx/extrusionbar.hxx index 47800a22c16c..fd1effac0781 100644 --- a/include/svx/extrusionbar.hxx +++ b/include/svx/extrusionbar.hxx @@ -42,7 +42,7 @@ public: SFX_DECL_INTERFACE(SVX_INTERFACE_EXTRUSION_BAR) ExtrusionBar(SfxViewShell* pViewShell ); - ~ExtrusionBar(); + virtual ~ExtrusionBar(); static void execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBindings ); static void getState( SdrView* pSdrView, SfxItemSet& rSet ); diff --git a/include/svx/extrusioncolorcontrol.hxx b/include/svx/extrusioncolorcontrol.hxx index c205a69096f1..668b7109eadc 100644 --- a/include/svx/extrusioncolorcontrol.hxx +++ b/include/svx/extrusioncolorcontrol.hxx @@ -35,7 +35,7 @@ private: public: SFX_DECL_TOOLBOX_CONTROL(); ExtrusionColorControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~ExtrusionColorControl(); + virtual ~ExtrusionColorControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; diff --git a/include/svx/fillctrl.hxx b/include/svx/fillctrl.hxx index d42dc13d222b..c409aecfcf2d 100644 --- a/include/svx/fillctrl.hxx +++ b/include/svx/fillctrl.hxx @@ -60,7 +60,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFillToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxFillToolBoxControl(); + virtual ~SvxFillToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -87,7 +87,7 @@ private: virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; public: FillControl( Window* pParent, WinBits nStyle = 0 ); - ~FillControl(); + virtual ~FillControl(); virtual void Resize() SAL_OVERRIDE; }; diff --git a/include/svx/float3d.hxx b/include/svx/float3d.hxx index 3dfdd8ebe9c9..c88fa556f392 100644 --- a/include/svx/float3d.hxx +++ b/include/svx/float3d.hxx @@ -239,7 +239,7 @@ protected: public: Svx3DWin( SfxBindings* pBindings, SfxChildWindow *pCW, Window* pParent ); - ~Svx3DWin(); + virtual ~Svx3DWin(); void InitColorLB( const SdrModel* pDoc ); bool IsUpdateMode() const { return bUpdate; } diff --git a/include/svx/fmgridcl.hxx b/include/svx/fmgridcl.hxx index 26241fe26977..4b6c11620035 100644 --- a/include/svx/fmgridcl.hxx +++ b/include/svx/fmgridcl.hxx @@ -42,7 +42,7 @@ protected: public: FmGridHeader( BrowseBox* pParent, WinBits nWinBits = WB_STDHEADERBAR | WB_DRAG ); - ~FmGridHeader(); + virtual ~FmGridHeader(); public: struct AccessControl { friend class FmGridControl; private: AccessControl() { } }; diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx index a89bdf445b16..1b548f6b7a6c 100644 --- a/include/svx/fmgridif.hxx +++ b/include/svx/fmgridif.hxx @@ -373,7 +373,7 @@ protected: public: FmXGridPeer(const ::css::uno::Reference< ::css::uno::XComponentContext >&); - ~FmXGridPeer(); + virtual ~FmXGridPeer(); // spaeter Constructor, immer nach dem realen Constructor zu rufen ! void Create(Window* pParent, WinBits nStyle); diff --git a/include/svx/fmpage.hxx b/include/svx/fmpage.hxx index acbd8ad5a98c..e011e26d9938 100644 --- a/include/svx/fmpage.hxx +++ b/include/svx/fmpage.hxx @@ -49,7 +49,7 @@ public: FmFormPage(FmFormModel& rModel, bool bMasterPage=false); FmFormPage(const FmFormPage& rPage); - ~FmFormPage(); + virtual ~FmFormPage(); virtual void SetModel(SdrModel* pNewModel) SAL_OVERRIDE; diff --git a/include/svx/fntctl.hxx b/include/svx/fntctl.hxx index 5e2c2bd73eb0..b37575c131eb 100644 --- a/include/svx/fntctl.hxx +++ b/include/svx/fntctl.hxx @@ -44,7 +44,7 @@ private: public: SvxFontMenuControl( sal_uInt16 nId, Menu&, SfxBindings& ); - ~SvxFontMenuControl(); + virtual ~SvxFontMenuControl(); virtual PopupMenu* GetPopup() const SAL_OVERRIDE; diff --git a/include/svx/fntszctl.hxx b/include/svx/fntszctl.hxx index b9bfad768d81..2c7562f1cd64 100644 --- a/include/svx/fntszctl.hxx +++ b/include/svx/fntszctl.hxx @@ -44,7 +44,7 @@ protected: public: SvxFontSizeMenuControl( sal_uInt16 nId, Menu&, SfxBindings& ); - ~SvxFontSizeMenuControl(); + virtual ~SvxFontSizeMenuControl(); virtual PopupMenu* GetPopup() const SAL_OVERRIDE; diff --git a/include/svx/fontwork.hxx b/include/svx/fontwork.hxx index c44550ae5d1f..5292cc180f69 100644 --- a/include/svx/fontwork.hxx +++ b/include/svx/fontwork.hxx @@ -160,7 +160,7 @@ class SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow SfxChildWindow *pCW, Window* pParent, const ResId& rResId ); - ~SvxFontWorkDialog(); + virtual ~SvxFontWorkDialog(); void SetColorList(const XColorListRef &pTable); void SetActive(bool bActivate = true); diff --git a/include/svx/fontworkbar.hxx b/include/svx/fontworkbar.hxx index 9efd7dc76dab..2ca04ca7a3be 100644 --- a/include/svx/fontworkbar.hxx +++ b/include/svx/fontworkbar.hxx @@ -42,7 +42,7 @@ public: SFX_DECL_INTERFACE(SVX_INTERFACE_FONTWORK_BAR) FontworkBar(SfxViewShell* pViewShell ); - ~FontworkBar(); + virtual ~FontworkBar(); static void execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rBindings ); static void getState( SdrView* pSdrView, SfxItemSet& rSet ); diff --git a/include/svx/fontworkgallery.hxx b/include/svx/fontworkgallery.hxx index ba4a2f2e096c..a635aed3e6ce 100644 --- a/include/svx/fontworkgallery.hxx +++ b/include/svx/fontworkgallery.hxx @@ -55,7 +55,7 @@ class SVX_DLLPUBLIC FontWorkShapeTypeControl : public SfxToolBoxControl public: SFX_DECL_TOOLBOX_CONTROL(); FontWorkShapeTypeControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~FontWorkShapeTypeControl(); + virtual ~FontWorkShapeTypeControl(); virtual void Select( sal_Bool bMod1 = sal_False ); virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; @@ -100,7 +100,7 @@ class SVX_DLLPUBLIC FontWorkGalleryDialog : public ModalDialog public: FontWorkGalleryDialog( SdrView* pView, Window* pParent, sal_uInt16 nSID ); - ~FontWorkGalleryDialog(); + virtual ~FontWorkGalleryDialog(); // SJ: if the SdrObject** is set, the SdrObject is not inserted into the page when executing the dialog void SetSdrObjectRef( SdrObject**, SdrModel* pModel ); diff --git a/include/svx/formatpaintbrushctrl.hxx b/include/svx/formatpaintbrushctrl.hxx index 38c6dba622ce..5e7bc7c16669 100644 --- a/include/svx/formatpaintbrushctrl.hxx +++ b/include/svx/formatpaintbrushctrl.hxx @@ -42,7 +42,7 @@ class SVX_DLLPUBLIC FormatPaintBrushToolBoxControl : public SfxToolBoxControl public: SFX_DECL_TOOLBOX_CONTROL(); FormatPaintBrushToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~FormatPaintBrushToolBoxControl(); + virtual ~FormatPaintBrushToolBoxControl(); virtual void DoubleClick() SAL_OVERRIDE; virtual void Click() SAL_OVERRIDE; diff --git a/include/svx/galbrws.hxx b/include/svx/galbrws.hxx index f4753f6614d3..169db3dbe52e 100644 --- a/include/svx/galbrws.hxx +++ b/include/svx/galbrws.hxx @@ -30,7 +30,7 @@ class SVX_DLLPUBLIC GalleryChildWindow : public SfxChildWindow { public: GalleryChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* ); - ~GalleryChildWindow(); + virtual ~GalleryChildWindow(); SFX_DECL_CHILDWINDOW_WITHID( GalleryChildWindow ); }; @@ -72,7 +72,7 @@ public: GalleryBrowser( SfxBindings* pBindings, SfxChildWindow* pCW, Window* pParent, const ResId& rResId ); - ~GalleryBrowser(); + virtual ~GalleryBrowser(); sal_Bool KeyInput( const KeyEvent& rKEvt, Window* pWindow ); }; diff --git a/include/svx/galctrl.hxx b/include/svx/galctrl.hxx index 5b5fff429ef5..752fdf38cc6c 100644 --- a/include/svx/galctrl.hxx +++ b/include/svx/galctrl.hxx @@ -109,7 +109,7 @@ private: public: GalleryIconView( GalleryBrowser2* pParent, GalleryTheme* pTheme ); - ~GalleryIconView(); + virtual ~GalleryIconView(); }; class GalleryListView : public BrowseBox @@ -144,7 +144,7 @@ private: public: GalleryListView( GalleryBrowser2* pParent, GalleryTheme* pTheme ); - ~GalleryListView(); + virtual ~GalleryListView(); void SetSelectHdl( const Link& rSelectHdl ) { maSelectHdl = rSelectHdl; } diff --git a/include/svx/gallery1.hxx b/include/svx/gallery1.hxx index f60ee4089604..1a496dc45709 100644 --- a/include/svx/gallery1.hxx +++ b/include/svx/gallery1.hxx @@ -121,7 +121,7 @@ private: void ImplDeleteCachedTheme( GalleryTheme* pTheme ); SVX_DLLPUBLIC Gallery( const OUString& rMultiPath ); - SVX_DLLPUBLIC ~Gallery(); + SVX_DLLPUBLIC virtual ~Gallery(); public: diff --git a/include/svx/galleryitem.hxx b/include/svx/galleryitem.hxx index 1a252b18b693..9d9b48ce5f47 100644 --- a/include/svx/galleryitem.hxx +++ b/include/svx/galleryitem.hxx @@ -49,7 +49,7 @@ public: SvxGalleryItem(); SvxGalleryItem( const SvxGalleryItem& ); - ~SvxGalleryItem(); + virtual ~SvxGalleryItem(); sal_Int8 GetType() const { return m_nType; } const rtl::OUString GetURL() const { return m_aURL; } diff --git a/include/svx/galmisc.hxx b/include/svx/galmisc.hxx index f8f86ed0c62b..8c19c4add446 100644 --- a/include/svx/galmisc.hxx +++ b/include/svx/galmisc.hxx @@ -170,7 +170,7 @@ private: protected: GalleryTransferable( GalleryTheme* pTheme, sal_uIntPtr nObjectPos, bool bLazy ); - ~GalleryTransferable(); + virtual ~GalleryTransferable(); void InitData( bool bLazy ); diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx index a842b79f2da3..548aca7d223f 100644 --- a/include/svx/galtheme.hxx +++ b/include/svx/galtheme.hxx @@ -129,7 +129,7 @@ private: GalleryTheme(); GalleryTheme( Gallery* pGallery, GalleryThemeEntry* pThemeEntry ); - ~GalleryTheme(); + virtual ~GalleryTheme(); public: diff --git a/include/svx/grafctrl.hxx b/include/svx/grafctrl.hxx index 98b8807ef140..a5412f2b5985 100644 --- a/include/svx/grafctrl.hxx +++ b/include/svx/grafctrl.hxx @@ -50,7 +50,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxGrafFilterToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxGrafFilterToolBoxControl(); + virtual ~SvxGrafFilterToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; @@ -65,7 +65,7 @@ class SvxGrafToolBoxControl : public SfxToolBoxControl { public: SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxGrafToolBoxControl(); + virtual ~SvxGrafToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE; @@ -157,7 +157,7 @@ class SVX_DLLPUBLIC SvxGrafModeToolBoxControl : public SfxToolBoxControl, public public: SFX_DECL_TOOLBOX_CONTROL(); SvxGrafModeToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxGrafModeToolBoxControl(); + virtual ~SvxGrafModeToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE; diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx index 738d0eada4b9..495ba9ff8d71 100644 --- a/include/svx/graphctl.hxx +++ b/include/svx/graphctl.hxx @@ -82,7 +82,7 @@ public: GraphCtrl( Window* pParent, const ResId& rResId ); GraphCtrl( Window* pParent, WinBits nStyle ); - ~GraphCtrl(); + virtual ~GraphCtrl(); void SetWinStyle( WinBits nWinBits ); WinBits GetWinStyle() const { return nWinStyle; } diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx index 18a4e2ba804a..d42cfa3fdf95 100644 --- a/include/svx/gridctrl.hxx +++ b/include/svx/gridctrl.hxx @@ -74,7 +74,7 @@ public: DbGridRow(CursorWrapper* pCur, bool bPaintCursor); void SetState(CursorWrapper* pCur, bool bPaintCursor); - ~DbGridRow(); + virtual ~DbGridRow(); bool HasField(sal_uInt32 nPos) const { return nPos < m_aVariants.size(); } const ::svxform::DataColumn& GetField(sal_uInt32 nPos) const { return *m_aVariants[ nPos ]; } diff --git a/include/svx/imapdlg.hxx b/include/svx/imapdlg.hxx index d581593a641f..7345c1262676 100644 --- a/include/svx/imapdlg.hxx +++ b/include/svx/imapdlg.hxx @@ -119,7 +119,7 @@ public: SvxIMapDlg( SfxBindings *pBindings, SfxChildWindow *pCW, Window* pParent, const ResId& rResId ); - ~SvxIMapDlg(); + virtual ~SvxIMapDlg(); void SetExecState( bool bEnable ); diff --git a/include/svx/insctrl.hxx b/include/svx/insctrl.hxx index 4344072a1716..d9ec00dca797 100644 --- a/include/svx/insctrl.hxx +++ b/include/svx/insctrl.hxx @@ -35,7 +35,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SvxInsertStatusBarControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SvxInsertStatusBarControl(); + virtual ~SvxInsertStatusBarControl(); private: bool bInsert; diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx index 9084a62166de..8dc402025340 100644 --- a/include/svx/itemwin.hxx +++ b/include/svx/itemwin.hxx @@ -49,7 +49,7 @@ public: SvxLineBox( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); - ~SvxLineBox(); + virtual ~SvxLineBox(); void FillControl(); @@ -81,7 +81,7 @@ public: const OUString& rCommand, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); - ~SvxColorBox(); + virtual ~SvxColorBox(); void Update( const XLineColorItem* pItem ); @@ -120,7 +120,7 @@ public: SvxMetricField( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, WinBits nBits = WB_BORDER | WB_SPIN | WB_REPEAT ); - ~SvxMetricField(); + virtual ~SvxMetricField(); void Update( const XLineWidthItem* pItem ); void SetCoreUnit( SfxMapUnit eUnit ); @@ -133,7 +133,7 @@ class SvxFillTypeBox : public FillTypeLB { public: SvxFillTypeBox( Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); - ~SvxFillTypeBox(); + virtual ~SvxFillTypeBox(); void Selected() { bSelect = true; } bool IsRelease() { return bRelease;} @@ -156,7 +156,7 @@ class SvxFillAttrBox : public FillAttrLB { public: SvxFillAttrBox( Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); - ~SvxFillAttrBox(); + virtual ~SvxFillAttrBox(); bool IsRelease() { return bRelease;} diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index de5289b0b7b4..8885064d01fa 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -69,7 +69,7 @@ private: public: SvxLanguageBox(Window* pParent, WinBits nBits, bool bCheck = false); - ~SvxLanguageBox(); + virtual ~SvxLanguageBox(); void SetLanguageList( sal_Int16 nLangList, bool bHasLangNone, bool bLangNoneIsLangAll = false, diff --git a/include/svx/layctrl.hxx b/include/svx/layctrl.hxx index 1477e5a06020..9652aea57322 100644 --- a/include/svx/layctrl.hxx +++ b/include/svx/layctrl.hxx @@ -40,7 +40,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxTableToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxTableToolBoxControl(); + virtual ~SvxTableToolBoxControl(); }; // class SvxColumnsToolBoxControl ---------------------------------------- @@ -56,7 +56,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxColumnsToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxColumnsToolBoxControl(); + virtual ~SvxColumnsToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx index 114accbba131..1419b653a814 100644 --- a/include/svx/linectrl.hxx +++ b/include/svx/linectrl.hxx @@ -48,7 +48,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxLineStyleToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxLineStyleToolBoxControl(); + virtual ~SvxLineStyleToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -66,7 +66,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxLineWidthToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxLineWidthToolBoxControl(); + virtual ~SvxLineWidthToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -83,7 +83,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxLineColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxLineColorToolBoxControl(); + virtual ~SvxLineColorToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -135,7 +135,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, Window* pParentWindow, const OUString& rWndTitle ); - ~SvxLineEndWindow(); + virtual ~SvxLineEndWindow(); void StartSelection(); @@ -153,7 +153,7 @@ class SVX_DLLPUBLIC SvxLineEndToolBoxControl : public SfxToolBoxControl public: SFX_DECL_TOOLBOX_CONTROL(); SvxLineEndToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxLineEndToolBoxControl(); + virtual ~SvxLineEndToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; diff --git a/include/svx/measctrl.hxx b/include/svx/measctrl.hxx index f9efa90b3f49..2c037e2320a2 100644 --- a/include/svx/measctrl.hxx +++ b/include/svx/measctrl.hxx @@ -42,7 +42,7 @@ private: public: SvxXMeasurePreview(Window* pParent, WinBits nStyle); - ~SvxXMeasurePreview(); + virtual ~SvxXMeasurePreview(); virtual void Paint(const Rectangle& rRect) SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; diff --git a/include/svx/numinf.hxx b/include/svx/numinf.hxx index f0db983277cd..9a9a30f36583 100644 --- a/include/svx/numinf.hxx +++ b/include/svx/numinf.hxx @@ -47,7 +47,7 @@ public: SvxNumberInfoItem( SvNumberFormatter* pNumFormatter, const double& rVal, const OUString& rValueStr, const sal_uInt16 nId ); SvxNumberInfoItem( const SvxNumberInfoItem& ); - ~SvxNumberInfoItem(); + virtual ~SvxNumberInfoItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; diff --git a/include/svx/numvset.hxx b/include/svx/numvset.hxx index 0bd5efb9f559..ff64b4850175 100644 --- a/include/svx/numvset.hxx +++ b/include/svx/numvset.hxx @@ -68,7 +68,7 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet public: SvxNumValueSet(Window* pParent, WinBits nWinBits = WB_TABSTOP); void init(sal_uInt16 nType); - ~SvxNumValueSet(); + virtual ~SvxNumValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE; @@ -106,7 +106,7 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet public: SvxBmpNumValueSet(Window* pParent, WinBits nWinBits = WB_TABSTOP); - ~SvxBmpNumValueSet(); + virtual ~SvxBmpNumValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE; diff --git a/include/svx/pagectrl.hxx b/include/svx/pagectrl.hxx index ebec43cf2d75..e91281803158 100644 --- a/include/svx/pagectrl.hxx +++ b/include/svx/pagectrl.hxx @@ -79,7 +79,7 @@ protected: public: SvxPageWindow( Window* pParent ); - ~SvxPageWindow(); + virtual ~SvxPageWindow(); void SetWidth( long nW ) { aSize.Width() = nW; } void SetHeight( long nH ) { aSize.Height() = nH; } diff --git a/include/svx/passwd.hxx b/include/svx/passwd.hxx index 6c74fa237a03..3b2f95800d5b 100644 --- a/include/svx/passwd.hxx +++ b/include/svx/passwd.hxx @@ -52,7 +52,7 @@ private: public: SvxPasswordDialog( Window* pParent, bool bAllowEmptyPasswords = false, bool bDisableOldPassword = false ); - ~SvxPasswordDialog(); + virtual ~SvxPasswordDialog(); OUString GetOldPassword() const { return m_pOldPasswdED->GetText(); } OUString GetNewPassword() const { return m_pNewPasswdED->GetText(); } diff --git a/include/svx/prtqry.hxx b/include/svx/prtqry.hxx index fc65fef8e9c1..3a1446610639 100644 --- a/include/svx/prtqry.hxx +++ b/include/svx/prtqry.hxx @@ -26,7 +26,7 @@ class SVX_DLLPUBLIC SvxPrtQryBox : public MessBox { public: SvxPrtQryBox(Window* pParent); - ~SvxPrtQryBox(); + virtual ~SvxPrtQryBox(); }; #endif diff --git a/include/svx/pszctrl.hxx b/include/svx/pszctrl.hxx index 827a06a882c5..92c390687dc7 100644 --- a/include/svx/pszctrl.hxx +++ b/include/svx/pszctrl.hxx @@ -38,7 +38,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SvxPosSizeStatusBarControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SvxPosSizeStatusBarControl(); + virtual ~SvxPosSizeStatusBarControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE; diff --git a/include/svx/rotmodit.hxx b/include/svx/rotmodit.hxx index 69082b8b247a..938a9f2e3288 100644 --- a/include/svx/rotmodit.hxx +++ b/include/svx/rotmodit.hxx @@ -41,7 +41,7 @@ public: SvxRotateModeItem( SvxRotateMode eMode=SVX_ROTATE_MODE_STANDARD, sal_uInt16 nWhich=0); SvxRotateModeItem( const SvxRotateModeItem& rItem ); - ~SvxRotateModeItem(); + virtual ~SvxRotateModeItem(); virtual sal_uInt16 GetValueCount() const SAL_OVERRIDE; virtual OUString GetValueText( sal_uInt16 nVal ) const; diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx index b4c6515eecdc..fee6b3c855b5 100644 --- a/include/svx/ruler.hxx +++ b/include/svx/ruler.hxx @@ -253,7 +253,7 @@ public: SvxRuler(Window* pParent, Window *pEditWin, sal_uInt16 nRulerFlags, SfxBindings &rBindings, WinBits nWinStyle = WB_STDRULER); - ~SvxRuler(); + virtual ~SvxRuler(); void SetMinFrameSize(long lSize); long GetMinFrameSize() const ; diff --git a/include/svx/rulritem.hxx b/include/svx/rulritem.hxx index 8f689d190257..f1b72681a640 100644 --- a/include/svx/rulritem.hxx +++ b/include/svx/rulritem.hxx @@ -180,7 +180,7 @@ public: SvxColumnItem(sal_uInt16 nAct = 0); SvxColumnItem(sal_uInt16 nActCol, sal_uInt16 nLeft, sal_uInt16 nRight = 0); // Table with borders SvxColumnItem(const SvxColumnItem& aItem); - ~SvxColumnItem(); + virtual ~SvxColumnItem(); const SvxColumnItem &operator=(const SvxColumnItem &); diff --git a/include/svx/sdasaitm.hxx b/include/svx/sdasaitm.hxx index 0ea1eaba7ded..a1b8be1d10b1 100644 --- a/include/svx/sdasaitm.hxx +++ b/include/svx/sdasaitm.hxx @@ -46,7 +46,7 @@ class SdrCustomShapeAdjustmentItem : public SfxPoolItem TYPEINFO_OVERRIDE(); SVX_DLLPUBLIC SdrCustomShapeAdjustmentItem(); SdrCustomShapeAdjustmentItem( SvStream& rIn, sal_uInt16 nVersion ); - SVX_DLLPUBLIC ~SdrCustomShapeAdjustmentItem(); + SVX_DLLPUBLIC virtual ~SdrCustomShapeAdjustmentItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation, diff --git a/include/svx/sdasitm.hxx b/include/svx/sdasitm.hxx index 992a0f397238..3fd8bd3cb4f6 100644 --- a/include/svx/sdasitm.hxx +++ b/include/svx/sdasitm.hxx @@ -76,7 +76,7 @@ private: SdrCustomShapeGeometryItem(); SdrCustomShapeGeometryItem( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& ); SdrCustomShapeGeometryItem( SvStream& rIn, sal_uInt16 nVersion ); - ~SdrCustomShapeGeometryItem(); + virtual ~SdrCustomShapeGeometryItem(); virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation, diff --git a/include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx b/include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx index 23f9daa1adaf..a1ade08cd65f 100644 --- a/include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx +++ b/include/svx/sdr/contact/viewobjectcontactofunocontrol.hxx @@ -89,7 +89,7 @@ namespace sdr { namespace contact { void onControlChangedOrModified( ImplAccess ) { impl_onControlChangedOrModified(); } protected: - ~ViewObjectContactOfUnoControl(); + virtual ~ViewObjectContactOfUnoControl(); // support for Primitive2D virtual drawinglayer::primitive2d::Primitive2DSequence createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const SAL_OVERRIDE; @@ -112,7 +112,7 @@ namespace sdr { namespace contact { { public: UnoControlPrintOrPreviewContact( ObjectContactOfPageView& _rObjectContact, ViewContactOfUnoControl& _rViewContact ); - ~UnoControlPrintOrPreviewContact(); + virtual ~UnoControlPrintOrPreviewContact(); private: UnoControlPrintOrPreviewContact(); // never implemented diff --git a/include/svx/sidebar/ValueSetWithTextControl.hxx b/include/svx/sidebar/ValueSetWithTextControl.hxx index 3b80efd4e8bc..5542e2bac2cb 100644 --- a/include/svx/sidebar/ValueSetWithTextControl.hxx +++ b/include/svx/sidebar/ValueSetWithTextControl.hxx @@ -130,7 +130,7 @@ class SVX_DLLPUBLIC SvxNumValueSet2 : public ValueSet public: SvxNumValueSet2( Window* pParent, const ResId& rResId); - ~SvxNumValueSet2(); + virtual ~SvxNumValueSet2(); virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE; @@ -147,7 +147,7 @@ class SVX_DLLPUBLIC SvxNumValueSet3 : public ValueSet { public: SvxNumValueSet3( Window* pParent, const ResId& rResId); - ~SvxNumValueSet3(); + virtual ~SvxNumValueSet3(); virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE; diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index 606bbe40db93..56cd87b224ee 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -94,7 +94,7 @@ public: SvxSearchDialogWrapper( Window*pParent, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo ); - ~SvxSearchDialogWrapper (); + virtual ~SvxSearchDialogWrapper (); SvxSearchDialog *getDialog (); static void SetSearchLabel(const SearchLabel& rSL); SFX_DECL_CHILDWINDOW_WITHID(SvxSearchDialogWrapper); @@ -119,7 +119,7 @@ friend class SvxJSearchOptionsDialog; public: SvxSearchDialog( Window* pParent, SfxChildWindow* pChildWin, SfxBindings& rBind ); - ~SvxSearchDialog(); + virtual ~SvxSearchDialog(); virtual bool Close() SAL_OVERRIDE; diff --git a/include/svx/stddlg.hxx b/include/svx/stddlg.hxx index 7b6e1202a52e..8a53be59d32b 100644 --- a/include/svx/stddlg.hxx +++ b/include/svx/stddlg.hxx @@ -29,7 +29,7 @@ class SVX_DLLPUBLIC SvxStandardDialog: public SfxModalDialog public: SvxStandardDialog( Window* pParent, const ResId& rResId ); SvxStandardDialog( Window* pParent, const OString& rID, const OUString& rUIXMLDescription ); - ~SvxStandardDialog(); + virtual ~SvxStandardDialog(); short Execute() SAL_OVERRIDE; diff --git a/include/svx/subtoolboxcontrol.hxx b/include/svx/subtoolboxcontrol.hxx index 0f3bf6cbbf70..e7f2904a456f 100644 --- a/include/svx/subtoolboxcontrol.hxx +++ b/include/svx/subtoolboxcontrol.hxx @@ -33,7 +33,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxSubToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxSubToolBoxControl(); + virtual ~SvxSubToolBoxControl(); virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; diff --git a/include/svx/svdopage.hxx b/include/svx/svdopage.hxx index 48a9235afbf2..74168ebc2274 100644 --- a/include/svx/svdopage.hxx +++ b/include/svx/svdopage.hxx @@ -45,7 +45,7 @@ public: TYPEINFO_OVERRIDE(); SdrPageObj(SdrPage* pNewPage = 0L); SdrPageObj(const Rectangle& rRect, SdrPage* pNewPage = 0L); - ~SdrPageObj(); + virtual ~SdrPageObj(); // #111111# SdrPage* GetReferencedPage() const; diff --git a/include/svx/swframeexample.hxx b/include/svx/swframeexample.hxx index a790b4283685..b5de0c81f162 100644 --- a/include/svx/swframeexample.hxx +++ b/include/svx/swframeexample.hxx @@ -74,7 +74,7 @@ protected: public: SvxSwFrameExample(Window* pParent, WinBits nStyle); - ~SvxSwFrameExample(); + virtual ~SvxSwFrameExample(); inline void SetWrap(sal_uInt16 nW) { nWrap = nW; } diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx index 4ed93da0036d..8254825a5ca5 100644 --- a/include/svx/tbcontrl.hxx +++ b/include/svx/tbcontrl.hxx @@ -174,7 +174,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxStyleToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxStyleToolBoxControl(); + virtual ~SvxStyleToolBoxControl(); virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE; @@ -247,7 +247,7 @@ class SVX_DLLPUBLIC SvxFontColorToolBoxControl : public SfxToolBoxControl public: SFX_DECL_TOOLBOX_CONTROL(); SvxFontColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxFontColorToolBoxControl(); + virtual ~SvxFontColorToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -275,7 +275,7 @@ class SVX_DLLPUBLIC SvxColorExtToolBoxControl : public SfxToolBoxControl public: SFX_DECL_TOOLBOX_CONTROL(); SvxColorExtToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxColorExtToolBoxControl(); + virtual ~SvxColorExtToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -298,7 +298,7 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl public: SvxColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxColorToolBoxControl(); + virtual ~SvxColorToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -362,7 +362,7 @@ public: SvxFrameLineColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxFrameLineColorToolBoxControl(); + virtual ~SvxFrameLineColorToolBoxControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; @@ -378,7 +378,7 @@ private: public: SFX_DECL_TOOLBOX_CONTROL(); SvxSimpleUndoRedoController( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxSimpleUndoRedoController(); + virtual ~SvxSimpleUndoRedoController(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; diff --git a/include/svx/tbxalign.hxx b/include/svx/tbxalign.hxx index f56f8e68fc07..00a98d1eaf80 100644 --- a/include/svx/tbxalign.hxx +++ b/include/svx/tbxalign.hxx @@ -37,7 +37,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxTbxCtlAlign( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxTbxCtlAlign() {} + virtual ~SvxTbxCtlAlign() {} private: OUString m_aSubTbName; OUString m_aSubTbResName; diff --git a/include/svx/tbxctl.hxx b/include/svx/tbxctl.hxx index 99c129b74378..2be7c75b8023 100644 --- a/include/svx/tbxctl.hxx +++ b/include/svx/tbxctl.hxx @@ -40,7 +40,7 @@ protected: public: SvxTbxCtlDraw( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxTbxCtlDraw() {} + virtual ~SvxTbxCtlDraw() {} SFX_DECL_TOOLBOX_CONTROL(); diff --git a/include/svx/tbxcustomshapes.hxx b/include/svx/tbxcustomshapes.hxx index e7b6a46c29bc..5aee5c45b48f 100644 --- a/include/svx/tbxcustomshapes.hxx +++ b/include/svx/tbxcustomshapes.hxx @@ -41,7 +41,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxTbxCtlCustomShapes( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxTbxCtlCustomShapes() {} + virtual ~SvxTbxCtlCustomShapes() {} //interface XSubToolbarController: virtual ::sal_Bool SAL_CALL opensSubToolbar() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/svx/tbxdraw.hxx b/include/svx/tbxdraw.hxx index 8b7ce59a6e6e..37862f672a91 100644 --- a/include/svx/tbxdraw.hxx +++ b/include/svx/tbxdraw.hxx @@ -47,7 +47,7 @@ public: WindowAlign eAlign, ResId aRIdWin, ResId aRIdTbx ); - ~SvxPopupWindowTbxMgr(); + virtual ~SvxPopupWindowTbxMgr(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState) SAL_OVERRIDE; diff --git a/include/svx/txencbox.hxx b/include/svx/txencbox.hxx index a63ef943823b..2e88a2bb1aee 100644 --- a/include/svx/txencbox.hxx +++ b/include/svx/txencbox.hxx @@ -34,7 +34,7 @@ private: public: SvxTextEncodingBox( Window* pParent, WinBits nBits ); - ~SvxTextEncodingBox(); + virtual ~SvxTextEncodingBox(); /** Fill with all known encodings but exclude those matching one or more given flags as defined in rtl/tencinfo.h diff --git a/include/svx/verttexttbxctrl.hxx b/include/svx/verttexttbxctrl.hxx index d2bb5863f828..b49e5e81ce8a 100644 --- a/include/svx/verttexttbxctrl.hxx +++ b/include/svx/verttexttbxctrl.hxx @@ -30,7 +30,7 @@ class SvxVertCTLTextTbxCtrl : public SfxToolBoxControl bool bCheckVertical; //determines whether vertical mode or CTL mode has to be checked public: SvxVertCTLTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxVertCTLTextTbxCtrl(); + virtual ~SvxVertCTLTextTbxCtrl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; diff --git a/include/svx/viewlayoutitem.hxx b/include/svx/viewlayoutitem.hxx index 4ce2858c8b23..7bf8a84e8b55 100644 --- a/include/svx/viewlayoutitem.hxx +++ b/include/svx/viewlayoutitem.hxx @@ -34,7 +34,7 @@ public: SvxViewLayoutItem( sal_uInt16 nColumns = 0, bool bBookMode = false, sal_uInt16 nWhich = SID_ATTR_VIEWLAYOUT ); SvxViewLayoutItem( const SvxViewLayoutItem& ); - ~SvxViewLayoutItem(); + virtual ~SvxViewLayoutItem(); void SetBookMode( bool bNew ) {mbBookMode = bNew; } bool IsBookMode() const {return mbBookMode; } diff --git a/include/svx/xit.hxx b/include/svx/xit.hxx index 7ea554d39585..3a90619509a0 100644 --- a/include/svx/xit.hxx +++ b/include/svx/xit.hxx @@ -50,7 +50,7 @@ public: const OUString& rName = OUString()); NameOrIndex(sal_uInt16 nWhich, SvStream& rIn); NameOrIndex(const NameOrIndex& rNameOrIndex); - ~NameOrIndex() {}; + virtual ~NameOrIndex() {}; virtual bool operator==(const SfxPoolItem& rItem) const SAL_OVERRIDE; virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const SAL_OVERRIDE; diff --git a/include/svx/xmleohlp.hxx b/include/svx/xmleohlp.hxx index 9b6c885f26b0..61ed78d6cba3 100644 --- a/include/svx/xmleohlp.hxx +++ b/include/svx/xmleohlp.hxx @@ -100,7 +100,7 @@ private: protected: SvXMLEmbeddedObjectHelper(); - ~SvXMLEmbeddedObjectHelper(); + virtual ~SvXMLEmbeddedObjectHelper(); void Init( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, ::comphelper::IEmbeddedHelper& rDocPersist, SvXMLEmbeddedObjectHelperMode eCreateMode ); diff --git a/include/svx/xmlgrhlp.hxx b/include/svx/xmlgrhlp.hxx index 7a9f7e29eed6..3f620de568ce 100644 --- a/include/svx/xmlgrhlp.hxx +++ b/include/svx/xmlgrhlp.hxx @@ -84,7 +84,7 @@ private: protected: SvXMLGraphicHelper(); - ~SvXMLGraphicHelper(); + virtual ~SvXMLGraphicHelper(); void Init( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XStorage >& xXMLStorage, SvXMLGraphicHelperMode eCreateMode, bool bDirect ); diff --git a/include/svx/xmlsecctrl.hxx b/include/svx/xmlsecctrl.hxx index 59016e62f403..4e6902f2d2cc 100644 --- a/include/svx/xmlsecctrl.hxx +++ b/include/svx/xmlsecctrl.hxx @@ -39,7 +39,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); XmlSecStatusBarControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& _rStb ); - ~XmlSecStatusBarControl(); + virtual ~XmlSecStatusBarControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE; diff --git a/include/svx/zoomsliderctrl.hxx b/include/svx/zoomsliderctrl.hxx index 2a39cde88a2a..a15121782c2c 100644 --- a/include/svx/zoomsliderctrl.hxx +++ b/include/svx/zoomsliderctrl.hxx @@ -40,7 +40,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SvxZoomSliderControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& _rStb ); - ~SvxZoomSliderControl(); + virtual ~SvxZoomSliderControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE; diff --git a/include/svx/zoomslideritem.hxx b/include/svx/zoomslideritem.hxx index 4f49b64c1522..0cb37424ef19 100644 --- a/include/svx/zoomslideritem.hxx +++ b/include/svx/zoomslideritem.hxx @@ -37,7 +37,7 @@ public: SvxZoomSliderItem( sal_uInt16 nCurrentZoom = 100, sal_uInt16 nMinZoom = 20, sal_uInt16 nMaxZoom = 600, sal_uInt16 nWhich = SID_ATTR_ZOOMSLIDER ); SvxZoomSliderItem( const SvxZoomSliderItem& ); - ~SvxZoomSliderItem(); + virtual ~SvxZoomSliderItem(); void AddSnappingPoint( sal_Int32 nNew ); const com::sun::star::uno::Sequence < sal_Int32 >& GetSnappingPoints() const; diff --git a/include/toolkit/awt/animatedimagespeer.hxx b/include/toolkit/awt/animatedimagespeer.hxx index 9931be7eca66..3bd41a6f13e6 100644 --- a/include/toolkit/awt/animatedimagespeer.hxx +++ b/include/toolkit/awt/animatedimagespeer.hxx @@ -52,7 +52,7 @@ namespace toolkit AnimatedImagesPeer(); protected: - ~AnimatedImagesPeer(); + virtual ~AnimatedImagesPeer(); public: // XAnimation diff --git a/include/toolkit/awt/vclxaccessiblecomponent.hxx b/include/toolkit/awt/vclxaccessiblecomponent.hxx index b4a5d42e1f45..9faf70655f11 100644 --- a/include/toolkit/awt/vclxaccessiblecomponent.hxx +++ b/include/toolkit/awt/vclxaccessiblecomponent.hxx @@ -80,7 +80,7 @@ protected: public: VCLXAccessibleComponent( VCLXWindow* pVCLXindow ); - ~VCLXAccessibleComponent(); + virtual ~VCLXAccessibleComponent(); VCLXWindow* GetVCLXWindow() const { return mpVCLXindow; } Window* GetWindow() const; diff --git a/include/toolkit/awt/vclxcontainer.hxx b/include/toolkit/awt/vclxcontainer.hxx index b765b9a7995c..f30b0e56d7fc 100644 --- a/include/toolkit/awt/vclxcontainer.hxx +++ b/include/toolkit/awt/vclxcontainer.hxx @@ -40,7 +40,7 @@ class TOOLKIT_DLLPUBLIC VCLXContainer : public ::com::sun::star::awt::XVclContai { public: VCLXContainer(); - ~VCLXContainer(); + virtual ~VCLXContainer(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/toolkit/awt/vclxdevice.hxx b/include/toolkit/awt/vclxdevice.hxx index 8fb4428a447f..3de7931c3d1b 100644 --- a/include/toolkit/awt/vclxdevice.hxx +++ b/include/toolkit/awt/vclxdevice.hxx @@ -59,7 +59,7 @@ protected: public: VCLXDevice(); - ~VCLXDevice(); + virtual ~VCLXDevice(); void SetOutputDevice( OutputDevice* pOutDev ) { mpOutputDevice = pOutDev; } OutputDevice* GetOutputDevice() const { return mpOutputDevice; } @@ -105,7 +105,7 @@ public: class VCLXVirtualDevice : public VCLXDevice { public: - ~VCLXVirtualDevice(); + virtual ~VCLXVirtualDevice(); void SetVirtualDevice( VirtualDevice* pVDev ) { SetOutputDevice( (OutputDevice*)pVDev ); } }; diff --git a/include/toolkit/awt/vclxfont.hxx b/include/toolkit/awt/vclxfont.hxx index 21abe13a2847..fda8de9e2de1 100644 --- a/include/toolkit/awt/vclxfont.hxx +++ b/include/toolkit/awt/vclxfont.hxx @@ -50,7 +50,7 @@ protected: public: VCLXFont(); - ~VCLXFont(); + virtual ~VCLXFont(); void Init( ::com::sun::star::awt::XDevice& rxDev, const Font& rFont ); const Font& GetFont() const { return maFont; } diff --git a/include/toolkit/awt/vclxgraphics.hxx b/include/toolkit/awt/vclxgraphics.hxx index 9f8c12660e89..a9e302023c61 100644 --- a/include/toolkit/awt/vclxgraphics.hxx +++ b/include/toolkit/awt/vclxgraphics.hxx @@ -69,7 +69,7 @@ private: public: VCLXGraphics(); - ~VCLXGraphics(); + virtual ~VCLXGraphics(); void Init( OutputDevice* pOutDev ); void InitOutputDevice( sal_uInt16 nFlags ); diff --git a/include/toolkit/awt/vclxmenu.hxx b/include/toolkit/awt/vclxmenu.hxx index 63b6d7ff7fd8..b149202d52fd 100644 --- a/include/toolkit/awt/vclxmenu.hxx +++ b/include/toolkit/awt/vclxmenu.hxx @@ -72,7 +72,7 @@ protected: public: VCLXMenu(); VCLXMenu( Menu* pMenu ); - ~VCLXMenu(); + virtual ~VCLXMenu(); Menu* GetMenu() const { return mpMenu; } diff --git a/include/toolkit/awt/vclxpointer.hxx b/include/toolkit/awt/vclxpointer.hxx index 08dd4fcf3e83..fb224c6cf41b 100644 --- a/include/toolkit/awt/vclxpointer.hxx +++ b/include/toolkit/awt/vclxpointer.hxx @@ -47,7 +47,7 @@ protected: public: VCLXPointer(); - ~VCLXPointer(); + virtual ~VCLXPointer(); const Pointer& GetPointer() const { return maPointer; } diff --git a/include/toolkit/awt/vclxprinter.hxx b/include/toolkit/awt/vclxprinter.hxx index a893aefaed7e..434c47a2c2da 100644 --- a/include/toolkit/awt/vclxprinter.hxx +++ b/include/toolkit/awt/vclxprinter.hxx @@ -111,7 +111,7 @@ class VCLXPrinter: public VCLXPrinter_Base JobSetup maInitJobSetup; public: VCLXPrinter( const OUString& rPrinterName ); - ~VCLXPrinter(); + virtual ~VCLXPrinter(); // ::com::sun::star::beans::XPropertySet ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return VCLXPrinterPropertySet::getPropertySetInfo(); } @@ -148,7 +148,7 @@ class VCLXInfoPrinter: public VCLXInfoPrinter_Base { public: VCLXInfoPrinter( const OUString& rPrinterName ); - ~VCLXInfoPrinter(); + virtual ~VCLXInfoPrinter(); // ::com::sun::star::beans::XPropertySet ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return VCLXPrinterPropertySet::getPropertySetInfo(); } diff --git a/include/toolkit/awt/vclxregion.hxx b/include/toolkit/awt/vclxregion.hxx index 2306b41f086b..0aafb8616516 100644 --- a/include/toolkit/awt/vclxregion.hxx +++ b/include/toolkit/awt/vclxregion.hxx @@ -47,7 +47,7 @@ protected: public: VCLXRegion(); - ~VCLXRegion(); + virtual ~VCLXRegion(); void SetRegion( const Region& rRegion ) { maRegion = rRegion; } const Region& GetRegion() const { return maRegion; } diff --git a/include/toolkit/awt/vclxspinbutton.hxx b/include/toolkit/awt/vclxspinbutton.hxx index 2128d477bba1..ea6c862892ff 100644 --- a/include/toolkit/awt/vclxspinbutton.hxx +++ b/include/toolkit/awt/vclxspinbutton.hxx @@ -46,7 +46,7 @@ namespace toolkit VCLXSpinButton(); protected: - ~VCLXSpinButton( ); + virtual ~VCLXSpinButton( ); // XInterface DECLARE_XINTERFACE() diff --git a/include/toolkit/awt/vclxsystemdependentwindow.hxx b/include/toolkit/awt/vclxsystemdependentwindow.hxx index d930b4c003af..589aed673164 100644 --- a/include/toolkit/awt/vclxsystemdependentwindow.hxx +++ b/include/toolkit/awt/vclxsystemdependentwindow.hxx @@ -37,7 +37,7 @@ class TOOLKIT_DLLPUBLIC VCLXSystemDependentWindow : public ::com::sun::star::awt { public: VCLXSystemDependentWindow(); - ~VCLXSystemDependentWindow(); + virtual ~VCLXSystemDependentWindow(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/toolkit/awt/vclxtabpagecontainer.hxx b/include/toolkit/awt/vclxtabpagecontainer.hxx index a1e72cbf493e..f9a6951541fd 100644 --- a/include/toolkit/awt/vclxtabpagecontainer.hxx +++ b/include/toolkit/awt/vclxtabpagecontainer.hxx @@ -42,7 +42,7 @@ class VCLXTabPageContainer : public VCLXTabPageContainer_Base { public: VCLXTabPageContainer(); - ~VCLXTabPageContainer(); + virtual ~VCLXTabPageContainer(); // ::com::sun::star::awt::XView void SAL_CALL draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/toolkit/awt/vclxtopwindow.hxx b/include/toolkit/awt/vclxtopwindow.hxx index 08599fb0556f..772dfcb0f96a 100644 --- a/include/toolkit/awt/vclxtopwindow.hxx +++ b/include/toolkit/awt/vclxtopwindow.hxx @@ -91,7 +91,7 @@ protected: public: VCLXTopWindow(bool bWHWND = false); - ~VCLXTopWindow(); + virtual ~VCLXTopWindow(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/toolkit/awt/vclxwindow.hxx b/include/toolkit/awt/vclxwindow.hxx index b9bfceefe958..7b7329fe8f38 100644 --- a/include/toolkit/awt/vclxwindow.hxx +++ b/include/toolkit/awt/vclxwindow.hxx @@ -126,7 +126,7 @@ protected: public: VCLXWindow( bool bWithDefaultProps = false ); - ~VCLXWindow(); + virtual ~VCLXWindow(); virtual void SetWindow( Window* pWindow ); Window* GetWindow() const { return (Window*)GetOutputDevice(); } diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx index 90e2f804f583..ca77111cfa60 100644 --- a/include/toolkit/awt/vclxwindows.hxx +++ b/include/toolkit/awt/vclxwindows.hxx @@ -162,7 +162,7 @@ protected: public: VCLXButton(); - ~VCLXButton(); + virtual ~VCLXButton(); // ::com::sun::star::lang::XComponent void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -198,7 +198,7 @@ class VCLXImageControl : public VCLXGraphicControl { public: VCLXImageControl(); - ~VCLXImageControl(); + virtual ~VCLXImageControl(); // ::com::sun::star::awt::XLayoutConstrains ::com::sun::star::awt::Size SAL_CALL getMinimumSize( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -340,7 +340,7 @@ class VCLXMessageBox : public ::com::sun::star::awt::XMessageBox, { public: VCLXMessageBox(); - ~VCLXMessageBox(); + virtual ~VCLXMessageBox(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -376,7 +376,7 @@ protected: public: VCLXFrame(); - ~VCLXFrame(); + virtual ~VCLXFrame(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -410,7 +410,7 @@ class TOOLKIT_DLLPUBLIC VCLXDialog : public ::com::sun::star::awt::XDialog2, { public: VCLXDialog(); - ~VCLXDialog(); + virtual ~VCLXDialog(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -452,7 +452,7 @@ class VCLXTabPage : public VCLXContainer { public: VCLXTabPage(); - ~VCLXTabPage(); + virtual ~VCLXTabPage(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -485,7 +485,7 @@ protected: void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE; public: VCLXMultiPage(); - ~VCLXMultiPage(); + virtual ~VCLXMultiPage(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -545,7 +545,7 @@ protected: public: VCLXFixedHyperlink(); - ~VCLXFixedHyperlink(); + virtual ~VCLXFixedHyperlink(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -593,7 +593,7 @@ protected: public: VCLXFixedText(); - ~VCLXFixedText(); + virtual ~VCLXFixedText(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -844,7 +844,7 @@ protected: public: VCLXComboBox(); - ~VCLXComboBox(); + virtual ~VCLXComboBox(); // ::com::sun::star::lang::XComponent void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -940,7 +940,7 @@ protected: public: VCLXFormattedSpinField(); - ~VCLXFormattedSpinField(); + virtual ~VCLXFormattedSpinField(); void SetFormatter( FormatterBase* pFormatter ) { mpFormatter = pFormatter; } @@ -965,7 +965,7 @@ protected: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE; public: VCLXDateField(); - ~VCLXDateField(); + virtual ~VCLXDateField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1013,7 +1013,7 @@ protected: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE; public: VCLXTimeField(); - ~VCLXTimeField(); + virtual ~VCLXTimeField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1056,7 +1056,7 @@ class VCLXNumericField : public ::com::sun::star::awt::XNumericField, { public: VCLXNumericField(); - ~VCLXNumericField(); + virtual ~VCLXNumericField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1106,7 +1106,7 @@ class VCLXMetricField : public ::com::sun::star::awt::XMetricField, void CallListeners(); public: VCLXMetricField(); - ~VCLXMetricField(); + virtual ~VCLXMetricField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1153,7 +1153,7 @@ class VCLXCurrencyField : public ::com::sun::star::awt::XCurrencyField, { public: VCLXCurrencyField(); - ~VCLXCurrencyField(); + virtual ~VCLXCurrencyField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1199,7 +1199,7 @@ class VCLXPatternField : public ::com::sun::star::awt::XPatternField, { public: VCLXPatternField(); - ~VCLXPatternField(); + virtual ~VCLXPatternField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -1240,7 +1240,7 @@ protected: public: VCLXToolBox(); - ~VCLXToolBox(); + virtual ~VCLXToolBox(); }; #endif // INCLUDED_TOOLKIT_AWT_VCLXWINDOWS_HXX diff --git a/include/toolkit/controls/accessiblecontrolcontext.hxx b/include/toolkit/controls/accessiblecontrolcontext.hxx index 3c151804847a..688f58ea575d 100644 --- a/include/toolkit/controls/accessiblecontrolcontext.hxx +++ b/include/toolkit/controls/accessiblecontrolcontext.hxx @@ -61,7 +61,7 @@ namespace toolkit protected: /// ctor. @see Init OAccessibleControlContext(); - ~OAccessibleControlContext(); + virtual ~OAccessibleControlContext(); /** late ctor */ diff --git a/include/toolkit/controls/animatedimages.hxx b/include/toolkit/controls/animatedimages.hxx index 075fcf91906f..2d76ac918dc7 100644 --- a/include/toolkit/controls/animatedimages.hxx +++ b/include/toolkit/controls/animatedimages.hxx @@ -76,7 +76,7 @@ namespace toolkit virtual void SAL_CALL removeContainerListener( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener >& i_listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~AnimatedImagesControlModel(); + virtual ~AnimatedImagesControlModel(); ::com::sun::star::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const SAL_OVERRIDE; ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE; diff --git a/include/toolkit/controls/controlmodelcontainerbase.hxx b/include/toolkit/controls/controlmodelcontainerbase.hxx index b52eca5a3c3c..109f2293c017 100644 --- a/include/toolkit/controls/controlmodelcontainerbase.hxx +++ b/include/toolkit/controls/controlmodelcontainerbase.hxx @@ -100,7 +100,7 @@ protected: public: ControlModelContainerBase( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); ControlModelContainerBase( const ControlModelContainerBase& rModel ); - ~ControlModelContainerBase(); + virtual ~ControlModelContainerBase(); UnoControlModel* Clone() const SAL_OVERRIDE; @@ -236,7 +236,7 @@ protected: public: ControlContainerBase( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~ControlContainerBase(); + virtual ~ControlContainerBase(); DECLIMPL_SERVICEINFO_DERIVED( ControlContainerBase, UnoControlBase, "toolkit.ControlContainerBase" ) diff --git a/include/toolkit/controls/dialogcontrol.hxx b/include/toolkit/controls/dialogcontrol.hxx index 6f86969590cf..74b01804cd47 100644 --- a/include/toolkit/controls/dialogcontrol.hxx +++ b/include/toolkit/controls/dialogcontrol.hxx @@ -49,7 +49,7 @@ private: public: UnoDialogControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~UnoDialogControl(); + virtual ~UnoDialogControl(); OUString GetComponentServiceName() SAL_OVERRIDE; void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -165,7 +165,7 @@ class UnoMultiPageModel : public ControlModelContainerBase { public: UnoMultiPageModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~UnoMultiPageModel(); + virtual ~UnoMultiPageModel(); UnoMultiPageModel( const UnoMultiPageModel& rModel ); UnoControlModel* Clone() const SAL_OVERRIDE; @@ -193,7 +193,7 @@ class UnoMultiPageControl : public ControlContainerBase void bindPage( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& _rxControl ); public: UnoMultiPageControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~UnoMultiPageControl(); + virtual ~UnoMultiPageControl(); OUString GetComponentServiceName() SAL_OVERRIDE; // ::com::sun::star::lang::XServiceInfo @@ -240,7 +240,7 @@ class UnoPageModel : public ControlModelContainerBase { public: UnoPageModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~UnoPageModel(); + virtual ~UnoPageModel(); UnoPageModel( const UnoPageModel& rModel ); UnoControlModel* Clone() const SAL_OVERRIDE; @@ -262,7 +262,7 @@ class UnoPageControl : public ControlContainerBase { public: UnoPageControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~UnoPageControl(); + virtual ~UnoPageControl(); OUString GetComponentServiceName() SAL_OVERRIDE; @@ -274,7 +274,7 @@ class UnoFrameModel : public ControlModelContainerBase { public: UnoFrameModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~UnoFrameModel(); + virtual ~UnoFrameModel(); UnoFrameModel( const UnoFrameModel& rModel ); UnoControlModel* Clone() const SAL_OVERRIDE; @@ -295,7 +295,7 @@ protected: virtual void ImplSetPosSize( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& rxCtrl ) SAL_OVERRIDE; public: UnoFrameControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~UnoFrameControl(); + virtual ~UnoFrameControl(); OUString GetComponentServiceName() SAL_OVERRIDE; // ::com::sun::star::lang::XServiceInfo diff --git a/include/toolkit/controls/formattedcontrol.hxx b/include/toolkit/controls/formattedcontrol.hxx index 9219c6c302f4..d8e9fde2840d 100644 --- a/include/toolkit/controls/formattedcontrol.hxx +++ b/include/toolkit/controls/formattedcontrol.hxx @@ -80,7 +80,7 @@ namespace toolkit DECLIMPL_SERVICEINFO_DERIVED( UnoControlFormattedFieldModel, UnoControlModel, szServiceName2_UnoControlFormattedFieldModel ) protected: - ~UnoControlFormattedFieldModel(); + virtual ~UnoControlFormattedFieldModel(); // XComponent void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/toolkit/controls/geometrycontrolmodel.hxx b/include/toolkit/controls/geometrycontrolmodel.hxx index f5e331cc8894..5aedc632c3f9 100644 --- a/include/toolkit/controls/geometrycontrolmodel.hxx +++ b/include/toolkit/controls/geometrycontrolmodel.hxx @@ -108,7 +108,7 @@ namespace com { namespace sun { namespace star { void releaseAggregation(); protected: - ~OGeometryControlModel_Base(); + virtual ~OGeometryControlModel_Base(); // XAggregation ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _aType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/toolkit/controls/stdtabcontroller.hxx b/include/toolkit/controls/stdtabcontroller.hxx index 6745ef93fcd0..be86f995ae55 100644 --- a/include/toolkit/controls/stdtabcontroller.hxx +++ b/include/toolkit/controls/stdtabcontroller.hxx @@ -50,7 +50,7 @@ protected: public: StdTabController(); - ~StdTabController(); + virtual ~StdTabController(); static ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > FindControl( ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > >& rCtrls, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > & rxCtrlModel ); diff --git a/include/toolkit/controls/stdtabcontrollermodel.hxx b/include/toolkit/controls/stdtabcontrollermodel.hxx index 2a31266633aa..6dab2180a6e9 100644 --- a/include/toolkit/controls/stdtabcontrollermodel.hxx +++ b/include/toolkit/controls/stdtabcontrollermodel.hxx @@ -99,7 +99,7 @@ protected: public: StdTabControllerModel(); - ~StdTabControllerModel(); + virtual ~StdTabControllerModel(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return OWeakAggObject::queryInterface(rType); } diff --git a/include/toolkit/controls/tabpagemodel.hxx b/include/toolkit/controls/tabpagemodel.hxx index 5d7e04f4a4a9..a2ead0ec6395 100644 --- a/include/toolkit/controls/tabpagemodel.hxx +++ b/include/toolkit/controls/tabpagemodel.hxx @@ -69,7 +69,7 @@ private: public: UnoControlTabPage( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ); - ~UnoControlTabPage(); + virtual ~UnoControlTabPage(); OUString GetComponentServiceName() SAL_OVERRIDE; void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/toolkit/controls/unocontrol.hxx b/include/toolkit/controls/unocontrol.hxx index 5bd146b0d0b0..bc0649991f5c 100644 --- a/include/toolkit/controls/unocontrol.hxx +++ b/include/toolkit/controls/unocontrol.hxx @@ -137,7 +137,7 @@ protected: public: UnoControl(); - ~UnoControl(); + virtual ~UnoControl(); UnoControlComponentInfos& GetComponentInfos() { return maComponentInfos; } diff --git a/include/toolkit/controls/unocontrolcontainer.hxx b/include/toolkit/controls/unocontrolcontainer.hxx index 81c5a108f837..611b161af5fb 100644 --- a/include/toolkit/controls/unocontrolcontainer.hxx +++ b/include/toolkit/controls/unocontrolcontainer.hxx @@ -58,7 +58,7 @@ protected: public: UnoControlContainer(); UnoControlContainer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xPeer ); - ~UnoControlContainer(); + virtual ~UnoControlContainer(); // ::com::sun::star::lang::XComponent diff --git a/include/toolkit/controls/unocontrols.hxx b/include/toolkit/controls/unocontrols.hxx index d98fa10778e1..2b230c0fa0fd 100644 --- a/include/toolkit/controls/unocontrols.hxx +++ b/include/toolkit/controls/unocontrols.hxx @@ -508,7 +508,7 @@ private: public: UnoCheckBoxControl(); - ~UnoCheckBoxControl(){;} + virtual ~UnoCheckBoxControl(){;} OUString GetComponentServiceName() SAL_OVERRIDE; void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -748,7 +748,7 @@ public: ConstructorMode const i_mode = ConstructDefault ); UnoControlListBoxModel( const UnoControlListBoxModel& i_rSource ); - ~UnoControlListBoxModel(); + virtual ~UnoControlListBoxModel(); UnoControlModel* Clone() const SAL_OVERRIDE { return new UnoControlListBoxModel( *this ); } diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx index f11a021afa3a..adfa1fb77510 100644 --- a/include/tools/pstm.hxx +++ b/include/tools/pstm.hxx @@ -211,7 +211,7 @@ public: SvPersistStream( SvClassManager &, SvStream * pStream, sal_uInt32 nStartIdx = 1 ); - ~SvPersistStream(); + virtual ~SvPersistStream(); void SetStream( SvStream * pStream ); SvStream * GetStream() const { return pStm; } diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index 9e637e23ccd8..bb0b392023b8 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -661,7 +661,7 @@ public: // Switches to Read StreamMode on failed attempt of Write opening SvFileStream( const OUString& rFileName, StreamMode eOpenMode ); SvFileStream(); - ~SvFileStream(); + virtual ~SvFileStream(); virtual void ResetError() SAL_OVERRIDE; @@ -718,7 +718,7 @@ protected: public: SvMemoryStream( void* pBuf, sal_Size nSize, StreamMode eMode); SvMemoryStream( sal_Size nInitSize=512, sal_Size nResize=64 ); - ~SvMemoryStream(); + virtual ~SvMemoryStream(); virtual void ResetError() SAL_OVERRIDE; @@ -746,7 +746,7 @@ class TOOLS_DLLPUBLIC SvScriptStream: public SvStream public: SvScriptStream(const OUString& rUrl); - ~SvScriptStream(); + virtual ~SvScriptStream(); virtual bool ReadLine(OString &rStr, sal_Int32) SAL_OVERRIDE; virtual bool good() const SAL_OVERRIDE; diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx index e6911f71d7aa..361277c78d4a 100644 --- a/include/tools/zcodec.hxx +++ b/include/tools/zcodec.hxx @@ -100,7 +100,7 @@ class GZCodec : public ZCodec { public: GZCodec(){}; - ~GZCodec(){}; + virtual ~GZCodec(){}; virtual void BeginCompression( sal_uIntPtr nCompressMethod = ZCODEC_DEFAULT ) SAL_OVERRIDE { ZCodec::BeginCompression( nCompressMethod | ZCODEC_GZ_LIB ); diff --git a/include/ucbhelper/std_inputstream.hxx b/include/ucbhelper/std_inputstream.hxx index 896a1c1c064e..bb30206e4ba6 100644 --- a/include/ucbhelper/std_inputstream.hxx +++ b/include/ucbhelper/std_inputstream.hxx @@ -36,7 +36,7 @@ namespace ucbhelper StdInputStream( boost::shared_ptr< std::istream > pStream ); - ~StdInputStream(); + virtual ~StdInputStream(); virtual css::uno::Any SAL_CALL queryInterface ( const css::uno::Type& rType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/include/ucbhelper/std_outputstream.hxx b/include/ucbhelper/std_outputstream.hxx index 1b8c812e2068..126015b79010 100644 --- a/include/ucbhelper/std_outputstream.hxx +++ b/include/ucbhelper/std_outputstream.hxx @@ -32,7 +32,7 @@ namespace ucbhelper StdOutputStream( boost::shared_ptr< std::ostream > pStream ); - ~StdOutputStream( ); + virtual ~StdOutputStream( ); virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/include/unotools/componentresmodule.hxx b/include/unotools/componentresmodule.hxx index c87268176c54..b663a770ffe7 100644 --- a/include/unotools/componentresmodule.hxx +++ b/include/unotools/componentresmodule.hxx @@ -51,7 +51,7 @@ namespace utl public: OComponentResourceModule( const OString& _rResFilePrefix ); - ~OComponentResourceModule(); + virtual ~OComponentResourceModule(); /// get the vcl res manager of the module ResMgr* getResManager(); diff --git a/include/unotools/confignode.hxx b/include/unotools/confignode.hxx index d269ecbb6b26..435c27d1cb00 100644 --- a/include/unotools/confignode.hxx +++ b/include/unotools/confignode.hxx @@ -85,7 +85,7 @@ namespace utl const OConfigurationNode& operator=(const OConfigurationNode& _rSource); /// dtor - ~OConfigurationNode() {} + virtual ~OConfigurationNode() {} /// returns the local name of the node OUString getLocalName() const; diff --git a/include/unotools/eventcfg.hxx b/include/unotools/eventcfg.hxx index 4f0c600352e1..0564f0649761 100644 --- a/include/unotools/eventcfg.hxx +++ b/include/unotools/eventcfg.hxx @@ -72,7 +72,7 @@ class GlobalEventConfig_Impl : public utl::ConfigItem public: GlobalEventConfig_Impl( ); - ~GlobalEventConfig_Impl( ); + virtual ~GlobalEventConfig_Impl( ); void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE; void Commit() SAL_OVERRIDE; @@ -91,7 +91,7 @@ class UNOTOOLS_DLLPUBLIC GlobalEventConfig: { public: GlobalEventConfig( ); - ~GlobalEventConfig( ); + virtual ~GlobalEventConfig( ); static ::osl::Mutex& GetOwnStaticMutex(); ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/vcl/btndlg.hxx b/include/vcl/btndlg.hxx index 1c1dc6cafa59..3a955433bc33 100644 --- a/include/vcl/btndlg.hxx +++ b/include/vcl/btndlg.hxx @@ -62,7 +62,7 @@ protected: public: ButtonDialog( Window* pParent, WinBits nStyle = WB_STDDIALOG ); - ~ButtonDialog(); + virtual ~ButtonDialog(); virtual void Resize() SAL_OVERRIDE; virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 9abba3e9d812..8e2d5ff3993c 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -530,7 +530,7 @@ private: public: ImageButton( Window* pParent, WinBits nStyle = 0 ); ImageButton( Window* pParent, const ResId& rResId ); - ~ImageButton(); + virtual ~ImageButton(); }; class VCL_DLLPUBLIC ImageRadioButton : public RadioButton diff --git a/include/vcl/dndhelp.hxx b/include/vcl/dndhelp.hxx index a1dbf14014f5..116f46ac0797 100644 --- a/include/vcl/dndhelp.hxx +++ b/include/vcl/dndhelp.hxx @@ -106,7 +106,7 @@ private: public: DragAndDropWrapper( DragAndDropClient* pClient ); - ~DragAndDropWrapper(); + virtual ~DragAndDropWrapper(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index 0f7199d60542..3872f334aa1d 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -281,7 +281,7 @@ protected: public: DockingWindow( Window* pParent, WinBits nStyle = WB_STDDOCKWIN ); DockingWindow( Window* pParent, const ResId& rResId ); - ~DockingWindow(); + virtual ~DockingWindow(); virtual void StartDocking(); virtual bool Docking( const Point& rPos, Rectangle& rRect ); diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index 38d1cc523439..f656c17384dd 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -601,7 +601,7 @@ class VCL_DLLPUBLIC CurrencyField : public SpinField, public CurrencyFormatter { public: CurrencyField( Window* pParent, WinBits nWinStyle ); - ~CurrencyField(); + virtual ~CurrencyField(); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -699,7 +699,7 @@ class VCL_DLLPUBLIC PatternBox : public ComboBox, public PatternFormatter { public: PatternBox( Window* pParent, WinBits nWinStyle ); - ~PatternBox(); + virtual ~PatternBox(); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; diff --git a/include/vcl/introwin.hxx b/include/vcl/introwin.hxx index dcc247830039..7b9fc1e837ea 100644 --- a/include/vcl/introwin.hxx +++ b/include/vcl/introwin.hxx @@ -31,7 +31,7 @@ private: public: IntroWindow(); - ~IntroWindow(); + virtual ~IntroWindow(); }; #endif // INCLUDED_VCL_INTROWIN_HXX diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 577b8273e780..c69b44b08248 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -725,7 +725,7 @@ public: OUString get_secondary_text() const; void set_primary_text(const OUString &rPrimaryString); void set_secondary_text(const OUString &rSecondaryString); - ~MessageDialog(); + virtual ~MessageDialog(); static void SetMessagesWidths(Window *pParent, VclMultiLineEdit *pPrimaryMessage, VclMultiLineEdit *pSecondaryMessage); diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx index c307fa071c87..b6a61051f8f8 100644 --- a/include/vcl/longcurr.hxx +++ b/include/vcl/longcurr.hxx @@ -49,7 +49,7 @@ protected: LongCurrencyFormatter(); public: - ~LongCurrencyFormatter(); + virtual ~LongCurrencyFormatter(); virtual void Reformat() SAL_OVERRIDE; virtual void ReformatAll() SAL_OVERRIDE; @@ -90,7 +90,7 @@ private: public: LongCurrencyField( Window* pParent, WinBits nWinStyle ); - ~LongCurrencyField(); + virtual ~LongCurrencyField(); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -117,7 +117,7 @@ class VCL_DLLPUBLIC LongCurrencyBox : public ComboBox, public LongCurrencyFormat { public: LongCurrencyBox( Window* pParent, WinBits nWinStyle ); - ~LongCurrencyBox(); + virtual ~LongCurrencyBox(); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 3bf288095a2f..10ac7889e3b1 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -384,7 +384,7 @@ class VCL_DLLPUBLIC MenuBar : public Menu public: MenuBar(); MenuBar( const MenuBar& rMenu ); - ~MenuBar(); + virtual ~MenuBar(); MenuBar& operator =( const MenuBar& rMenu ); diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx index 336671fe0234..bc5f7b20e695 100644 --- a/include/vcl/msgbox.hxx +++ b/include/vcl/msgbox.hxx @@ -52,7 +52,7 @@ public: MessBox( Window* pParent, WinBits nStyle, const OUString& rTitle, const OUString& rMessage ); MessBox( Window* pParent, const ResId& rResId ); - ~MessBox(); + virtual ~MessBox(); virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; diff --git a/include/vcl/popupmenuwindow.hxx b/include/vcl/popupmenuwindow.hxx index 30f498b77062..87ef34c60c08 100644 --- a/include/vcl/popupmenuwindow.hxx +++ b/include/vcl/popupmenuwindow.hxx @@ -29,7 +29,7 @@ private: ImplData* mpImplData; public: PopupMenuFloatingWindow( Window* pParent, WinBits nStyle = (WB_SYSTEMFLOATWIN|WB_SYSTEMWINDOW|WB_NOBORDER) ); - ~PopupMenuFloatingWindow(); + virtual ~PopupMenuFloatingWindow(); sal_uInt16 GetMenuStackLevel() const; void SetMenuStackLevel( sal_uInt16 nLevel ); diff --git a/include/vcl/prgsbar.hxx b/include/vcl/prgsbar.hxx index 0cf1006aaaf8..c00069828ae2 100644 --- a/include/vcl/prgsbar.hxx +++ b/include/vcl/prgsbar.hxx @@ -73,7 +73,7 @@ private: public: ProgressBar( Window* pParent, WinBits nWinBits = WB_STDPROGRESSBAR ); ProgressBar( Window* pParent, const ResId& rResId ); - ~ProgressBar(); + virtual ~ProgressBar(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx index 35948731ba3c..b71b8e745b6e 100644 --- a/include/vcl/splitwin.hxx +++ b/include/vcl/splitwin.hxx @@ -126,7 +126,7 @@ private: SAL_DLLPRIVATE SplitWindow & operator= (const SplitWindow &); public: SplitWindow( Window* pParent, WinBits nStyle = 0 ); - ~SplitWindow(); + virtual ~SplitWindow(); virtual void StartSplit(); virtual void Split(); diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx index fb51b0e72e12..250d08d5fbe1 100644 --- a/include/vcl/status.hxx +++ b/include/vcl/status.hxx @@ -112,7 +112,7 @@ private: public: StatusBar( Window* pParent, WinBits nWinStyle = WB_BORDER | WB_RIGHT ); - ~StatusBar(); + virtual ~StatusBar(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx index 32a6f92147d0..098f49e34d22 100644 --- a/include/vcl/syswin.hxx +++ b/include/vcl/syswin.hxx @@ -174,7 +174,7 @@ protected: void SetWindowStateData( const WindowStateData& rData ); public: - ~SystemWindow(); + virtual ~SystemWindow(); virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index d062a16810ac..81057996b3ee 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -84,7 +84,7 @@ public: TabControl( Window* pParent, WinBits nStyle = WB_STDTABCONTROL ); TabControl( Window* pParent, const ResId& rResId ); - ~TabControl(); + virtual ~TabControl(); virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; diff --git a/include/vcl/tabdlg.hxx b/include/vcl/tabdlg.hxx index ecce55a00d7f..c288a67e6eeb 100644 --- a/include/vcl/tabdlg.hxx +++ b/include/vcl/tabdlg.hxx @@ -42,7 +42,7 @@ public: WinBits nStyle = WB_STDTABDIALOG ); TabDialog( Window* pParent, const ResId& rResId ); TabDialog( Window* pParent, const OString& rID, const OUString& rUIXMLDescription ); - ~TabDialog(); + virtual ~TabDialog(); virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx index 377a55620a80..52714062fbaa 100644 --- a/include/vcl/texteng.hxx +++ b/include/vcl/texteng.hxx @@ -223,7 +223,7 @@ protected: public: TextEngine(); - ~TextEngine(); + virtual ~TextEngine(); void SetText( const OUString& rStr ); OUString GetText( LineEnd aSeparator = LINEEND_LF ) const; diff --git a/include/vcl/throbber.hxx b/include/vcl/throbber.hxx index e5ec8236f3c8..2fe212e5965f 100644 --- a/include/vcl/throbber.hxx +++ b/include/vcl/throbber.hxx @@ -48,7 +48,7 @@ public: public: Throbber( Window* i_parentWindow, WinBits i_style, const ImageSet i_imageSet = IMAGES_AUTO ); Throbber( Window* i_parentWindow, const ResId& i_resId, const ImageSet i_imageSet = IMAGES_AUTO ); - ~Throbber(); + virtual ~Throbber(); // Properties void setStepTime( sal_Int32 nStepTime ) { mnStepTime = nStepTime; } diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 2bc306a0a881..9a8f7e25c7d9 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -287,7 +287,7 @@ protected: public: ToolBox( Window* pParent, WinBits nStyle = 0 ); ToolBox( Window* pParent, const ResId& rResId ); - ~ToolBox(); + virtual ~ToolBox(); virtual void Click(); virtual void DoubleClick(); diff --git a/include/vcl/txtattr.hxx b/include/vcl/txtattr.hxx index 86dcbd0efa5b..d0075187f480 100644 --- a/include/vcl/txtattr.hxx +++ b/include/vcl/txtattr.hxx @@ -69,7 +69,7 @@ private: public: TextAttribFontColor( const Color& rColor ); TextAttribFontColor( const TextAttribFontColor& rAttr ); - ~TextAttribFontColor(); + virtual ~TextAttribFontColor(); const Color& GetColor() const { return maColor; } @@ -87,7 +87,7 @@ private: public: TextAttribFontWeight( FontWeight eWeight ); TextAttribFontWeight( const TextAttribFontWeight& rAttr ); - ~TextAttribFontWeight(); + virtual ~TextAttribFontWeight(); virtual void SetFont( Font& rFont ) const SAL_OVERRIDE; virtual TextAttrib* Clone() const SAL_OVERRIDE; @@ -106,7 +106,7 @@ private: public: TextAttribHyperLink( const TextAttribHyperLink& rAttr ); - ~TextAttribHyperLink(); + virtual ~TextAttribHyperLink(); void SetURL( const OUString& rURL ) { maURL = rURL; } const OUString& GetURL() const { return maURL; } @@ -127,7 +127,7 @@ class VCL_DLLPUBLIC TextAttribProtect : public TextAttrib public: TextAttribProtect(); TextAttribProtect( const TextAttribProtect& rAttr ); - ~TextAttribProtect(); + virtual ~TextAttribProtect(); virtual void SetFont( Font& rFont ) const SAL_OVERRIDE; virtual TextAttrib* Clone() const SAL_OVERRIDE; diff --git a/include/vcl/unohelp2.hxx b/include/vcl/unohelp2.hxx index e835bbde95f0..5563cfd0e9ec 100644 --- a/include/vcl/unohelp2.hxx +++ b/include/vcl/unohelp2.hxx @@ -41,7 +41,7 @@ namespace vcl { namespace unohelper { public: TextDataObject( const OUString& rText ); - ~TextDataObject(); + virtual ~TextDataObject(); OUString& GetString() { return maText; } diff --git a/include/vcl/xtextedt.hxx b/include/vcl/xtextedt.hxx index 2f046138af52..fa29f7c5f18c 100644 --- a/include/vcl/xtextedt.hxx +++ b/include/vcl/xtextedt.hxx @@ -37,7 +37,7 @@ private: public: ExtTextEngine(); - ~ExtTextEngine(); + virtual ~ExtTextEngine(); const OUString& GetGroupChars() const { return maGroupChars; } void SetGroupChars( const OUString& r ) { maGroupChars = r; } @@ -53,7 +53,7 @@ protected: public: ExtTextView( ExtTextEngine* pEng, Window* pWindow ); - ~ExtTextView(); + virtual ~ExtTextView(); bool MatchGroup(); diff --git a/include/xmloff/SchXMLImportHelper.hxx b/include/xmloff/SchXMLImportHelper.hxx index fe20e8ebcaed..e35f5b694a8a 100644 --- a/include/xmloff/SchXMLImportHelper.hxx +++ b/include/xmloff/SchXMLImportHelper.hxx @@ -84,7 +84,7 @@ private: public: SchXMLImportHelper(); - ~SchXMLImportHelper(); + virtual ~SchXMLImportHelper(); /** get the context for reading the <chart:chart> element with subelements. The result is stored in the XModel given if it also implements diff --git a/include/xmloff/XMLEventsImportContext.hxx b/include/xmloff/XMLEventsImportContext.hxx index 278c5cc6c658..9dad504424a6 100644 --- a/include/xmloff/XMLEventsImportContext.hxx +++ b/include/xmloff/XMLEventsImportContext.hxx @@ -85,7 +85,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace> & xNameRepl); - ~XMLEventsImportContext(); + virtual ~XMLEventsImportContext(); void AddEventValues( const OUString& rEventName, diff --git a/include/xmloff/XMLFontAutoStylePool.hxx b/include/xmloff/XMLFontAutoStylePool.hxx index 961832f7e869..5deabf76e9cd 100644 --- a/include/xmloff/XMLFontAutoStylePool.hxx +++ b/include/xmloff/XMLFontAutoStylePool.hxx @@ -48,7 +48,7 @@ protected: public: XMLFontAutoStylePool( SvXMLExport& rExport, bool tryToEmbedFonts = false ); - ~XMLFontAutoStylePool(); + virtual ~XMLFontAutoStylePool(); OUString Add( const OUString& rFamilyName, diff --git a/include/xmloff/XMLPageExport.hxx b/include/xmloff/XMLPageExport.hxx index 0a5053960040..5961ad3b30a8 100644 --- a/include/xmloff/XMLPageExport.hxx +++ b/include/xmloff/XMLPageExport.hxx @@ -90,7 +90,7 @@ protected: public: XMLPageExport( SvXMLExport& rExp ); - ~XMLPageExport(); + virtual ~XMLPageExport(); void collectAutoStyles( bool bUsed ) { exportStyles( bUsed, true ); } void exportAutoStyles(); diff --git a/include/xmloff/XMLTextMasterPageExport.hxx b/include/xmloff/XMLTextMasterPageExport.hxx index dd626bbdea6d..b696241b450b 100644 --- a/include/xmloff/XMLTextMasterPageExport.hxx +++ b/include/xmloff/XMLTextMasterPageExport.hxx @@ -60,7 +60,7 @@ protected: public: XMLTextMasterPageExport( SvXMLExport& rExp ); - ~XMLTextMasterPageExport(); + virtual ~XMLTextMasterPageExport(); }; #endif // INCLUDED_XMLOFF_XMLTEXTMASTERPAGEEXPORT_HXX diff --git a/include/xmloff/XMLTextShapeImportHelper.hxx b/include/xmloff/XMLTextShapeImportHelper.hxx index 18f00ec68ecd..bfb317aacec1 100644 --- a/include/xmloff/XMLTextShapeImportHelper.hxx +++ b/include/xmloff/XMLTextShapeImportHelper.hxx @@ -35,7 +35,7 @@ class XMLOFF_DLLPUBLIC XMLTextShapeImportHelper : public XMLShapeImportHelper public: XMLTextShapeImportHelper( SvXMLImport& rImp ); - ~XMLTextShapeImportHelper(); + virtual ~XMLTextShapeImportHelper(); virtual void addShape( ::com::sun::star::uno::Reference< diff --git a/include/xmloff/attrlist.hxx b/include/xmloff/attrlist.hxx index 7f3f78c2c223..240d53dd47d7 100644 --- a/include/xmloff/attrlist.hxx +++ b/include/xmloff/attrlist.hxx @@ -47,7 +47,7 @@ public: SvXMLAttributeList( const SvXMLAttributeList& ); SvXMLAttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList> & rAttrList ); - ~SvXMLAttributeList(); + virtual ~SvXMLAttributeList(); static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); static SvXMLAttributeList* getImplementation( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ) throw(); diff --git a/include/xmloff/formlayerexport.hxx b/include/xmloff/formlayerexport.hxx index 91336749f2ec..346e7455e13a 100644 --- a/include/xmloff/formlayerexport.hxx +++ b/include/xmloff/formlayerexport.hxx @@ -58,7 +58,7 @@ namespace xmloff OFormLayerXMLExport_Impl* m_pImpl; protected: - ~OFormLayerXMLExport(); + virtual ~OFormLayerXMLExport(); public: OFormLayerXMLExport(SvXMLExport& _rContext); diff --git a/include/xmloff/formlayerimport.hxx b/include/xmloff/formlayerimport.hxx index 54d9c00a330d..8ad5fa4fc818 100644 --- a/include/xmloff/formlayerimport.hxx +++ b/include/xmloff/formlayerimport.hxx @@ -52,7 +52,7 @@ namespace xmloff public: OFormLayerXMLImport(SvXMLImport& _rImporter); - ~OFormLayerXMLImport(); + virtual ~OFormLayerXMLImport(); /** start importing the forms of the given page diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx index d0ffcab3aad1..47156c886482 100644 --- a/include/xmloff/shapeimport.hxx +++ b/include/xmloff/shapeimport.hxx @@ -314,7 +314,7 @@ public: const com::sun::star::uno::Reference< com::sun::star::frame::XModel>& rModel, SvXMLImportPropertyMapper *pExtMapper=0 ); - ~XMLShapeImportHelper(); + virtual ~XMLShapeImportHelper(); SvXMLShapeContext* CreateGroupChildContext( SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/include/xmloff/txtimp.hxx b/include/xmloff/txtimp.hxx index ff4ca249683a..4ab7881b00da 100644 --- a/include/xmloff/txtimp.hxx +++ b/include/xmloff/txtimp.hxx @@ -399,7 +399,7 @@ public: bool const bProgress = false, bool const bBlockMode = false, bool const bOrganizerMode = false); - ~XMLTextImportHelper(); + virtual ~XMLTextImportHelper(); void SetCursor( const ::com::sun::star::uno::Reference < diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx index 94e4921f6bfc..6f045a708c93 100644 --- a/io/source/TextOutputStream/TextOutputStream.cxx +++ b/io/source/TextOutputStream/TextOutputStream.cxx @@ -68,7 +68,7 @@ class OTextOutputStream : public TextOutputStreamHelper public: OTextOutputStream(); - ~OTextOutputStream(); + virtual ~OTextOutputStream(); // Methods XTextOutputStream virtual void SAL_CALL writeString( const OUString& aString ) diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx index 089ec627b9ab..6fa424c60f42 100644 --- a/io/source/acceptor/acc_pipe.cxx +++ b/io/source/acceptor/acc_pipe.cxx @@ -42,7 +42,7 @@ namespace io_acceptor { public: PipeConnection( const OUString &sConnectionDescription); - ~PipeConnection(); + virtual ~PipeConnection(); virtual sal_Int32 SAL_CALL read( Sequence< sal_Int8 >& aReadBytes, sal_Int32 nBytesToRead ) throw(::com::sun::star::io::IOException, diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx index 99d738f9a137..0fc05781bf82 100644 --- a/io/source/acceptor/acc_socket.cxx +++ b/io/source/acceptor/acc_socket.cxx @@ -70,7 +70,7 @@ namespace io_acceptor { { public: SocketConnection( const OUString & sConnectionDescription ); - ~SocketConnection(); + virtual ~SocketConnection(); virtual sal_Int32 SAL_CALL read( ::com::sun::star::uno::Sequence< sal_Int8 >& aReadBytes, sal_Int32 nBytesToRead ) diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index 4216aba03044..9f5309824700 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -54,7 +54,7 @@ namespace stoc_connector Reference< XComponentContext > _xCtx; public: OConnector(const Reference< XComponentContext > &xCtx); - ~OConnector(); + virtual ~OConnector(); // Methods virtual Reference< XConnection > SAL_CALL connect( const OUString& sConnectionDescription ) diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 7dd5acb23baa..7c2cc270c3ff 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -63,7 +63,7 @@ public: { } - ~ODataInputStream(); + virtual ~ODataInputStream(); public: // XInputStream virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) throw ( NotConnectedException, @@ -513,7 +513,7 @@ public: : m_bValidStream( sal_False ) { } - ~ODataOutputStream(); + virtual ~ODataOutputStream(); public: // XOutputStream virtual void SAL_CALL writeBytes(const Sequence< sal_Int8 >& aData) @@ -933,7 +933,7 @@ public: { } - ~OObjectOutputStream(); + virtual ~OObjectOutputStream(); public: // XOutputStream @@ -1200,7 +1200,7 @@ public: , m_bValidMarkable(sal_False) { } - ~OObjectInputStream(); + virtual ~OObjectInputStream(); public: // XInputStream virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index c6db0594baa9..ec7f5991939b 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -75,7 +75,7 @@ class OMarkableOutputStream : { public: OMarkableOutputStream( ); - ~OMarkableOutputStream(); + virtual ~OMarkableOutputStream(); public: // XOutputStream virtual void SAL_CALL writeBytes(const Sequence< sal_Int8 >& aData) @@ -490,7 +490,7 @@ class OMarkableInputStream : { public: OMarkableInputStream( ); - ~OMarkableInputStream(); + virtual ~OMarkableInputStream(); public: // XInputStream diff --git a/io/source/stm/opipe.cxx b/io/source/stm/opipe.cxx index cdc02bfc0d55..2e1e86320725 100644 --- a/io/source/stm/opipe.cxx +++ b/io/source/stm/opipe.cxx @@ -57,7 +57,7 @@ class OPipeImpl : { public: OPipeImpl( ); - ~OPipeImpl(); + virtual ~OPipeImpl(); public: // XInputStream virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx index 55a1670f6c94..b938a1139c3e 100644 --- a/l10ntools/inc/cfgmerge.hxx +++ b/l10ntools/inc/cfgmerge.hxx @@ -151,7 +151,7 @@ public: const OString &rOutputFile, const OString &rFilePath ); - ~CfgExport(); + virtual ~CfgExport(); }; /// Merge strings to *.xcu files @@ -177,7 +177,7 @@ public: CfgMerge( const OString &rMergeSource, const OString &rOutputFile, const OString &rFilename, const OString &rLanguage ); - ~CfgMerge(); + virtual ~CfgMerge(); }; #endif diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 6db78a5ab07b..cabce4198dd2 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -152,7 +152,7 @@ public: const OString &rFileName // the file name, empty if created from memory stream ); XMLFile( const XMLFile& rObj ) ; - ~XMLFile(); + virtual ~XMLFile(); void Print( XMLNode *pCur = NULL, sal_uInt16 nLevel = 0 ); virtual void SearchL10NElements( XMLParentNode *pCur, int pos = 0 ); @@ -220,7 +220,7 @@ public: XMLParentNode *pParent // parent node of this element ); - ~XMLElement(); + virtual ~XMLElement(); XMLElement(const XMLElement&); XMLElement& operator=(const XMLElement& rObj); diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx index 54d1925bf539..25c7db6ad4c8 100644 --- a/lotuswordpro/source/filter/bento.hxx +++ b/lotuswordpro/source/filter/bento.hxx @@ -179,7 +179,7 @@ class LtcUtBenValueStream : public SvStream { public: LtcUtBenValueStream(pCBenValue pValue); - ~LtcUtBenValueStream(); + virtual ~LtcUtBenValueStream(); public: // Overridden methods diff --git a/lotuswordpro/source/filter/lwpdivinfo.hxx b/lotuswordpro/source/filter/lwpdivinfo.hxx index 9a24f3fbdb37..2b30caa50718 100644 --- a/lotuswordpro/source/filter/lwpdivinfo.hxx +++ b/lotuswordpro/source/filter/lwpdivinfo.hxx @@ -78,7 +78,7 @@ class LwpDivInfo : public LwpObject { public: LwpDivInfo(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpDivInfo(); + virtual ~LwpDivInfo(); LwpObjectID* GetInitialLayoutID(){ return &m_InitialLayoutID;} LwpObjectID* GetFillerPageTextID(){ return &m_FillerPageTextID;} // add by ,03/14/2004 diff --git a/lotuswordpro/source/filter/lwpdivopts.hxx b/lotuswordpro/source/filter/lwpdivopts.hxx index 314e4451e232..c381126a3b48 100644 --- a/lotuswordpro/source/filter/lwpdivopts.hxx +++ b/lotuswordpro/source/filter/lwpdivopts.hxx @@ -108,7 +108,7 @@ class LwpDivisionOptions : public LwpObject { public: LwpDivisionOptions(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpDivisionOptions(); + virtual ~LwpDivisionOptions(); protected: void Read() SAL_OVERRIDE; private: diff --git a/lotuswordpro/source/filter/lwpdoc.hxx b/lotuswordpro/source/filter/lwpdoc.hxx index 9308e54060df..1f6f7140c44d 100644 --- a/lotuswordpro/source/filter/lwpdoc.hxx +++ b/lotuswordpro/source/filter/lwpdoc.hxx @@ -85,7 +85,7 @@ class LwpDocument : public LwpDLNFPVList { public: LwpDocument(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpDocument(); + virtual ~LwpDocument(); private: LwpFoundry* m_pOwnedFoundry; @@ -226,7 +226,7 @@ class LwpDocSock : public LwpDLNFVList { public: LwpDocSock(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpDocSock(){} + virtual ~LwpDocSock(){} private: LwpObjectID m_Doc; protected: diff --git a/lotuswordpro/source/filter/lwpdocdata.hxx b/lotuswordpro/source/filter/lwpdocdata.hxx index 955be99181e6..99eaf556f83b 100644 --- a/lotuswordpro/source/filter/lwpdocdata.hxx +++ b/lotuswordpro/source/filter/lwpdocdata.hxx @@ -164,7 +164,7 @@ class LwpDocData : public LwpObject { public: LwpDocData(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpDocData(); + virtual ~LwpDocData(); private: LwpDocOptions m_DocOptions; LwpDocInfo m_DocInfo; diff --git a/lotuswordpro/source/filter/lwpfilter.hxx b/lotuswordpro/source/filter/lwpfilter.hxx index 1574e9892e7b..06b73574dd99 100644 --- a/lotuswordpro/source/filter/lwpfilter.hxx +++ b/lotuswordpro/source/filter/lwpfilter.hxx @@ -95,7 +95,7 @@ class LWPFilterReader : public WeakImplHelper1< XFilter > { public: LWPFilterReader(); - ~LWPFilterReader(); + virtual ~LWPFilterReader(); public: /** @@ -132,7 +132,7 @@ class LWPFilterImportFilter : public WeakImplHelper4< XFilter, XImporter, XServi { public: LWPFilterImportFilter( const uno::Reference< XMultiServiceFactory >& xFact ); - ~LWPFilterImportFilter(); + virtual ~LWPFilterImportFilter(); public: /** diff --git a/lotuswordpro/source/filter/lwpfootnote.hxx b/lotuswordpro/source/filter/lwpfootnote.hxx index cc9e12027d5e..f9c9aea4e6fd 100644 --- a/lotuswordpro/source/filter/lwpfootnote.hxx +++ b/lotuswordpro/source/filter/lwpfootnote.hxx @@ -106,7 +106,7 @@ class LwpFribFootnote: public LwpFrib public: LwpFribFootnote(LwpPara* pPara ); - ~LwpFribFootnote(){} + virtual ~LwpFribFootnote(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void RegisterNewStyle(); void XFConvert(XFContentContainer* pCont); @@ -127,7 +127,7 @@ class LwpFootnote : public LwpOrderedObject { public: LwpFootnote(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFootnote(); + virtual ~LwpFootnote(); void RegisterStyle() SAL_OVERRIDE; void XFConvert(XFContentContainer * pCont) SAL_OVERRIDE; protected: @@ -155,7 +155,7 @@ class LwpFootnoteTable : public LwpTable { public: LwpFootnoteTable(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFootnoteTable(){} + virtual ~LwpFootnoteTable(){} protected: void Read() SAL_OVERRIDE; }; @@ -245,7 +245,7 @@ class LwpFootnoteOptions : public LwpObject { public: LwpFootnoteOptions(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFootnoteOptions(); + virtual ~LwpFootnoteOptions(); void RegisterStyle() SAL_OVERRIDE; protected: void Read() SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwpframelayout.hxx b/lotuswordpro/source/filter/lwpframelayout.hxx index 9ab7e03f080d..718a9b6e2bbe 100644 --- a/lotuswordpro/source/filter/lwpframelayout.hxx +++ b/lotuswordpro/source/filter/lwpframelayout.hxx @@ -177,7 +177,7 @@ class LwpGroupFrame: public LwpContent { public: LwpGroupFrame(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpGroupFrame(); + virtual ~LwpGroupFrame(); virtual void RegisterStyle() SAL_OVERRIDE; virtual void XFConvert(XFContentContainer* pCont) SAL_OVERRIDE; protected: diff --git a/lotuswordpro/source/filter/lwpfribbreaks.hxx b/lotuswordpro/source/filter/lwpfribbreaks.hxx index 60892eae8e26..bc6eace89e42 100644 --- a/lotuswordpro/source/filter/lwpfribbreaks.hxx +++ b/lotuswordpro/source/filter/lwpfribbreaks.hxx @@ -73,7 +73,7 @@ class LwpFribPageBreak: public LwpFrib { public: LwpFribPageBreak( LwpPara* pPara ); - ~LwpFribPageBreak(); + virtual ~LwpFribPageBreak(); void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void RegisterBreakStyle(LwpPara* pPara); void ParseLayout(); @@ -91,14 +91,14 @@ class LwpFribLineBreak: public LwpFrib { public: LwpFribLineBreak( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribLineBreak(){} + virtual ~LwpFribLineBreak(){} }; class LwpFribColumnBreak: public LwpFrib { public: LwpFribColumnBreak( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribColumnBreak(){} + virtual ~LwpFribColumnBreak(){} void RegisterBreakStyle(LwpPara* pPara); }; diff --git a/lotuswordpro/source/filter/lwpfribframe.hxx b/lotuswordpro/source/filter/lwpfribframe.hxx index f87b56eff16d..eadf142019c4 100644 --- a/lotuswordpro/source/filter/lwpfribframe.hxx +++ b/lotuswordpro/source/filter/lwpfribframe.hxx @@ -72,7 +72,7 @@ class LwpFribFrame : public LwpFrib { public: LwpFribFrame( LwpPara* pPara) : LwpFrib(pPara){} - ~LwpFribFrame(){} + virtual ~LwpFribFrame(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpObject* GetLayout(); void RegisterStyle(LwpFoundry* pFoundry) SAL_OVERRIDE; @@ -86,7 +86,7 @@ class LwpFribRubyFrame : public LwpFrib { public: LwpFribRubyFrame( LwpPara* pPara) : LwpFrib(pPara){} - ~LwpFribRubyFrame(){} + virtual ~LwpFribRubyFrame(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpRubyLayout* GetLayout(); void RegisterStyle(LwpFoundry* pFoundry) SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwpfribmark.hxx b/lotuswordpro/source/filter/lwpfribmark.hxx index 05dc66080724..ccef73cfc19d 100644 --- a/lotuswordpro/source/filter/lwpfribmark.hxx +++ b/lotuswordpro/source/filter/lwpfribmark.hxx @@ -78,7 +78,7 @@ public: : LwpFrib(pPara) , m_nType(0) {} - ~LwpFribCHBlock(){} + virtual ~LwpFribCHBlock(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpCHBlkMarker* GetMarker(); sal_uInt8 GetType(){return m_nType;} @@ -93,7 +93,7 @@ class LwpFribBookMark : public LwpFrib { public: LwpFribBookMark( LwpPara* pPara ); - ~LwpFribBookMark(){} + virtual ~LwpFribBookMark(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpObjectID GetMarkerID(){return m_objMarker;} sal_uInt8 GetType(){return m_nType;} @@ -111,7 +111,7 @@ class LwpFribField : public LwpFrib { public: LwpFribField( LwpPara* pPara ); - ~LwpFribField(){} + virtual ~LwpFribField(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpFieldMark* GetMarker(); sal_uInt8 GetType(){return m_nType;} @@ -152,7 +152,7 @@ class LwpFribRubyMarker : public LwpFrib { public: LwpFribRubyMarker( LwpPara* pPara ); - ~LwpFribRubyMarker(){} + virtual ~LwpFribRubyMarker(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpRubyMarker* GetMarker(); sal_uInt8 GetType(){return m_nType;} diff --git a/lotuswordpro/source/filter/lwpfribsection.hxx b/lotuswordpro/source/filter/lwpfribsection.hxx index 4138e0cb22c5..d4eb4a7349a9 100644 --- a/lotuswordpro/source/filter/lwpfribsection.hxx +++ b/lotuswordpro/source/filter/lwpfribsection.hxx @@ -112,7 +112,7 @@ class LwpFribSection: public LwpFrib { public: LwpFribSection(LwpPara* pPara ); - ~LwpFribSection(); + virtual ~LwpFribSection(); void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpSection * GetSection(); void RegisterSectionStyle(); diff --git a/lotuswordpro/source/filter/lwpfribtable.hxx b/lotuswordpro/source/filter/lwpfribtable.hxx index 16a5d95a575a..97d38ac5ac80 100644 --- a/lotuswordpro/source/filter/lwpfribtable.hxx +++ b/lotuswordpro/source/filter/lwpfribtable.hxx @@ -63,7 +63,7 @@ class LwpFribTable : public LwpFrib { public: LwpFribTable( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribTable(){} + virtual ~LwpFribTable(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; LwpSuperTableLayout* GetSuperTable(); void RegisterNewStyle(); diff --git a/lotuswordpro/source/filter/lwpfribtext.hxx b/lotuswordpro/source/filter/lwpfribtext.hxx index e9172c51a459..ab7f1a8bc153 100644 --- a/lotuswordpro/source/filter/lwpfribtext.hxx +++ b/lotuswordpro/source/filter/lwpfribtext.hxx @@ -70,7 +70,7 @@ class LwpFribText : public LwpFrib { public: LwpFribText( LwpPara* pPara, sal_Bool bNoUnicode=false); - ~LwpFribText(){} + virtual ~LwpFribText(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory); private: @@ -84,14 +84,14 @@ class LwpFribHardSpace : public LwpFrib { public: LwpFribHardSpace( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribHardSpace(){} + virtual ~LwpFribHardSpace(){} }; class LwpFribSoftHyphen : public LwpFrib { public: LwpFribSoftHyphen( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribSoftHyphen(){} + virtual ~LwpFribSoftHyphen(){} }; //add by , 02/03/2005 @@ -138,7 +138,7 @@ class LwpFribDocVar : public LwpFrib public: LwpFribDocVar( LwpPara* pPara ); - ~LwpFribDocVar(); + virtual ~LwpFribDocVar(); void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; @@ -195,14 +195,14 @@ class LwpFribTab : public LwpFrib { public: LwpFribTab( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribTab(){} + virtual ~LwpFribTab(){} }; class LwpFribUnicode: public LwpFrib { public: LwpFribUnicode( LwpPara* pPara ) : LwpFrib(pPara){} - ~LwpFribUnicode(){} + virtual ~LwpFribUnicode(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory); private: @@ -216,7 +216,7 @@ class LwpFribPageNumber : public LwpFrib public: LwpFribPageNumber(LwpPara* pPara) : LwpFrib(pPara), m_nNumStyle(0), m_nStartNum(1), m_nStartOnPage(1), m_nFlag(0){} - ~LwpFribPageNumber(){} + virtual ~LwpFribPageNumber(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void XFConvert(XFContentContainer* pXFPara); private: diff --git a/lotuswordpro/source/filter/lwpgrfobj.hxx b/lotuswordpro/source/filter/lwpgrfobj.hxx index be9983e0938f..f36653c2f1da 100644 --- a/lotuswordpro/source/filter/lwpgrfobj.hxx +++ b/lotuswordpro/source/filter/lwpgrfobj.hxx @@ -92,7 +92,7 @@ class LwpGraphicObject : public LwpGraphicOleObject { public: LwpGraphicObject(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpGraphicObject(); + virtual ~LwpGraphicObject(); private: unsigned char m_sDataFormat[AFID_MAX_FILE_FORMAT_SIZE]; unsigned char m_sServerContextFormat[AFID_MAX_CONTEXT_FORMAT_SIZE]; diff --git a/lotuswordpro/source/filter/lwpholder.hxx b/lotuswordpro/source/filter/lwpholder.hxx index 714f1b75c2e8..46f10b166ffe 100644 --- a/lotuswordpro/source/filter/lwpholder.hxx +++ b/lotuswordpro/source/filter/lwpholder.hxx @@ -75,7 +75,7 @@ class LwpDLVListHeadHolder : public LwpObject { public: LwpDLVListHeadHolder(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpDLVListHeadHolder(){} + virtual ~LwpDLVListHeadHolder(){} void Read() SAL_OVERRIDE; LwpObjectID* GetHeadID() { return &m_DLVHead;} private: @@ -89,7 +89,7 @@ class LwpDLVListHeadTailHolder : public LwpObject { public: LwpDLVListHeadTailHolder(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpDLVListHeadTailHolder(){} + virtual ~LwpDLVListHeadTailHolder(){} void Read() SAL_OVERRIDE; LwpObjectID* GetHead(){ return m_HeadTail.GetHead();} LwpObjectID* GetTail(){ return m_HeadTail.GetTail();} @@ -104,7 +104,7 @@ class LwpObjectHolder : public LwpDLVList { public: LwpObjectHolder(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpObjectHolder(){} + virtual ~LwpObjectHolder(){} void Read() SAL_OVERRIDE; LwpObjectID* GetObject(){return &m_Object;} protected: @@ -119,7 +119,7 @@ class LwpListList : public LwpObjectHolder { public: LwpListList(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpListList(){} + virtual ~LwpListList(){} void Read() SAL_OVERRIDE; LwpObjectID* GetHead(){ return m_HeadTail.GetHead();} LwpObjectID* GetTail(){ return m_HeadTail.GetTail();} diff --git a/lotuswordpro/source/filter/lwpmarker.hxx b/lotuswordpro/source/filter/lwpmarker.hxx index b61c75f6d9be..64bb2e475cd5 100644 --- a/lotuswordpro/source/filter/lwpmarker.hxx +++ b/lotuswordpro/source/filter/lwpmarker.hxx @@ -75,7 +75,7 @@ class LwpMarker : public LwpDLNFPVList { public: LwpMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpMarker(){} + virtual ~LwpMarker(){} void Read() SAL_OVERRIDE; OUString GetNamedProperty(const OUString& name); protected: @@ -108,7 +108,7 @@ class LwpStoryMarker : public LwpMarker { public: LwpStoryMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpStoryMarker(){} + virtual ~LwpStoryMarker(){} void Read() SAL_OVERRIDE; private: LwpFribRange m_Range; @@ -119,7 +119,7 @@ class LwpCHBlkMarker : public LwpStoryMarker { public: LwpCHBlkMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpCHBlkMarker(){} + virtual ~LwpCHBlkMarker(){} void Read() SAL_OVERRIDE; sal_uInt16 GetAction(){return m_nAction;} void ConvertCHBlock(XFContentContainer* pXFPara,sal_uInt8 nType); @@ -177,7 +177,7 @@ class LwpBookMark : public LwpDLNFVList { public: LwpBookMark(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpBookMark(){} + virtual ~LwpBookMark(){} protected: void Read() SAL_OVERRIDE; public: @@ -195,7 +195,7 @@ class LwpFieldMark : public LwpStoryMarker { public: LwpFieldMark(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpFieldMark(){} + virtual ~LwpFieldMark(){} void Read() SAL_OVERRIDE; void ParseIndex(OUString& sKey1,OUString& sKey2); void ParseTOC(OUString& sLevel,OUString& sText); @@ -259,7 +259,7 @@ class LwpRubyMarker : public LwpStoryMarker { public: LwpRubyMarker(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpRubyMarker(){} + virtual ~LwpRubyMarker(){} void Read() SAL_OVERRIDE; OUString GetRubyText(){return m_strRubyText;} void SetRubyText(const OUString& sText){m_strRubyText = sText;} diff --git a/lotuswordpro/source/filter/lwpnotes.hxx b/lotuswordpro/source/filter/lwpnotes.hxx index 16e59c6c63de..da9760b3480f 100644 --- a/lotuswordpro/source/filter/lwpnotes.hxx +++ b/lotuswordpro/source/filter/lwpnotes.hxx @@ -75,7 +75,7 @@ class LwpFribNote: public LwpFrib { public: LwpFribNote(LwpPara* pPara ); - ~LwpFribNote(){} + virtual ~LwpFribNote(){} void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) SAL_OVERRIDE; void RegisterNewStyle(); void XFConvert(XFContentContainer* pCont); diff --git a/lotuswordpro/source/filter/lwpnumericfmt.hxx b/lotuswordpro/source/filter/lwpnumericfmt.hxx index ae7bb1ba7426..e0f3fa885cb2 100644 --- a/lotuswordpro/source/filter/lwpnumericfmt.hxx +++ b/lotuswordpro/source/filter/lwpnumericfmt.hxx @@ -309,7 +309,7 @@ class LwpLayoutNumerics : public LwpVirtualPiece public: LwpLayoutNumerics(LwpObjectHeader& objHdr, LwpSvStream* pStrm) :LwpVirtualPiece(objHdr, pStrm),cNumerics(m_pObjStrm){} - ~LwpLayoutNumerics(){} + virtual ~LwpLayoutNumerics(){} XFStyle* Convert(); virtual void Read() SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwpoleobject.hxx b/lotuswordpro/source/filter/lwpoleobject.hxx index 46b764d5e2dd..1ab69c112065 100644 --- a/lotuswordpro/source/filter/lwpoleobject.hxx +++ b/lotuswordpro/source/filter/lwpoleobject.hxx @@ -112,7 +112,7 @@ class LwpOleObject : public LwpGraphicOleObject { public: LwpOleObject(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpOleObject(){} + virtual ~LwpOleObject(){} virtual void Read() SAL_OVERRIDE; virtual void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; virtual void XFConvert(XFContentContainer * pCont) SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwppagehint.hxx b/lotuswordpro/source/filter/lwppagehint.hxx index 12ecc73c8634..8da11704639f 100644 --- a/lotuswordpro/source/filter/lwppagehint.hxx +++ b/lotuswordpro/source/filter/lwppagehint.hxx @@ -100,7 +100,7 @@ class LwpPageHint : public LwpDLVList { public: LwpPageHint(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpPageHint(){} + virtual ~LwpPageHint(){} void Read() SAL_OVERRIDE; void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; sal_uInt16 GetPageNumber(){return m_nPageNumber;} diff --git a/lotuswordpro/source/filter/lwppagelayout.hxx b/lotuswordpro/source/filter/lwppagelayout.hxx index bb385e63f10a..c9711efb7baa 100644 --- a/lotuswordpro/source/filter/lwppagelayout.hxx +++ b/lotuswordpro/source/filter/lwppagelayout.hxx @@ -119,7 +119,7 @@ class LwpHeaderLayout: public LwpPlacableLayout { public: LwpHeaderLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpHeaderLayout(); + virtual ~LwpHeaderLayout(); virtual LWP_LAYOUT_TYPE GetLayoutType () SAL_OVERRIDE { return LWP_HEADER_LAYOUT;} using LwpPlacableLayout::RegisterStyle; void RegisterStyle( XFPageMaster* pm1 ); @@ -145,7 +145,7 @@ class LwpFooterLayout: public LwpPlacableLayout { public: LwpFooterLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFooterLayout(); + virtual ~LwpFooterLayout(); virtual LWP_LAYOUT_TYPE GetLayoutType () SAL_OVERRIDE { return LWP_FOOTER_LAYOUT;} using LwpPlacableLayout::RegisterStyle; void RegisterStyle(XFPageMaster* pm1); diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx index 5fb164c12943..1c9a76773091 100644 --- a/lotuswordpro/source/filter/lwppara.hxx +++ b/lotuswordpro/source/filter/lwppara.hxx @@ -148,7 +148,7 @@ class LwpPara : public LwpDLVList { public: LwpPara(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpPara(); + virtual ~LwpPara(); public: void Read() SAL_OVERRIDE; void RegisterStyle() SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/lwpparaproperty.hxx b/lotuswordpro/source/filter/lwpparaproperty.hxx index 5624aeb723f3..f9cf39a10f84 100644 --- a/lotuswordpro/source/filter/lwpparaproperty.hxx +++ b/lotuswordpro/source/filter/lwpparaproperty.hxx @@ -248,7 +248,7 @@ class LwpParaTabRackProperty : public LwpParaProperty { public: LwpParaTabRackProperty(LwpObjectStream* pStrm); - ~LwpParaTabRackProperty(void); + virtual ~LwpParaTabRackProperty(void); sal_uInt32 GetType() SAL_OVERRIDE { return PP_LOCAL_TABRACK; } inline LwpTabOverride* GetTab(); diff --git a/lotuswordpro/source/filter/lwpproplist.hxx b/lotuswordpro/source/filter/lwpproplist.hxx index 65aca5d99eaf..1fd71bc09d82 100644 --- a/lotuswordpro/source/filter/lwpproplist.hxx +++ b/lotuswordpro/source/filter/lwpproplist.hxx @@ -73,7 +73,7 @@ class LwpPropListElement : public LwpDLVList { public: LwpPropListElement(LwpObjectHeader &objHdr, LwpSvStream *pStrm); - ~LwpPropListElement(){} + virtual ~LwpPropListElement(){} void Read() SAL_OVERRIDE; sal_Bool IsNamed(const OUString& name); LwpPropListElement* GetNext(); diff --git a/lotuswordpro/source/filter/lwpsection.hxx b/lotuswordpro/source/filter/lwpsection.hxx index e7ac646fada4..ac06cae21e7a 100644 --- a/lotuswordpro/source/filter/lwpsection.hxx +++ b/lotuswordpro/source/filter/lwpsection.hxx @@ -94,7 +94,7 @@ class LwpSection : public LwpOrderedObject { public: LwpSection(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpSection(); + virtual ~LwpSection(); inline sal_uInt16 GetFlags(); inline LwpPageLayout* GetPageLayout(); inline LwpColor* GetColor(); @@ -152,7 +152,7 @@ class LwpIndexSection : public LwpSection { public: LwpIndexSection(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpIndexSection(); + virtual ~LwpIndexSection(); sal_Bool IsFormatRunin(); sal_Bool IsFormatSeparator(); protected: diff --git a/lotuswordpro/source/filter/lwptable.hxx b/lotuswordpro/source/filter/lwptable.hxx index 6fb2dce860b2..96b3974a795a 100644 --- a/lotuswordpro/source/filter/lwptable.hxx +++ b/lotuswordpro/source/filter/lwptable.hxx @@ -170,7 +170,7 @@ class LwpParallelColumns : public LwpTable { public: LwpParallelColumns(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpParallelColumns(); + virtual ~LwpParallelColumns(); protected: void Read() SAL_OVERRIDE; LwpObjectID cDefaultLeftColumnStyle; @@ -181,7 +181,7 @@ class LwpGlossary : public LwpParallelColumns { public: LwpGlossary(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpGlossary(); + virtual ~LwpGlossary(); protected: void Read() SAL_OVERRIDE; sal_uInt16 GetNumIndexRows(void); diff --git a/lotuswordpro/source/filter/lwptblcell.hxx b/lotuswordpro/source/filter/lwptblcell.hxx index 83e811a6e83e..bf1a06920f8a 100644 --- a/lotuswordpro/source/filter/lwptblcell.hxx +++ b/lotuswordpro/source/filter/lwptblcell.hxx @@ -107,7 +107,7 @@ class LwpRowList : public LwpDLVList { public: LwpRowList(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpRowList(); + virtual ~LwpRowList(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; LwpObjectID GetChildHeadID(){return *cChild.GetHead();} @@ -127,7 +127,7 @@ class LwpNumericValue : public LwpObject { public: LwpNumericValue(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpNumericValue(); + virtual ~LwpNumericValue(); double GetValue(){return cNumber;} void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; @@ -145,7 +145,7 @@ class LwpTableRange: public LwpDLVList { public: LwpTableRange(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpTableRange(); + virtual ~LwpTableRange(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; LwpObjectID GetCellRangeID(){return cpCellRange;} @@ -164,7 +164,7 @@ class LwpCellRange: public LwpObject { public: LwpCellRange(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpCellRange(); + virtual ~LwpCellRange(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; LwpObjectID GetFolderID(){return cpFolder;} @@ -180,7 +180,7 @@ class LwpFolder: public LwpDLVList { public: LwpFolder(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFolder(); + virtual ~LwpFolder(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; LwpObjectID GetChildHeadID(){ return *cChild.GetHead();} @@ -198,7 +198,7 @@ class LwpDependent: public LwpDLVList { public: LwpDependent(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpDependent(); + virtual ~LwpDependent(); void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; protected: diff --git a/lotuswordpro/source/filter/lwptblformula.hxx b/lotuswordpro/source/filter/lwptblformula.hxx index d10b3f50a23f..0a5060e3f7a5 100644 --- a/lotuswordpro/source/filter/lwptblformula.hxx +++ b/lotuswordpro/source/filter/lwptblformula.hxx @@ -200,7 +200,7 @@ class LwpFormulaInfo : public LwpCellList { public: LwpFormulaInfo(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpFormulaInfo(); + virtual ~LwpFormulaInfo(); sal_Bool IsFormula() SAL_OVERRIDE {return sal_True;} void SetRow(sal_uInt16 nRow){ m_nFormulaRow = nRow;} OUString Convert(LwpTableLayout* pCellsMap); diff --git a/lotuswordpro/source/filter/lwptoc.hxx b/lotuswordpro/source/filter/lwptoc.hxx index 73186eecc836..a06c20e5c309 100644 --- a/lotuswordpro/source/filter/lwptoc.hxx +++ b/lotuswordpro/source/filter/lwptoc.hxx @@ -150,7 +150,7 @@ public: USENUMBER = 0x02 }; LwpTocLevelData(LwpObjectHeader &objHdr, LwpSvStream* pStrm); - ~LwpTocLevelData(); + virtual ~LwpTocLevelData(); void RegisterStyle() SAL_OVERRIDE; virtual void XFConvert(XFContentContainer* pCont) SAL_OVERRIDE; inline sal_uInt16 GetLevel(void){return m_nLevel;} diff --git a/lotuswordpro/source/filter/lwpverdocument.hxx b/lotuswordpro/source/filter/lwpverdocument.hxx index e392d193f33f..0a47b1134235 100644 --- a/lotuswordpro/source/filter/lwpverdocument.hxx +++ b/lotuswordpro/source/filter/lwpverdocument.hxx @@ -75,7 +75,7 @@ class LwpVerDocument : public LwpObject { public: LwpVerDocument(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpVerDocument(){} + virtual ~LwpVerDocument(){} void Read() SAL_OVERRIDE; virtual void RegisterStyle() SAL_OVERRIDE; private: diff --git a/lotuswordpro/source/filter/lwpvpointer.hxx b/lotuswordpro/source/filter/lwpvpointer.hxx index 23aaf6097227..de7d02689cb2 100644 --- a/lotuswordpro/source/filter/lwpvpointer.hxx +++ b/lotuswordpro/source/filter/lwpvpointer.hxx @@ -72,7 +72,7 @@ class LwpVersionedPointer : public LwpObject { public: LwpVersionedPointer(LwpObjectHeader& objHdr, LwpSvStream* pStrm); - ~LwpVersionedPointer(){} + virtual ~LwpVersionedPointer(){} void Read() SAL_OVERRIDE; void RegisterStyle() SAL_OVERRIDE; void Parse(IXFStream* pOutputStream) SAL_OVERRIDE; diff --git a/lotuswordpro/source/filter/utlist.hxx b/lotuswordpro/source/filter/utlist.hxx index c2a28656e1a7..26e3a89f86cb 100644 --- a/lotuswordpro/source/filter/utlist.hxx +++ b/lotuswordpro/source/filter/utlist.hxx @@ -134,7 +134,7 @@ private: // Data class CUtOwningList : public CUtList { public: // Methods - ~CUtOwningList(); + virtual ~CUtOwningList(); }; }//end namespace OpenStormBento #endif diff --git a/lotuswordpro/source/filter/xfilter/xfchange.hxx b/lotuswordpro/source/filter/xfilter/xfchange.hxx index 1a3cc0a8989d..1ed94a9b53a1 100644 --- a/lotuswordpro/source/filter/xfilter/xfchange.hxx +++ b/lotuswordpro/source/filter/xfilter/xfchange.hxx @@ -74,7 +74,7 @@ class XFChangeList : public XFContentContainer { public: XFChangeList(){} - ~XFChangeList(){} + virtual ~XFChangeList(){} virtual void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; @@ -82,7 +82,7 @@ class XFChangeRegion : public XFContentContainer { public: XFChangeRegion(){} - ~XFChangeRegion(){} + virtual ~XFChangeRegion(){} virtual void ToXml(IXFStream *pStrm) SAL_OVERRIDE; void SetChangeID(const OUString& sID){m_sID=sID;} OUString GetChangeID(){return m_sID;} @@ -96,7 +96,7 @@ class XFChangeInsert : public XFChangeRegion { public: XFChangeInsert(){} - ~XFChangeInsert(){} + virtual ~XFChangeInsert(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; @@ -104,7 +104,7 @@ class XFChangeDelete : public XFChangeRegion { public: XFChangeDelete(){} - ~XFChangeDelete(){} + virtual ~XFChangeDelete(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; @@ -112,7 +112,7 @@ class XFChange : public XFContent { public: XFChange(){} - ~XFChange(){} + virtual ~XFChange(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; void SetChangeID(const OUString& sID){m_sID=sID;} OUString GetChangeID(){return m_sID;} @@ -124,7 +124,7 @@ class XFChangeStart : public XFContent { public: XFChangeStart(){} - ~XFChangeStart(){} + virtual ~XFChangeStart(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; void SetChangeID(const OUString& sID){m_sID=sID;} OUString GetChangeID(){return m_sID;} @@ -136,7 +136,7 @@ class XFChangeEnd : public XFContent { public: XFChangeEnd(){} - ~XFChangeEnd(){} + virtual ~XFChangeEnd(){} void ToXml(IXFStream *pStrm) SAL_OVERRIDE; void SetChangeID(const OUString& sID){m_sID=sID;} OUString GetChangeID(){return m_sID;} diff --git a/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx b/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx index 95e29f114d38..c467d18ddfd9 100644 --- a/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx +++ b/lotuswordpro/source/filter/xfilter/xfconfigmanager.hxx @@ -76,7 +76,7 @@ class XFConfigManager : public XFStyleContainer { public: XFConfigManager(); - ~XFConfigManager(); + virtual ~XFConfigManager(); public: /** diff --git a/lotuswordpro/source/filter/xfilter/xfcrossref.hxx b/lotuswordpro/source/filter/xfilter/xfcrossref.hxx index 697af4c0d74f..684aafaf5b8d 100644 --- a/lotuswordpro/source/filter/xfilter/xfcrossref.hxx +++ b/lotuswordpro/source/filter/xfilter/xfcrossref.hxx @@ -70,7 +70,7 @@ class XFCrossRefStart : public XFContent { public: XFCrossRefStart(); - ~XFCrossRefStart(); + virtual ~XFCrossRefStart(); void SetRefType(sal_uInt8 nType); void SetMarkName(const OUString& sName); void ToXml(IXFStream *pStrm) SAL_OVERRIDE; @@ -99,7 +99,7 @@ class XFCrossRefEnd : public XFContent { public: XFCrossRefEnd(); - ~XFCrossRefEnd(); + virtual ~XFCrossRefEnd(); void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; diff --git a/lotuswordpro/source/filter/xfilter/xfplaceholder.hxx b/lotuswordpro/source/filter/xfilter/xfplaceholder.hxx index ae8592b8b6e9..7a11097840c3 100644 --- a/lotuswordpro/source/filter/xfilter/xfplaceholder.hxx +++ b/lotuswordpro/source/filter/xfilter/xfplaceholder.hxx @@ -70,7 +70,7 @@ class XFHolderStart : public XFContent { public: XFHolderStart(); - ~XFHolderStart(); + virtual ~XFHolderStart(); void SetType(const OUString& sType); void SetDesc(const OUString& sDesc); void SetPrompt(const OUString& sText); @@ -120,7 +120,7 @@ class XFHolderEnd : public XFContent { public: XFHolderEnd(); - ~XFHolderEnd(); + virtual ~XFHolderEnd(); void ToXml(IXFStream *pStrm) SAL_OVERRIDE; }; diff --git a/oox/source/drawingml/texttabstoplistcontext.hxx b/oox/source/drawingml/texttabstoplistcontext.hxx index 58b3d1766c34..20b07fb00e13 100644 --- a/oox/source/drawingml/texttabstoplistcontext.hxx +++ b/oox/source/drawingml/texttabstoplistcontext.hxx @@ -33,7 +33,7 @@ namespace oox { namespace drawingml { public: TextTabStopListContext( ::oox::core::ContextHandler2Helper& rParent, ::std::list< ::com::sun::star::style::TabStop > & aTabList ); - ~TextTabStopListContext(); + virtual ~TextTabStopListContext(); virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const ::oox::AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/oox/source/ppt/animvariantcontext.hxx b/oox/source/ppt/animvariantcontext.hxx index 714eb9ede7eb..f05d6e743597 100644 --- a/oox/source/ppt/animvariantcontext.hxx +++ b/oox/source/ppt/animvariantcontext.hxx @@ -33,7 +33,7 @@ namespace oox { namespace ppt { { public: AnimVariantContext( ::oox::core::FragmentHandler2& rParent, ::sal_Int32 aElement, ::com::sun::star::uno::Any & aValue ); - ~AnimVariantContext( ) throw( ); + virtual ~AnimVariantContext( ) throw( ); virtual void onEndElement() SAL_OVERRIDE; virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/oox/source/ppt/buildlistcontext.hxx b/oox/source/ppt/buildlistcontext.hxx index 84a040a4f892..4bc1aa31624f 100644 --- a/oox/source/ppt/buildlistcontext.hxx +++ b/oox/source/ppt/buildlistcontext.hxx @@ -32,7 +32,7 @@ namespace oox { namespace ppt { public: BuildListContext( ::oox::core::FragmentHandler2& rParent ); - ~BuildListContext( ); + virtual ~BuildListContext( ); virtual void onEndElement() SAL_OVERRIDE; diff --git a/oox/source/ppt/commonbehaviorcontext.hxx b/oox/source/ppt/commonbehaviorcontext.hxx index d1b58e56ed87..fe989d437a1d 100644 --- a/oox/source/ppt/commonbehaviorcontext.hxx +++ b/oox/source/ppt/commonbehaviorcontext.hxx @@ -43,7 +43,7 @@ namespace oox { namespace ppt { CommonBehaviorContext( ::oox::core::FragmentHandler2& rParent, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode ); - ~CommonBehaviorContext( ) + virtual ~CommonBehaviorContext( ) throw( ); virtual void onEndElement() SAL_OVERRIDE; diff --git a/oox/source/ppt/commontimenodecontext.hxx b/oox/source/ppt/commontimenodecontext.hxx index 21699447daf4..69c7dd7ec1d2 100644 --- a/oox/source/ppt/commontimenodecontext.hxx +++ b/oox/source/ppt/commontimenodecontext.hxx @@ -33,7 +33,7 @@ namespace oox { namespace ppt { { public: CommonTimeNodeContext( ::oox::core::FragmentHandler2& rParent, sal_Int32 aElement, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode); - ~CommonTimeNodeContext( ) throw( ); + virtual ~CommonTimeNodeContext( ) throw( ); virtual void onEndElement() SAL_OVERRIDE; diff --git a/oox/source/ppt/conditioncontext.hxx b/oox/source/ppt/conditioncontext.hxx index a55f0c98518a..4eac421d68de 100644 --- a/oox/source/ppt/conditioncontext.hxx +++ b/oox/source/ppt/conditioncontext.hxx @@ -39,7 +39,7 @@ namespace oox { namespace ppt { CondContext( ::oox::core::FragmentHandler2& rParent, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode, AnimationCondition & aCond ); - ~CondContext( ) throw( ); + virtual ~CondContext( ) throw( ); virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE; private: @@ -58,7 +58,7 @@ namespace oox { namespace ppt { sal_Int32 aElement, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttribs, const TimeNodePtr & pNode, AnimationConditionList & aCondList ); - ~CondListContext( ) throw( ); + virtual ~CondListContext( ) throw( ); virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE; diff --git a/oox/source/ppt/customshowlistcontext.cxx b/oox/source/ppt/customshowlistcontext.cxx index b616ecae6139..7cd404937742 100644 --- a/oox/source/ppt/customshowlistcontext.cxx +++ b/oox/source/ppt/customshowlistcontext.cxx @@ -33,7 +33,7 @@ public: CustomShowContext( ::oox::core::FragmentHandler2& rParent, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttribs, CustomShow& rCustomShow ); - ~CustomShowContext( ); + virtual ~CustomShowContext( ); virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE; }; diff --git a/oox/source/ppt/headerfootercontext.hxx b/oox/source/ppt/headerfootercontext.hxx index c9fc6eb80702..23deb25c0220 100644 --- a/oox/source/ppt/headerfootercontext.hxx +++ b/oox/source/ppt/headerfootercontext.hxx @@ -34,7 +34,7 @@ namespace oox { namespace ppt { HeaderFooterContext( ::oox::core::FragmentHandler2& rParent, const AttributeList& rAttribs, HeaderFooter& rHeaderFooter ); - ~HeaderFooterContext( ); + virtual ~HeaderFooterContext( ); }; } } diff --git a/oox/source/ppt/timeanimvaluecontext.hxx b/oox/source/ppt/timeanimvaluecontext.hxx index c948ebedc8b6..0121403491e5 100644 --- a/oox/source/ppt/timeanimvaluecontext.hxx +++ b/oox/source/ppt/timeanimvaluecontext.hxx @@ -34,7 +34,7 @@ namespace oox { namespace ppt { const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& xAttribs, TimeAnimationValueList & aTavList ); - ~TimeAnimValueListContext( ); + virtual ~TimeAnimValueListContext( ); virtual void onEndElement() SAL_OVERRIDE; diff --git a/oox/source/ppt/timenodelistcontext.cxx b/oox/source/ppt/timenodelistcontext.cxx index f25c7edd7cb9..7955db8e5ec5 100644 --- a/oox/source/ppt/timenodelistcontext.cxx +++ b/oox/source/ppt/timenodelistcontext.cxx @@ -179,7 +179,7 @@ namespace oox { namespace ppt { } - ~SetTimeNodeContext() throw () + virtual ~SetTimeNodeContext() throw () { if( maTo.hasValue() ) { @@ -240,7 +240,7 @@ namespace oox { namespace ppt { } } - ~CmdTimeNodeContext() throw () + virtual ~CmdTimeNodeContext() throw () { } @@ -355,7 +355,7 @@ namespace oox { namespace ppt { mnPrevAc = xAttribs->getOptionalValueToken( XML_prevAc, 0 ); } - ~SequenceTimeNodeContext() throw() + virtual ~SequenceTimeNodeContext() throw() { } @@ -431,7 +431,7 @@ namespace oox { namespace ppt { , m_byColor( AnimationColorSpace::RGB, 0, 0, 0) { } - ~AnimColorContext() throw() + virtual ~AnimColorContext() throw() { } @@ -564,7 +564,7 @@ namespace oox { namespace ppt { } - ~AnimContext() throw () + virtual ~AnimContext() throw () { ::std::list< TimeAnimationValue >::iterator iter, end; int nKeyTimes = maTavList.size(); @@ -638,7 +638,7 @@ namespace oox { namespace ppt { = makeAny((sal_Int16)AnimationTransformType::SCALE); } - ~AnimScaleContext( ) throw( ) + virtual ~AnimScaleContext( ) throw( ) { } @@ -738,7 +738,7 @@ namespace oox { namespace ppt { } } - ~AnimRotContext( ) throw( ) + virtual ~AnimRotContext( ) throw( ) { } @@ -797,7 +797,7 @@ namespace oox { namespace ppt { // TODO make sure the units are right. Likely not. } - ~AnimMotionContext( ) throw() + virtual ~AnimMotionContext( ) throw() { } @@ -883,7 +883,7 @@ namespace oox { namespace ppt { } - ~AnimEffectContext( ) throw() + virtual ~AnimEffectContext( ) throw() { } diff --git a/oox/source/ppt/timetargetelementcontext.hxx b/oox/source/ppt/timetargetelementcontext.hxx index 0ea1f3231aaf..5e4b8079f5bb 100644 --- a/oox/source/ppt/timetargetelementcontext.hxx +++ b/oox/source/ppt/timetargetelementcontext.hxx @@ -31,7 +31,7 @@ namespace oox { namespace ppt { { public: TimeTargetElementContext( ::oox::core::FragmentHandler2& rParent, const AnimTargetElementPtr & aValue ); - ~TimeTargetElementContext( ) throw( ); + virtual ~TimeTargetElementContext( ) throw( ); virtual ::oox::core::ContextHandlerRef onCreateContext( sal_Int32 aElementToken, const AttributeList& rAttribs ) SAL_OVERRIDE; private: diff --git a/package/source/manifest/ManifestImport.hxx b/package/source/manifest/ManifestImport.hxx index e413ca26e131..4fe6fc141b2d 100644 --- a/package/source/manifest/ManifestImport.hxx +++ b/package/source/manifest/ManifestImport.hxx @@ -123,7 +123,7 @@ protected: public: ManifestImport( std::vector < ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue > > & rNewVector ); - ~ManifestImport( void ); + virtual ~ManifestImport( void ); virtual void SAL_CALL startDocument( ) throw(::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL endDocument( ) diff --git a/package/source/xstor/switchpersistencestream.hxx b/package/source/xstor/switchpersistencestream.hxx index 603a220070ed..553be0d476c5 100644 --- a/package/source/xstor/switchpersistencestream.hxx +++ b/package/source/xstor/switchpersistencestream.hxx @@ -68,7 +68,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xInStream ); - ~SwitchablePersistenceStream(); + virtual ~SwitchablePersistenceStream(); void SwitchPersistenceTo( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& xStream ); diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index aa1814174aa0..c8922a703f12 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -243,7 +243,7 @@ class OStyle : public ::comphelper::OMutexAndBroadcastHelper protected: void getPropertyDefaultByHandle( sal_Int32 _nHandle, uno::Any& _rDefault ) const SAL_OVERRIDE; - ~OStyle(){} + virtual ~OStyle(){} public: OStyle(); diff --git a/reportdesign/source/ui/dlg/Navigator.cxx b/reportdesign/source/ui/dlg/Navigator.cxx index 6861fb5d9593..c897cd6f5e5a 100644 --- a/reportdesign/source/ui/dlg/Navigator.cxx +++ b/reportdesign/source/ui/dlg/Navigator.cxx @@ -123,7 +123,7 @@ class NavigatorTree : public ::cppu::BaseMutex NavigatorTree* m_pTree; public: UserData(NavigatorTree* _pTree,const uno::Reference<uno::XInterface>& _xContent); - ~UserData(); + virtual ~UserData(); inline uno::Reference< uno::XInterface > getContent() const { return m_xContent; } inline void setContent(const uno::Reference< uno::XInterface >& _xContent) { m_xContent = _xContent; } diff --git a/reportdesign/source/ui/inc/dlgedfunc.hxx b/reportdesign/source/ui/inc/dlgedfunc.hxx index 1b67c2581d27..a975f0a21850 100644 --- a/reportdesign/source/ui/inc/dlgedfunc.hxx +++ b/reportdesign/source/ui/inc/dlgedfunc.hxx @@ -124,7 +124,7 @@ class DlgEdFuncInsert : public DlgEdFunc { public: DlgEdFuncInsert( OReportSection* pParent ); - ~DlgEdFuncInsert(); + virtual ~DlgEdFuncInsert(); virtual sal_Bool MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual sal_Bool MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -139,7 +139,7 @@ class DlgEdFuncSelect : public DlgEdFunc { public: DlgEdFuncSelect( OReportSection* pParent ); - ~DlgEdFuncSelect(); + virtual ~DlgEdFuncSelect(); virtual sal_Bool MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual sal_Bool MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/rsc/inc/rscarray.hxx b/rsc/inc/rscarray.hxx index d769d21e743b..cd55d07679e6 100644 --- a/rsc/inc/rscarray.hxx +++ b/rsc/inc/rscarray.hxx @@ -33,7 +33,7 @@ protected: public: RSCINST aInst; RscInstNode( sal_uInt32 nId ); - ~RscInstNode(); + virtual ~RscInstNode(); virtual sal_uInt32 GetId() const SAL_OVERRIDE; RscInstNode * Left() const { return (RscInstNode *)pLeft ; }; RscInstNode * Right() const{ return (RscInstNode *)pRight ; }; @@ -63,7 +63,7 @@ protected: public: RscArray( Atom nId, sal_uInt32 nTypId, RscTop * pSuper, RscEnum * pTypeClass ); - ~RscArray(); + virtual ~RscArray(); virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; void SetTypeClass( RscEnum * pClass ) { pTypeClass = pClass; } @@ -99,7 +99,7 @@ class RscClassArray : public RscArray public: RscClassArray( Atom nId, sal_uInt32 nTypId, RscTop * pSuper, RscEnum * pTypeClass ); - ~RscClassArray(); + virtual ~RscClassArray(); virtual void WriteSrcHeader( const RSCINST & rInst, FILE * fOutput, RscTypCont * pTC, sal_uInt32 nTab, const RscId & aId, const char * ) SAL_OVERRIDE; diff --git a/rsc/inc/rscclass.hxx b/rsc/inc/rscclass.hxx index 4822909c4130..6db763227d8a 100644 --- a/rsc/inc/rscclass.hxx +++ b/rsc/inc/rscclass.hxx @@ -57,7 +57,7 @@ protected: sal_uInt32 nTupelIdx, RscTypCont * pTC ); public: RscClass( Atom nId, sal_uInt32 nTypId, RscTop * pSuperCl ); - ~RscClass(); + virtual ~RscClass(); virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; diff --git a/rsc/inc/rscconst.hxx b/rsc/inc/rscconst.hxx index fa773250ee3d..cc76a3a79493 100644 --- a/rsc/inc/rscconst.hxx +++ b/rsc/inc/rscconst.hxx @@ -36,7 +36,7 @@ protected: sal_uInt32 nEntries; // Anzahle der Eintraege im Feld public: RscConst( Atom nId, sal_uInt32 nTypId ); - ~RscConst(); + virtual ~RscConst(); virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; sal_uInt32 GetEntryCount() const { return nEntries; } // Die erlaubten Werte werden gesetzt diff --git a/rsc/inc/rsccont.hxx b/rsc/inc/rsccont.hxx index 0c02d3af707a..3e1f51b2e721 100644 --- a/rsc/inc/rsccont.hxx +++ b/rsc/inc/rsccont.hxx @@ -58,7 +58,7 @@ public: RscBaseCont( Atom nId, sal_uInt32 nTypId, RscTop * pSuper = NULL, bool bNoId = true ); - ~RscBaseCont(); + virtual ~RscBaseCont(); virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE; void SetTypeClass( RscTop * pClass, RscTop * pClass1 = NULL ) { diff --git a/rsc/inc/rscdef.hxx b/rsc/inc/rscdef.hxx index 3ab50765bd57..fafd5d93f746 100644 --- a/rsc/inc/rscdef.hxx +++ b/rsc/inc/rscdef.hxx @@ -127,7 +127,7 @@ protected: sal_Int32 lDefId ); RscDefine( sal_uLong lFileKey, const OString& rDefName, RscExpression * pExpression ); - ~RscDefine(); + virtual ~RscDefine(); void IncRef(){ nRefCount++; } sal_uInt32 GetRefCount() const { return nRefCount; } void DecRef(); diff --git a/sal/qa/osl/condition/osl_Condition.cxx b/sal/qa/osl/condition/osl_Condition.cxx index 3c3401a8eb6d..417cc3bfb853 100644 --- a/sal/qa/osl/condition/osl_Condition.cxx +++ b/sal/qa/osl/condition/osl_Condition.cxx @@ -67,7 +67,7 @@ public: //get the Condition to operate ConditionThread( ::osl::Condition& Con, ConditionType tType): m_MyCon( Con ), m_MyType( tType ) { } - ~ConditionThread( ) + virtual ~ConditionThread( ) { // LLA: do not throw in DTors! // LLA: CPPUNIT_ASSERT_MESSAGE( "#ConditionThread does not shutdown properly.\n", sal_False == this -> isRunning( ) ); diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx index 2d5e977c96ed..dce24e73e8c4 100644 --- a/sal/qa/osl/mutex/osl_Mutex.cxx +++ b/sal/qa/osl/mutex/osl_Mutex.cxx @@ -96,7 +96,7 @@ class IncreaseThread : public Thread public: IncreaseThread( struct resource *pData ): pResource( pData ) { } - ~IncreaseThread( ) + virtual ~IncreaseThread( ) { CPPUNIT_ASSERT_MESSAGE( "#IncreaseThread does not shutdown properly.\n", !isRunning( ) ); } @@ -124,7 +124,7 @@ class DecreaseThread : public Thread public: DecreaseThread( struct resource *pData ): pResource( pData ) { } - ~DecreaseThread( ) + virtual ~DecreaseThread( ) { CPPUNIT_ASSERT_MESSAGE( "#DecreaseThread does not shutdown properly.\n", !isRunning( ) ); } @@ -162,7 +162,7 @@ public: //get the struct pointer to write data to buffer PutThread( struct chain* pData ): pChain( pData ) { } - ~PutThread( ) + virtual ~PutThread( ) { CPPUNIT_ASSERT_MESSAGE( "#PutThread does not shutdown properly.\n", !isRunning( ) ); } @@ -200,7 +200,7 @@ public: //get the Mutex pointer to operate HoldThread( Mutex* pMutex ): pMyMutex( pMutex ) { } - ~HoldThread( ) + virtual ~HoldThread( ) { CPPUNIT_ASSERT_MESSAGE( "#HoldThread does not shutdown properly.\n", !isRunning( ) ); } @@ -222,7 +222,7 @@ public: //get the Mutex pointer to operate WaitThread( Mutex* pMutex ): pMyMutex( pMutex ) { } - ~WaitThread( ) + virtual ~WaitThread( ) { CPPUNIT_ASSERT_MESSAGE( "#WaitThread does not shutdown properly.\n", !isRunning( ) ); } @@ -246,7 +246,7 @@ public: //get the Mutex pointer to operate GlobalMutexThread( ){ } - ~GlobalMutexThread( ) + virtual ~GlobalMutexThread( ) { CPPUNIT_ASSERT_MESSAGE( "#GlobalMutexThread does not shutdown properly.\n", !isRunning( ) ); } @@ -567,7 +567,7 @@ public: //get the Mutex pointer to operate GuardThread( Mutex* pMutex ): pMyMutex( pMutex ) { } - ~GuardThread( ) + virtual ~GuardThread( ) { CPPUNIT_ASSERT_MESSAGE( "#GuardThread does not shutdown properly.\n", !isRunning( ) ); } @@ -653,7 +653,7 @@ public: //get the Mutex pointer to operate ClearGuardThread( Mutex* pMutex ): pMyMutex( pMutex ) {} - ~ClearGuardThread( ) + virtual ~ClearGuardThread( ) { CPPUNIT_ASSERT_MESSAGE( "#ClearGuardThread does not shutdown properly.\n", !isRunning( ) ); } @@ -795,7 +795,7 @@ public: //get the Mutex pointer to operate ResetGuardThread( Mutex* pMutex ): pMyMutex( pMutex ) {} - ~ResetGuardThread( ) + virtual ~ResetGuardThread( ) { CPPUNIT_ASSERT_MESSAGE( "#ResetGuardThread does not shutdown properly.\n", !isRunning( ) ); } diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx index 74e692e2c0f6..e4b388298b2f 100644 --- a/sal/qa/osl/process/osl_Thread.cxx +++ b/sal/qa/osl/process/osl_Thread.cxx @@ -256,7 +256,7 @@ public: m_aFlag.release(); } - ~myThread() + virtual ~myThread() { if (isRunning()) { @@ -321,7 +321,7 @@ protected: } public: - ~OCountThread() + virtual ~OCountThread() { if (isRunning()) { @@ -368,7 +368,7 @@ protected: } public: - ~OSuspendThread() + virtual ~OSuspendThread() { if (isRunning()) { @@ -410,7 +410,7 @@ public: { t_print("new thread id %u!\n", (unsigned) getIdentifier()); } - ~ONoScheduleThread() + virtual ~ONoScheduleThread() { if (isRunning()) { @@ -451,7 +451,7 @@ protected: } public: - ~OAddThread() + virtual ~OAddThread() { if (isRunning()) { @@ -1924,7 +1924,7 @@ private: ThreadHelper::thread_sleep_tenth_sec(3); } public: - ~myKeyThread() + virtual ~myKeyThread() { if (isRunning()) { @@ -1952,7 +1952,7 @@ private: } public: - ~idThread() + virtual ~idThread() { if (isRunning()) { diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx index 84685b8880a7..1a8912bbcd91 100644 --- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx +++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx @@ -133,7 +133,7 @@ public: ::osl::Thread::suspend(); } - ~OGetThread() + virtual ~OGetThread() { if (isRunning()) { diff --git a/salhelper/source/timer.cxx b/salhelper/source/timer.cxx index 1bbf71b74cf3..f0486b5a1b5b 100644 --- a/salhelper/source/timer.cxx +++ b/salhelper/source/timer.cxx @@ -36,7 +36,7 @@ public: TimerManager(); - ~TimerManager(); + virtual ~TimerManager(); /// register timer bool SAL_CALL registerTimer(salhelper::Timer* pTimer); diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index c649405b9b25..d1a8b40405d0 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -141,7 +141,7 @@ class SaxExpatParser public: SaxExpatParser(); - ~SaxExpatParser(); + virtual ~SaxExpatParser(); // ::com::sun::star::lang::XInitialization: virtual void SAL_CALL initialize(css::uno::Sequence<css::uno::Any> const& rArguments) diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index 1ff1ec7ee3b5..d0fc173838f5 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -884,7 +884,7 @@ public: , m_nLevel(0) { } - ~SAXWriter() + virtual ~SAXWriter() { delete m_pSaxWriterHelper; } diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx index be187a6f5aa9..a3d29a6cf698 100644 --- a/sc/inc/attrib.hxx +++ b/sc/inc/attrib.hxx @@ -54,7 +54,7 @@ public: ScMergeAttr(); ScMergeAttr( SCsCOL nCol, SCsROW nRow = 0); ScMergeAttr( const ScMergeAttr& ); - ~ScMergeAttr(); + virtual ~ScMergeAttr(); virtual OUString GetValueText() const; @@ -80,7 +80,7 @@ class SC_DLLPUBLIC ScMergeFlagAttr: public SfxInt16Item public: ScMergeFlagAttr(); ScMergeFlagAttr(sal_Int16 nFlags); - ~ScMergeFlagAttr(); + virtual ~ScMergeFlagAttr(); bool IsHorOverlapped() const { return ( GetValue() & SC_MF_HOR ) != 0; } bool IsVerOverlapped() const { return ( GetValue() & SC_MF_VER ) != 0; } @@ -108,7 +108,7 @@ public: bool bHCell = false, bool bHPrint = false); ScProtectionAttr( const ScProtectionAttr& ); - ~ScProtectionAttr(); + virtual ~ScProtectionAttr(); virtual OUString GetValueText() const; virtual SfxItemPresentation GetPresentation( @@ -213,7 +213,7 @@ public: inline ScTableListItem( const sal_uInt16 nWhich ); ScTableListItem( const ScTableListItem& rCpy ); - ~ScTableListItem(); + virtual ~ScTableListItem(); ScTableListItem& operator=( const ScTableListItem &rCpy ); @@ -251,7 +251,7 @@ public: TYPEINFO_OVERRIDE(); ScPageHFItem( sal_uInt16 nWhich ); ScPageHFItem( const ScPageHFItem& rItem ); - ~ScPageHFItem(); + virtual ~ScPageHFItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -283,7 +283,7 @@ public: ScViewObjectModeItem( sal_uInt16 nWhich ); ScViewObjectModeItem( sal_uInt16 nWhich, ScVObjMode eMode ); - ~ScViewObjectModeItem(); + virtual ~ScViewObjectModeItem(); virtual sal_uInt16 GetValueCount() const SAL_OVERRIDE; virtual OUString GetValueText( sal_uInt16 nVal ) const; @@ -305,7 +305,7 @@ public: TYPEINFO_OVERRIDE(); ScDoubleItem( sal_uInt16 nWhich, double nVal=0 ); ScDoubleItem( const ScDoubleItem& rItem ); - ~ScDoubleItem(); + virtual ~ScDoubleItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx index b8715e21df45..c9f10bb2d46f 100644 --- a/sc/inc/chartlis.hxx +++ b/sc/inc/chartlis.hxx @@ -81,7 +81,7 @@ public: ScChartListener( const OUString& rName, ScDocument* pDoc, ::std::vector<ScTokenRef>* pTokens ); ScChartListener( const ScChartListener& ); - ~ScChartListener(); + virtual ~ScChartListener(); const OUString& GetName() const; diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx index 50ec53c486b1..49a68e6327be 100644 --- a/sc/inc/dbdata.hxx +++ b/sc/inc/dbdata.hxx @@ -81,7 +81,7 @@ public: bool bByR = true, bool bHasH = true); ScDBData(const ScDBData& rData); ScDBData(const OUString& rName, const ScDBData& rData); - ~ScDBData(); + virtual ~ScDBData(); ScDBData& operator= (const ScDBData& rData); diff --git a/sc/inc/defaultsoptions.hxx b/sc/inc/defaultsoptions.hxx index 7dfef1525ec2..420194049ca1 100644 --- a/sc/inc/defaultsoptions.hxx +++ b/sc/inc/defaultsoptions.hxx @@ -49,7 +49,7 @@ public: ScTpDefaultsItem( sal_uInt16 nWhich, const ScDefaultsOptions& rOpt ); ScTpDefaultsItem( const ScTpDefaultsItem& rItem ); - ~ScTpDefaultsItem(); + virtual ~ScTpDefaultsItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx index f6582599d4ea..a5bd10dc5c99 100644 --- a/sc/inc/docoptio.hxx +++ b/sc/inc/docoptio.hxx @@ -149,7 +149,7 @@ public: ScTpCalcItem( sal_uInt16 nWhich, const ScDocOptions& rOpt ); ScTpCalcItem( const ScTpCalcItem& rItem ); - ~ScTpCalcItem(); + virtual ~ScTpCalcItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sc/inc/drawpage.hxx b/sc/inc/drawpage.hxx index 50a53cc81222..aeda08a21069 100644 --- a/sc/inc/drawpage.hxx +++ b/sc/inc/drawpage.hxx @@ -29,7 +29,7 @@ class ScDrawPage: public FmFormPage { public: ScDrawPage(ScDrawLayer& rNewModel, bool bMasterPage = false); - ~ScDrawPage(); + virtual ~ScDrawPage(); virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage() SAL_OVERRIDE; }; diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx index 538c1fca63e4..cc8c8f4c407e 100644 --- a/sc/inc/drwlayer.hxx +++ b/sc/inc/drwlayer.hxx @@ -72,7 +72,7 @@ private: public: ScUndoObjData( SdrObject* pObj, const ScAddress& rOS, const ScAddress& rOE, const ScAddress& rNS, const ScAddress& rNE ); - ~ScUndoObjData(); + virtual ~ScUndoObjData(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index e750e5496b94..15b5adbac7c8 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -156,7 +156,7 @@ public: ScAddress aPos; - ~ScFormulaCell(); + virtual ~ScFormulaCell(); ScFormulaCell* Clone() const; diff --git a/sc/inc/formulaopt.hxx b/sc/inc/formulaopt.hxx index 5db5ad963772..43104aa23713 100644 --- a/sc/inc/formulaopt.hxx +++ b/sc/inc/formulaopt.hxx @@ -85,7 +85,7 @@ public: ScTpFormulaItem( sal_uInt16 nWhich, const ScFormulaOptions& rOpt ); ScTpFormulaItem( const ScTpFormulaItem& rItem ); - ~ScTpFormulaItem(); + virtual ~ScTpFormulaItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx index 5829a410d428..ecfe6b920614 100644 --- a/sc/inc/hints.hxx +++ b/sc/inc/hints.hxx @@ -35,7 +35,7 @@ class ScPaintHint : public SfxHint public: TYPEINFO_OVERRIDE(); ScPaintHint( const ScRange& rRng, sal_uInt16 nPaint = PAINT_ALL ); - ~ScPaintHint(); + virtual ~ScPaintHint(); void SetPrintFlag(bool bSet) { bPrint = bSet; } @@ -63,7 +63,7 @@ public: ScUpdateRefHint( UpdateRefMode eMode, const ScRange& rR, SCsCOL nX, SCsROW nY, SCsTAB nZ ); - ~ScUpdateRefHint(); + virtual ~ScUpdateRefHint(); UpdateRefMode GetMode() const { return eUpdateRefMode; } const ScRange& GetRange() const { return aRange; } @@ -81,7 +81,7 @@ class ScPointerChangedHint : public SfxHint public: TYPEINFO_OVERRIDE(); - ~ScPointerChangedHint(); + virtual ~ScPointerChangedHint(); sal_uInt16 GetFlags() const { return nFlags; } }; @@ -107,7 +107,7 @@ class ScLinkRefreshedHint : public SfxHint public: TYPEINFO_OVERRIDE(); ScLinkRefreshedHint(); - ~ScLinkRefreshedHint(); + virtual ~ScLinkRefreshedHint(); void SetSheetLink( const OUString& rSourceUrl ); void SetDdeLink( const OUString& rA, const OUString& rT, const OUString& rI, sal_uInt8 nM ); @@ -135,7 +135,7 @@ public: TYPEINFO_OVERRIDE(); ScAutoStyleHint( const ScRange& rR, const OUString& rSt1, sal_uLong nT, const OUString& rSt2 ); - ~ScAutoStyleHint(); + virtual ~ScAutoStyleHint(); const ScRange& GetRange() const { return aRange; } const OUString& GetStyle1() const { return aStyle1; } @@ -150,7 +150,7 @@ class ScDBRangeRefreshedHint : public SfxHint public: TYPEINFO_OVERRIDE(); ScDBRangeRefreshedHint( const ScImportParam& rP ); - ~ScDBRangeRefreshedHint(); + virtual ~ScDBRangeRefreshedHint(); const ScImportParam& GetImportParam() const { return aParam; } }; @@ -162,7 +162,7 @@ class ScDataPilotModifiedHint : public SfxHint public: TYPEINFO_OVERRIDE(); ScDataPilotModifiedHint( const OUString& rName ); - ~ScDataPilotModifiedHint(); + virtual ~ScDataPilotModifiedHint(); const OUString& GetName() const { return maName; } }; diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx index 1d9c90b9ad2f..9444c0a01c9b 100644 --- a/sc/inc/linkuno.hxx +++ b/sc/inc/linkuno.hxx @@ -503,7 +503,7 @@ class ScExternalSheetCacheObj : public cppu::WeakImplHelper1< ::com::sun::star:: { public: explicit ScExternalSheetCacheObj(ScDocShell* pDocShell, ScExternalRefCache::TableTypeRef pTable, size_t nIndex); - ~ScExternalSheetCacheObj(); + virtual ~ScExternalSheetCacheObj(); // XExternalSheetCache virtual void SAL_CALL setCellValue( @@ -537,7 +537,7 @@ class ScExternalDocLinkObj : public cppu::WeakImplHelper1< ::com::sun::star::she { public: ScExternalDocLinkObj(ScDocShell* pDocShell, ScExternalRefManager* pRefMgr, sal_uInt16 nFileId); - ~ScExternalDocLinkObj(); + virtual ~ScExternalDocLinkObj(); // XExternalDocLink virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XExternalSheetCache > @@ -585,7 +585,7 @@ class ScExternalDocLinksObj : public cppu::WeakImplHelper1< ::com::sun::star::sh { public: ScExternalDocLinksObj(ScDocShell* pDocShell); - ~ScExternalDocLinksObj(); + virtual ~ScExternalDocLinksObj(); // XExternalDocLinks virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XExternalDocLink > diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx index c7574dea5add..c076fd9e24d4 100644 --- a/sc/inc/patattr.hxx +++ b/sc/inc/patattr.hxx @@ -59,7 +59,7 @@ public: ScPatternAttr(SfxItemPool* pItemPool); ScPatternAttr(const ScPatternAttr& rPatternAttr); - ~ScPatternAttr(); + virtual ~ScPatternAttr(); virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; virtual SfxPoolItem* Create(SvStream& rStream, sal_uInt16 nVersion) const SAL_OVERRIDE; diff --git a/sc/inc/printopt.hxx b/sc/inc/printopt.hxx index 331b564a813b..0c236dbcfea3 100644 --- a/sc/inc/printopt.hxx +++ b/sc/inc/printopt.hxx @@ -59,7 +59,7 @@ public: ScTpPrintItem( sal_uInt16 nWhich, const ScPrintOptions& rOpt ); ScTpPrintItem( const ScTpPrintItem& rItem ); - ~ScTpPrintItem(); + virtual ~ScTpPrintItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sc/inc/unoreflist.hxx b/sc/inc/unoreflist.hxx index dab538fc5f93..940865c3f1a4 100644 --- a/sc/inc/unoreflist.hxx +++ b/sc/inc/unoreflist.hxx @@ -65,7 +65,7 @@ class ScUnoRefUndoHint : public SfxHint public: TYPEINFO_OVERRIDE(); ScUnoRefUndoHint( const ScUnoRefEntry& rRefEntry ); - ~ScUnoRefUndoHint(); + virtual ~ScUnoRefUndoHint(); sal_Int64 GetObjectId() const { return aEntry.nObjectId; } const ScRangeList& GetRanges() const { return aEntry.aRanges; } diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx index 470549bf42e7..af15e1ecbf73 100644 --- a/sc/inc/viewopti.hxx +++ b/sc/inc/viewopti.hxx @@ -118,7 +118,7 @@ public: TYPEINFO_OVERRIDE(); ScTpViewItem( sal_uInt16 nWhich, const ScViewOptions& rOpt ); ScTpViewItem( const ScTpViewItem& rItem ); - ~ScTpViewItem(); + virtual ~ScTpViewItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index 33a93a6ab7ab..f982f97f2c20 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -193,7 +193,7 @@ public: static const FileFormat* getFileFormats(); ScBootstrapFixture( const OUString& rsBaseString ); - ~ScBootstrapFixture(); + virtual ~ScBootstrapFixture(); void createFileURL(const OUString& aFileBase, const OUString& aFileExtension, OUString& rFilePath); diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx index 9ff8d7a7e591..f97d0e928a5d 100644 --- a/sc/qa/unit/ucalc.hxx +++ b/sc/qa/unit/ucalc.hxx @@ -74,7 +74,7 @@ public: } Test(); - ~Test(); + virtual ~Test(); ScDocShell& getDocShell(); diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 10b15a9cbc4f..44187fee911f 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -1989,7 +1989,7 @@ public: for (unsigned i = 0; i < mvSubArguments.size(); i++) mvSubArguments[i]->DumpInlineFun(decls,funs); } - ~DynamicKernelSoPArguments() + virtual ~DynamicKernelSoPArguments() { if (mpClmem2) { @@ -3176,7 +3176,7 @@ public: if (CL_SUCCESS != err) throw OpenCLError(err, __FILE__, __LINE__); } - ~DynamicKernel(); + virtual ~DynamicKernel(); cl_mem GetResultBuffer(void) const { return mpResClmem; } private: diff --git a/sc/source/filter/excel/xltoolbar.hxx b/sc/source/filter/excel/xltoolbar.hxx index e895ed77e4de..abb522077537 100644 --- a/sc/source/filter/excel/xltoolbar.hxx +++ b/sc/source/filter/excel/xltoolbar.hxx @@ -36,7 +36,7 @@ class ScTBC : public TBBase boost::shared_ptr<TBCData> tbcd; public: ScTBC(); - ~ScTBC(){} + virtual ~ScTBC(){} void Print( FILE* ) SAL_OVERRIDE; bool Read(SvStream &rS) SAL_OVERRIDE; bool ImportToolBarControl( ScCTBWrapper&, const com::sun::star::uno::Reference< com::sun::star::container::XIndexContainer >& toolbarcontainer, CustomToolBarImportHelper& helper, bool bIsMenuBar ); @@ -52,7 +52,7 @@ class ScCTB : public TBBase bool ImportCustomToolBar_Impl( ScCTBWrapper&, CustomToolBarImportHelper& ); public: ScCTB(sal_uInt16); - ~ScCTB(){} + virtual ~ScCTB(){} void Print( FILE* ) SAL_OVERRIDE; bool Read(SvStream &rS) SAL_OVERRIDE; bool IsMenuToolbar(); @@ -77,7 +77,7 @@ public: CTBS(const CTBS&); CTBS& operator = ( const CTBS&); CTBS(); - ~CTBS(){} + virtual ~CTBS(){} void Print( FILE* ) SAL_OVERRIDE; bool Read(SvStream &rS) SAL_OVERRIDE; }; @@ -90,7 +90,7 @@ class ScCTBWrapper : public TBBase public: ScCTBWrapper(); - ~ScCTBWrapper(); + virtual ~ScCTBWrapper(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; bool ImportCustomToolBar( SfxObjectShell& rDocSh ); diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx index 142de659cd50..b392de9232f9 100644 --- a/sc/source/filter/inc/XclExpChangeTrack.hxx +++ b/sc/source/filter/inc/XclExpChangeTrack.hxx @@ -608,7 +608,7 @@ private: public: XclExpChangeTrack( const XclExpRoot& rRoot ); - ~XclExpChangeTrack(); + virtual ~XclExpChangeTrack(); void Write(); void WriteXml( XclExpXmlStream& rStrm ); diff --git a/sc/source/filter/inc/XclImpChangeTrack.hxx b/sc/source/filter/inc/XclImpChangeTrack.hxx index 2e09d2ea1aa4..fc5a6ec225d4 100644 --- a/sc/source/filter/inc/XclImpChangeTrack.hxx +++ b/sc/source/filter/inc/XclImpChangeTrack.hxx @@ -107,7 +107,7 @@ private: public: XclImpChangeTrack( const XclImpRoot& rRoot, const XclImpStream& rBookStrm ); - ~XclImpChangeTrack(); + virtual ~XclImpChangeTrack(); // reads extended 3D ref info following the formulas, returns sc tab nums // ( called by XclImpChTrFmlConverter::Read3DTabReference() ) diff --git a/sc/source/filter/inc/excdoc.hxx b/sc/source/filter/inc/excdoc.hxx index b71cca6ae6b4..4a08ceef0783 100644 --- a/sc/source/filter/inc/excdoc.hxx +++ b/sc/source/filter/inc/excdoc.hxx @@ -64,7 +64,7 @@ private: public: ExcTable( const XclExpRoot& rRoot ); ExcTable( const XclExpRoot& rRoot, SCTAB nScTab ); - ~ExcTable(); + virtual ~ExcTable(); void FillAsHeader( ExcBoundsheetList& rBoundsheetList ); void FillAsTable( SCTAB nCodeNameIdx ); diff --git a/sc/source/filter/inc/qproform.hxx b/sc/source/filter/inc/qproform.hxx index 0ae50df91c61..edb0802b3412 100644 --- a/sc/source/filter/inc/qproform.hxx +++ b/sc/source/filter/inc/qproform.hxx @@ -63,7 +63,7 @@ class QProToSc : public ConverterBase public: static const size_t nBufSize = 256; QProToSc( SvStream &aStr, const ScAddress& rRefPos ); - ~QProToSc(){ }; + virtual ~QProToSc(){ }; ConvErr Convert( const ScTokenArray*& pArray, sal_uInt16 nLen, const FORMULA_TYPE eFT = FT_CellFormula ); void DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const sal_Char* pExtString ); diff --git a/sc/source/filter/inc/rtfimp.hxx b/sc/source/filter/inc/rtfimp.hxx index af9114c1aa19..fb5d51682444 100644 --- a/sc/source/filter/inc/rtfimp.hxx +++ b/sc/source/filter/inc/rtfimp.hxx @@ -26,7 +26,7 @@ class ScRTFImport : public ScEEImport { public: ScRTFImport( ScDocument* pDoc, const ScRange& rRange ); - ~ScRTFImport(); + virtual ~ScRTFImport(); }; diff --git a/sc/source/filter/inc/xehelper.hxx b/sc/source/filter/inc/xehelper.hxx index d06fc7b923f4..721efa08200d 100644 --- a/sc/source/filter/inc/xehelper.hxx +++ b/sc/source/filter/inc/xehelper.hxx @@ -180,7 +180,7 @@ public: typedef boost::shared_ptr< XclExpHyperlink > XclExpHyperlinkRef; explicit XclExpHyperlinkHelper( const XclExpRoot& rRoot, const ScAddress& rScPos ); - ~XclExpHyperlinkHelper(); + virtual ~XclExpHyperlinkHelper(); /** Processes the passed URL field (tries to create a HLINK record). @return The representation string of the URL field. */ diff --git a/sc/source/filter/inc/xerecord.hxx b/sc/source/filter/inc/xerecord.hxx index 0d88ff43082c..c0678aa62965 100644 --- a/sc/source/filter/inc/xerecord.hxx +++ b/sc/source/filter/inc/xerecord.hxx @@ -49,7 +49,7 @@ class XclExpDelegatingRecord : public XclExpRecordBase { public: XclExpDelegatingRecord( XclExpRecordBase* pRecord ); - ~XclExpDelegatingRecord(); + virtual ~XclExpDelegatingRecord(); virtual void SaveXml( XclExpXmlStream& rStrm ) SAL_OVERRIDE; private: diff --git a/sc/source/filter/inc/xihelper.hxx b/sc/source/filter/inc/xihelper.hxx index 9c8b568af677..ff1204bd3c42 100644 --- a/sc/source/filter/inc/xihelper.hxx +++ b/sc/source/filter/inc/xihelper.hxx @@ -166,7 +166,7 @@ class XclImpHFConverter : protected XclImpRoot, private boost::noncopyable { public: explicit XclImpHFConverter( const XclImpRoot& rRoot ); - ~XclImpHFConverter(); + virtual ~XclImpHFConverter(); /** Parses the passed string and creates three new edit engine text objects. */ void ParseString( const OUString& rHFString ); diff --git a/sc/source/filter/inc/xilink.hxx b/sc/source/filter/inc/xilink.hxx index d13c5e254901..f0f6e224e7bf 100644 --- a/sc/source/filter/inc/xilink.hxx +++ b/sc/source/filter/inc/xilink.hxx @@ -185,7 +185,7 @@ class XclImpLinkManager : protected XclImpRoot { public: explicit XclImpLinkManager( const XclImpRoot& rRoot ); - ~XclImpLinkManager(); + virtual ~XclImpLinkManager(); /** Reads the EXTERNSHEET record. */ void ReadExternsheet( XclImpStream& rStrm ); diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx index 107826803231..a4d7ab4cff87 100644 --- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx +++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx @@ -131,7 +131,7 @@ struct ScMyBaseAction struct ScMyInsAction : public ScMyBaseAction { ScMyInsAction(const ScChangeActionType nActionType); - ~ScMyInsAction(); + virtual ~ScMyInsAction(); }; struct ScMyDelAction : public ScMyBaseAction @@ -142,7 +142,7 @@ struct ScMyDelAction : public ScMyBaseAction sal_Int32 nD; ScMyDelAction(const ScChangeActionType nActionType); - ~ScMyDelAction(); + virtual ~ScMyDelAction(); }; struct ScMyMoveAction : public ScMyBaseAction @@ -151,7 +151,7 @@ struct ScMyMoveAction : public ScMyBaseAction ScMyMoveRanges* pMoveRanges; ScMyMoveAction(); - ~ScMyMoveAction(); + virtual ~ScMyMoveAction(); }; struct ScMyContentAction : public ScMyBaseAction @@ -159,13 +159,13 @@ struct ScMyContentAction : public ScMyBaseAction ScMyCellInfo* pCellInfo; ScMyContentAction(); - ~ScMyContentAction(); + virtual ~ScMyContentAction(); }; struct ScMyRejAction : public ScMyBaseAction { ScMyRejAction(); - ~ScMyRejAction(); + virtual ~ScMyRejAction(); }; typedef std::list<ScMyBaseAction*> ScMyActions; diff --git a/sc/source/filter/xml/XMLStylesExportHelper.hxx b/sc/source/filter/xml/XMLStylesExportHelper.hxx index 44173dc990db..c835f2ad1355 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.hxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.hxx @@ -243,7 +243,7 @@ class ScColumnStyles : public ScColumnRowStylesBase public: ScColumnStyles(); - ~ScColumnStyles(); + virtual ~ScColumnStyles(); virtual void AddNewTable(const sal_Int32 nTable, const sal_Int32 nFields) SAL_OVERRIDE; sal_Int32 GetStyleNameIndex(const sal_Int32 nTable, const sal_Int32 nField, @@ -270,7 +270,7 @@ class ScRowStyles : public ScColumnRowStylesBase public: ScRowStyles(); - ~ScRowStyles(); + virtual ~ScRowStyles(); virtual void AddNewTable(const sal_Int32 nTable, const sal_Int32 nFields) SAL_OVERRIDE; sal_Int32 GetStyleNameIndex(const sal_Int32 nTable, const sal_Int32 nField); diff --git a/sc/source/filter/xml/XMLStylesImportHelper.hxx b/sc/source/filter/xml/XMLStylesImportHelper.hxx index 5b99fea15544..ac564f552618 100644 --- a/sc/source/filter/xml/XMLStylesImportHelper.hxx +++ b/sc/source/filter/xml/XMLStylesImportHelper.hxx @@ -99,7 +99,7 @@ class ScMyStyleRanges : public SvRefBase const OUString* pCurrency, ScXMLImport& rImport); public: ScMyStyleRanges(); - ~ScMyStyleRanges(); + virtual ~ScMyStyleRanges(); void AddRange(const ScRange& rRange, const sal_Int16 nType); void AddCurrencyRange(const ScRange& rRange, const OUString* pCurrency); void InsertCol(const sal_Int32 nCol, const sal_Int32 nTab, ScDocument* pDoc); diff --git a/sc/source/filter/xml/XMLTableMasterPageExport.hxx b/sc/source/filter/xml/XMLTableMasterPageExport.hxx index e38f83244820..fdcda49c05fb 100644 --- a/sc/source/filter/xml/XMLTableMasterPageExport.hxx +++ b/sc/source/filter/xml/XMLTableMasterPageExport.hxx @@ -50,7 +50,7 @@ protected: public: XMLTableMasterPageExport( ScXMLExport& rExp ); - ~XMLTableMasterPageExport(); + virtual ~XMLTableMasterPageExport(); }; diff --git a/sc/source/filter/xml/XMLTableShapeImportHelper.hxx b/sc/source/filter/xml/XMLTableShapeImportHelper.hxx index 41515c89f17f..f038bd6c9ff6 100644 --- a/sc/source/filter/xml/XMLTableShapeImportHelper.hxx +++ b/sc/source/filter/xml/XMLTableShapeImportHelper.hxx @@ -35,7 +35,7 @@ class XMLTableShapeImportHelper : public XMLShapeImportHelper public: XMLTableShapeImportHelper( ScXMLImport& rImp, SvXMLImportPropertyMapper *pImpMapper=0 ); - ~XMLTableShapeImportHelper(); + virtual ~XMLTableShapeImportHelper(); void SetLayer(com::sun::star::uno::Reference<com::sun::star::drawing::XShape>& rShape, sal_Int16 nLayerID, const OUString& sType) const; virtual void finishShape(com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& rShape, diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index a944b45cf5c1..775f86beb67f 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -432,7 +432,7 @@ class ScXMLShapeExport : public XMLShapeExport { public: ScXMLShapeExport(SvXMLExport& rExp) : XMLShapeExport(rExp) {} - ~ScXMLShapeExport(); + virtual ~ScXMLShapeExport(); /** is called before a shape element for the given XShape is exported */ virtual void onExport( const uno::Reference < drawing::XShape >& xShape ) SAL_OVERRIDE; diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index 601be5531b85..33b6160ebc9c 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -984,7 +984,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, OUString const & implementationName, sal_uInt16 nImportFlag); - ~ScXMLImport() throw(); + virtual ~ScXMLImport() throw(); // namespace office // NB: in contrast to other CreateFooContexts, this particular one handles diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index c42dcbe00fdd..1ac5dfc244cb 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -254,7 +254,7 @@ class ScChildrenShapes : public SfxListener, { public: ScChildrenShapes(ScAccessibleDocument* pAccessibleDocument, ScTabViewShell* pViewShell, ScSplitPos eSplitPos); - ~ScChildrenShapes(); + virtual ~ScChildrenShapes(); ///===== SfxListener ===================================================== diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx index de8864972c21..6d473b61999e 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx @@ -513,7 +513,7 @@ public: ScIAccessibleViewForwarder(ScPreviewShell* pViewShell, ScAccessibleDocumentPagePreview* pAccDoc, const MapMode& aMapMode); - ~ScIAccessibleViewForwarder(); + virtual ~ScIAccessibleViewForwarder(); ///===== IAccessibleViewForwarder ======================================== @@ -684,7 +684,7 @@ class ScShapeChildren : public SfxListener, { public: ScShapeChildren(ScPreviewShell* pViewShell, ScAccessibleDocumentPagePreview* pAccDoc); - ~ScShapeChildren(); + virtual ~ScShapeChildren(); ///===== SfxListener ===================================================== diff --git a/sc/source/ui/inc/AccessibilityHints.hxx b/sc/source/ui/inc/AccessibilityHints.hxx index 14483facb32a..f0e8b100c216 100644 --- a/sc/source/ui/inc/AccessibilityHints.hxx +++ b/sc/source/ui/inc/AccessibilityHints.hxx @@ -42,7 +42,7 @@ public: TYPEINFO_OVERRIDE(); ScAccWinFocusLostHint( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xOld ); - ~ScAccWinFocusLostHint(); + virtual ~ScAccWinFocusLostHint(); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > GetOldAccessible() const { return xOldAccessible; } @@ -56,7 +56,7 @@ public: TYPEINFO_OVERRIDE(); ScAccWinFocusGotHint( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xNew ); - ~ScAccWinFocusGotHint(); + virtual ~ScAccWinFocusGotHint(); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > GetNewAccessible() const { return xNewAccessible; } @@ -69,7 +69,7 @@ public: TYPEINFO_OVERRIDE(); ScAccGridWinFocusLostHint( ScSplitPos eOldGridWin, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xOld ); - ~ScAccGridWinFocusLostHint(); + virtual ~ScAccGridWinFocusLostHint(); ScSplitPos GetOldGridWin() const { return eOldGridWin; } }; @@ -81,7 +81,7 @@ public: TYPEINFO_OVERRIDE(); ScAccGridWinFocusGotHint( ScSplitPos eNewGridWin, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xNew ); - ~ScAccGridWinFocusGotHint(); + virtual ~ScAccGridWinFocusGotHint(); ScSplitPos GetNewGridWin() const { return eNewGridWin; } }; diff --git a/sc/source/ui/inc/acredlin.hxx b/sc/source/ui/inc/acredlin.hxx index b1998a598570..d590cf5e4cb6 100644 --- a/sc/source/ui/inc/acredlin.hxx +++ b/sc/source/ui/inc/acredlin.hxx @@ -77,7 +77,7 @@ class ScRedlinData : public RedlinData public: ScRedlinData(); - ~ScRedlinData(); + virtual ~ScRedlinData(); SCTAB nTable; SCCOL nCol; SCROW nRow; @@ -209,7 +209,7 @@ public: ScAcceptChgDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScViewData* ptrViewData); - ~ScAcceptChgDlg(); + virtual ~ScAcceptChgDlg(); void ReInit(ScViewData* ptrViewData); diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx index a739b220da48..e272aefa09df 100644 --- a/sc/source/ui/inc/anyrefdg.hxx +++ b/sc/source/ui/inc/anyrefdg.hxx @@ -211,7 +211,7 @@ private: template<class TParentWindow, class TArg> ScRefHdlrImplBase( TParentWindow* pParent, const OString& rID, const OUString& rUIXMLDescription, const TArg &rArg, SfxBindings *pB = NULL ); - ~ScRefHdlrImplBase(); + virtual ~ScRefHdlrImplBase(); template<class, class, bool> friend struct ScRefHdlrImpl; }; diff --git a/sc/source/ui/inc/areasdlg.hxx b/sc/source/ui/inc/areasdlg.hxx index e9e957a393be..e0bf70b956fe 100644 --- a/sc/source/ui/inc/areasdlg.hxx +++ b/sc/source/ui/inc/areasdlg.hxx @@ -36,7 +36,7 @@ class ScPrintAreasDlg : public ScAnyRefDlg { public: ScPrintAreasDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent ); - ~ScPrintAreasDlg(); + virtual ~ScPrintAreasDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; virtual void AddRefEntry() SAL_OVERRIDE; diff --git a/sc/source/ui/inc/attrdlg.hxx b/sc/source/ui/inc/attrdlg.hxx index 4e54119f0cc6..6d4854d40e8c 100644 --- a/sc/source/ui/inc/attrdlg.hxx +++ b/sc/source/ui/inc/attrdlg.hxx @@ -34,7 +34,7 @@ public: ScAttrDlg( SfxViewFrame* pFrame, Window* pParent, const SfxItemSet* pCellAttrs ); - ~ScAttrDlg(); + virtual ~ScAttrDlg(); protected: virtual void PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/auditsh.hxx b/sc/source/ui/inc/auditsh.hxx index edb82bb00737..a553941121f3 100644 --- a/sc/source/ui/inc/auditsh.hxx +++ b/sc/source/ui/inc/auditsh.hxx @@ -38,7 +38,7 @@ public: SFX_DECL_INTERFACE(SCID_AUDITING_SHELL) ScAuditingShell(ScViewData* pData); - ~ScAuditingShell(); + virtual ~ScAuditingShell(); void Execute(SfxRequest& rReq); void GetState(SfxItemSet& rSet); diff --git a/sc/source/ui/inc/autofmt.hxx b/sc/source/ui/inc/autofmt.hxx index c8d0bab3bbbd..aa96dbcf29e8 100644 --- a/sc/source/ui/inc/autofmt.hxx +++ b/sc/source/ui/inc/autofmt.hxx @@ -49,7 +49,7 @@ class SC_DLLPUBLIC ScAutoFmtPreview : public Window public: ScAutoFmtPreview(Window* pParent); void DetectRTL(ScViewData *pViewData); - ~ScAutoFmtPreview(); + virtual ~ScAutoFmtPreview(); void NotifyChange( ScAutoFormatData* pNewData ); diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index 8a332b8423d1..2fbeadee6a6a 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -196,7 +196,7 @@ class ScCheckListBox : public SvTreeListBox public: ScCheckListBox( Window* pParent, WinBits nWinStyle = 0 ); - ~ScCheckListBox() { delete mpCheckButton; } + virtual ~ScCheckListBox() { delete mpCheckButton; } void Init(); void CheckEntry( OUString& sName, SvTreeListEntry* pParent, bool bCheck = true ); void CheckEntry( SvTreeListEntry* pEntry, bool bCheck = true ); diff --git a/sc/source/ui/inc/colrowba.hxx b/sc/source/ui/inc/colrowba.hxx index 1fc3cffcc659..4452cd02e9e1 100644 --- a/sc/source/ui/inc/colrowba.hxx +++ b/sc/source/ui/inc/colrowba.hxx @@ -35,7 +35,7 @@ class ScColBar : public ScHeaderControl public: ScColBar( Window* pParent, ScViewData* pData, ScHSplitPos eWhichPos, ScHeaderFunctionSet* pFunc, ScHeaderSelectionEngine* pEng ); - ~ScColBar(); + virtual ~ScColBar(); virtual SCCOLROW GetPos() const SAL_OVERRIDE; virtual sal_uInt16 GetEntrySize( SCCOLROW nEntryNo ) const SAL_OVERRIDE; @@ -68,7 +68,7 @@ class ScRowBar : public ScHeaderControl public: ScRowBar( Window* pParent, ScViewData* pData, ScVSplitPos eWhichPos, ScHeaderFunctionSet* pFunc, ScHeaderSelectionEngine* pEng ); - ~ScRowBar(); + virtual ~ScRowBar(); virtual SCCOLROW GetPos() const SAL_OVERRIDE; virtual sal_uInt16 GetEntrySize( SCCOLROW nEntryNo ) const SAL_OVERRIDE; diff --git a/sc/source/ui/inc/condformatmgr.hxx b/sc/source/ui/inc/condformatmgr.hxx index ee68af959c88..0cf868aacc29 100644 --- a/sc/source/ui/inc/condformatmgr.hxx +++ b/sc/source/ui/inc/condformatmgr.hxx @@ -63,7 +63,7 @@ class ScCondFormatManagerDlg : public ModalDialog { public: ScCondFormatManagerDlg(Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList, const ScAddress& rPos); - ~ScCondFormatManagerDlg(); + virtual ~ScCondFormatManagerDlg(); ScConditionalFormatList* GetConditionalFormatList(); diff --git a/sc/source/ui/inc/conflictsdlg.hxx b/sc/source/ui/inc/conflictsdlg.hxx index 63ccc323d6ef..7cc7628e3be2 100644 --- a/sc/source/ui/inc/conflictsdlg.hxx +++ b/sc/source/ui/inc/conflictsdlg.hxx @@ -183,7 +183,7 @@ private: public: ScConflictsDlg( Window* pParent, ScViewData* pViewData, ScDocument* pSharedDoc, ScConflictsList& rConflictsList ); - ~ScConflictsDlg(); + virtual ~ScConflictsDlg(); virtual void Resize() SAL_OVERRIDE; void UpdateView(); diff --git a/sc/source/ui/inc/consdlg.hxx b/sc/source/ui/inc/consdlg.hxx index c244f5334765..38571b998cd7 100644 --- a/sc/source/ui/inc/consdlg.hxx +++ b/sc/source/ui/inc/consdlg.hxx @@ -41,7 +41,7 @@ class ScConsolidateDlg : public ScAnyRefDlg public: ScConsolidateDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, const SfxItemSet& rArgSet ); - ~ScConsolidateDlg(); + virtual ~ScConsolidateDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx index e7c0eaff861e..4c91760e8fc5 100644 --- a/sc/source/ui/inc/content.hxx +++ b/sc/source/ui/inc/content.hxx @@ -123,7 +123,7 @@ protected: public: ScContentTree( Window* pParent, const ResId& rResId ); - ~ScContentTree(); + virtual ~ScContentTree(); OUString getAltLongDescText(SvTreeListEntry* pEntry, bool isAltText) const; OUString GetEntryAltText( SvTreeListEntry* pEntry ) const SAL_OVERRIDE; diff --git a/sc/source/ui/inc/crnrdlg.hxx b/sc/source/ui/inc/crnrdlg.hxx index 649ee89420cf..cd3adc52b097 100644 --- a/sc/source/ui/inc/crnrdlg.hxx +++ b/sc/source/ui/inc/crnrdlg.hxx @@ -38,7 +38,7 @@ class ScColRowNameRangesDlg : public ScAnyRefDlg public: ScColRowNameRangesDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScViewData* ptrViewData ); - ~ScColRowNameRangesDlg(); + virtual ~ScColRowNameRangesDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx index 6bef36804068..be81d3db8a54 100644 --- a/sc/source/ui/inc/csvruler.hxx +++ b/sc/source/ui/inc/csvruler.hxx @@ -60,7 +60,7 @@ private: public: explicit ScCsvRuler( ScCsvControl& rParent ); - ~ScCsvRuler(); + virtual ~ScCsvRuler(); // common ruler handling -------------------------------------------------- public: diff --git a/sc/source/ui/inc/dapitype.hxx b/sc/source/ui/inc/dapitype.hxx index 899e14cb9bda..c4aa3ca6a97a 100644 --- a/sc/source/ui/inc/dapitype.hxx +++ b/sc/source/ui/inc/dapitype.hxx @@ -40,7 +40,7 @@ private: public: ScDataPilotSourceTypeDlg(Window* pParent, bool bEnableExternal); - ~ScDataPilotSourceTypeDlg(); + virtual ~ScDataPilotSourceTypeDlg(); bool IsDatabase() const; bool IsExternal() const; @@ -74,7 +74,7 @@ private: public: ScDataPilotServiceDlg( Window* pParent, const com::sun::star::uno::Sequence<OUString>& rServices ); - ~ScDataPilotServiceDlg(); + virtual ~ScDataPilotServiceDlg(); OUString GetServiceName() const; OUString GetParSource() const; diff --git a/sc/source/ui/inc/datafdlg.hxx b/sc/source/ui/inc/datafdlg.hxx index 56b842123e40..cc3e1c2a4521 100644 --- a/sc/source/ui/inc/datafdlg.hxx +++ b/sc/source/ui/inc/datafdlg.hxx @@ -63,7 +63,7 @@ private: public: ScDataFormDlg( Window* pParent, ScTabViewShell* pTabViewShell); - ~ScDataFormDlg(); + virtual ~ScDataFormDlg(); void FillCtrls(SCROW nCurrentRow); private: diff --git a/sc/source/ui/inc/dbnamdlg.hxx b/sc/source/ui/inc/dbnamdlg.hxx index ba51b9e1b98c..85b66f6a1b23 100644 --- a/sc/source/ui/inc/dbnamdlg.hxx +++ b/sc/source/ui/inc/dbnamdlg.hxx @@ -40,7 +40,7 @@ class ScDbNameDlg : public ScAnyRefDlg public: ScDbNameDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScViewData* ptrViewData ); - ~ScDbNameDlg(); + virtual ~ScDbNameDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx index 35805d95bf5b..1833a10117a5 100644 --- a/sc/source/ui/inc/delcodlg.hxx +++ b/sc/source/ui/inc/delcodlg.hxx @@ -50,7 +50,7 @@ private: public: ScDeleteContentsDlg( Window* pParent, sal_uInt16 nCheckDefaults = 0 ); - ~ScDeleteContentsDlg(); + virtual ~ScDeleteContentsDlg(); void DisableObjects(); sal_uInt16 GetDelContentsCmdBits() const; diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 7ab516ade8cc..2941b62ac881 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -178,7 +178,7 @@ public: ScDocShell( const ScDocShell& rDocShell ); ScDocShell( const sal_uInt64 i_nSfxCreationFlags = SFXMODEL_EMBEDDED_OBJECT ); - ~ScDocShell(); + virtual ~ScDocShell(); using SotObject::GetInterface; using SfxShell::Activate; // with sal_Bool bMDI diff --git a/sc/source/ui/inc/drawsh.hxx b/sc/source/ui/inc/drawsh.hxx index 965ea0faee5c..8b9ad3dcf48d 100644 --- a/sc/source/ui/inc/drawsh.hxx +++ b/sc/source/ui/inc/drawsh.hxx @@ -52,7 +52,7 @@ public: SFX_DECL_INTERFACE(SCID_DRAW_SHELL) ScDrawShell(ScViewData* pData); - ~ScDrawShell(); + virtual ~ScDrawShell(); void StateDisableItems( SfxItemSet &rSet ); diff --git a/sc/source/ui/inc/drtxtob.hxx b/sc/source/ui/inc/drtxtob.hxx index b7c7d272b74f..97f916ea0659 100644 --- a/sc/source/ui/inc/drtxtob.hxx +++ b/sc/source/ui/inc/drtxtob.hxx @@ -45,7 +45,7 @@ public: SFX_DECL_INTERFACE(SCID_DRAW_TEXT_SHELL) ScDrawTextObjectBar(ScViewData* pData); - ~ScDrawTextObjectBar(); + virtual ~ScDrawTextObjectBar(); void StateDisableItems( SfxItemSet &rSet ); diff --git a/sc/source/ui/inc/dwfunctr.hxx b/sc/source/ui/inc/dwfunctr.hxx index 6fcbdfb0f043..1dc188768de3 100644 --- a/sc/source/ui/inc/dwfunctr.hxx +++ b/sc/source/ui/inc/dwfunctr.hxx @@ -107,7 +107,7 @@ public: Window* pParent, const ResId& rResId ); - ~ScFunctionDockWin(); + virtual ~ScFunctionDockWin(); using SfxDockingWindow::Notify; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/editsh.hxx b/sc/source/ui/inc/editsh.hxx index f0b3384230d5..154babd12315 100644 --- a/sc/source/ui/inc/editsh.hxx +++ b/sc/source/ui/inc/editsh.hxx @@ -53,7 +53,7 @@ public: SFX_DECL_INTERFACE(SCID_EDIT_SHELL) ScEditShell(EditView* pView, ScViewData* pData); - ~ScEditShell(); + virtual ~ScEditShell(); void SetEditView(EditView* pView); EditView* GetEditView() {return pEditView;} diff --git a/sc/source/ui/inc/filldlg.hxx b/sc/source/ui/inc/filldlg.hxx index 96e080744858..3604f467dff3 100644 --- a/sc/source/ui/inc/filldlg.hxx +++ b/sc/source/ui/inc/filldlg.hxx @@ -45,7 +45,7 @@ public: double fStep, double fMax, sal_uInt16 nPossDir ); - ~ScFillSeriesDlg(); + virtual ~ScFillSeriesDlg(); FillDir GetFillDir() const { return theFillDir; } FillCmd GetFillCmd() const { return theFillCmd; } diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx index 0acb2efc9990..7e1c1f57b4fd 100644 --- a/sc/source/ui/inc/filtdlg.hxx +++ b/sc/source/ui/inc/filtdlg.hxx @@ -57,7 +57,7 @@ class ScFilterDlg : public ScAnyRefDlg public: ScFilterDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, const SfxItemSet& rArgSet ); - ~ScFilterDlg(); + virtual ~ScFilterDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; @@ -165,7 +165,7 @@ class ScSpecialFilterDlg : public ScAnyRefDlg public: ScSpecialFilterDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, const SfxItemSet& rArgSet ); - ~ScSpecialFilterDlg(); + virtual ~ScSpecialFilterDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx index ecc14d2bc7db..8a18ba8fa9a8 100644 --- a/sc/source/ui/inc/formula.hxx +++ b/sc/source/ui/inc/formula.hxx @@ -56,7 +56,7 @@ class ScFormulaDlg : public formula::FormulaDlg, public: ScFormulaDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScViewData* pViewData ,formula::IFunctionManager* _pFunctionMgr); - ~ScFormulaDlg(); + virtual ~ScFormulaDlg(); // IFormulaEditorHelper virtual void notifyChange() SAL_OVERRIDE; diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 4e1091fd88bf..6fa24d70ae20 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -305,7 +305,7 @@ public: enum AutoFilterMode { Normal, Top10, Custom, Empty, NonEmpty, SortAscending, SortDescending }; ScGridWindow( Window* pParent, ScViewData* pData, ScSplitPos eWhichPos ); - ~ScGridWindow(); + virtual ~ScGridWindow(); // #i70788# flush and get overlay rtl::Reference<sdr::overlay::OverlayManager> getOverlayManager(); diff --git a/sc/source/ui/inc/groupdlg.hxx b/sc/source/ui/inc/groupdlg.hxx index beee811022b3..4038b4d9a641 100644 --- a/sc/source/ui/inc/groupdlg.hxx +++ b/sc/source/ui/inc/groupdlg.hxx @@ -31,7 +31,7 @@ class ScGroupDlg : public ModalDialog { public: ScGroupDlg(Window* pParent, bool bUnGroup = false, bool bRows = true); - ~ScGroupDlg(); + virtual ~ScGroupDlg(); bool GetColsChecked() const; diff --git a/sc/source/ui/inc/hdrcont.hxx b/sc/source/ui/inc/hdrcont.hxx index 13d888263088..7f9477423d36 100644 --- a/sc/source/ui/inc/hdrcont.hxx +++ b/sc/source/ui/inc/hdrcont.hxx @@ -103,7 +103,7 @@ protected: public: ScHeaderControl( Window* pParent, SelectionEngine* pSelectionEngine, SCCOLROW nNewSize, bool bNewVertical ); - ~ScHeaderControl(); + virtual ~ScHeaderControl(); void SetIgnoreMove(bool bSet) { bIgnoreMove = bSet; } diff --git a/sc/source/ui/inc/highred.hxx b/sc/source/ui/inc/highred.hxx index beaaf11a0d7f..ea6b85e9c08e 100644 --- a/sc/source/ui/inc/highred.hxx +++ b/sc/source/ui/inc/highred.hxx @@ -84,7 +84,7 @@ public: ScHighlightChgDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScViewData* ptrViewData); - ~ScHighlightChgDlg(); + virtual ~ScHighlightChgDlg(); virtual void SetActive() SAL_OVERRIDE; virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/hintwin.hxx b/sc/source/ui/inc/hintwin.hxx index 08df23fbfbf9..5c0640377ccb 100644 --- a/sc/source/ui/inc/hintwin.hxx +++ b/sc/source/ui/inc/hintwin.hxx @@ -37,7 +37,7 @@ protected: public: ScHintWindow( Window* pParent, const OUString& rTit, const OUString& rMsg ); - ~ScHintWindow(); + virtual ~ScHintWindow(); }; diff --git a/sc/source/ui/inc/inscldlg.hxx b/sc/source/ui/inc/inscldlg.hxx index 7e44c86a5dc9..3e4d2bcc1c93 100644 --- a/sc/source/ui/inc/inscldlg.hxx +++ b/sc/source/ui/inc/inscldlg.hxx @@ -39,7 +39,7 @@ private: public: ScInsertCellDlg( Window* pParent,sal_Bool bDisallowCellMove = false ); - ~ScInsertCellDlg(); + virtual ~ScInsertCellDlg(); InsCellCmd GetInsCellCmd() const; }; diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx index cc508f7ec6b8..fbff56c0eb03 100644 --- a/sc/source/ui/inc/inscodlg.hxx +++ b/sc/source/ui/inc/inscodlg.hxx @@ -34,7 +34,7 @@ public: ScInsertContentsDlg( Window* pParent, sal_uInt16 nCheckDefaults = 0, const OUString* pStrTitle = NULL ); - ~ScInsertContentsDlg(); + virtual ~ScInsertContentsDlg(); sal_uInt16 GetInsContentsCmdBits() const; sal_uInt16 GetFormulaCmdBits() const; diff --git a/sc/source/ui/inc/instbdlg.hxx b/sc/source/ui/inc/instbdlg.hxx index 275882a7375a..17cfedc43a87 100644 --- a/sc/source/ui/inc/instbdlg.hxx +++ b/sc/source/ui/inc/instbdlg.hxx @@ -45,7 +45,7 @@ class ScInsertTableDlg : public ModalDialog { public: ScInsertTableDlg( Window* pParent, ScViewData& rViewData, SCTAB nTabCount, bool bFromFile ); - ~ScInsertTableDlg(); + virtual ~ScInsertTableDlg(); virtual short Execute() SAL_OVERRIDE; // overloaded to set parent dialog diff --git a/sc/source/ui/inc/linkarea.hxx b/sc/source/ui/inc/linkarea.hxx index 57c528c02e55..45f53c41f7e0 100644 --- a/sc/source/ui/inc/linkarea.hxx +++ b/sc/source/ui/inc/linkarea.hxx @@ -65,7 +65,7 @@ private: public: ScLinkedAreaDlg( Window* pParent ); - ~ScLinkedAreaDlg(); + virtual ~ScLinkedAreaDlg(); void InitFromOldLink( const OUString& rFile, const OUString& rFilter, const OUString& rOptions, const OUString& rSource, diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx index 1f0d729c8c8f..8906d0a250e5 100644 --- a/sc/source/ui/inc/mvtabdlg.hxx +++ b/sc/source/ui/inc/mvtabdlg.hxx @@ -34,7 +34,7 @@ class ScMoveTableDlg : public ModalDialog { public: ScMoveTableDlg(Window* pParent, const OUString& rDefault); - ~ScMoveTableDlg(); + virtual ~ScMoveTableDlg(); sal_uInt16 GetSelectedDocument () const; SCTAB GetSelectedTable () const; diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index 9be37331d3ec..736da5b47dee 100644 --- a/sc/source/ui/inc/navipi.hxx +++ b/sc/source/ui/inc/navipi.hxx @@ -101,7 +101,7 @@ class ScScenarioWindow : public Window { public: ScScenarioWindow( Window* pParent, const OUString& aQH_List, const OUString& aQH_Comment); - ~ScScenarioWindow(); + virtual ~ScScenarioWindow(); void NotifyState( const SfxPoolItem* pState ); void SetComment( const OUString& rComment ) @@ -125,7 +125,7 @@ class ColumnEdit : public SpinField { public: ColumnEdit( ScNavigatorDlg* pParent, const ResId& rResId ); - ~ColumnEdit(); + virtual ~ColumnEdit(); SCCOL GetCol() { return nCol; } void SetCol( SCCOL nColNo ); @@ -158,7 +158,7 @@ class RowEdit : public NumericField { public: RowEdit( ScNavigatorDlg* pParent, const ResId& rResId ); - ~RowEdit(); + virtual ~RowEdit(); SCROW GetRow() { return (SCROW)GetValue(); } void SetRow( SCROW nRow ){ SetValue( nRow ); } @@ -181,7 +181,7 @@ class ScDocListBox : public ListBox { public: ScDocListBox( ScNavigatorDlg* pParent, const ResId& rResId ); - ~ScDocListBox(); + virtual ~ScDocListBox(); protected: virtual void Select() SAL_OVERRIDE; @@ -198,7 +198,7 @@ class CommandToolBox : public ToolBox { public: CommandToolBox( ScNavigatorDlg* pParent, const ResId& rResId ); - ~CommandToolBox(); + virtual ~CommandToolBox(); void Select( sal_uInt16 nId ); void UpdateButtons(); @@ -322,7 +322,7 @@ protected: public: ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Window* pParent, const bool bUseStyleSettingsBackground); - ~ScNavigatorDlg(); + virtual ~ScNavigatorDlg(); using Window::Notify; virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/opredlin.hxx b/sc/source/ui/inc/opredlin.hxx index 6fd10b228aa6..7362b9a34699 100644 --- a/sc/source/ui/inc/opredlin.hxx +++ b/sc/source/ui/inc/opredlin.hxx @@ -47,7 +47,7 @@ class ScRedlineOptionsTabPage : public SfxTabPage public: ScRedlineOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~ScRedlineOptionsTabPage(); + virtual ~ScRedlineOptionsTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/sc/source/ui/inc/optsolver.hxx b/sc/source/ui/inc/optsolver.hxx index 03435f32bd18..cb7ba6ee34b6 100644 --- a/sc/source/ui/inc/optsolver.hxx +++ b/sc/source/ui/inc/optsolver.hxx @@ -98,7 +98,7 @@ class ScOptSolverDlg : public ScAnyRefDlg public: ScOptSolverDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScDocShell* pDocSh, ScAddress aCursorPos ); - ~ScOptSolverDlg(); + virtual ~ScOptSolverDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; virtual bool IsRefInputMode() const SAL_OVERRIDE; diff --git a/sc/source/ui/inc/pfiltdlg.hxx b/sc/source/ui/inc/pfiltdlg.hxx index a9731c66ebb4..8d7c701a418a 100644 --- a/sc/source/ui/inc/pfiltdlg.hxx +++ b/sc/source/ui/inc/pfiltdlg.hxx @@ -43,7 +43,7 @@ class ScPivotFilterDlg : public ModalDialog { public: ScPivotFilterDlg(Window* pParent, const SfxItemSet& rArgSet, SCTAB nSourceTab); - ~ScPivotFilterDlg(); + virtual ~ScPivotFilterDlg(); const ScQueryItem& GetOutputItem(); diff --git a/sc/source/ui/inc/pgbrksh.hxx b/sc/source/ui/inc/pgbrksh.hxx index bccfe08e25cf..79ac5e9257e4 100644 --- a/sc/source/ui/inc/pgbrksh.hxx +++ b/sc/source/ui/inc/pgbrksh.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_INTERFACE(SCID_PAGEBREAK_SHELL) ScPageBreakShell( ScTabViewShell* pView ); - ~ScPageBreakShell(); + virtual ~ScPageBreakShell(); }; diff --git a/sc/source/ui/inc/pivotsh.hxx b/sc/source/ui/inc/pivotsh.hxx index 4662611db293..cfc708c50696 100644 --- a/sc/source/ui/inc/pivotsh.hxx +++ b/sc/source/ui/inc/pivotsh.hxx @@ -35,7 +35,7 @@ public: SFX_DECL_INTERFACE(SCID_PIVOT_SHELL) ScPivotShell( ScTabViewShell* pView ); - ~ScPivotShell(); + virtual ~ScPivotShell(); void Execute ( SfxRequest& rReq ); void GetState( SfxItemSet& rSet ); diff --git a/sc/source/ui/inc/preview.hxx b/sc/source/ui/inc/preview.hxx index ae907c83c1c8..00787a050eed 100644 --- a/sc/source/ui/inc/preview.hxx +++ b/sc/source/ui/inc/preview.hxx @@ -118,7 +118,7 @@ protected: public: ScPreview( Window* pParent, ScDocShell* pDocSh, ScPreviewShell* pViewSh ); - ~ScPreview(); + virtual ~ScPreview(); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx index be5ad517c77d..f0e697ae10f0 100644 --- a/sc/source/ui/inc/reffact.hxx +++ b/sc/source/ui/inc/reffact.hxx @@ -158,7 +158,7 @@ class SC_DLLPUBLIC ScValidityRefChildWin : public SfxChildWindow public: ScValidityRefChildWin( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* ); SFX_DECL_CHILDWINDOW_WITHID(ScValidityRefChildWin); - ~ScValidityRefChildWin(); + virtual ~ScValidityRefChildWin(); bool LockVisible( bool bLock ){ bool bVis = m_bVisibleLock; m_bVisibleLock = bLock; return bVis; } bool LockFreeWindow( bool bLock ){ bool bFreeWindow = m_bFreeWindowLock; m_bFreeWindowLock = bLock; return bFreeWindow; } void Hide() SAL_OVERRIDE { if( !m_bVisibleLock) SfxChildWindow::Hide(); } diff --git a/sc/source/ui/inc/scuiasciiopt.hxx b/sc/source/ui/inc/scuiasciiopt.hxx index 33095fa140fa..796348f9d600 100644 --- a/sc/source/ui/inc/scuiasciiopt.hxx +++ b/sc/source/ui/inc/scuiasciiopt.hxx @@ -84,7 +84,7 @@ public: ScImportAsciiDlg( Window* pParent, const OUString& aDatName, SvStream* pInStream, ScImportAsciiCall eCall ); - ~ScImportAsciiDlg(); + virtual ~ScImportAsciiDlg(); void GetOptions( ScAsciiOptions& rOpt ); void SaveParameters(); diff --git a/sc/source/ui/inc/scuiimoptdlg.hxx b/sc/source/ui/inc/scuiimoptdlg.hxx index 721dc0fe80aa..a6c7dbd94d89 100644 --- a/sc/source/ui/inc/scuiimoptdlg.hxx +++ b/sc/source/ui/inc/scuiimoptdlg.hxx @@ -39,7 +39,7 @@ public: bool bOnlyDbtoolsEncodings = false, bool bImport = true ); - ~ScImportOptionsDlg(); + virtual ~ScImportOptionsDlg(); void GetImportOptions( ScImportOptions& rOptions ) const; diff --git a/sc/source/ui/inc/sharedocdlg.hxx b/sc/source/ui/inc/sharedocdlg.hxx index bfc93121df91..35b66bdf3b0b 100644 --- a/sc/source/ui/inc/sharedocdlg.hxx +++ b/sc/source/ui/inc/sharedocdlg.hxx @@ -51,7 +51,7 @@ private: public: ScShareDocumentDlg( Window* pParent, ScViewData* pViewData ); - ~ScShareDocumentDlg(); + virtual ~ScShareDocumentDlg(); bool IsShareDocumentChecked() const; void UpdateView(); diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx index 79e59806614c..6d20fe916f83 100644 --- a/sc/source/ui/inc/simpref.hxx +++ b/sc/source/ui/inc/simpref.hxx @@ -73,7 +73,7 @@ protected: public: ScSimpleRefDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScViewData* ptrViewData ); - ~ScSimpleRefDlg(); + virtual ~ScSimpleRefDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/solveroptions.hxx b/sc/source/ui/inc/solveroptions.hxx index 74925d73e581..39a92d864258 100644 --- a/sc/source/ui/inc/solveroptions.hxx +++ b/sc/source/ui/inc/solveroptions.hxx @@ -62,7 +62,7 @@ public: const com::sun::star::uno::Sequence<OUString>& rDescriptions, const OUString& rEngine, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& rProperties ); - ~ScSolverOptionsDialog(); + virtual ~ScSolverOptionsDialog(); const OUString& GetEngine() const; const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& GetProperties(); diff --git a/sc/source/ui/inc/solvrdlg.hxx b/sc/source/ui/inc/solvrdlg.hxx index 9a12cbd6b73f..69fdfe5f576d 100644 --- a/sc/source/ui/inc/solvrdlg.hxx +++ b/sc/source/ui/inc/solvrdlg.hxx @@ -47,7 +47,7 @@ public: ScSolverDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScDocument* pDocument, ScAddress aCursorPos ); - ~ScSolverDlg(); + virtual ~ScSolverDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; virtual bool IsRefInputMode() const SAL_OVERRIDE; diff --git a/sc/source/ui/inc/tabcont.hxx b/sc/source/ui/inc/tabcont.hxx index 9ea153dabb0c..87cbd2f44fe5 100644 --- a/sc/source/ui/inc/tabcont.hxx +++ b/sc/source/ui/inc/tabcont.hxx @@ -67,7 +67,7 @@ protected: public: ScTabControl( Window* pParent, ScViewData* pData ); - ~ScTabControl(); + virtual ~ScTabControl(); using TabBar::StartDrag; diff --git a/sc/source/ui/inc/tabopdlg.hxx b/sc/source/ui/inc/tabopdlg.hxx index b591f5d303c1..14126effd5ea 100644 --- a/sc/source/ui/inc/tabopdlg.hxx +++ b/sc/source/ui/inc/tabopdlg.hxx @@ -48,7 +48,7 @@ public: ScTabOpDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent, ScDocument* pDocument, const ScRefAddress& rCursorPos ); - ~ScTabOpDlg(); + virtual ~ScTabOpDlg(); virtual void SetReference( const ScRange& rRef, ScDocument* pDoc ) SAL_OVERRIDE; virtual bool IsRefInputMode() const SAL_OVERRIDE { return true; } diff --git a/sc/source/ui/inc/tabsplit.hxx b/sc/source/ui/inc/tabsplit.hxx index d12b822ef8ab..045dfa2bb43e 100644 --- a/sc/source/ui/inc/tabsplit.hxx +++ b/sc/source/ui/inc/tabsplit.hxx @@ -40,7 +40,7 @@ protected: public: ScTabSplitter( Window* pParent, WinBits nWinStyle, ScViewData* pData ); - ~ScTabSplitter(); + virtual ~ScTabSplitter(); void SetFixed(bool bSet); virtual void Paint( const Rectangle& rPaintRect ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index 5b814a32cbdf..b4fb5b350564 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.hxx @@ -75,7 +75,7 @@ protected: virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; public: ScCornerButton( Window* pParent, ScViewData* pData, bool bAdditional ); - ~ScCornerButton(); + virtual ~ScCornerButton(); virtual void StateChanged( StateChangedType nType ) SAL_OVERRIDE; virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/tbinsert.hxx b/sc/source/ui/inc/tbinsert.hxx index b90508a8932b..c1826098303c 100644 --- a/sc/source/ui/inc/tbinsert.hxx +++ b/sc/source/ui/inc/tbinsert.hxx @@ -33,7 +33,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); ScTbxInsertCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rBox ); - ~ScTbxInsertCtrl(); + virtual ~ScTbxInsertCtrl(); virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; diff --git a/sc/source/ui/inc/tbzoomsliderctrl.hxx b/sc/source/ui/inc/tbzoomsliderctrl.hxx index 36f8806d18f2..9b03f3973efa 100644 --- a/sc/source/ui/inc/tbzoomsliderctrl.hxx +++ b/sc/source/ui/inc/tbzoomsliderctrl.hxx @@ -32,7 +32,7 @@ class ScZoomSliderControl: public SfxToolBoxControl public: SFX_DECL_TOOLBOX_CONTROL(); ScZoomSliderControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~ScZoomSliderControl(); + virtual ~ScZoomSliderControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual Window* CreateItemWindow( Window *pParent ) SAL_OVERRIDE; @@ -54,7 +54,7 @@ private: public: ScZoomSliderWnd( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& rDispatchProvider, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame , sal_uInt16 nCurrentZoom ); - ~ScZoomSliderWnd(); + virtual ~ScZoomSliderWnd(); void UpdateFromItem( const SvxZoomSliderItem* pZoomSliderItem ); protected: diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx index ef92df213d7f..135b1c3254f5 100644 --- a/sc/source/ui/inc/tpcalc.hxx +++ b/sc/source/ui/inc/tpcalc.hxx @@ -45,7 +45,7 @@ public: private: ScTpCalcOptions( Window* pParent, const SfxItemSet& rCoreSet ); - ~ScTpCalcOptions(); + virtual ~ScTpCalcOptions(); private: CheckBox* m_pBtnIterate; diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx index c055d29cb4ac..51ee0e72ad05 100644 --- a/sc/source/ui/inc/tphfedit.hxx +++ b/sc/source/ui/inc/tphfedit.hxx @@ -56,7 +56,7 @@ class SC_DLLPUBLIC ScEditWindow : public Control { public: ScEditWindow( Window* pParent, WinBits nBits , ScEditWindowLocation eLoc ); - ~ScEditWindow(); + virtual ~ScEditWindow(); using Control::SetFont; void SetFont( const ScPatternAttr& rPattern ); diff --git a/sc/source/ui/inc/tpprint.hxx b/sc/source/ui/inc/tpprint.hxx index 1a1f8f67ea9b..9d9f3bfb1624 100644 --- a/sc/source/ui/inc/tpprint.hxx +++ b/sc/source/ui/inc/tpprint.hxx @@ -32,7 +32,7 @@ class ScTpPrintOptions : public SfxTabPage CheckBox* m_pForceBreaksCB; ScTpPrintOptions( Window* pParent, const SfxItemSet& rCoreSet ); - ~ScTpPrintOptions(); + virtual ~ScTpPrintOptions(); public: static SfxTabPage* Create( Window* pParent, const SfxItemSet& rCoreSet ); diff --git a/sc/source/ui/inc/tpstat.hxx b/sc/source/ui/inc/tpstat.hxx index 45eab5f19816..452237d2a010 100644 --- a/sc/source/ui/inc/tpstat.hxx +++ b/sc/source/ui/inc/tpstat.hxx @@ -36,7 +36,7 @@ public: private: ScDocStatPage( Window *pParent, const SfxItemSet& rSet ); - ~ScDocStatPage(); + virtual ~ScDocStatPage(); protected: virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE; diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx index 0113cbad7ec9..4b9b20c4366d 100644 --- a/sc/source/ui/inc/tpusrlst.hxx +++ b/sc/source/ui/inc/tpusrlst.hxx @@ -45,7 +45,7 @@ public: private: ScTpUserLists( Window* pParent, const SfxItemSet& rArgSet ); - ~ScTpUserLists(); + virtual ~ScTpUserLists(); private: FixedText* mpFtLists; diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx index 23e58d3c4b6a..0861c17e18e4 100644 --- a/sc/source/ui/inc/tpview.hxx +++ b/sc/source/ui/inc/tpview.hxx @@ -70,7 +70,7 @@ class ScTpContentOptions : public SfxTabPage ScTpContentOptions( Window* pParent, const SfxItemSet& rArgSet ); - ~ScTpContentOptions(); + virtual ~ScTpContentOptions(); public: static SfxTabPage* Create ( Window* pParent, @@ -120,7 +120,7 @@ class ScTpLayoutOptions : public SfxTabPage ScTpLayoutOptions( Window* pParent, const SfxItemSet& rArgSet ); - ~ScTpLayoutOptions(); + virtual ~ScTpLayoutOptions(); public: static SfxTabPage* Create ( Window* pParent, diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx index 8db73da30261..6124de524fa4 100644 --- a/sc/source/ui/inc/uiitems.hxx +++ b/sc/source/ui/inc/uiitems.hxx @@ -63,7 +63,7 @@ public: const OUString& rString, const EditTextObject* pData ); ScInputStatusItem( const ScInputStatusItem& rItem ); - ~ScInputStatusItem(); + virtual ~ScInputStatusItem(); virtual OUString GetValueText() const; @@ -106,7 +106,7 @@ class ScTablesHint : public SfxHint public: TYPEINFO_OVERRIDE(); ScTablesHint(sal_uInt16 nNewId, SCTAB nTable1, SCTAB nTable2=0); - ~ScTablesHint(); + virtual ~ScTablesHint(); sal_uInt16 GetId() const { return nId; } SCTAB GetTab1() const { return nTab1; } @@ -121,7 +121,7 @@ class ScEditViewHint : public SfxHint public: TYPEINFO_OVERRIDE(); ScEditViewHint( ScEditEngineDefaulter* pEngine, const ScAddress& rCurPos ); - ~ScEditViewHint(); + virtual ~ScEditViewHint(); SCCOL GetCol() const { return aCursorPos.Col(); } SCROW GetRow() const { return aCursorPos.Row(); } @@ -140,7 +140,7 @@ class ScIndexHint : public SfxHint public: TYPEINFO_OVERRIDE(); ScIndexHint(sal_uInt16 nNewId, sal_uInt16 nIdx); - ~ScIndexHint(); + virtual ~ScIndexHint(); sal_uInt16 GetId() const { return nId; } sal_uInt16 GetIndex() const { return nIndex; } @@ -159,7 +159,7 @@ public: ScSortItem( sal_uInt16 nWhich, const ScSortParam* pSortData ); ScSortItem( const ScSortItem& rItem ); - ~ScSortItem(); + virtual ~ScSortItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -186,7 +186,7 @@ public: ScQueryItem( sal_uInt16 nWhich, const ScQueryParam* pQueryData ); ScQueryItem( const ScQueryItem& rItem ); - ~ScQueryItem(); + virtual ~ScQueryItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -217,7 +217,7 @@ public: ScSubTotalItem( sal_uInt16 nWhich, const ScSubTotalParam* pSubTotalData ); ScSubTotalItem( const ScSubTotalItem& rItem ); - ~ScSubTotalItem(); + virtual ~ScSubTotalItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -240,7 +240,7 @@ public: TYPEINFO_OVERRIDE(); ScUserListItem( sal_uInt16 nWhich ); ScUserListItem( const ScUserListItem& rItem ); - ~ScUserListItem(); + virtual ~ScUserListItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -262,7 +262,7 @@ public: ScConsolidateItem( sal_uInt16 nWhich, const ScConsolidateParam* pParam ); ScConsolidateItem( const ScConsolidateItem& rItem ); - ~ScConsolidateItem(); + virtual ~ScConsolidateItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -283,7 +283,7 @@ public: ScPivotItem( sal_uInt16 nWhich, const ScDPSaveData* pData, const ScRange* pRange, bool bNew ); ScPivotItem( const ScPivotItem& rItem ); - ~ScPivotItem(); + virtual ~ScPivotItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -308,7 +308,7 @@ public: ScSolveItem( sal_uInt16 nWhich, const ScSolveParam* pParam ); ScSolveItem( const ScSolveItem& rItem ); - ~ScSolveItem(); + virtual ~ScSolveItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; @@ -329,7 +329,7 @@ public: ScTabOpItem( sal_uInt16 nWhich, const ScTabOpParam* pParam ); ScTabOpItem( const ScTabOpItem& rItem ); - ~ScTabOpItem(); + virtual ~ScTabOpItem(); virtual OUString GetValueText() const; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx index 32399983a8cb..e7f8e52da356 100644 --- a/sc/source/ui/inc/validate.hxx +++ b/sc/source/ui/inc/validate.hxx @@ -275,7 +275,7 @@ private: public: ScTPValidationHelp( Window* pParent, const SfxItemSet& rArgSet ); - ~ScTPValidationHelp(); + virtual ~ScTPValidationHelp(); static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet ); static sal_uInt16* GetRanges (); @@ -303,7 +303,7 @@ private: public: ScTPValidationError( Window* pParent, const SfxItemSet& rArgSet ); - ~ScTPValidationError(); + virtual ~ScTPValidationError(); static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet ); static sal_uInt16* GetRanges (); diff --git a/sc/source/ui/unoobj/celllistsource.hxx b/sc/source/ui/unoobj/celllistsource.hxx index 2ad51cab9a3e..a138f6bbcdde 100644 --- a/sc/source/ui/unoobj/celllistsource.hxx +++ b/sc/source/ui/unoobj/celllistsource.hxx @@ -78,7 +78,7 @@ namespace calc using OCellListSource_PBase::getFastPropertyValue; protected: - ~OCellListSource( ); + virtual ~OCellListSource( ); protected: // XInterface diff --git a/sc/source/ui/unoobj/cellvaluebinding.hxx b/sc/source/ui/unoobj/cellvaluebinding.hxx index 9d2a0649b12f..805f24a07f22 100644 --- a/sc/source/ui/unoobj/cellvaluebinding.hxx +++ b/sc/source/ui/unoobj/cellvaluebinding.hxx @@ -84,7 +84,7 @@ namespace calc using OCellValueBinding_PBase::getFastPropertyValue; protected: - ~OCellValueBinding( ); + virtual ~OCellValueBinding( ); protected: // XInterface diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx index 1d759b7cb3c6..a84e8b885c13 100644 --- a/sc/source/ui/unoobj/fielduno.cxx +++ b/sc/source/ui/unoobj/fielduno.cxx @@ -178,7 +178,7 @@ class ScUnoEditEngine : public ScEditEngineDefaulter public: ScUnoEditEngine(ScEditEngineDefaulter* pSource); - ~ScUnoEditEngine(); + virtual ~ScUnoEditEngine(); virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, Color*& rTxtColor, Color*& rFldColor ) SAL_OVERRIDE; diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 2c279610f8e5..5e5a4292102b 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -220,7 +220,7 @@ protected: public: ScFilterListBox( Window* pParent, ScGridWindow* pGrid, SCCOL nNewCol, SCROW nNewRow, ScFilterBoxMode eNewMode ); - ~ScFilterListBox(); + virtual ~ScFilterListBox(); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual void Select() SAL_OVERRIDE; diff --git a/scripting/source/provider/ActiveMSPList.hxx b/scripting/source/provider/ActiveMSPList.hxx index ed4e1445a6d7..6b8d7d7618ac 100644 --- a/scripting/source/provider/ActiveMSPList.hxx +++ b/scripting/source/provider/ActiveMSPList.hxx @@ -60,7 +60,7 @@ public: ActiveMSPList( const css::uno::Reference< css::uno::XComponentContext > & xContext ); - ~ActiveMSPList(); + virtual ~ActiveMSPList(); css::uno::Reference< css::script::provider::XScriptProvider > getMSPFromStringContext( const OUString& context ) diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx index b2df40e2426c..8c938e418da5 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx @@ -65,7 +65,7 @@ public: m_Nodes[ 0 ] = node; } - ~BrowseNodeAggregator() + virtual ~BrowseNodeAggregator() { } @@ -190,7 +190,7 @@ public: m_origNode.set( node ); } - ~LocationBrowseNode() + virtual ~LocationBrowseNode() { if (m_hBNA) { @@ -420,7 +420,7 @@ public: } } - ~DefaultBrowseNode() + virtual ~DefaultBrowseNode() { if ( m_xAggProxy.is() ) { @@ -552,7 +552,7 @@ public: m_Name = "Root"; } - ~DefaultRootBrowseNode() + virtual ~DefaultRootBrowseNode() { } @@ -610,7 +610,7 @@ public: { } - ~SelectorBrowseNode() + virtual ~SelectorBrowseNode() { } diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx index 3b8bacdcb13e..29534633d604 100644 --- a/scripting/source/provider/MasterScriptProvider.hxx +++ b/scripting/source/provider/MasterScriptProvider.hxx @@ -52,7 +52,7 @@ public: MasterScriptProvider( const css::uno::Reference< css::uno::XComponentContext > & xContext ) throw( css::uno::RuntimeException ); - ~MasterScriptProvider(); + virtual ~MasterScriptProvider(); // XServiceInfo implementation virtual OUString SAL_CALL getImplementationName( ) diff --git a/scripting/source/provider/URIHelper.hxx b/scripting/source/provider/URIHelper.hxx index c9d120e56cdb..702595175282 100644 --- a/scripting/source/provider/URIHelper.hxx +++ b/scripting/source/provider/URIHelper.hxx @@ -61,7 +61,7 @@ public: const css::uno::Reference< css::uno::XComponentContext >& xContext ) throw( css::uno::RuntimeException ); - ~ScriptingFrameworkURIHelper(); + virtual ~ScriptingFrameworkURIHelper(); virtual void SAL_CALL initialize( const css::uno::Sequence < css::uno::Any > & args ) diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx index fd7d5c69afc2..324d3a0647cc 100644 --- a/sd/inc/CustomAnimationEffect.hxx +++ b/sd/inc/CustomAnimationEffect.hxx @@ -390,7 +390,7 @@ class MainSequence : public EffectSequenceHelper, public ISequenceListener public: MainSequence(); MainSequence( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xTimingRootNode ); - ~MainSequence(); + virtual ~MainSequence(); virtual ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > getRootNode() SAL_OVERRIDE; void reset( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xTimingRootNode ); diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index f6311628a69b..038ad6d83480 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -211,7 +211,7 @@ public: TYPEINFO_OVERRIDE(); SdDrawDocument(DocumentType eType, SfxObjectShell* pDocSh); - ~SdDrawDocument(); + virtual ~SdDrawDocument(); virtual SdrModel* AllocModel() const SAL_OVERRIDE; virtual SdrPage* AllocPage(bool bMasterPage) SAL_OVERRIDE; diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index 313d8c7c9abf..80d40737c1ec 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -158,7 +158,7 @@ public: SdPage(SdDrawDocument& rNewDoc, sal_Bool bMasterPage=sal_False); SdPage(const SdPage& rSrcPage); - ~SdPage(); + virtual ~SdPage(); virtual SdrPage* Clone() const SAL_OVERRIDE; virtual SdrPage* Clone(SdrModel* pNewModel) const SAL_OVERRIDE; diff --git a/sd/qa/unit/uimpress.cxx b/sd/qa/unit/uimpress.cxx index 067adec2eebb..d5f7cb1b1552 100644 --- a/sd/qa/unit/uimpress.cxx +++ b/sd/qa/unit/uimpress.cxx @@ -30,7 +30,7 @@ namespace { class Test : public CppUnit::TestFixture { public: Test(); - ~Test(); + virtual ~Test(); virtual void setUp() SAL_OVERRIDE; virtual void tearDown() SAL_OVERRIDE; diff --git a/sd/source/core/text/textapi.cxx b/sd/source/core/text/textapi.cxx index 9ed4f6731511..238172b49f73 100644 --- a/sd/source/core/text/textapi.cxx +++ b/sd/source/core/text/textapi.cxx @@ -42,7 +42,7 @@ class UndoTextAPIChanged : public SdrUndoAction { public: UndoTextAPIChanged( SdrModel& rModel, TextApiObject* pTextObj ); - ~UndoTextAPIChanged(); + virtual ~UndoTextAPIChanged(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx index 1b8023faf5b8..dc9f1d10f89e 100644 --- a/sd/source/filter/eppt/eppt.hxx +++ b/sd/source/filter/eppt/eppt.hxx @@ -277,7 +277,7 @@ class PPTWriter : public PPTWriterBase, public PPTExBulletProvider ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > & rStatInd, SvMemoryStream* pVBA, sal_uInt32 nCnvrtFlags ); - ~PPTWriter(); + virtual ~PPTWriter(); sal_Bool IsValid() const { return mbStatus; }; diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index 519db4d21681..6f47adf1e43f 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -67,7 +67,7 @@ public: PowerPointExport( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & rxCtxt ); - ~PowerPointExport(); + virtual ~PowerPointExport(); // from FilterBase virtual bool importDocument() throw() SAL_OVERRIDE; diff --git a/sd/source/filter/eppt/escherex.hxx b/sd/source/filter/eppt/escherex.hxx index 9ef08c3f55b4..c3fd22a57d31 100644 --- a/sd/source/filter/eppt/escherex.hxx +++ b/sd/source/filter/eppt/escherex.hxx @@ -49,7 +49,7 @@ class PptEscherEx : public EscherEx public: PptEscherEx( SvStream& rOut, const OUString& ); - ~PptEscherEx(); + virtual ~PptEscherEx(); void OpenContainer( sal_uInt16 n_EscherContainer, int nRecInstance = 0 ) SAL_OVERRIDE; void CloseContainer() SAL_OVERRIDE; diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx index bffc54efd364..e23b97c0d52f 100644 --- a/sd/source/filter/grf/sdgrffilter.cxx +++ b/sd/source/filter/grf/sdgrffilter.cxx @@ -103,7 +103,7 @@ class SdGRFFilter_ImplInteractionHdl : public ::cppu::WeakImplHelper1< com::sun: nFilterError( GRFILTER_OK ) {} - ~SdGRFFilter_ImplInteractionHdl(); + virtual ~SdGRFFilter_ImplInteractionHdl(); sal_uInt16 GetErrorCode() const { return nFilterError; }; diff --git a/sd/source/filter/html/HtmlOptionsDialog.cxx b/sd/source/filter/html/HtmlOptionsDialog.cxx index 5d3d4431f714..af23e387da16 100644 --- a/sd/source/filter/html/HtmlOptionsDialog.cxx +++ b/sd/source/filter/html/HtmlOptionsDialog.cxx @@ -61,7 +61,7 @@ class SdHtmlOptionsDialog : public cppu::WeakImplHelper5 public: SdHtmlOptionsDialog(); - ~SdHtmlOptionsDialog(); + virtual ~SdHtmlOptionsDialog(); // XInterface virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; diff --git a/sd/source/filter/html/htmlattr.hxx b/sd/source/filter/html/htmlattr.hxx index 5274632da254..868175594934 100644 --- a/sd/source/filter/html/htmlattr.hxx +++ b/sd/source/filter/html/htmlattr.hxx @@ -32,7 +32,7 @@ protected: public: SdHtmlAttrPreview( Window* pParent, const ResId& rResId ); - ~SdHtmlAttrPreview(); + virtual ~SdHtmlAttrPreview(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx index 1912e007bae8..56f9e153dec4 100644 --- a/sd/source/filter/html/htmlex.hxx +++ b/sd/source/filter/html/htmlex.hxx @@ -68,7 +68,7 @@ private: public: HtmlErrorContext(Window *pWin=0); - ~HtmlErrorContext() {}; + virtual ~HtmlErrorContext() {}; virtual bool GetString( sal_uLong nErrId, OUString& rCtxStr ) SAL_OVERRIDE; diff --git a/sd/source/filter/ppt/pptin.hxx b/sd/source/filter/ppt/pptin.hxx index 003699ee6878..2de8fd608ccf 100644 --- a/sd/source/filter/ppt/pptin.hxx +++ b/sd/source/filter/ppt/pptin.hxx @@ -75,7 +75,7 @@ public: OUString ReadMedia( sal_uInt32 nMediaRef ) const; ImplSdPPTImport( SdDrawDocument* pDoc, SvStorage& rStorage, SfxMedium& rMed, PowerPointImportParam& ); - ~ImplSdPPTImport(); + virtual ~ImplSdPPTImport(); sal_Bool Import(); virtual bool ReadFormControl( SotStorageRef& rSrc1, com::sun::star::uno::Reference< com::sun::star::form::XFormComponent > & rFormComp ) const SAL_OVERRIDE; diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx index 96b3a99e5fa1..f36129680a17 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx @@ -71,7 +71,7 @@ public: AccessibleSlideSorterView& rAccessibleSlideSorter, ::sd::slidesorter::SlideSorter& rSlideSorter, ::Window* pWindow); - ~Implementation (void); + virtual ~Implementation (void); void RequestUpdateChildren (void); void Clear (void); diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx index 8d7fae1ba8a3..c56f938e67c4 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx @@ -73,7 +73,7 @@ class CategoryListBox : public ListBox { public: CategoryListBox( Window* pParent ); - ~CategoryListBox(); + virtual ~CategoryListBox(); virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -176,7 +176,7 @@ class CustomAnimationCreateTabPage : public TabPage { public: CustomAnimationCreateTabPage( Window* pParent, CustomAnimationCreateDialog* pDialogParent, sal_uInt16 nTabId, const PresetCategoryList& rCategoryList, bool bHasText ); - ~CustomAnimationCreateTabPage(); + virtual ~CustomAnimationCreateTabPage(); PathKind getCreatePathKind() const; CustomAnimationPresetPtr getSelectedPreset() const; diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx index dcd4cf36830b..1c50534b8956 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx @@ -42,7 +42,7 @@ class CustomAnimationCreateDialog : public TabDialog friend class CustomAnimationCreateTabPage; public: CustomAnimationCreateDialog( ::Window* pParent, CustomAnimationPane* pPane, const std::vector< ::com::sun::star::uno::Any >& rTargets, bool bHasText, const OUString& rsPresetId, double fDuration ); - ~CustomAnimationCreateDialog(); + virtual ~CustomAnimationCreateDialog(); PathKind getCreatePathKind() const; CustomAnimationPresetPtr getSelectedPreset() const; diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index ee2d80daf125..e7ae612a2678 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -105,7 +105,7 @@ class PresetPropertyBox : public PropertySubControl { public: PresetPropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const OUString& aPresetId, const Link& rModifyHdl ); - ~PresetPropertyBox(); + virtual ~PresetPropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& rPresetId ) SAL_OVERRIDE; @@ -192,7 +192,7 @@ class ColorPropertyBox : public PropertySubControl { public: ColorPropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~ColorPropertyBox(); + virtual ~ColorPropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& rPresetId ) SAL_OVERRIDE; @@ -361,7 +361,7 @@ class DropdownMenuBox : public Edit { public: DropdownMenuBox( Window* pParent, Edit* pSubControl, PopupMenu* pMenu ); - ~DropdownMenuBox(); + virtual ~DropdownMenuBox(); void Resize() SAL_OVERRIDE; bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -536,7 +536,7 @@ class TransparencyPropertyBox : public PropertySubControl { public: TransparencyPropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~TransparencyPropertyBox(); + virtual ~TransparencyPropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& rPresetId ) SAL_OVERRIDE; @@ -658,7 +658,7 @@ class RotationPropertyBox : public PropertySubControl { public: RotationPropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~RotationPropertyBox(); + virtual ~RotationPropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& ) SAL_OVERRIDE; @@ -799,7 +799,7 @@ class ScalePropertyBox : public PropertySubControl { public: ScalePropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~ScalePropertyBox(); + virtual ~ScalePropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& ) SAL_OVERRIDE; @@ -978,7 +978,7 @@ class FontStylePropertyBox : public PropertySubControl { public: FontStylePropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~FontStylePropertyBox(); + virtual ~FontStylePropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& ) SAL_OVERRIDE; @@ -1115,7 +1115,7 @@ class CustomAnimationEffectTabPage : public TabPage { public: CustomAnimationEffectTabPage( Window* pParent, const STLPropertySet* pSet ); - ~CustomAnimationEffectTabPage(); + virtual ~CustomAnimationEffectTabPage(); void update( STLPropertySet* pSet ); DECL_LINK( implSelectHdl, Control* ); @@ -1697,7 +1697,7 @@ class CustomAnimationDurationTabPage : public TabPage { public: CustomAnimationDurationTabPage( Window* pParent, const STLPropertySet* pSet ); - ~CustomAnimationDurationTabPage(); + virtual ~CustomAnimationDurationTabPage(); void update( STLPropertySet* pSet ); diff --git a/sd/source/ui/animations/CustomAnimationDialog.hxx b/sd/source/ui/animations/CustomAnimationDialog.hxx index bb052421ca48..75ff871799bc 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.hxx +++ b/sd/source/ui/animations/CustomAnimationDialog.hxx @@ -129,7 +129,7 @@ class PropertyControl : public ListBox { public: PropertyControl( Window* pParent ); - ~PropertyControl(); + virtual ~PropertyControl(); void setSubControl( PropertySubControl* pSubControl ); PropertySubControl* getSubControl() const { return mpSubControl; } @@ -151,7 +151,7 @@ class CustomAnimationDialog : public TabDialog { public: CustomAnimationDialog(Window* pParent, STLPropertySet* pSet, const OString& Page = OString()); - ~CustomAnimationDialog(); + virtual ~CustomAnimationDialog(); STLPropertySet* getDefaultSet() { return mpSet; } STLPropertySet* getResultSet(); diff --git a/sd/source/ui/annotations/annotationwindow.hxx b/sd/source/ui/annotations/annotationwindow.hxx index 5e74d9fd0df1..e53488ee685e 100644 --- a/sd/source/ui/annotations/annotationwindow.hxx +++ b/sd/source/ui/annotations/annotationwindow.hxx @@ -62,7 +62,7 @@ protected: public: AnnotationTextWindow( AnnotationWindow* pParent, WinBits nBits ); - ~AnnotationTextWindow(); + virtual ~AnnotationTextWindow(); void SetOutlinerView( OutlinerView* pOutlinerView ) { mpOutlinerView = pOutlinerView; } diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.hxx b/sd/source/ui/dlg/PhotoAlbumDialog.hxx index 4026b97d422a..f0add4d9e77a 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.hxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.hxx @@ -45,7 +45,7 @@ class SdPhotoAlbumDialog : public ModalDialog { public: SdPhotoAlbumDialog(Window* pWindow, SdDrawDocument* pActDoc); - ~SdPhotoAlbumDialog(); + virtual ~SdPhotoAlbumDialog(); virtual short Execute() SAL_OVERRIDE; diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.hxx b/sd/source/ui/dlg/RemoteDialogClientBox.hxx index 966af2ada373..7b2ac25ed533 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.hxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.hxx @@ -73,7 +73,7 @@ class ClientRemovedListener : public ::cppu::WeakImplHelper1< ::com::sun::star:: public: ClientRemovedListener( ClientBox *pParent ) { m_pParent = pParent; } - ~ClientRemovedListener(); + virtual ~ClientRemovedListener(); // XEventListener @@ -135,7 +135,7 @@ class ClientBox: public: ClientBox( Window* pParent, WinBits nStyle ); - ~ClientBox(); + virtual ~ClientBox(); void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; void Paint( const Rectangle &rPaintRect ) SAL_OVERRIDE; diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index 79d4879654b6..59eab0c9242f 100644 --- a/sd/source/ui/dlg/dlgass.cxx +++ b/sd/source/ui/dlg/dlgass.cxx @@ -138,7 +138,7 @@ class AssistentDlgImpl : public SfxListener { public: AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, sal_Bool bAutoPilot ); - ~AssistentDlgImpl(); + virtual ~AssistentDlgImpl(); /// Local mutex used to serialize concurrent method calls. ::osl::Mutex maMutex; diff --git a/sd/source/ui/dlg/dlgassim.hxx b/sd/source/ui/dlg/dlgassim.hxx index babe18892d07..2b8ab976cb92 100644 --- a/sd/source/ui/dlg/dlgassim.hxx +++ b/sd/source/ui/dlg/dlgassim.hxx @@ -33,7 +33,7 @@ private: public: SdPageListControl( Window* pParent, const ResId& rResId ); - ~SdPageListControl(); + virtual ~SdPageListControl(); void Fill( SdDrawDocument* pDoc ); void Clear(); diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx index 00564e61c3ea..5060e07679d3 100644 --- a/sd/source/ui/dlg/filedlg.cxx +++ b/sd/source/ui/dlg/filedlg.cxx @@ -68,7 +68,7 @@ private: public: SdFileDialog_Imp( const short nDialogType, sal_Bool bUsableSelection ); - ~SdFileDialog_Imp(); + virtual ~SdFileDialog_Imp(); ErrCode Execute(); diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx index 7177a77ad05d..e7dd0cd553f9 100644 --- a/sd/source/ui/dlg/headerfooterdlg.cxx +++ b/sd/source/ui/dlg/headerfooterdlg.cxx @@ -76,7 +76,7 @@ private: public: PresLayoutPreview( ::Window* pParent ); - ~PresLayoutPreview(); + virtual ~PresLayoutPreview(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual Size GetOptimalSize() const SAL_OVERRIDE; @@ -160,7 +160,7 @@ private: public: HeaderFooterTabPage( HeaderFooterDialog* pDialog, ::Window* pParent, SdDrawDocument* pDoc, SdPage* pActualPage, bool bHandoutMode ); - ~HeaderFooterTabPage(); + virtual ~HeaderFooterTabPage(); static SfxTabPage* Create( ::Window*, const SfxItemSet& ); static sal_uInt16* GetRanges(); diff --git a/sd/source/ui/dlg/paragr.cxx b/sd/source/ui/dlg/paragr.cxx index 4f8fe915a367..7338955b0350 100644 --- a/sd/source/ui/dlg/paragr.cxx +++ b/sd/source/ui/dlg/paragr.cxx @@ -38,7 +38,7 @@ class SdParagraphNumTabPage : public SfxTabPage { public: SdParagraphNumTabPage(Window* pParent, const SfxItemSet& rSet ); - ~SdParagraphNumTabPage(); + virtual ~SdParagraphNumTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); static sal_uInt16* GetRanges(); diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index 6cb7dd0d27fb..2fde69849f67 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -313,7 +313,7 @@ class FrameworkHelper::DisposeListener { public: DisposeListener (const ::boost::shared_ptr<FrameworkHelper>& rpHelper); - ~DisposeListener (void); + virtual ~DisposeListener (void); virtual void SAL_CALL disposing (void) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx index 6e719a6b358c..ca57b9f4a065 100644 --- a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx +++ b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx @@ -69,7 +69,7 @@ public: ::com::sun::star::accessibility::XAccessible >& rxParent, ::sd::slidesorter::SlideSorter& rSlideSorter, sal_uInt16 nPageNumber); - ~AccessibleSlideSorterObject (void); + virtual ~AccessibleSlideSorterObject (void); /** Return the page that is made accessible by the called object. */ diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index 2a9ed09f2d66..57446826edf5 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -59,7 +59,7 @@ public: OutlineView (DrawDocShell& rDocSh, ::Window* pWindow, OutlineViewShell& rOutlineViewSh); - ~OutlineView (void); + virtual ~OutlineView (void); /** This method is called by the view shell that owns the view to tell the view that it can safely connect to the application. diff --git a/sd/source/ui/inc/PreviewRenderer.hxx b/sd/source/ui/inc/PreviewRenderer.hxx index 9120fd075612..2f2755bf274b 100644 --- a/sd/source/ui/inc/PreviewRenderer.hxx +++ b/sd/source/ui/inc/PreviewRenderer.hxx @@ -53,7 +53,7 @@ public: OutputDevice* pTemplate = NULL, const bool bPaintFrame = true); - ~PreviewRenderer (void); + virtual ~PreviewRenderer (void); /** Render a page with the given pixel size. Use this version when only the width of the preview is known to the diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx index 8cf1ad428611..f330fcefcfeb 100644 --- a/sd/source/ui/inc/RemoteServer.hxx +++ b/sd/source/ui/inc/RemoteServer.hxx @@ -77,7 +77,7 @@ namespace sd static void removeCommunicator( Communicator* pCommunicator ); private: RemoteServer(); - ~RemoteServer(); + virtual ~RemoteServer(); static RemoteServer *spServer; static ::osl::Mutex sDataMutex; static ::std::vector<Communicator*> sCommunicators; diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx index 9b9ecae46d3d..359b85535f76 100644 --- a/sd/source/ui/inc/animobjs.hxx +++ b/sd/source/ui/inc/animobjs.hxx @@ -70,7 +70,7 @@ private: public: SdDisplay( ::Window* pWin, SdResId Id ); - ~SdDisplay(); + virtual ~SdDisplay(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/copydlg.hxx b/sd/source/ui/inc/copydlg.hxx index f1c929c48a5d..fb9d5fe61783 100644 --- a/sd/source/ui/inc/copydlg.hxx +++ b/sd/source/ui/inc/copydlg.hxx @@ -40,7 +40,7 @@ class CopyDlg public: CopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, const XColorListRef &pColList, ::sd::View* pView ); - ~CopyDlg(); + virtual ~CopyDlg(); void GetAttr( SfxItemSet& rOutAttrs ); void Reset(); diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx index 4f70008ead40..aec20d3ade36 100644 --- a/sd/source/ui/inc/custsdlg.hxx +++ b/sd/source/ui/inc/custsdlg.hxx @@ -59,7 +59,7 @@ private: public: SdCustomShowDlg( Window* pWindow, SdDrawDocument& rDrawDoc ); - ~SdCustomShowDlg(); + virtual ~SdCustomShowDlg(); sal_Bool IsModified() const { return( bModified ); } sal_Bool IsCustomShow() const; @@ -95,7 +95,7 @@ public: SdDefineCustomShowDlg( Window* pWindow, SdDrawDocument& rDrawDoc, SdCustomShow*& rpCS ); - ~SdDefineCustomShowDlg(); + virtual ~SdDefineCustomShowDlg(); sal_Bool IsModified() const { return( bModified ); } }; diff --git a/sd/source/ui/inc/diactrl.hxx b/sd/source/ui/inc/diactrl.hxx index e058a19ebdf8..f4b83e6b7fa4 100644 --- a/sd/source/ui/inc/diactrl.hxx +++ b/sd/source/ui/inc/diactrl.hxx @@ -44,7 +44,7 @@ public: SdPagesField( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, WinBits nBits = WB_BORDER | WB_SPIN | WB_REPEAT ); - ~SdPagesField(); + virtual ~SdPagesField(); void UpdatePagesField( const SfxUInt16Item* pItem ); }; @@ -63,7 +63,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SdTbxCtlDiaPages( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SdTbxCtlDiaPages(); + virtual ~SdTbxCtlDiaPages(); }; #endif // INCLUDED_SD_SOURCE_UI_INC_DIACTRL_HXX diff --git a/sd/source/ui/inc/dlg_char.hxx b/sd/source/ui/inc/dlg_char.hxx index 59ac70389b0c..a6d0eb8ab68b 100644 --- a/sd/source/ui/inc/dlg_char.hxx +++ b/sd/source/ui/inc/dlg_char.hxx @@ -45,7 +45,7 @@ public: SdCharDlg( Window* pParent, const SfxItemSet* pAttr, const SfxObjectShell* pDocShell ); - ~SdCharDlg() {}; + virtual ~SdCharDlg() {}; }; #endif // INCLUDED_SD_SOURCE_UI_INC_DLG_CHAR_HXX diff --git a/sd/source/ui/inc/dlgass.hxx b/sd/source/ui/inc/dlgass.hxx index 2983a5fc72c0..f89685ce0517 100644 --- a/sd/source/ui/inc/dlgass.hxx +++ b/sd/source/ui/inc/dlgass.hxx @@ -42,7 +42,7 @@ private: public: AssistentDlg(Window* pParent, sal_Bool bAutoPilot); - ~AssistentDlg(); + virtual ~AssistentDlg(); DECL_LINK( FinishHdl, void * ); diff --git a/sd/source/ui/inc/dlgctrls.hxx b/sd/source/ui/inc/dlgctrls.hxx index 93a2ca31b707..0ec249b8afc3 100644 --- a/sd/source/ui/inc/dlgctrls.hxx +++ b/sd/source/ui/inc/dlgctrls.hxx @@ -37,7 +37,7 @@ class SD_DLLPUBLIC FadeEffectLB : public ListBox { public: FadeEffectLB( Window* pParent, SdResId Id ); - ~FadeEffectLB(); + virtual ~FadeEffectLB(); virtual void Fill(); /* void selectEffectFromPage( SdPage* pPage ); */ diff --git a/sd/source/ui/inc/dlgfield.hxx b/sd/source/ui/inc/dlgfield.hxx index d65f9006f196..e0e82fff946b 100644 --- a/sd/source/ui/inc/dlgfield.hxx +++ b/sd/source/ui/inc/dlgfield.hxx @@ -51,7 +51,7 @@ private: public: SdModifyFieldDlg( Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet ); - ~SdModifyFieldDlg() {} + virtual ~SdModifyFieldDlg() {} SvxFieldData* GetField(); SfxItemSet GetItemSet(); diff --git a/sd/source/ui/inc/dlgpage.hxx b/sd/source/ui/inc/dlgpage.hxx index 3578559f5216..e2fdc22d5e68 100644 --- a/sd/source/ui/inc/dlgpage.hxx +++ b/sd/source/ui/inc/dlgpage.hxx @@ -45,7 +45,7 @@ private: public: SdPageDlg( SfxObjectShell* pDocSh, Window* pParent, const SfxItemSet* pAttr, sal_Bool bAreaPage = sal_True ); - ~SdPageDlg() {}; + virtual ~SdPageDlg() {}; virtual void PageCreated(sal_uInt16 nId, SfxTabPage& rPage) SAL_OVERRIDE; }; diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx index e02eb0f40644..11171969f22b 100644 --- a/sd/source/ui/inc/docprev.hxx +++ b/sd/source/ui/inc/docprev.hxx @@ -62,7 +62,7 @@ protected: public: SdDocPreviewWin( Window* pParent, const ResId& rResId ); - ~SdDocPreviewWin(); + virtual ~SdDocPreviewWin(); void SetObjectShell( SfxObjectShell* pObj, sal_uInt16 nShowPage = 0 ); virtual void Resize() SAL_OVERRIDE; void startPreview(); diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx index 437e69432c61..5f90237117c3 100644 --- a/sd/source/ui/inc/framework/FrameworkHelper.hxx +++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx @@ -327,7 +327,7 @@ private: FrameworkHelper (ViewShellBase& rBase); FrameworkHelper (const FrameworkHelper& rHelper); // Not implemented. - ~FrameworkHelper (void); + virtual ~FrameworkHelper (void); class Deleter; friend class Deleter; FrameworkHelper& operator= (const FrameworkHelper& rHelper); // Not implemented. diff --git a/sd/source/ui/inc/fuhhconv.hxx b/sd/source/ui/inc/fuhhconv.hxx index 6606f11f9e65..637dbb917c67 100644 --- a/sd/source/ui/inc/fuhhconv.hxx +++ b/sd/source/ui/inc/fuhhconv.hxx @@ -44,7 +44,7 @@ class FuHangulHanjaConversion : public FuPoor Outliner* GetOutliner() const { return pSdOutliner; } protected: - ~FuHangulHanjaConversion(); + virtual ~FuHangulHanjaConversion(); Outliner* pSdOutliner; sal_Bool bOwnOutliner; diff --git a/sd/source/ui/inc/gluectrl.hxx b/sd/source/ui/inc/gluectrl.hxx index c9feba92a99f..fefe754006cf 100644 --- a/sd/source/ui/inc/gluectrl.hxx +++ b/sd/source/ui/inc/gluectrl.hxx @@ -33,7 +33,7 @@ private: public: GlueEscDirLB( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ); - ~GlueEscDirLB(); + virtual ~GlueEscDirLB(); virtual void Select() SAL_OVERRIDE; @@ -56,7 +56,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SdTbxCtlGlueEscDir( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SdTbxCtlGlueEscDir() {} + virtual ~SdTbxCtlGlueEscDir() {} }; #endif // INCLUDED_SD_SOURCE_UI_INC_GLUECTRL_HXX diff --git a/sd/source/ui/inc/headerfooterdlg.hxx b/sd/source/ui/inc/headerfooterdlg.hxx index 2887624ad2b0..4c2bb8979902 100644 --- a/sd/source/ui/inc/headerfooterdlg.hxx +++ b/sd/source/ui/inc/headerfooterdlg.hxx @@ -68,7 +68,7 @@ private: public: HeaderFooterDialog( ViewShell* pViewShell, ::Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage ); - ~HeaderFooterDialog(); + virtual ~HeaderFooterDialog(); void ApplyToAll(); void Apply(); diff --git a/sd/source/ui/inc/inspagob.hxx b/sd/source/ui/inc/inspagob.hxx index 70b6a89c6981..ad1c742b5241 100644 --- a/sd/source/ui/inc/inspagob.hxx +++ b/sd/source/ui/inc/inspagob.hxx @@ -47,7 +47,7 @@ public: const SdDrawDocument* pDoc, SfxMedium* pSfxMedium, const OUString& rFileName ); - ~SdInsertPagesObjsDlg(); + virtual ~SdInsertPagesObjsDlg(); /** returns the list nType == 0 -> pages diff --git a/sd/source/ui/inc/paragr.hxx b/sd/source/ui/inc/paragr.hxx index 4511537a9384..5acae8a6eea5 100644 --- a/sd/source/ui/inc/paragr.hxx +++ b/sd/source/ui/inc/paragr.hxx @@ -35,7 +35,7 @@ private: public: SdParagraphDlg( Window* pParent, const SfxItemSet* pAttr ); - ~SdParagraphDlg() {}; + virtual ~SdParagraphDlg() {}; }; #endif // INCLUDED_SD_SOURCE_UI_INC_PARAGR_HXX diff --git a/sd/source/ui/inc/prltempl.hxx b/sd/source/ui/inc/prltempl.hxx index 1cf08519b7c4..5ae279856249 100644 --- a/sd/source/ui/inc/prltempl.hxx +++ b/sd/source/ui/inc/prltempl.hxx @@ -87,7 +87,7 @@ private: public: SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool ); - ~SdPresLayoutTemplateDlg(); + virtual ~SdPresLayoutTemplateDlg(); const SfxItemSet* GetOutputItemSet() const; }; diff --git a/sd/source/ui/inc/prntopts.hxx b/sd/source/ui/inc/prntopts.hxx index 4966ad4c3b57..17ec12f4b3cf 100644 --- a/sd/source/ui/inc/prntopts.hxx +++ b/sd/source/ui/inc/prntopts.hxx @@ -62,7 +62,7 @@ private: using OutputDevice::SetDrawMode; public: SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs); - ~SdPrintOptions(); + virtual ~SdPrintOptions(); static SfxTabPage* Create( Window*, const SfxItemSet& ); diff --git a/sd/source/ui/inc/pubdlg.hxx b/sd/source/ui/inc/pubdlg.hxx index 43ff34f686d4..574a6ff0f04b 100644 --- a/sd/source/ui/inc/pubdlg.hxx +++ b/sd/source/ui/inc/pubdlg.hxx @@ -193,7 +193,7 @@ private: public: SdPublishingDlg(Window* pWindow, DocumentType eDocType); - ~SdPublishingDlg(); + virtual ~SdPublishingDlg(); void GetParameterSequence( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rParams ); }; diff --git a/sd/source/ui/inc/sdpopup.hxx b/sd/source/ui/inc/sdpopup.hxx index 697da11849cd..f2a429e42a90 100644 --- a/sd/source/ui/inc/sdpopup.hxx +++ b/sd/source/ui/inc/sdpopup.hxx @@ -38,7 +38,7 @@ private: public: SdFieldPopup( const SvxFieldData* pInField, LanguageType eLanguage ); - ~SdFieldPopup(); + virtual ~SdFieldPopup(); //virtual void Select(); diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx index eaa3680815ff..2fb67165ee60 100644 --- a/sd/source/ui/inc/sdtreelb.hxx +++ b/sd/source/ui/inc/sdtreelb.hxx @@ -187,7 +187,7 @@ public: SdPageObjsTLB( Window* pParent, const SdResId& rSdResId ); SdPageObjsTLB( Window* pParent, WinBits nStyle ); - ~SdPageObjsTLB(); + virtual ~SdPageObjsTLB(); // helper function for GetEntryAltText and GetEntryLongDescription OUString getAltLongDescText( SvTreeListEntry* pEntry , sal_Bool isAltText) const; diff --git a/sd/source/ui/inc/sdxfer.hxx b/sd/source/ui/inc/sdxfer.hxx index 592af02b3ea0..76f724c3dfd2 100644 --- a/sd/source/ui/inc/sdxfer.hxx +++ b/sd/source/ui/inc/sdxfer.hxx @@ -44,7 +44,7 @@ class SdTransferable : public TransferableHelper, public SfxListener public: SdTransferable( SdDrawDocument* pSrcDoc, ::sd::View* pWorkView, sal_Bool bInitOnGetData ); - ~SdTransferable(); + virtual ~SdTransferable(); void SetDocShell( const SfxObjectShellRef& rRef ) { maDocShellRef = rRef; } const SfxObjectShellRef& GetDocShell() const { return maDocShellRef; } diff --git a/sd/source/ui/inc/tbx_ww.hxx b/sd/source/ui/inc/tbx_ww.hxx index bfb3069360c6..3814dd2e3329 100644 --- a/sd/source/ui/inc/tbx_ww.hxx +++ b/sd/source/ui/inc/tbx_ww.hxx @@ -33,7 +33,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SdTbxControl(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SdTbxControl() {} + virtual ~SdTbxControl() {} virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; diff --git a/sd/source/ui/inc/tmplctrl.hxx b/sd/source/ui/inc/tmplctrl.hxx index def12f6c154e..559ffc7cf228 100644 --- a/sd/source/ui/inc/tmplctrl.hxx +++ b/sd/source/ui/inc/tmplctrl.hxx @@ -25,7 +25,7 @@ class SdTemplateControl : public SfxStatusBarControl { public: SdTemplateControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SdTemplateControl(); + virtual ~SdTemplateControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx index 9503425de8d4..fabd20a35b4f 100644 --- a/sd/source/ui/inc/tpaction.hxx +++ b/sd/source/ui/inc/tpaction.hxx @@ -99,7 +99,7 @@ private: public: SdTPAction( Window* pParent, const SfxItemSet& rInAttrs ); - ~SdTPAction(); + virtual ~SdTPAction(); static SfxTabPage* Create( Window*, const SfxItemSet& ); diff --git a/sd/source/ui/inc/tpoption.hxx b/sd/source/ui/inc/tpoption.hxx index 1be402ecaca2..a83f416c244a 100644 --- a/sd/source/ui/inc/tpoption.hxx +++ b/sd/source/ui/inc/tpoption.hxx @@ -37,7 +37,7 @@ class SdTpOptionsSnap : public SvxGridTabPage { public: SdTpOptionsSnap( Window* pParent, const SfxItemSet& rInAttrs ); - ~SdTpOptionsSnap(); + virtual ~SdTpOptionsSnap(); static SfxTabPage* Create( Window*, const SfxItemSet& ); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; @@ -59,7 +59,7 @@ private: public: SdTpOptionsContents( Window* pParent, const SfxItemSet& rInAttrs ); - ~SdTpOptionsContents(); + virtual ~SdTpOptionsContents(); static SfxTabPage* Create( Window*, const SfxItemSet& ); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; @@ -132,7 +132,7 @@ protected: public: SdTpOptionsMisc( Window* pParent, const SfxItemSet& rInAttrs ); - ~SdTpOptionsMisc(); + virtual ~SdTpOptionsMisc(); static SfxTabPage* Create( Window*, const SfxItemSet& ); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/vectdlg.hxx b/sd/source/ui/inc/vectdlg.hxx index 3429dfd73cf9..4f0e3e745957 100644 --- a/sd/source/ui/inc/vectdlg.hxx +++ b/sd/source/ui/inc/vectdlg.hxx @@ -82,7 +82,7 @@ class SdVectorizeDlg : public ModalDialog public: SdVectorizeDlg( Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell ); - ~SdVectorizeDlg(); + virtual ~SdVectorizeDlg(); const GDIMetaFile& GetGDIMetaFile() const { return aMtf; } }; diff --git a/sd/source/ui/remotecontrol/BluetoothServer.hxx b/sd/source/ui/remotecontrol/BluetoothServer.hxx index 0f649d9a2178..2427ed7c1f08 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.hxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.hxx @@ -40,7 +40,7 @@ namespace sd void addCommunicator( Communicator* pCommunicator ); private: BluetoothServer( std::vector<Communicator*>* pCommunicators ); - ~BluetoothServer(); + virtual ~BluetoothServer(); enum { UNKNOWN, DISCOVERABLE, NOT_DISCOVERABLE } meWasDiscoverable; static BluetoothServer *spServer; diff --git a/sd/source/ui/remotecontrol/Communicator.hxx b/sd/source/ui/remotecontrol/Communicator.hxx index c7f00c6e1e77..c912fa5aa057 100644 --- a/sd/source/ui/remotecontrol/Communicator.hxx +++ b/sd/source/ui/remotecontrol/Communicator.hxx @@ -39,7 +39,7 @@ namespace sd { public: Communicator( IBluetoothSocket *pSocket ); - ~Communicator(); + virtual ~Communicator(); void presentationStarted( const css::uno::Reference< css::presentation::XSlideShowController > &rController ); diff --git a/sd/source/ui/remotecontrol/DiscoveryService.hxx b/sd/source/ui/remotecontrol/DiscoveryService.hxx index a362d0fe911d..a2ffeff20184 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.hxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.hxx @@ -28,7 +28,7 @@ namespace sd private: DiscoveryService(); - ~DiscoveryService(); + virtual ~DiscoveryService(); /** * Networking related setup -- must be run within our own thread diff --git a/sd/source/ui/remotecontrol/ImagePreparer.hxx b/sd/source/ui/remotecontrol/ImagePreparer.hxx index 0b1d861e9dd0..6790a70bb328 100644 --- a/sd/source/ui/remotecontrol/ImagePreparer.hxx +++ b/sd/source/ui/remotecontrol/ImagePreparer.hxx @@ -25,7 +25,7 @@ public: ImagePreparer( const css::uno::Reference<css::presentation::XSlideShowController>& rxController, sd::Transmitter *aTransmitter ); - ~ImagePreparer(); + virtual ~ImagePreparer(); private: css::uno::Reference<css::presentation::XSlideShowController> xController; diff --git a/sd/source/ui/remotecontrol/Listener.hxx b/sd/source/ui/remotecontrol/Listener.hxx index 89521395d1fa..5bcc02d11422 100644 --- a/sd/source/ui/remotecontrol/Listener.hxx +++ b/sd/source/ui/remotecontrol/Listener.hxx @@ -32,7 +32,7 @@ class Listener { public: Listener( const ::rtl::Reference<Communicator>& rServer, sd::Transmitter *aTransmitter ); - ~Listener(); + virtual ~Listener(); void init( const css::uno::Reference< css::presentation::XSlideShowController >& aController ); // XAnimationListener diff --git a/sd/source/ui/remotecontrol/Receiver.hxx b/sd/source/ui/remotecontrol/Receiver.hxx index 41a3bb872ff4..a5020303f42b 100644 --- a/sd/source/ui/remotecontrol/Receiver.hxx +++ b/sd/source/ui/remotecontrol/Receiver.hxx @@ -32,7 +32,7 @@ class Receiver : Timer std::deque< std::vector< OString > > maExecQueue; public: Receiver( Transmitter *aTransmitter ); - ~Receiver(); + virtual ~Receiver(); virtual void Timeout() SAL_OVERRIDE; void pushCommand( const std::vector<OString> &rCommand ); void executeCommand( const std::vector<OString> &aCommand ); diff --git a/sd/source/ui/remotecontrol/Transmitter.hxx b/sd/source/ui/remotecontrol/Transmitter.hxx index 14e1b9ea79f2..74cbc45bf102 100644 --- a/sd/source/ui/remotecontrol/Transmitter.hxx +++ b/sd/source/ui/remotecontrol/Transmitter.hxx @@ -27,7 +27,7 @@ class Transmitter public: enum Priority { PRIORITY_LOW = 1, PRIORITY_HIGH }; Transmitter( ::sd::IBluetoothSocket* aSocket ); - ~Transmitter(); + virtual ~Transmitter(); void addMessage( const OString& aMessage, const Priority aPriority ); void notifyFinished(); diff --git a/sd/source/ui/sidebar/PreviewValueSet.hxx b/sd/source/ui/sidebar/PreviewValueSet.hxx index 5b3889b35aec..fd4a0b82d9b3 100644 --- a/sd/source/ui/sidebar/PreviewValueSet.hxx +++ b/sd/source/ui/sidebar/PreviewValueSet.hxx @@ -33,7 +33,7 @@ class PreviewValueSet { public: PreviewValueSet (::Window* pParent); - ~PreviewValueSet (void); + virtual ~PreviewValueSet (void); void SetRightMouseClickHandler (const Link& rLink); virtual void Resize (void) SAL_OVERRIDE; diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx index 60c7ce5097a5..3f87abf5c154 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.hxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx @@ -232,7 +232,7 @@ public: using cppu::WeakComponentImplHelperBase::disposing; protected: - ~SlideShowView() {} + virtual ~SlideShowView() {} private: void init(); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index db7767325507..bb922e56acdb 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -61,7 +61,7 @@ class Clipboard { public: Clipboard (SlideSorter& rSlideSorter); - ~Clipboard (void); + virtual ~Clipboard (void); /** Create a slide sorter transferable from the given sd transferable. The returned transferable is set up with all diff --git a/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx b/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx index 782de7db2076..043618301f53 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx @@ -67,7 +67,7 @@ public: TransferableData ( SlideSorterViewShell* pViewShell, const ::std::vector<TransferableData::Representative>& rRepresentatives); - ~TransferableData (void); + virtual ~TransferableData (void); virtual void DragFinished (sal_Int8 nDropAction); diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx index eefd19238eaa..8182f0a868f8 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx @@ -53,7 +53,7 @@ class ContentWindow : public ::sd::Window { public: ContentWindow(::Window& rParent, SlideSorter& rSlideSorter); - ~ContentWindow (void); + virtual ~ContentWindow (void); void SetCurrentFunction (const rtl::Reference<FuPoor>& rpFunction); virtual void Paint(const Rectangle& rRect) SAL_OVERRIDE; virtual void KeyInput (const KeyEvent& rEvent) SAL_OVERRIDE; diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx index 42c63e7e042e..ed47917e714d 100644 --- a/sd/source/ui/tools/EventMultiplexer.cxx +++ b/sd/source/ui/tools/EventMultiplexer.cxx @@ -66,7 +66,7 @@ class EventMultiplexer::Implementation { public: Implementation (ViewShellBase& rBase); - ~Implementation (void); + virtual ~Implementation (void); void AddEventListener ( Link& rCallback, diff --git a/sd/source/ui/unoidl/unocpres.hxx b/sd/source/ui/unoidl/unocpres.hxx index a9b5a1733999..7cb75bb3a778 100644 --- a/sd/source/ui/unoidl/unocpres.hxx +++ b/sd/source/ui/unoidl/unocpres.hxx @@ -118,7 +118,7 @@ private: public: SdXCustomPresentationAccess(SdXImpressDocument& rMyModel) throw(); - ~SdXCustomPresentationAccess() throw(); + virtual ~SdXCustomPresentationAccess() throw(); // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index a73768ae84c4..7dd272fcace7 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -116,7 +116,7 @@ class SdUnoForbiddenCharsTable : public SvxUnoForbiddenCharsTable, { public: SdUnoForbiddenCharsTable( SdrModel* pModel ); - ~SdUnoForbiddenCharsTable(); + virtual ~SdUnoForbiddenCharsTable(); // SfxListener virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) throw () SAL_OVERRIDE; diff --git a/sd/source/ui/unoidl/unopback.hxx b/sd/source/ui/unoidl/unopback.hxx index 49964878dad0..6f3ba5a06dd7 100644 --- a/sd/source/ui/unoidl/unopback.hxx +++ b/sd/source/ui/unoidl/unopback.hxx @@ -50,7 +50,7 @@ protected: const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) const throw(); public: SdUnoPageBackground( SdDrawDocument* pDoc = NULL, const SfxItemSet* pSet = NULL) throw(); - ~SdUnoPageBackground() throw(); + virtual ~SdUnoPageBackground() throw(); // internal void fillItemSet( SdDrawDocument* pDoc, SfxItemSet& rSet ) throw(); diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 9133412d1531..6dc349df77f0 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -1110,7 +1110,7 @@ namespace { { } - ~OutlinerPrinterPage() + virtual ~OutlinerPrinterPage() { mpParaObject.reset(); } diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx index 8b38a339b42c..e76c243e8841 100644 --- a/sd/source/ui/view/drviewsa.cxx +++ b/sd/source/ui/view/drviewsa.cxx @@ -92,7 +92,7 @@ private: public: ScannerEventListener( DrawViewShell* pParent ) : mpParent( pParent ) {}; - ~ScannerEventListener(); + virtual ~ScannerEventListener(); // XEventListener virtual void SAL_CALL disposing( const lang::EventObject& rEventObject ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sdext/source/pdfimport/sax/emitcontext.hxx b/sdext/source/pdfimport/sax/emitcontext.hxx index a54fa7a7da95..677952c47290 100644 --- a/sdext/source/pdfimport/sax/emitcontext.hxx +++ b/sdext/source/pdfimport/sax/emitcontext.hxx @@ -38,7 +38,7 @@ namespace pdfi public: explicit SaxEmitter( const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler >& xDocHdl ); - ~SaxEmitter(); + virtual ~SaxEmitter(); virtual void beginTag( const char* pTag, const PropertyMap& rProperties ) SAL_OVERRIDE; virtual void write( const OUString& rString ) SAL_OVERRIDE; diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx index 5fe48aca521b..8bef0308adad 100644 --- a/sdext/source/pdfimport/test/tests.cxx +++ b/sdext/source/pdfimport/test/tests.cxx @@ -82,7 +82,7 @@ namespace m_bImageSeen(false) {} - ~TestSink() + virtual ~TestSink() { CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE( "A4 page size (in 100th of points): Width", m_aPageSize.Width, 79400, 0.00000001); CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE( "A4 page size (in 100th of points): Height" , m_aPageSize.Height, 59500, 0.0000001 ); diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index 760bfe70c170..067a132f0be4 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -149,7 +149,7 @@ namespace pdfi public: explicit PDFOutDev( PDFDoc* pDoc ); - ~PDFOutDev(); + virtual ~PDFOutDev(); //----- get info about output device diff --git a/sdext/source/presenter/PresenterButton.hxx b/sdext/source/presenter/PresenterButton.hxx index a1abb4b3794c..f485df308c10 100644 --- a/sdext/source/presenter/PresenterButton.hxx +++ b/sdext/source/presenter/PresenterButton.hxx @@ -64,7 +64,7 @@ public: const css::uno::Reference<css::awt::XWindow>& rxParentWindow, const css::uno::Reference<css::rendering::XCanvas>& rxParentCanvas, const OUString& rsConfigurationName); - ~PresenterButton (void); + virtual ~PresenterButton (void); virtual void SAL_CALL disposing (void) SAL_OVERRIDE; diff --git a/sdext/source/presenter/PresenterController.hxx b/sdext/source/presenter/PresenterController.hxx index 6d9270b9f86d..669414899c77 100644 --- a/sdext/source/presenter/PresenterController.hxx +++ b/sdext/source/presenter/PresenterController.hxx @@ -87,7 +87,7 @@ public: const css::uno::Reference<css::presentation::XSlideShowController>& rxSlideShowController, const rtl::Reference<PresenterPaneContainer>& rpPaneContainer, const css::uno::Reference<css::drawing::framework::XResourceId>& rxMainPaneId); - ~PresenterController (void); + virtual ~PresenterController (void); virtual void SAL_CALL disposing (void) SAL_OVERRIDE; diff --git a/sdext/source/presenter/PresenterTimer.hxx b/sdext/source/presenter/PresenterTimer.hxx index 14f19391811a..f4db79904f49 100644 --- a/sdext/source/presenter/PresenterTimer.hxx +++ b/sdext/source/presenter/PresenterTimer.hxx @@ -109,7 +109,7 @@ private: PresenterClockTimer ( const css::uno::Reference<css::uno::XComponentContext>& rxContext); - ~PresenterClockTimer (void); + virtual ~PresenterClockTimer (void); void CheckCurrentTime (const TimeValue& rCurrentTime); }; diff --git a/sfx2/inc/srchdlg.hxx b/sfx2/inc/srchdlg.hxx index 940e8f9e39d5..40b18f84017a 100644 --- a/sfx2/inc/srchdlg.hxx +++ b/sfx2/inc/srchdlg.hxx @@ -59,7 +59,7 @@ private: public: SearchDialog( Window* pWindow, const OUString& rConfigName ); - ~SearchDialog(); + virtual ~SearchDialog(); void SetFindHdl( const Link& rLink ) { m_aFindHdl = rLink; } void SetCloseHdl( const Link& rLink ) { m_aCloseHdl = rLink; } diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx index 8428590037c8..58d18cf74e21 100644 --- a/sfx2/inc/templatedlg.hxx +++ b/sfx2/inc/templatedlg.hxx @@ -47,7 +47,7 @@ public: SfxTemplateManagerDlg (Window *parent = DIALOG_NO_PARENT); - ~SfxTemplateManagerDlg (); + virtual ~SfxTemplateManagerDlg (); void setSaveMode(); diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 7081848e706c..959cdd2fda57 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -89,7 +89,7 @@ public: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; SfxEventAsyncer_Impl( const SfxEventHint& rHint ); - ~SfxEventAsyncer_Impl(); + virtual ~SfxEventAsyncer_Impl(); DECL_LINK( TimerHdl, Timer*); }; diff --git a/sfx2/source/appl/helpdispatch.hxx b/sfx2/source/appl/helpdispatch.hxx index 81a3915cddc6..e03d4f8db26d 100644 --- a/sfx2/source/appl/helpdispatch.hxx +++ b/sfx2/source/appl/helpdispatch.hxx @@ -34,7 +34,7 @@ private: public: HelpDispatch_Impl( HelpInterceptor_Impl& _rInterceptor, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDisp ); - ~HelpDispatch_Impl(); + virtual ~HelpDispatch_Impl(); // XDispatch 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, std::exception) SAL_OVERRIDE; diff --git a/sfx2/source/appl/helpinterceptor.hxx b/sfx2/source/appl/helpinterceptor.hxx index e8cde3a363e0..da24e05de573 100644 --- a/sfx2/source/appl/helpinterceptor.hxx +++ b/sfx2/source/appl/helpinterceptor.hxx @@ -72,7 +72,7 @@ friend class SfxHelpWindow_Impl; public: HelpInterceptor_Impl(); - ~HelpInterceptor_Impl(); + virtual ~HelpInterceptor_Impl(); void setInterception( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame ); OUString GetCurrentURL() const { return m_aCurrentURL; } @@ -146,7 +146,7 @@ public: HelpStatusListener_Impl( ::com::sun::star::uno::Reference < ::com::sun::star::frame::XDispatch > xDispatch, com::sun::star::util::URL& rURL); - ~HelpStatusListener_Impl(); + virtual ~HelpStatusListener_Impl(); virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index d4ec1161f308..900dc84f9872 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -58,7 +58,7 @@ private: public: ContentListBox_Impl(Window* pParent, WinBits nStyle); - ~ContentListBox_Impl(); + virtual ~ContentListBox_Impl(); virtual void RequestingChildren( SvTreeListEntry* pParent ) SAL_OVERRIDE; @@ -138,7 +138,7 @@ private: public: IndexTabPage_Impl( Window* pParent, SfxHelpIndexWindow_Impl* _pIdxWin ); - ~IndexTabPage_Impl(); + virtual ~IndexTabPage_Impl(); virtual void ActivatePage() SAL_OVERRIDE; virtual Control* GetLastFocusControl() SAL_OVERRIDE; @@ -214,7 +214,7 @@ private: public: SearchTabPage_Impl( Window* pParent, SfxHelpIndexWindow_Impl* _pIdxWin ); - ~SearchTabPage_Impl(); + virtual ~SearchTabPage_Impl(); virtual void ActivatePage() SAL_OVERRIDE; virtual Control* GetLastFocusControl() SAL_OVERRIDE; @@ -239,7 +239,7 @@ private: public: BookmarksBox_Impl(Window* pParent, WinBits nStyle); - ~BookmarksBox_Impl(); + virtual ~BookmarksBox_Impl(); virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE; }; @@ -310,7 +310,7 @@ private: public: SfxHelpIndexWindow_Impl( SfxHelpWindow_Impl* pParent ); - ~SfxHelpIndexWindow_Impl(); + virtual ~SfxHelpIndexWindow_Impl(); virtual void Resize() SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -448,7 +448,7 @@ private: public: SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ); - ~SfxHelpTextWindow_Impl(); + virtual ~SfxHelpTextWindow_Impl(); virtual void Resize() SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -517,7 +517,7 @@ friend class SfxHelpIndexWindow_Impl; public: SfxHelpWindow_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame2 >& rFrame, Window* pParent, WinBits nBits ); - ~SfxHelpWindow_Impl(); + virtual ~SfxHelpWindow_Impl(); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx index 2222856b8145..5675454a18ee 100644 --- a/sfx2/source/control/request.cxx +++ b/sfx2/source/control/request.cxx @@ -85,7 +85,7 @@ struct SfxRequest_Impl: public SfxListener , pInternalArgs( 0 ) , pViewFrame(0) {} - ~SfxRequest_Impl() { delete pInternalArgs; } + virtual ~SfxRequest_Impl() { delete pInternalArgs; } void SetPool( SfxItemPool *pNewPool ); diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index 4ad22f306353..d2add75bbd38 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -96,7 +96,7 @@ struct SfxShell_Impl: public SfxBroadcaster ::sfx2::sidebar::ContextChangeBroadcaster maContextChangeBroadcaster; SfxShell_Impl() : pViewSh(0), pFrame(0), pRepeatTarget(0), pExecuter(0), pUpdater(0) {} - ~SfxShell_Impl() { delete pExecuter; delete pUpdater;} + virtual ~SfxShell_Impl() { delete pExecuter; delete pUpdater;} }; diff --git a/sfx2/source/control/thumbnailviewacc.hxx b/sfx2/source/control/thumbnailviewacc.hxx index a84621170e2d..aa901065c216 100644 --- a/sfx2/source/control/thumbnailviewacc.hxx +++ b/sfx2/source/control/thumbnailviewacc.hxx @@ -54,7 +54,7 @@ class ThumbnailViewAcc : public: ThumbnailViewAcc( ThumbnailView* pParent, bool bIsTransientChildrenDisabled ); - ~ThumbnailViewAcc(); + virtual ~ThumbnailViewAcc(); void FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, @@ -185,7 +185,7 @@ private: public: ThumbnailViewItemAcc( ThumbnailViewItem* pParent, bool bIsTransientChildrenDisabled ); - ~ThumbnailViewItemAcc(); + virtual ~ThumbnailViewItemAcc(); void FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx index 6cd44e22ef7b..ee72c1f0cc87 100644 --- a/sfx2/source/control/thumbnailviewitem.cxx +++ b/sfx2/source/control/thumbnailviewitem.cxx @@ -53,7 +53,7 @@ class ResizableMultiLineEdit : public VclMultiLineEdit public: ResizableMultiLineEdit (Window* pParent, ThumbnailViewItem* pItem); - ~ResizableMultiLineEdit (); + virtual ~ResizableMultiLineEdit (); void SetInGrabFocus(bool bInGrabFocus) { mbIsInGrabFocus = bInGrabFocus; } diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index 7909f2bdf4a0..af6ac8c5e441 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -102,7 +102,7 @@ class BackingWindow public: BackingWindow( Window* pParent ); - ~BackingWindow(); + virtual ~BackingWindow(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx index f8d019d5fca5..928ee164dcd0 100644 --- a/sfx2/source/dialog/infobar.cxx +++ b/sfx2/source/dialog/infobar.cxx @@ -32,7 +32,7 @@ namespace { } - ~SfxCloseButton( ) { } + virtual ~SfxCloseButton( ) { } virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; }; diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index 5bd7e950936a..2f3480a230ea 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -135,7 +135,7 @@ friend class SfxSplitWindow; ShowFadeInHideButton( true ); } - ~SfxEmptySplitWin_Impl() + virtual ~SfxEmptySplitWin_Impl() { aTimer.Stop(); } diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 751012594869..d12b5c4de1ff 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -120,7 +120,7 @@ public: , pSet( NULL ) {} - ~SfxTabDialogController(); + virtual ~SfxTabDialogController(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; }; diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx index 55bd0661c234..a9378e28a4cc 100644 --- a/sfx2/source/dialog/taskpane.cxx +++ b/sfx2/source/dialog/taskpane.cxx @@ -314,7 +314,7 @@ namespace sfx2 GetResourceURL() const { return m_sResourceURL; } protected: - ~CustomToolPanel(); + virtual ~CustomToolPanel(); private: bool impl_ensureToolPanelWindow( Window& i_rPanelParentWindow ); diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 5f3716842e13..2c4b7b563f81 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -179,7 +179,7 @@ public: : m_xInter( xInteraction ) {} - ~SfxMediumHandler_Impl(); + virtual ~SfxMediumHandler_Impl(); }; diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 4e28700d2b47..91ebe2d291a8 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -215,7 +215,7 @@ private: public: SfxDocTemplate_Impl(); - ~SfxDocTemplate_Impl(); + virtual ~SfxDocTemplate_Impl(); void IncrementLock(); void DecrementLock(); diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index 015ea7162fb6..d4aea67b3510 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -139,7 +139,7 @@ class WaitWindow_Impl : public WorkWindow public: WaitWindow_Impl(); - ~WaitWindow_Impl(); + virtual ~WaitWindow_Impl(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; }; @@ -323,7 +323,7 @@ private: public: Updater_Impl( SfxDocTplService_Impl* pTemplates ); - ~Updater_Impl(); + virtual ~Updater_Impl(); virtual void SAL_CALL run() SAL_OVERRIDE; virtual void SAL_CALL onTerminated() SAL_OVERRIDE; @@ -2221,7 +2221,7 @@ class SfxDocTplService: public ::cppu::WeakImplHelper3< css::lang::XLocalizable, public: SfxDocTplService( const css::uno::Reference < uno::XComponentContext >& xContext ); - ~SfxDocTplService(); + virtual ~SfxDocTplService(); virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE diff --git a/sfx2/source/doc/doctemplateslocal.hxx b/sfx2/source/doc/doctemplateslocal.hxx index 1ec23641d7c0..d0890e070362 100644 --- a/sfx2/source/doc/doctemplateslocal.hxx +++ b/sfx2/source/doc/doctemplateslocal.hxx @@ -45,7 +45,7 @@ class DocTemplLocaleHelper : public cppu::WeakImplHelper1 < com::sun::star::xml: throw( ::com::sun::star::uno::Exception ); public: - ~DocTemplLocaleHelper(); + virtual ~DocTemplLocaleHelper(); // returns sequence of pairs ( GroupName, GroupUIName ) static diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx index ff7890bdab22..9fbd9f3537b0 100644 --- a/sfx2/source/doc/iframe.cxx +++ b/sfx2/source/doc/iframe.cxx @@ -65,7 +65,7 @@ class IFrameObject : public ::cppu::WeakImplHelper6 < public: IFrameObject(const css::uno::Reference < css::uno::XComponentContext>& rxContext, const css::uno::Sequence< css::uno::Any >& aArguments) throw (css::uno::Exception, css::uno::RuntimeException); - ~IFrameObject(); + virtual ~IFrameObject(); virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE diff --git a/sfx2/source/doc/plugin.cxx b/sfx2/source/doc/plugin.cxx index 5475d7923bdd..a1743fdd16d5 100644 --- a/sfx2/source/doc/plugin.cxx +++ b/sfx2/source/doc/plugin.cxx @@ -95,7 +95,7 @@ class PluginObject : public ::cppu::WeakImplHelper5 < public: PluginObject(); - ~PluginObject(); + virtual ~PluginObject(); virtual sal_Bool SAL_CALL load( const css::uno::Sequence < css::beans::PropertyValue >& lDescriptor, const css::uno::Reference < css::frame::XFrame >& xFrame ) throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 9eece34c61e8..8416d5560086 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -151,7 +151,7 @@ public: : m_rShell(i_rDoc) { }; - ~SfxDocInfoListener_Impl(); + virtual ~SfxDocInfoListener_Impl(); virtual void SAL_CALL disposing( const lang::EventObject& ) throw ( RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/sfx2/source/inc/eventsupplier.hxx b/sfx2/source/inc/eventsupplier.hxx index 9962c1dcca51..62d74f213b9f 100644 --- a/sfx2/source/inc/eventsupplier.hxx +++ b/sfx2/source/inc/eventsupplier.hxx @@ -62,7 +62,7 @@ class SfxEvents_Impl : public ::cppu::WeakImplHelper2< css::container::XNameRepl public: SfxEvents_Impl( SfxObjectShell* pShell, css::uno::Reference< css::document::XEventBroadcaster > xBroadcaster ); - ~SfxEvents_Impl(); + virtual ~SfxEvents_Impl(); // --- XNameReplace --- virtual void SAL_CALL replaceByName( const OUString & aName, const css::uno::Any & aElement ) diff --git a/sfx2/source/inc/partwnd.hxx b/sfx2/source/inc/partwnd.hxx index 794c45f44699..6798d161f227 100644 --- a/sfx2/source/inc/partwnd.hxx +++ b/sfx2/source/inc/partwnd.hxx @@ -50,7 +50,7 @@ public: SfxChildWinInfo* pInfo ); SFX_DECL_CHILDWINDOW(SfxPartChildWnd_Impl); - ~SfxPartChildWnd_Impl(); + virtual ~SfxPartChildWnd_Impl(); virtual bool QueryClose() SAL_OVERRIDE; }; @@ -69,7 +69,7 @@ public: Window* pParent, WinBits nBits ); - ~SfxPartDockWnd_Impl(); + virtual ~SfxPartDockWnd_Impl(); sal_Bool QueryClose(); virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE; ::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame > ForgetFrame(); diff --git a/sfx2/source/inc/recfloat.hxx b/sfx2/source/inc/recfloat.hxx index f2f865a63f91..5369b16cef57 100644 --- a/sfx2/source/inc/recfloat.hxx +++ b/sfx2/source/inc/recfloat.hxx @@ -31,7 +31,7 @@ public: sal_uInt16 nId , SfxBindings* pBindings , SfxChildWinInfo* pInfo ); - ~SfxRecordingFloatWrapper_Impl(); + virtual ~SfxRecordingFloatWrapper_Impl(); SFX_DECL_CHILDWINDOW(SfxRecordingFloatWrapper_Impl); virtual bool QueryClose() SAL_OVERRIDE; diff --git a/sfx2/source/inc/sfxpicklist.hxx b/sfx2/source/inc/sfxpicklist.hxx index 77747e21375e..eb83aff068c7 100644 --- a/sfx2/source/inc/sfxpicklist.hxx +++ b/sfx2/source/inc/sfxpicklist.hxx @@ -47,7 +47,7 @@ class SfxPickList : public SfxListener ::com::sun::star::uno::Reference< ::com::sun::star::util::XStringWidth > m_xStringLength; SfxPickList( sal_uInt32 nMenuSize ); - ~SfxPickList(); + virtual ~SfxPickList(); void CreatePicklistMenuTitle( Menu* pMenu, sal_uInt16 nItemId, const OUString& aURL, sal_uInt32 nNo ); PickListEntry* GetPickListEntry( sal_uInt32 nIndex ); diff --git a/sfx2/source/inc/splitwin.hxx b/sfx2/source/inc/splitwin.hxx index 40ed3dee6027..f3a985bee804 100644 --- a/sfx2/source/inc/splitwin.hxx +++ b/sfx2/source/inc/splitwin.hxx @@ -67,7 +67,7 @@ public: SfxWorkWindow *pW, sal_Bool bWithButtons, WinBits nBits = WB_BORDER | WB_SIZEABLE | WB_3DLOOK ); - ~SfxSplitWindow(); + virtual ~SfxSplitWindow(); void ReleaseWindow_Impl(SfxDockingWindow *pWin, sal_Bool bSaveConfig=sal_True); diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index f2142e8e8def..751d9bb77354 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -321,7 +321,7 @@ protected: virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) SAL_OVERRIDE; public: DropToolBox_Impl(Window* pParent, SfxTemplateDialog_Impl* pTemplateDialog); - ~DropToolBox_Impl(); + virtual ~DropToolBox_Impl(); }; // class SfxTemplateDialog_Impl ------------------------------------------ @@ -367,7 +367,7 @@ public: SfxTemplateDialog_Impl( SfxBindings*, SfxTemplateDialog* pDlgWindow ); SfxTemplateDialog_Impl( SfxBindings*, SfxTemplatePanelControl* pDlgWindow ); - ~SfxTemplateDialog_Impl(); + virtual ~SfxTemplateDialog_Impl(); void Initialize (void); }; diff --git a/sfx2/source/inc/tplcitem.hxx b/sfx2/source/inc/tplcitem.hxx index 5ce731618b0b..ad0471b2c5f8 100644 --- a/sfx2/source/inc/tplcitem.hxx +++ b/sfx2/source/inc/tplcitem.hxx @@ -37,7 +37,7 @@ protected: public: SfxTemplateControllerItem( sal_uInt16 nId, SfxCommonTemplateDialog_Impl &rDlg, SfxBindings &); - ~SfxTemplateControllerItem(); + virtual ~SfxTemplateControllerItem(); }; diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx index e54977c4b556..6cc50b40c3e9 100644 --- a/sfx2/source/view/frame2.cxx +++ b/sfx2/source/view/frame2.cxx @@ -68,7 +68,7 @@ public: SfxFrame* pFrame; SfxFrameWindow_Impl( SfxFrame* pF, Window& i_rContainerWindow ); - ~SfxFrameWindow_Impl( ); + virtual ~SfxFrameWindow_Impl( ); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 7fe0c98adb01..adbc5d2c0941 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -120,7 +120,7 @@ public: , m_bResizeNoScale( sal_False ) {} - ~SfxInPlaceClient_Impl(); + virtual ~SfxInPlaceClient_Impl(); void SizeHasChanged(); DECL_LINK(TimerHdl, void *); diff --git a/shell/source/backends/localebe/localebackend.hxx b/shell/source/backends/localebe/localebackend.hxx index 0e890018a3b8..39959f2eb288 100644 --- a/shell/source/backends/localebe/localebackend.hxx +++ b/shell/source/backends/localebe/localebackend.hxx @@ -123,7 +123,7 @@ class LocaleBackend : public ::cppu::WeakImplHelper2 < LocaleBackend(); /** Destructor */ - ~LocaleBackend(void) ; + virtual ~LocaleBackend(void) ; private: // Returns the user locale diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx index a51596d5085f..41e4cf3ef278 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx @@ -413,7 +413,7 @@ public: */ SRotate(const basegfx::B3DVector& Axis,const basegfx::B3DVector& Origin,double Angle,bool bInter, double T0, double T1); - ~SRotate(){} + virtual ~SRotate(){} private: /** axis to rotate CCW about */ @@ -457,7 +457,7 @@ public: */ SScale(const basegfx::B3DVector& Scale, const basegfx::B3DVector& Origin,bool bInter, double T0, double T1); - ~SScale(){} + virtual ~SScale(){} private: basegfx::B3DVector scale; basegfx::B3DVector origin; @@ -489,7 +489,7 @@ public: */ STranslate(const basegfx::B3DVector& Vector,bool bInter, double T0, double T1); - ~STranslate(){} + virtual ~STranslate(){} private: /** vector to translate by */ @@ -522,7 +522,7 @@ public: */ SEllipseTranslate(double dWidth, double dHeight, double dStartPosition, double dEndPosition, bool bInter, double T0, double T1); - ~SEllipseTranslate(){} + virtual ~SEllipseTranslate(){} private: /** width and length of the ellipse */ @@ -545,7 +545,7 @@ public: virtual void interpolate(double t,double SlideWidthScale,double SlideHeightScale) const SAL_OVERRIDE; RotateAndScaleDepthByWidth(const basegfx::B3DVector& Axis,const basegfx::B3DVector& Origin,double Angle,bool bInter, double T0, double T1); - ~RotateAndScaleDepthByWidth(){} + virtual ~RotateAndScaleDepthByWidth(){} private: basegfx::B3DVector axis; basegfx::B3DVector origin; @@ -563,7 +563,7 @@ public: virtual void interpolate(double t,double SlideWidthScale,double SlideHeightScale) const SAL_OVERRIDE; RotateAndScaleDepthByHeight(const basegfx::B3DVector& Axis,const basegfx::B3DVector& Origin,double Angle,bool bInter, double T0, double T1); - ~RotateAndScaleDepthByHeight(){} + virtual ~RotateAndScaleDepthByHeight(){} private: basegfx::B3DVector axis; basegfx::B3DVector origin; diff --git a/slideshow/source/engine/animationfactory.cxx b/slideshow/source/engine/animationfactory.cxx index 03bfb2ddbc1d..7804dfc3f440 100644 --- a/slideshow/source/engine/animationfactory.cxx +++ b/slideshow/source/engine/animationfactory.cxx @@ -85,7 +85,7 @@ namespace slideshow "TupleAnimation::TupleAnimation(): One of the method pointers is NULL" ); } - ~TupleAnimation() + virtual ~TupleAnimation() { end_(); } @@ -239,7 +239,7 @@ namespace slideshow maPathPoly = ::basegfx::tools::adaptiveSubdivideByAngle(aPolyPoly.getB2DPolygon(0) ); } - ~PathAnimation() + virtual ~PathAnimation() { end_(); } diff --git a/slideshow/source/engine/slide/slideimpl.cxx b/slideshow/source/engine/slide/slideimpl.cxx index ef2ab23e5aba..1b60e8eab774 100644 --- a/slideshow/source/engine/slide/slideimpl.cxx +++ b/slideshow/source/engine/slide/slideimpl.cxx @@ -107,7 +107,7 @@ public: bool bIntrinsicAnimationsAllowed, bool bDisableAnimationZOrder ); - ~SlideImpl(); + virtual ~SlideImpl(); // Disposable interface diff --git a/slideshow/source/engine/transitions/shapetransitionfactory.cxx b/slideshow/source/engine/transitions/shapetransitionfactory.cxx index 2365653379a2..b6c0762fb9c0 100644 --- a/slideshow/source/engine/transitions/shapetransitionfactory.cxx +++ b/slideshow/source/engine/transitions/shapetransitionfactory.cxx @@ -59,7 +59,7 @@ public: bool bDirectionForward, bool bModeIn ); - ~ClippingAnimation(); + virtual ~ClippingAnimation(); // Animation interface diff --git a/slideshow/source/engine/transitions/slidetransitionfactory.cxx b/slideshow/source/engine/transitions/slidetransitionfactory.cxx index 7c0c078986ea..43d380bab35f 100644 --- a/slideshow/source/engine/transitions/slidetransitionfactory.cxx +++ b/slideshow/source/engine/transitions/slidetransitionfactory.cxx @@ -156,7 +156,7 @@ public: mbSuccess = true; } - ~PluginSlideChange() + virtual ~PluginSlideChange() { mxFactory.clear(); diff --git a/sot/source/sdstor/stgdir.hxx b/sot/source/sdstor/stgdir.hxx index a5b9ab4f1fc8..2a761050d04e 100644 --- a/sot/source/sdstor/stgdir.hxx +++ b/sot/source/sdstor/stgdir.hxx @@ -64,7 +64,7 @@ public: bool bInvalid; // true: invalid entry StgDirEntry( const void* pBuffer, sal_uInt32 nBufferLen, bool * pbOk ); StgDirEntry( const StgEntry& ); - ~StgDirEntry(); + virtual ~StgDirEntry(); void Invalidate( bool=false ); // invalidate all open entries void Enum( sal_Int32& ); // enumerate entries for iteration @@ -98,7 +98,7 @@ class StgDirStrm : public StgDataStrm void SetupEntry( sal_Int32, StgDirEntry* ); public: StgDirStrm( StgIo& ); - ~StgDirStrm(); + virtual ~StgDirStrm(); virtual bool SetSize( sal_Int32 ) SAL_OVERRIDE; // change the size bool Store(); void* GetEntry( sal_Int32 n, bool=false );// get an entry diff --git a/sot/source/sdstor/stgole.hxx b/sot/source/sdstor/stgole.hxx index 02f026448510..9c8cfcc9dbb0 100644 --- a/sot/source/sdstor/stgole.hxx +++ b/sot/source/sdstor/stgole.hxx @@ -34,7 +34,7 @@ class StgInternalStream : public SvStream virtual void FlushData() SAL_OVERRIDE; public: StgInternalStream( BaseStorage&, const OUString&, bool ); - ~StgInternalStream(); + virtual ~StgInternalStream(); void Commit(); }; diff --git a/sot/source/sdstor/stgstrms.hxx b/sot/source/sdstor/stgstrms.hxx index 27fdd62c3a93..80c91aa9b0e1 100644 --- a/sot/source/sdstor/stgstrms.hxx +++ b/sot/source/sdstor/stgstrms.hxx @@ -155,7 +155,7 @@ class StgTmpStrm : public SvMemoryStream public: StgTmpStrm( sal_uLong=16 ); - ~StgTmpStrm(); + virtual ~StgTmpStrm(); bool Copy( StgTmpStrm& ); virtual void SetSize( sal_uInt64 ) SAL_OVERRIDE; sal_uLong GetSize() const; diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index b26a355f395d..c955492748e7 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -402,7 +402,7 @@ enum RepresentModes { class UCBStorageStream_Impl : public SvRefBase, public SvStream { - ~UCBStorageStream_Impl(); + virtual ~UCBStorageStream_Impl(); public: virtual sal_uLong GetData( void* pData, sal_uLong nSize ) SAL_OVERRIDE; @@ -466,7 +466,7 @@ typedef ::std::vector< UCBStorageElement_Impl* > UCBStorageElementList_Impl; class UCBStorage_Impl : public SvRefBase { - ~UCBStorage_Impl(); + virtual ~UCBStorage_Impl(); public: UCBStorage* m_pAntiImpl; // only valid if external references exists diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx index c4ab012b3d23..752954e44a99 100644 --- a/starmath/inc/ElementsDockingWindow.hxx +++ b/starmath/inc/ElementsDockingWindow.hxx @@ -133,7 +133,7 @@ public: SmElementsDockingWindow( SfxBindings* pBindings, SfxChildWindow* pChildWindow, Window* pParent ); - ~SmElementsDockingWindow(); + virtual ~SmElementsDockingWindow(); virtual void EndDocking( const Rectangle& rReactangle, bool bFloatMode) SAL_OVERRIDE; virtual void ToggleFloatingMode() SAL_OVERRIDE; diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index ae3d21499d7a..6a34c6ee3021 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -222,7 +222,7 @@ class SmDistanceDialog : public ModalDialog public: SmDistanceDialog(Window *pParent); - ~SmDistanceDialog(); + virtual ~SmDistanceDialog(); void ReadFrom(const SmFormat &rFormat); void WriteTo (SmFormat &rFormat) /*const*/; @@ -455,7 +455,7 @@ class SmSymDefineDialog : public ModalDialog public: SmSymDefineDialog(Window *pParent, OutputDevice *pFntListDevice, SmSymbolManager &rMgr); - ~SmSymDefineDialog(); + virtual ~SmSymDefineDialog(); using OutputDevice::SetFont; diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx index e2c14d63ad37..8f7a665bc036 100644 --- a/starmath/inc/edit.hxx +++ b/starmath/inc/edit.hxx @@ -89,7 +89,7 @@ class SmEditWindow : public Window, public DropTargetHelper public: SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin ); - ~SmEditWindow(); + virtual ~SmEditWindow(); SmDocShell * GetDoc(); SmViewShell * GetView(); diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index fa37df046b2b..eb17b368dbfd 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -130,7 +130,7 @@ private: public: SmSymbolManager(); SmSymbolManager(const SmSymbolManager& rSymbolSetManager); - ~SmSymbolManager(); + virtual ~SmSymbolManager(); SmSymbolManager & operator = (const SmSymbolManager& rSymbolSetManager); diff --git a/starmath/inc/toolbox.hxx b/starmath/inc/toolbox.hxx index 5dc062a2559a..6e4f03753666 100644 --- a/starmath/inc/toolbox.hxx +++ b/starmath/inc/toolbox.hxx @@ -54,7 +54,7 @@ public: SmToolBoxWindow(SfxBindings *pBindings, SfxChildWindow *pChildWindow, Window *pParent); - ~SmToolBoxWindow(); + virtual ~SmToolBoxWindow(); // Window virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index 63c9d85818be..1f35a4b286d6 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -89,7 +89,7 @@ private: void CaretBlinkStop(); public: SmGraphicWindow(SmViewShell* pShell); - ~SmGraphicWindow(); + virtual ~SmGraphicWindow(); // Window virtual void MouseButtonDown(const MouseEvent &rMEvt) SAL_OVERRIDE; @@ -278,7 +278,7 @@ public: TYPEINFO_OVERRIDE(); SmViewShell(SfxViewFrame *pFrame, SfxViewShell *pOldSh); - ~SmViewShell(); + virtual ~SmViewShell(); SmDocShell * GetDoc() { diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx index 679c51a7690e..35d351a4e726 100644 --- a/stoc/source/defaultregistry/defaultregistry.cxx +++ b/stoc/source/defaultregistry/defaultregistry.cxx @@ -53,7 +53,7 @@ class NestedRegistryImpl : public WeakAggImplHelper4 < XSimpleRegistry, XInit public: NestedRegistryImpl( ); - ~NestedRegistryImpl(); + virtual ~NestedRegistryImpl(); // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw(RuntimeException, std::exception) SAL_OVERRIDE; @@ -101,7 +101,7 @@ public: NestedKeyImpl( const OUString& aKeyName, NestedKeyImpl* pKey); - ~NestedKeyImpl(); + virtual ~NestedKeyImpl(); // XRegistryKey virtual OUString SAL_CALL getKeyName() throw(RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index 96a4b1df33e5..8a53877eb40b 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -1209,7 +1209,7 @@ class ImplementationRegistration { public: ImplementationRegistration( const Reference < XComponentContext > & rSMgr ); - ~ImplementationRegistration(); + virtual ~ImplementationRegistration(); // XServiceInfo OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index d0844b59d15e..b3accdc0f683 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -245,7 +245,7 @@ class IntrospectionAccessStatic_Impl: public salhelper::SimpleReferenceObject public: IntrospectionAccessStatic_Impl( Reference< XIdlReflection > xCoreReflection_ ); - ~IntrospectionAccessStatic_Impl() + virtual ~IntrospectionAccessStatic_Impl() { delete[] mpOrgPropertyHandleArray; } @@ -717,7 +717,7 @@ class ImplIntrospectionAccess : public IntrospectionAccessHelper public: ImplIntrospectionAccess( const Any& obj, rtl::Reference< IntrospectionAccessStatic_Impl > const & pStaticImpl_ ); - ~ImplIntrospectionAccess(); + virtual ~ImplIntrospectionAccess(); // Methoden von XIntrospectionAccess virtual sal_Int32 SAL_CALL getSuppliedMethodConcepts(void) diff --git a/stoc/source/loader/dllcomponentloader.cxx b/stoc/source/loader/dllcomponentloader.cxx index ef96833db5af..0fbe3500bd92 100644 --- a/stoc/source/loader/dllcomponentloader.cxx +++ b/stoc/source/loader/dllcomponentloader.cxx @@ -59,7 +59,7 @@ class DllComponentLoader { public: DllComponentLoader( const Reference<XComponentContext> & xCtx ); - ~DllComponentLoader(); + virtual ~DllComponentLoader(); // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/stoc/source/namingservice/namingservice.cxx b/stoc/source/namingservice/namingservice.cxx index a4cb8f36e8e1..016bb9a27a57 100644 --- a/stoc/source/namingservice/namingservice.cxx +++ b/stoc/source/namingservice/namingservice.cxx @@ -89,7 +89,7 @@ class NamingService_Impl HashMap_OWString_Interface aMap; public: NamingService_Impl(); - ~NamingService_Impl(); + virtual ~NamingService_Impl(); // XServiceInfo virtual OUString SAL_CALL getImplementationName() diff --git a/stoc/source/simpleregistry/simpleregistry.cxx b/stoc/source/simpleregistry/simpleregistry.cxx index d18204c4db6a..1a926a919260 100644 --- a/stoc/source/simpleregistry/simpleregistry.cxx +++ b/stoc/source/simpleregistry/simpleregistry.cxx @@ -59,7 +59,7 @@ class SimpleRegistry: public: SimpleRegistry() {} - ~SimpleRegistry() {} + virtual ~SimpleRegistry() {} osl::Mutex mutex_; diff --git a/svgio/inc/svgio/svgreader/svgdocumenthandler.hxx b/svgio/inc/svgio/svgreader/svgdocumenthandler.hxx index 35b4cf75969d..2b2b591cadee 100644 --- a/svgio/inc/svgio/svgreader/svgdocumenthandler.hxx +++ b/svgio/inc/svgio/svgreader/svgdocumenthandler.hxx @@ -48,7 +48,7 @@ namespace svgio public: SvgDocHdl(const OUString& rAbsolutePath); - ~SvgDocHdl(); + virtual ~SvgDocHdl(); // Methods XDocumentHandler virtual void SAL_CALL startDocument( ) throw (com::sun::star::xml::sax::SAXException, com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index dc816de1a5ec..47c9ff834c1b 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -46,7 +46,7 @@ namespace { class Test : public CppUnit::TestFixture { public: Test(); - ~Test(); + virtual ~Test(); virtual void setUp() SAL_OVERRIDE; virtual void tearDown() SAL_OVERRIDE; diff --git a/svl/source/config/cjkoptions.cxx b/svl/source/config/cjkoptions.cxx index 3840944d7ba9..05a4f5ea1edf 100644 --- a/svl/source/config/cjkoptions.cxx +++ b/svl/source/config/cjkoptions.cxx @@ -61,7 +61,7 @@ class SvtCJKOptions_Impl : public utl::ConfigItem public: SvtCJKOptions_Impl(); - ~SvtCJKOptions_Impl(); + virtual ~SvtCJKOptions_Impl(); virtual void Notify( const com::sun::star::uno::Sequence< OUString >& rPropertyNames ) SAL_OVERRIDE; virtual void Commit() SAL_OVERRIDE; diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index 227dd2308baa..37a193fa713d 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -59,7 +59,7 @@ private: public: SvtCTLOptions_Impl(); - ~SvtCTLOptions_Impl(); + virtual ~SvtCTLOptions_Impl(); virtual void Notify( const Sequence< OUString >& _aPropertyNames ) SAL_OVERRIDE; virtual void Commit() SAL_OVERRIDE; diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx index 9742e6ecb255..2933a7605c75 100644 --- a/svl/source/inc/passwordcontainer.hxx +++ b/svl/source/inc/passwordcontainer.hxx @@ -296,7 +296,7 @@ bool createUrlRecord( public: PasswordContainer( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& ); - ~PasswordContainer(); + virtual ~PasswordContainer(); virtual void SAL_CALL add( const OUString& aUrl, const OUString& aUserName, diff --git a/svl/source/numbers/supservs.hxx b/svl/source/numbers/supservs.hxx index 48ee2c0e278a..c045efdfa1b6 100644 --- a/svl/source/numbers/supservs.hxx +++ b/svl/source/numbers/supservs.hxx @@ -52,7 +52,7 @@ protected: public: SvNumberFormatsSupplierServiceObject(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB); - ~SvNumberFormatsSupplierServiceObject(); + virtual ~SvNumberFormatsSupplierServiceObject(); // XInterface virtual void SAL_CALL acquire() throw() SAL_OVERRIDE { SvNumberFormatsSupplierObj::acquire(); } diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx index 0c7209d16a09..04a912a518fd 100644 --- a/svtools/source/brwbox/datwin.hxx +++ b/svtools/source/brwbox/datwin.hxx @@ -137,7 +137,7 @@ public: public: BrowserDataWin( BrowseBox* pParent ); - ~BrowserDataWin(); + virtual ~BrowserDataWin(); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx index 7045e1398c9f..508db5390717 100644 --- a/svtools/source/config/menuoptions.cxx +++ b/svtools/source/config/menuoptions.cxx @@ -86,7 +86,7 @@ class SvtMenuOptions_Impl : public ConfigItem SvtMenuOptions_Impl(); - ~SvtMenuOptions_Impl(); + virtual ~SvtMenuOptions_Impl(); void AddListenerLink( const Link& rLink ); void RemoveListenerLink( const Link& rLink ); diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx index 0ef6cf590cc9..6a050d7d2eba 100644 --- a/svtools/source/config/miscopt.cxx +++ b/svtools/source/config/miscopt.cxx @@ -94,7 +94,7 @@ class SvtMiscOptions_Impl : public ConfigItem public: SvtMiscOptions_Impl(); - ~SvtMiscOptions_Impl(); + virtual ~SvtMiscOptions_Impl(); /*-**************************************************************************************************** @short called for notify of configmanager diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx index 72e698a5bc2f..b977c723a23e 100644 --- a/svtools/source/config/optionsdrawinglayer.cxx +++ b/svtools/source/config/optionsdrawinglayer.cxx @@ -168,7 +168,7 @@ public: SvtOptionsDrawinglayer_Impl(); - ~SvtOptionsDrawinglayer_Impl(); + virtual ~SvtOptionsDrawinglayer_Impl(); // overloaded methods of baseclass diff --git a/svtools/source/config/slidesorterbaropt.cxx b/svtools/source/config/slidesorterbaropt.cxx index 8affb53253fd..eab6a808f678 100644 --- a/svtools/source/config/slidesorterbaropt.cxx +++ b/svtools/source/config/slidesorterbaropt.cxx @@ -54,7 +54,7 @@ class SvtSlideSorterBarOptions_Impl : public ConfigItem public: SvtSlideSorterBarOptions_Impl(); - ~SvtSlideSorterBarOptions_Impl(); + virtual ~SvtSlideSorterBarOptions_Impl(); /** called for notify of configmanager diff --git a/svtools/source/config/toolpanelopt.cxx b/svtools/source/config/toolpanelopt.cxx index 5dcc1ca004ff..368bb9977338 100644 --- a/svtools/source/config/toolpanelopt.cxx +++ b/svtools/source/config/toolpanelopt.cxx @@ -60,7 +60,7 @@ class SvtToolPanelOptions_Impl : public ConfigItem public: SvtToolPanelOptions_Impl(); - ~SvtToolPanelOptions_Impl(); + virtual ~SvtToolPanelOptions_Impl(); /** called for notify of configmanager diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx index 1c6b4ae504b2..ca881c960f85 100644 --- a/svtools/source/contnr/contentenumeration.hxx +++ b/svtools/source/contnr/contentenumeration.hxx @@ -249,7 +249,7 @@ namespace svt void cancel(); protected: - ~FileViewContentEnumerator(); + virtual ~FileViewContentEnumerator(); private: EnumerationResult enumerateFolderContent(); diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 1d1588a17900..f6dc9e56da37 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -194,7 +194,7 @@ protected: public: ViewTabListBox_Impl( Window* pParentWin, SvtFileView_Impl* pParent, sal_Int16 nFlags ); - ~ViewTabListBox_Impl(); + virtual ~ViewTabListBox_Impl(); virtual void Resize() SAL_OVERRIDE; virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 3813e798a884..8876379bc7aa 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -84,7 +84,7 @@ public: const OUString& rData, const Link& rNotifyEditEnd ); - ~IcnViewEdit_Impl(); + virtual ~IcnViewEdit_Impl(); virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; sal_Bool EditingCanceled() const { return bCanceled; } diff --git a/svtools/source/contnr/templwin.hxx b/svtools/source/contnr/templwin.hxx index bd47b9688398..c759e3270f99 100644 --- a/svtools/source/contnr/templwin.hxx +++ b/svtools/source/contnr/templwin.hxx @@ -49,7 +49,7 @@ private: public: SvtDummyHeaderBar_Impl( Window* pParent ); - ~SvtDummyHeaderBar_Impl(); + virtual ~SvtDummyHeaderBar_Impl(); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; }; @@ -73,7 +73,7 @@ private: public: SvtIconWindow_Impl( Window* pParent ); - ~SvtIconWindow_Impl(); + virtual ~SvtIconWindow_Impl(); virtual void Resize() SAL_OVERRIDE; @@ -129,7 +129,7 @@ private: public: SvtFileViewWindow_Impl( SvtTemplateWindow* pParent ); - ~SvtFileViewWindow_Impl(); + virtual ~SvtFileViewWindow_Impl(); virtual void Resize() SAL_OVERRIDE; @@ -195,7 +195,7 @@ private: public: SvtFrameWindow_Impl( Window* pParent ); - ~SvtFrameWindow_Impl(); + virtual ~SvtFrameWindow_Impl(); virtual void Resize() SAL_OVERRIDE; @@ -253,7 +253,7 @@ protected: public: SvtTemplateWindow( Window* pParent ); - ~SvtTemplateWindow(); + virtual ~SvtTemplateWindow(); inline void SetSelectHdl( const Link& rLink ) { aSelectHdl = rLink; } inline void SetDoubleClickHdl( const Link& rLink ) { aDoubleClickHdl = rLink; } diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index 8934ae5ea6de..26427a42793f 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -2206,7 +2206,7 @@ private: public: ImplCFieldFloatWin( Window* pParent ); - ~ImplCFieldFloatWin(); + virtual ~ImplCFieldFloatWin(); void SetCalendar( Calendar* pCalendar ) { mpCalendar = pCalendar; } diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx index 5f0a54b83961..11d3de4b4dd3 100644 --- a/svtools/source/control/roadmap.cxx +++ b/svtools/source/control/roadmap.cxx @@ -46,7 +46,7 @@ namespace svt { public: IDLabel( Window* _pParent, WinBits _nWinStyle = 0 ); - ~IDLabel( ); + virtual ~IDLabel( ); virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE; }; diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx index ff5f9c8935cd..53ce583569f2 100644 --- a/svtools/source/control/toolbarmenuimp.hxx +++ b/svtools/source/control/toolbarmenuimp.hxx @@ -117,7 +117,7 @@ class ToolbarMenuAcc : public: ToolbarMenuAcc( ToolbarMenu_Impl& rParent ); - ~ToolbarMenuAcc(); + virtual ~ToolbarMenuAcc(); void FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue ); bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } @@ -209,7 +209,7 @@ class ToolbarMenuEntryAcc : public ::comphelper::OBaseMutex, { public: ToolbarMenuEntryAcc( ToolbarMenuEntry* pParent ); - ~ToolbarMenuEntryAcc(); + virtual ~ToolbarMenuEntryAcc(); bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx index 69aebf3c23ae..e0c8633eff07 100644 --- a/svtools/source/control/valueimp.hxx +++ b/svtools/source/control/valueimp.hxx @@ -81,7 +81,7 @@ class ValueSetAcc : public: ValueSetAcc( ValueSet* pParent, bool bIsTransientChildrenDisabled ); - ~ValueSetAcc(); + virtual ~ValueSetAcc(); void FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue ); sal_Bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } @@ -217,7 +217,7 @@ private: public: ValueItemAcc( ValueSetItem* pParent, bool bIsTransientChildrenDisabled ); - ~ValueItemAcc(); + virtual ~ValueItemAcc(); void ParentDestroyed(); diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 7f97c13063b0..c59b151e41ee 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -291,7 +291,7 @@ public: public: AssignmentPersistentData(); - ~AssignmentPersistentData(); + virtual ~AssignmentPersistentData(); // IAssigmentData overridables virtual OUString getDatasourceName() const SAL_OVERRIDE; diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx index 682d0cb38ae1..ecce9fa2616d 100644 --- a/svtools/source/filter/SvFilterOptionsDialog.cxx +++ b/svtools/source/filter/SvFilterOptionsDialog.cxx @@ -76,7 +76,7 @@ class SvFilterOptionsDialog : public cppu::WeakImplHelper5 public: SvFilterOptionsDialog( const uno::Reference< uno::XComponentContext >& _rxORB ); - ~SvFilterOptionsDialog(); + virtual ~SvFilterOptionsDialog(); // XInterface virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; diff --git a/svtools/source/filter/exportdialog.hxx b/svtools/source/filter/exportdialog.hxx index f58941847c3b..75a827e3cd0c 100644 --- a/svtools/source/filter/exportdialog.hxx +++ b/svtools/source/filter/exportdialog.hxx @@ -178,7 +178,7 @@ public: const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext, const com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& rxSourceDocument, sal_Bool bExportSelection, sal_Bool bIsExportVectorFormat ); - ~ExportDialog(); + virtual ~ExportDialog(); }; diff --git a/svtools/source/graphic/descriptor.hxx b/svtools/source/graphic/descriptor.hxx index 3f623b730467..c6c22d0a4f3c 100644 --- a/svtools/source/graphic/descriptor.hxx +++ b/svtools/source/graphic/descriptor.hxx @@ -68,7 +68,7 @@ class GraphicDescriptor : public ::cppu::OWeakAggObject, public: GraphicDescriptor(); - ~GraphicDescriptor() throw(); + virtual ~GraphicDescriptor() throw(); void init( const ::Graphic& rGraphic ) throw(); void init( const OUString& rURL ) throw(); diff --git a/svtools/source/graphic/graphic.hxx b/svtools/source/graphic/graphic.hxx index b3ba30b648b8..1839da37d3f8 100644 --- a/svtools/source/graphic/graphic.hxx +++ b/svtools/source/graphic/graphic.hxx @@ -39,7 +39,7 @@ class Graphic : public ::com::sun::star::graphic::XGraphic, public: Graphic(); - ~Graphic() throw(); + virtual ~Graphic() throw(); using ::unographic::GraphicDescriptor::init; void init( const ::Graphic& rGraphic ) throw(); diff --git a/svtools/source/graphic/transformer.hxx b/svtools/source/graphic/transformer.hxx index 2c7889a96cf3..802164fc9094 100644 --- a/svtools/source/graphic/transformer.hxx +++ b/svtools/source/graphic/transformer.hxx @@ -38,7 +38,7 @@ class GraphicTransformer : public GraphicTransformer_UnoImplHelper1 public: GraphicTransformer(); - ~GraphicTransformer(); + virtual ~GraphicTransformer(); // XGraphicTransformer virtual ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > SAL_CALL colorChange( diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx index f2d6ac12588a..e789e49d13a0 100644 --- a/svtools/source/hatchwindow/documentcloser.cxx +++ b/svtools/source/hatchwindow/documentcloser.cxx @@ -55,7 +55,7 @@ class ODocumentCloser : public ::cppu::WeakImplHelper2< ::com::sun::star::lang:: public: ODocumentCloser(const css::uno::Sequence< css::uno::Any >& aArguments); - ~ODocumentCloser(); + virtual ~ODocumentCloser(); // XComponent virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/inc/hatchwindow.hxx b/svtools/source/inc/hatchwindow.hxx index 418b936c64c5..f5a9319abeb4 100644 --- a/svtools/source/inc/hatchwindow.hxx +++ b/svtools/source/inc/hatchwindow.hxx @@ -35,7 +35,7 @@ class VCLXHatchWindow : public ::com::sun::star::embed::XHatchWindow, public: VCLXHatchWindow(); - ~VCLXHatchWindow(); + virtual ~VCLXHatchWindow(); void initializeWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent, const ::com::sun::star::awt::Rectangle& aBounds, diff --git a/svtools/source/inc/provider.hxx b/svtools/source/inc/provider.hxx index 497e7b6ab630..416abbf17d45 100644 --- a/svtools/source/inc/provider.hxx +++ b/svtools/source/inc/provider.hxx @@ -33,7 +33,7 @@ class GraphicProvider : public ::cppu::WeakImplHelper2< ::com::sun::star::graphi public: GraphicProvider(); - ~GraphicProvider(); + virtual ~GraphicProvider(); protected: diff --git a/svtools/source/inc/renderer.hxx b/svtools/source/inc/renderer.hxx index 5996aa89f7f5..b50088d2e737 100644 --- a/svtools/source/inc/renderer.hxx +++ b/svtools/source/inc/renderer.hxx @@ -42,7 +42,7 @@ class GraphicRendererVCL : public ::cppu::OWeakAggObject, public: GraphicRendererVCL(); - ~GraphicRendererVCL() throw(); + virtual ~GraphicRendererVCL() throw(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/inc/unoiface.hxx b/svtools/source/inc/unoiface.hxx index f38d3a2f7d64..0378cd716d30 100644 --- a/svtools/source/inc/unoiface.hxx +++ b/svtools/source/inc/unoiface.hxx @@ -62,7 +62,7 @@ protected: public: VCLXMultiLineEdit(); - ~VCLXMultiLineEdit(); + virtual ~VCLXMultiLineEdit(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -122,7 +122,7 @@ protected: public: VCLXFileControl(); - ~VCLXFileControl(); + virtual ~VCLXFileControl(); void SetWindow( Window* pWindow ) SAL_OVERRIDE; @@ -180,7 +180,7 @@ protected: public: SVTXFormattedField(); - ~SVTXFormattedField(); + virtual ~SVTXFormattedField(); // ::com::sun::star::awt::XVclWindowPeer void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -253,7 +253,7 @@ protected: ::svt::ORoadmap* GetRoadmap() const { return (::svt::ORoadmap*)GetWindow(); } void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE; - ~SVTXRoadmap(); + virtual ~SVTXRoadmap(); public: SVTXRoadmap(); @@ -295,7 +295,7 @@ class SVTXNumericField : public ::com::sun::star::awt::XNumericField, public SVT { public: SVTXNumericField(); - ~SVTXNumericField(); + virtual ~SVTXNumericField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -335,7 +335,7 @@ class SVTXCurrencyField : public ::com::sun::star::awt::XCurrencyField, public S { public: SVTXCurrencyField(); - ~SVTXCurrencyField(); + virtual ~SVTXCurrencyField(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -388,7 +388,7 @@ protected: public: VCLXProgressBar(); - ~VCLXProgressBar(); + virtual ~VCLXProgressBar(); // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -421,7 +421,7 @@ class SVTXDateField : public VCLXDateField { public: SVTXDateField(); - ~SVTXDateField(); + virtual ~SVTXDateField(); // ::com::sun::star::awt::VclWindowPeer void SAL_CALL setProperty( const OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx index fa058e818374..81124a2b47de 100644 --- a/svtools/source/misc/templatefoldercache.cxx +++ b/svtools/source/misc/templatefoldercache.cxx @@ -135,7 +135,7 @@ namespace svt } private: - ~TemplateContent(); + virtual ~TemplateContent(); public: TemplateContent( const INetURLObject& _rURL ); diff --git a/svtools/source/table/mousefunction.hxx b/svtools/source/table/mousefunction.hxx index 5db88a5322fc..c8d801d6eab1 100644 --- a/svtools/source/table/mousefunction.hxx +++ b/svtools/source/table/mousefunction.hxx @@ -72,7 +72,7 @@ namespace svt { namespace table { } protected: - ~MouseFunction() + virtual ~MouseFunction() { } diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index 71bbdfb9e622..e1a4921b9320 100644 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -173,7 +173,7 @@ namespace svt { namespace table public: TableControl_Impl( TableControl& _rAntiImpl ); - ~TableControl_Impl(); + virtual ~TableControl_Impl(); #ifdef DBG_UTIL const sal_Char* impl_checkInvariants() const; diff --git a/svtools/source/table/tabledatawindow.hxx b/svtools/source/table/tabledatawindow.hxx index 0e153b8bc511..53dfb141bd74 100644 --- a/svtools/source/table/tabledatawindow.hxx +++ b/svtools/source/table/tabledatawindow.hxx @@ -48,7 +48,7 @@ namespace svt { namespace table public: TableDataWindow( TableControl_Impl& _rTableControl ); - ~TableDataWindow(); + virtual ~TableDataWindow(); inline void SetSelectHdl( const Link& rLink ) { m_aSelectHdl = rLink; } inline const Link& GetSelectHdl() const { return m_aSelectHdl; } diff --git a/svtools/source/toolpanel/dummypanel.hxx b/svtools/source/toolpanel/dummypanel.hxx index ff5e42c8f950..c376b71a5533 100644 --- a/svtools/source/toolpanel/dummypanel.hxx +++ b/svtools/source/toolpanel/dummypanel.hxx @@ -37,7 +37,7 @@ namespace svt { public: DummyPanel(); - ~DummyPanel(); + virtual ~DummyPanel(); // IToolPanel virtual OUString GetDisplayName() const SAL_OVERRIDE; diff --git a/svtools/source/toolpanel/paneltabbarpeer.hxx b/svtools/source/toolpanel/paneltabbarpeer.hxx index 73b00eaac472..2c9601010208 100644 --- a/svtools/source/toolpanel/paneltabbarpeer.hxx +++ b/svtools/source/toolpanel/paneltabbarpeer.hxx @@ -39,7 +39,7 @@ namespace svt PanelTabBarPeer( PanelTabBar& i_rTabBar ); protected: - ~PanelTabBarPeer(); + virtual ~PanelTabBarPeer(); // VCLXWindow overridables virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE; diff --git a/svtools/source/toolpanel/toolpaneldeckpeer.hxx b/svtools/source/toolpanel/toolpaneldeckpeer.hxx index 2ed84623939a..daa177000128 100644 --- a/svtools/source/toolpanel/toolpaneldeckpeer.hxx +++ b/svtools/source/toolpanel/toolpaneldeckpeer.hxx @@ -39,7 +39,7 @@ namespace svt ToolPanelDeckPeer( ToolPanelDeck& i_rDeck ); protected: - ~ToolPanelDeckPeer(); + virtual ~ToolPanelDeckPeer(); // VCLXWindow overridables virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE; diff --git a/svtools/source/toolpanel/toolpaneldrawer.hxx b/svtools/source/toolpanel/toolpaneldrawer.hxx index 83ad9b336712..c237500caad2 100644 --- a/svtools/source/toolpanel/toolpaneldrawer.hxx +++ b/svtools/source/toolpanel/toolpaneldrawer.hxx @@ -43,7 +43,7 @@ namespace svt { public: DrawerVisualization( ToolPanelDrawer& i_rParent ); - ~DrawerVisualization(); + virtual ~DrawerVisualization(); protected: // Window overridables @@ -61,7 +61,7 @@ namespace svt { public: ToolPanelDrawer( Window& i_rParent, const OUString& i_rTitle ); - ~ToolPanelDrawer(); + virtual ~ToolPanelDrawer(); long GetPreferredHeightPixel() const; void SetExpanded( const bool i_bExpanded ); diff --git a/svtools/source/toolpanel/toolpaneldrawerpeer.cxx b/svtools/source/toolpanel/toolpaneldrawerpeer.cxx index 1913c775b28e..5f7af7987e0f 100644 --- a/svtools/source/toolpanel/toolpaneldrawerpeer.cxx +++ b/svtools/source/toolpanel/toolpaneldrawerpeer.cxx @@ -66,7 +66,7 @@ namespace svt virtual void FillAccessibleStateSet( ::utl::AccessibleStateSetHelper& i_rStateSet ) SAL_OVERRIDE; protected: - ~ToolPanelDrawerContext() + virtual ~ToolPanelDrawerContext() { } }; diff --git a/svtools/source/toolpanel/toolpaneldrawerpeer.hxx b/svtools/source/toolpanel/toolpaneldrawerpeer.hxx index 46b1b5e75f68..9a1a7572954d 100644 --- a/svtools/source/toolpanel/toolpaneldrawerpeer.hxx +++ b/svtools/source/toolpanel/toolpaneldrawerpeer.hxx @@ -36,7 +36,7 @@ namespace svt ToolPanelDrawerPeer(); protected: - ~ToolPanelDrawerPeer(); + virtual ~ToolPanelDrawerPeer(); // VCLXWindow overridables virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext() SAL_OVERRIDE; diff --git a/svtools/source/uno/svtxgridcontrol.hxx b/svtools/source/uno/svtxgridcontrol.hxx index 4571b180d88d..11094d827a76 100644 --- a/svtools/source/uno/svtxgridcontrol.hxx +++ b/svtools/source/uno/svtxgridcontrol.hxx @@ -61,7 +61,7 @@ protected: public: SVTXGridControl(); - ~SVTXGridControl(); + virtual ~SVTXGridControl(); // XGridDataListener virtual void SAL_CALL rowsInserted( const ::com::sun::star::awt::grid::GridDataEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index 23b8e230b351..c0d541a7e3f6 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -85,7 +85,7 @@ class UnoTreeListBoxImpl : public SvTreeListBox { public: UnoTreeListBoxImpl( TreeControlPeer* pPeer, Window* pParent, WinBits nWinStyle ); - ~UnoTreeListBoxImpl(); + virtual ~UnoTreeListBoxImpl(); sal_uInt32 insert( SvTreeListEntry* pEntry,SvTreeListEntry* pParent,sal_uLong nPos=TREELIST_APPEND ); diff --git a/svtools/source/uno/unocontroltablemodel.hxx b/svtools/source/uno/unocontroltablemodel.hxx index 3facb09552a6..106f69173861 100644 --- a/svtools/source/uno/unocontroltablemodel.hxx +++ b/svtools/source/uno/unocontroltablemodel.hxx @@ -54,7 +54,7 @@ namespace svt { namespace table public: UnoControlTableModel(); - ~UnoControlTableModel(); + virtual ~UnoControlTableModel(); public: // ITableModel overridables diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 6e2541b79760..7d281ed2cc64 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -100,7 +100,7 @@ namespace svt { namespace table void dispose(); protected: - ~ColumnChangeMultiplexer(); + virtual ~ColumnChangeMultiplexer(); // XGridColumnListener virtual void SAL_CALL columnChanged( const GridColumnEvent& i_event ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svtools/source/uno/unogridcolumnfacade.hxx b/svtools/source/uno/unogridcolumnfacade.hxx index 625e0d74b816..d05db1564f20 100644 --- a/svtools/source/uno/unogridcolumnfacade.hxx +++ b/svtools/source/uno/unogridcolumnfacade.hxx @@ -50,7 +50,7 @@ namespace svt { namespace table UnoControlTableModel const & i_owner, ::com::sun::star::uno::Reference< ::com::sun::star::awt::grid::XGridColumn > const & i_gridColumn ); - ~UnoGridColumnFacade(); + virtual ~UnoGridColumnFacade(); // IColumnModel overridables virtual ::com::sun::star::uno::Any diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx index 22b8073117b3..dd33f8024ca6 100644 --- a/svtools/source/uno/wizard/unowizard.cxx +++ b/svtools/source/uno/wizard/unowizard.cxx @@ -133,7 +133,7 @@ namespace { virtual void SAL_CALL initialize( const uno::Sequence< uno::Any >& aArguments ) throw (uno::Exception, uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~Wizard(); + virtual ~Wizard(); protected: virtual Dialog* createDialog( Window* _pParent ) SAL_OVERRIDE; diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx index d60a3bfc368f..4036a1892785 100644 --- a/svx/inc/galbrws2.hxx +++ b/svx/inc/galbrws2.hxx @@ -79,7 +79,7 @@ private: public: GalleryToolBox( GalleryBrowser2* pParent ); - ~GalleryToolBox(); + virtual ~GalleryToolBox(); }; @@ -152,7 +152,7 @@ public: public: GalleryBrowser2( Window* pParent, const ResId& rResId, Gallery* pGallery ); - ~GalleryBrowser2(); + virtual ~GalleryBrowser2(); void SelectTheme( const OUString& rThemeName ); diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx index eee51e9ae76d..a418ff2935e8 100644 --- a/svx/inc/tbunosearchcontrollers.hxx +++ b/svx/inc/tbunosearchcontrollers.hxx @@ -92,7 +92,7 @@ class FindTextToolbarController : public svt::ToolboxController, public: FindTextToolbarController( const css::uno::Reference< css::uno::XComponentContext > & rxContext ); - ~FindTextToolbarController(); + virtual ~FindTextToolbarController(); // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -132,7 +132,7 @@ class ExitSearchToolboxController : public svt::ToolboxController, { public: ExitSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~ExitSearchToolboxController(); + virtual ~ExitSearchToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -164,7 +164,7 @@ public: enum Type { UP, DOWN }; UpDownSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, Type eType ); - ~UpDownSearchToolboxController(); + virtual ~UpDownSearchToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -197,7 +197,7 @@ class MatchCaseToolboxController : public svt::ToolboxController, { public: MatchCaseToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~MatchCaseToolboxController(); + virtual ~MatchCaseToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -230,7 +230,7 @@ class FindAllToolboxController : public svt::ToolboxController, { public: FindAllToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~FindAllToolboxController(); + virtual ~FindAllToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -260,7 +260,7 @@ class SearchLabelToolboxController : public svt::ToolboxController, { public: SearchLabelToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~SearchLabelToolboxController(); + virtual ~SearchLabelToolboxController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index 3eacb7689abb..1f5784e3e540 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -57,7 +57,7 @@ namespace accessibility AccessibleProxyEditSource_Impl( SdrObject& rObj, SdrView& rView, const Window& rViewWindow ); - ~AccessibleProxyEditSource_Impl(); + virtual ~AccessibleProxyEditSource_Impl(); // from the SvxEditSource interface SvxTextForwarder* GetTextForwarder() SAL_OVERRIDE; @@ -82,7 +82,7 @@ namespace accessibility public: AccessibleEmptyEditSource_Impl() {} - ~AccessibleEmptyEditSource_Impl() {} + virtual ~AccessibleEmptyEditSource_Impl() {} // from the SfxListener interface void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.hxx b/svx/source/accessibility/AccessibleEmptyEditSource.hxx index b897f7ca28e5..be7fadc83f75 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.hxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.hxx @@ -50,7 +50,7 @@ namespace accessibility does not contain text. */ AccessibleEmptyEditSource( SdrObject& rObj, SdrView& rView, const Window& rViewWindow ); - ~AccessibleEmptyEditSource(); + virtual ~AccessibleEmptyEditSource(); // from the SvxEditSource interface SvxTextForwarder* GetTextForwarder() SAL_OVERRIDE; diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx index 6a6e06a8c2d4..995b70921edc 100644 --- a/svx/source/accessibility/AccessibleTextHelper.cxx +++ b/svx/source/accessibility/AccessibleTextHelper.cxx @@ -102,7 +102,7 @@ namespace accessibility // receive pointer to our frontend class and view window AccessibleTextHelper_Impl(); - ~AccessibleTextHelper_Impl(); + virtual ~AccessibleTextHelper_Impl(); // XAccessibleContext child handling methods sal_Int32 SAL_CALL getAccessibleChildCount() SAL_THROW((uno::RuntimeException)); diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 5804b9fae990..36a4919035b0 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -106,7 +106,7 @@ public: /** If there still are managed children these are disposed and released. */ - ~ChildrenManagerImpl (void); + virtual ~ChildrenManagerImpl (void); /** Do that part of the initialization that you can not or should not do in the constructor like registering at broadcasters. diff --git a/svx/source/dialog/contimp.hxx b/svx/source/dialog/contimp.hxx index eedf9cce7a82..39ad8afe73f5 100644 --- a/svx/source/dialog/contimp.hxx +++ b/svx/source/dialog/contimp.hxx @@ -69,7 +69,7 @@ public: SvxSuperContourDlg( SfxBindings *pBindings, SfxChildWindow *pCW, Window* pParent, const ResId& rResId ); - ~SvxSuperContourDlg(); + virtual ~SvxSuperContourDlg(); void SetExecState( sal_Bool bEnable ); diff --git a/svx/source/dialog/contwnd.hxx b/svx/source/dialog/contwnd.hxx index 457d1ace00b8..7bb1b6295d2b 100644 --- a/svx/source/dialog/contwnd.hxx +++ b/svx/source/dialog/contwnd.hxx @@ -49,7 +49,7 @@ protected: public: ContourWindow( Window* pParent, const ResId& rResId ); - ~ContourWindow(); + virtual ~ContourWindow(); void SetPolyPolygon( const PolyPolygon& rPolyPoly ); const PolyPolygon& GetPolyPolygon(); diff --git a/svx/source/dialog/imapwnd.hxx b/svx/source/dialog/imapwnd.hxx index da6883a152e4..3b34504c48ad 100644 --- a/svx/source/dialog/imapwnd.hxx +++ b/svx/source/dialog/imapwnd.hxx @@ -80,7 +80,7 @@ public: SdrObjUserData ( IMapInventor, SVD_IMAP_USERDATA, 0 ), mpObj ( rIMapUserData.mpObj ) {} - ~IMapUserData() { } + virtual ~IMapUserData() { } virtual SdrObjUserData* Clone( SdrObject * ) const SAL_OVERRIDE { return new IMapUserData( *this ); } @@ -132,7 +132,7 @@ protected: public: IMapWindow( Window* pParent, const ResId& rResId, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxDocumentFrame ); - ~IMapWindow(); + virtual ~IMapWindow(); sal_Bool ReplaceActualIMapInfo( const NotifyInfo& rNewInfo ); diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 9ff334e91299..76c521ea2829 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -91,7 +91,7 @@ class SvxRubyData_Impl : public cppu::WeakImplHelper1 bool bHasSelectionChanged; public: SvxRubyData_Impl(); - ~SvxRubyData_Impl(); + virtual ~SvxRubyData_Impl(); void SetController(Reference<XController> xCtrl); Reference<XModel> GetModel() diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index da846cb05c6d..bb87ef395444 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -97,7 +97,7 @@ namespace svxform void SAL_CALL dispose(); protected: - ~FormScriptListener(); + virtual ~FormScriptListener(); private: /** determines whether calling a given method at a given listener interface can be done asynchronously diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index d571e917ab07..2230c80c8ec0 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -176,7 +176,7 @@ namespace svx void dispose(); protected: - ~FmFocusListenerAdapter(); + virtual ~FmFocusListenerAdapter(); protected: virtual void SAL_CALL focusGained( const FocusEvent& e ) throw (RuntimeException, std::exception) SAL_OVERRIDE; @@ -265,7 +265,7 @@ namespace svx void dispose(); protected: - ~FmMouseListenerAdapter(); + virtual ~FmMouseListenerAdapter(); protected: virtual void SAL_CALL mousePressed( const awt::MouseEvent& e ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx index 40881ae9db98..8269f60b96e8 100644 --- a/svx/source/gallery2/galbrws1.hxx +++ b/svx/source/gallery2/galbrws1.hxx @@ -37,7 +37,7 @@ private: public: GalleryButton( GalleryBrowser1* pParent, WinBits nWinBits ); - ~GalleryButton(); + virtual ~GalleryButton(); }; // - GalleryThemeListBox - @@ -54,7 +54,7 @@ protected: public: GalleryThemeListBox( GalleryBrowser1* pParent, WinBits nWinBits ); - ~GalleryThemeListBox(); + virtual ~GalleryThemeListBox(); }; // - GalleryBrowser1 - @@ -123,7 +123,7 @@ public: Gallery* pGallery, const ::boost::function<sal_Bool(const KeyEvent&,Window*)>& rKeyInputHandler, const ::boost::function<void(void)>& rThemeSlectionHandler); - ~GalleryBrowser1(); + virtual ~GalleryBrowser1(); void SelectTheme( const OUString& rThemeName ) { mpThemes->SelectEntry( rThemeName ); SelectThemeHdl( NULL ); } void SelectTheme( sal_uIntPtr nThemePos ) { mpThemes->SelectEntryPos( (sal_uInt16) nThemePos ); SelectThemeHdl( NULL ); } diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index 2aeb7f5fdfd5..cb00371f3f4d 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -127,7 +127,7 @@ public: sal_uIntPtr nObjectPos, sal_Bool bPreview, GalleryBrowser2* pBrowser ); - ~GalleryThemePopup(); + virtual ~GalleryThemePopup(); void ExecutePopup( Window *pParent, const ::Point &aPos ); diff --git a/svx/source/inc/datalistener.hxx b/svx/source/inc/datalistener.hxx index 75f54b7f8bb0..875a7d5bd1e1 100644 --- a/svx/source/inc/datalistener.hxx +++ b/svx/source/inc/datalistener.hxx @@ -45,7 +45,7 @@ namespace svxform DataListener( DataNavigatorWindow* pNaviWin ); protected: - ~DataListener(); + virtual ~DataListener(); public: // XContainerListener diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx index 7dc5bb12f64e..738593ad0cc3 100644 --- a/svx/source/inc/datanavi.hxx +++ b/svx/source/inc/datanavi.hxx @@ -123,7 +123,7 @@ namespace svxform public: DataTreeListBox( XFormsPage* pPage, DataGroupType _eGroup, const ResId& rResId ); - ~DataTreeListBox(); + virtual ~DataTreeListBox(); virtual PopupMenu* CreateContextMenu( void ) SAL_OVERRIDE; virtual void ExcecuteContextMenuAction( sal_uInt16 _nSelectedPopupEntry ) SAL_OVERRIDE; @@ -271,7 +271,7 @@ namespace svxform public: XFormsPage( Window* pParent, DataNavigatorWindow* _pNaviWin, DataGroupType _eGroup ); - ~XFormsPage(); + virtual ~XFormsPage(); virtual void Resize() SAL_OVERRIDE; @@ -357,7 +357,7 @@ namespace svxform public: DataNavigatorWindow( Window* pParent, SfxBindings* pBindings ); - ~DataNavigatorWindow(); + virtual ~DataNavigatorWindow(); void SetDocModified(); void NotifyChanges( bool _bLoadAll = false ); @@ -456,7 +456,7 @@ namespace svxform public: AddDataItemDialog( Window* pParent, ItemNode* _pNode, const XFormsUIHelper1_ref& _rUIHelper ); - ~AddDataItemDialog(); + virtual ~AddDataItemDialog(); void InitText( DataItemType _eType ); }; @@ -519,7 +519,7 @@ namespace svxform public: NamespaceItemDialog( AddConditionDialog* pParent, XNameContainer_ref& _rContainer ); - ~NamespaceItemDialog(); + virtual ~NamespaceItemDialog(); }; @@ -579,7 +579,7 @@ namespace svxform public: AddSubmissionDialog( Window* pParent, ItemNode* _pNode, const XFormsUIHelper1_ref& _rUIHelper ); - ~AddSubmissionDialog(); + virtual ~AddSubmissionDialog(); inline const XSubmission_ref& GetNewSubmission() const { return m_xNewSubmission; } }; diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index 7f51bb208c51..59f312a7b3e2 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -309,7 +309,7 @@ class PluginProgressWindow : public Window PluginProgressWindow( Window* pParent , const css::uno::Reference< css::lang::XComponent >& xProgress); - ~PluginProgressWindow(); + virtual ~PluginProgressWindow(); }; class PluginProgress : public ::cppu::WeakImplHelper2< css::task::XStatusIndicator , diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index e2db395d3de7..979807641754 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -262,7 +262,7 @@ public: virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; protected: - ~FmXFormShell(); + virtual ~FmXFormShell(); // XTypeProvider virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svx/source/inc/fmtextcontrolfeature.hxx b/svx/source/inc/fmtextcontrolfeature.hxx index 125c04eff844..da9ea54fe47d 100644 --- a/svx/source/inc/fmtextcontrolfeature.hxx +++ b/svx/source/inc/fmtextcontrolfeature.hxx @@ -79,7 +79,7 @@ namespace svx void dispose() SAL_THROW(()); protected: - ~FmTextControlFeature(); + virtual ~FmTextControlFeature(); protected: // XStatusListener diff --git a/svx/source/inc/fmundo.hxx b/svx/source/inc/fmundo.hxx index b86d758c2de6..785d122050c0 100644 --- a/svx/source/inc/fmundo.hxx +++ b/svx/source/inc/fmundo.hxx @@ -96,7 +96,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer >& xCont, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xElem, sal_Int32 nIdx = -1); - ~FmUndoContainerAction(); + virtual ~FmUndoContainerAction(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; @@ -118,7 +118,7 @@ class FmUndoModelReplaceAction : public SdrUndoAction public: FmUndoModelReplaceAction(FmFormModel& rMod, SdrUnoObj* pObject, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel>& xReplaced); - ~FmUndoModelReplaceAction(); + virtual ~FmUndoModelReplaceAction(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE { Undo(); } @@ -148,7 +148,7 @@ class SVX_DLLPRIVATE FmXUndoEnvironment public: FmXUndoEnvironment(FmFormModel& _rModel); - ~FmXUndoEnvironment(); + virtual ~FmXUndoEnvironment(); // UNO Anbindung // SMART_UNO_DECLARATION(FmXUndoEnvironment, ::cppu::OWeakObject); diff --git a/svx/source/inc/fmvwimp.hxx b/svx/source/inc/fmvwimp.hxx index 54800f4b4d5f..824ac2c2122c 100644 --- a/svx/source/inc/fmvwimp.hxx +++ b/svx/source/inc/fmvwimp.hxx @@ -95,7 +95,7 @@ class FormViewPageWindowAdapter : public FormViewPageWindowAdapter_Base Window* m_pWindow; protected: - ~FormViewPageWindowAdapter(); + virtual ~FormViewPageWindowAdapter(); public: FormViewPageWindowAdapter( const css::uno::Reference<css::uno::XComponentContext>& _rContext, @@ -185,7 +185,7 @@ class FmXFormView : public ::cppu::WeakImplHelper3< protected: FmXFormView( FmFormView* _pView ); - ~FmXFormView(); + virtual ~FmXFormView(); void saveMarkList( sal_Bool _bSmartUnmark = sal_True ); void restoreMarkList( SdrMarkList& _rRestoredMarkList ); diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx index a9439bc98a2d..a12b5b6f283e 100644 --- a/svx/source/inc/formcontroller.hxx +++ b/svx/source/inc/formcontroller.hxx @@ -215,7 +215,7 @@ namespace svxform FormController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & _rxORB ); protected: - ~FormController(); + virtual ~FormController(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/svx/source/inc/formcontrolling.hxx b/svx/source/inc/formcontrolling.hxx index 2cceb48bf0b5..e1cedf04d14d 100644 --- a/svx/source/inc/formcontrolling.hxx +++ b/svx/source/inc/formcontrolling.hxx @@ -195,7 +195,7 @@ namespace svx getFormOperations() const { return m_xFormOperations; } protected: /// dtor - ~FormControllerHelper(); + virtual ~FormControllerHelper(); // XFeatureInvalidation virtual void SAL_CALL invalidateFeatures( const ::com::sun::star::uno::Sequence< ::sal_Int16 >& Features ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index 33fdb8159ca1..8b1e9569e9c3 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -397,7 +397,7 @@ class DbTextField : public DbLimitedLengthField sal_Bool m_bIsSimpleEdit; protected: - ~DbTextField( ); + virtual ~DbTextField( ); public: TYPEINFO_OVERRIDE(); diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx index 48a9bc0053af..c7043bb48dcd 100644 --- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx +++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx @@ -85,7 +85,7 @@ public: const Rectangle& rBounds, const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& xParent, long nIndexInParent ); - ~SvxPixelCtlAccessibleChild(); + virtual ~SvxPixelCtlAccessibleChild(); //XAccessible virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -174,7 +174,7 @@ class SvxPixelCtlAccessible : public: SvxPixelCtlAccessible(SvxPixelCtl& rWindow); - ~SvxPixelCtlAccessible(); + virtual ~SvxPixelCtlAccessible(); void ensureIsAlive() const throw ( ::com::sun::star::lang::DisposedException ); diff --git a/svx/source/inc/tbxform.hxx b/svx/source/inc/tbxform.hxx index 2d7c265df9f5..dad095000501 100644 --- a/svx/source/inc/tbxform.hxx +++ b/svx/source/inc/tbxform.hxx @@ -32,7 +32,7 @@ class SvxFmAbsRecWin : public NumericField // for invalidating our content whe losing the focus public: SvxFmAbsRecWin( Window* _pParent, SfxToolBoxControl* _pController ); - ~SvxFmAbsRecWin(); + virtual ~SvxFmAbsRecWin(); virtual void KeyInput( const KeyEvent& rKeyEvt ) SAL_OVERRIDE; virtual void LoseFocus() SAL_OVERRIDE; @@ -50,7 +50,7 @@ private: public: SvxFmConfigWin( sal_uInt16 nId, ResId aRIdWin, ResId aRIdTbx ); - ~SvxFmConfigWin(); + virtual ~SvxFmConfigWin(); void Update(); virtual void PopupModeEnd() SAL_OVERRIDE; @@ -70,7 +70,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlConfig( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxFmTbxCtlConfig() {} + virtual ~SvxFmTbxCtlConfig() {} virtual void Select( sal_uInt16 nModifier ) SAL_OVERRIDE; virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, @@ -87,7 +87,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlAbsRec( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxFmTbxCtlAbsRec(); + virtual ~SvxFmTbxCtlAbsRec(); virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE; @@ -102,7 +102,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlRecText( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxFmTbxCtlRecText(); + virtual ~SvxFmTbxCtlRecText(); virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE; }; @@ -114,7 +114,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlRecFromText( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxFmTbxCtlRecFromText(); + virtual ~SvxFmTbxCtlRecFromText(); virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE; }; @@ -128,7 +128,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SvxFmTbxCtlRecTotal( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SvxFmTbxCtlRecTotal(); + virtual ~SvxFmTbxCtlRecTotal(); virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE; virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, diff --git a/svx/source/inc/unogalthemeprovider.hxx b/svx/source/inc/unogalthemeprovider.hxx index 8e355071e797..dd93024db7c4 100644 --- a/svx/source/inc/unogalthemeprovider.hxx +++ b/svx/source/inc/unogalthemeprovider.hxx @@ -36,7 +36,7 @@ class GalleryThemeProvider : public ::cppu::WeakImplHelper3< ::com::sun::star::l public: GalleryThemeProvider(); - ~GalleryThemeProvider(); + virtual ~GalleryThemeProvider(); protected: diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx index 399ee1702ddd..7a99cb2fb2ac 100644 --- a/svx/source/inc/xmlxtexp.hxx +++ b/svx/source/inc/xmlxtexp.hxx @@ -42,7 +42,7 @@ public: const com::sun::star::uno::Reference< com::sun::star::container::XNameContainer > & xTable, com::sun::star::uno::Reference< com::sun::star::document::XGraphicObjectResolver >& xGrfResolver); - ~SvxXMLXTableExportComponent(); + virtual ~SvxXMLXTableExportComponent(); static bool save( const OUString& rURL, const com::sun::star::uno::Reference< diff --git a/svx/source/sdr/contact/sdrmediawindow.hxx b/svx/source/sdr/contact/sdrmediawindow.hxx index e388b051c63f..3723915a8706 100644 --- a/svx/source/sdr/contact/sdrmediawindow.hxx +++ b/svx/source/sdr/contact/sdrmediawindow.hxx @@ -34,7 +34,7 @@ class SdrMediaWindow : public ::avmedia::MediaWindow public: SdrMediaWindow( Window* pParent, ViewObjectContactOfSdrMediaObj& rViewObjContact ); - ~SdrMediaWindow(); + virtual ~SdrMediaWindow(); virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index be5dedd5bd6e..7f45e6c2309a 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -680,7 +680,7 @@ namespace sdr { namespace contact { } protected: - ~ViewObjectContactOfUnoControl_Impl(); + virtual ~ViewObjectContactOfUnoControl_Impl(); // XEventListener virtual void SAL_CALL disposing( const EventObject& Source ) throw(RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx b/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx index a4c8f178abc2..4c13f6475da2 100644 --- a/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx +++ b/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx @@ -35,7 +35,7 @@ public : AreaTransparencyGradientPopup ( Window* pParent, const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator); - ~AreaTransparencyGradientPopup (void); + virtual ~AreaTransparencyGradientPopup (void); void Rearrange (XFillFloatTransparenceItem* pItem); }; diff --git a/svx/source/sidebar/paragraph/ParaBulletsControl.hxx b/svx/source/sidebar/paragraph/ParaBulletsControl.hxx index 4e7b42848daf..19dedfba0b84 100644 --- a/svx/source/sidebar/paragraph/ParaBulletsControl.hxx +++ b/svx/source/sidebar/paragraph/ParaBulletsControl.hxx @@ -46,7 +46,7 @@ private: public: ParaBulletsControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel); - ~ParaBulletsControl(); + virtual ~ParaBulletsControl(); void UpdateValueSet(); }; diff --git a/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx b/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx index 7af0182b262c..b0cb01c63678 100644 --- a/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx +++ b/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx @@ -34,7 +34,7 @@ public : ParaBulletsPopup ( Window* pParent, const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator); - ~ParaBulletsPopup (void); + virtual ~ParaBulletsPopup (void); void UpdateValueSet (); //private: diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx index 8954a41ae2e9..b9966b7dd665 100644 --- a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx +++ b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx @@ -39,7 +39,7 @@ class ParaLineSpacingControl:public svx::sidebar::PopupControl { public: ParaLineSpacingControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel); - ~ParaLineSpacingControl(); + virtual ~ParaLineSpacingControl(); void Rearrange(SfxItemState currSPState,FieldUnit currMetricUnit,SvxLineSpacingItem* currSPItem,const ::sfx2::sidebar::EnumContext currentContext); //virtual void Paint(const Rectangle& rect); diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx index 029a618f5b14..09ad9f271af0 100644 --- a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx +++ b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx @@ -35,7 +35,7 @@ public : ParaLineSpacingPopup ( Window* pParent, const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator); - ~ParaLineSpacingPopup (void); + virtual ~ParaLineSpacingPopup (void); void Rearrange (SfxItemState currSPState,FieldUnit currMetricUnit,SvxLineSpacingItem* currSPItem ,const ::sfx2::sidebar::EnumContext currentContext); private: diff --git a/svx/source/sidebar/paragraph/ParaNumberingControl.hxx b/svx/source/sidebar/paragraph/ParaNumberingControl.hxx index 136e91efdc79..42d8e9172974 100644 --- a/svx/source/sidebar/paragraph/ParaNumberingControl.hxx +++ b/svx/source/sidebar/paragraph/ParaNumberingControl.hxx @@ -49,7 +49,7 @@ private: public: ParaNumberingControl( Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel); - ~ParaNumberingControl(); + virtual ~ParaNumberingControl(); void UpdateValueSet(); }; diff --git a/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx b/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx index d56398b208ec..c3b24107ea0b 100644 --- a/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx +++ b/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx @@ -34,7 +34,7 @@ public : ParaNumberingPopup ( Window* pParent, const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator); - ~ParaNumberingPopup (void); + virtual ~ParaNumberingPopup (void); void UpdateValueSet (); //private: diff --git a/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx b/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx index 44861508dee5..fb27fdbd0170 100644 --- a/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx +++ b/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx @@ -31,7 +31,7 @@ public : TextCharacterSpacingPopup ( Window* pParent, const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator); - ~TextCharacterSpacingPopup (void); + virtual ~TextCharacterSpacingPopup (void); void Rearrange (bool bLBAvailable,bool bAvailable, long nKerning); private: diff --git a/svx/source/sidebar/text/TextUnderlinePopup.hxx b/svx/source/sidebar/text/TextUnderlinePopup.hxx index 626abf1be685..71cdf4637500 100644 --- a/svx/source/sidebar/text/TextUnderlinePopup.hxx +++ b/svx/source/sidebar/text/TextUnderlinePopup.hxx @@ -31,7 +31,7 @@ public : TextUnderlinePopup ( Window* pParent, const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator); - ~TextUnderlinePopup (void); + virtual ~TextUnderlinePopup (void); void Rearrange (FontUnderline eLine); }; diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index 328b6f85c3a4..c1cbe6406c6d 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -682,7 +682,7 @@ class SdrUndoObjList::ObjListListener : public SfxListener { public: ObjListListener(SdrUndoObjList& rThat, SdrObject& rObject, SfxBroadcaster& rBroadcaster); - ~ObjListListener(); + virtual ~ObjListListener(); private: virtual void Notify(SfxBroadcaster& rBroadcaster, const SfxHint& rHint) SAL_OVERRIDE; diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 44d598ff1b16..82bbc0311d0f 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -159,7 +159,7 @@ namespace sdr CellProperties(const CellProperties& rProps, SdrObject& rObj, sdr::table::Cell* pCell); // destructor - ~CellProperties(); + virtual ~CellProperties(); // Clone() operator, normally just calls the local copy constructor BaseProperties& Clone(SdrObject& rObj) const SAL_OVERRIDE; diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index c768c6d57ed6..24d8247c76a0 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -94,7 +94,7 @@ public: TableProperties(const TableProperties& rProps, SdrObject& rObj ); // destructor - ~TableProperties(); + virtual ~TableProperties(); // Clone() operator, normally just calls the local copy constructor BaseProperties& Clone(SdrObject& rObj) const SAL_OVERRIDE; diff --git a/svx/source/tbxctrls/colorwindow.hxx b/svx/source/tbxctrls/colorwindow.hxx index d41e81a720a2..e099f1a6751b 100644 --- a/svx/source/tbxctrls/colorwindow.hxx +++ b/svx/source/tbxctrls/colorwindow.hxx @@ -57,7 +57,7 @@ public: const OUString& rWndTitle, Window* pParentWindow, const Color rLastColor = COL_AUTO); - ~SvxColorWindow_Impl(); + virtual ~SvxColorWindow_Impl(); void StartSelection(); virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index 565c4c0ea8f1..064e7818e067 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -100,7 +100,7 @@ protected: public: ImplGrafMetricField( Window* pParent, const OUString& aCmd, const Reference< XFrame >& rFrame ); - ~ImplGrafMetricField(); + virtual ~ImplGrafMetricField(); void Update( const SfxPoolItem* pItem ); const OUString& GetCommand() const { return maCommand; } @@ -254,7 +254,7 @@ protected: public: ImplGrafControl( Window* pParent, const OUString& rCmd, const Reference< XFrame >& rFrame ); - ~ImplGrafControl(); + virtual ~ImplGrafControl(); void Update( const SfxPoolItem* pItem ) { maField.Update( pItem ); } void SetText( const OUString& rStr ) SAL_OVERRIDE { maField.SetText( rStr ); } @@ -324,7 +324,7 @@ private: public: ImplGrafModeControl( Window* pParent, const Reference< XFrame >& rFrame ); - ~ImplGrafModeControl(); + virtual ~ImplGrafModeControl(); void Update( const SfxPoolItem* pItem ); }; diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx index f278d2f4c479..d9eef1f18c4c 100644 --- a/svx/source/tbxctrls/layctrl.cxx +++ b/svx/source/tbxctrls/layctrl.cxx @@ -80,7 +80,7 @@ public: const OUString& rText, ToolBox& rParentTbx, const Reference< XFrame >& rFrame ); - ~TableWindow(); + virtual ~TableWindow(); void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index dd43b751475c..db3299921725 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -132,7 +132,7 @@ class SvxStyleBox_Impl : public ComboBox public: SvxStyleBox_Impl( Window* pParent, const OUString& rCommand, SfxStyleFamily eFamily, const Reference< XDispatchProvider >& rDispatchProvider, const Reference< XFrame >& _xFrame,const OUString& rClearFormatKey, const OUString& rMoreKey, bool bInSpecialMode ); - ~SvxStyleBox_Impl(); + virtual ~SvxStyleBox_Impl(); void SetFamily( SfxStyleFamily eNewFamily ); inline bool IsVisible() { return bVisible; } @@ -272,7 +272,7 @@ protected: public: SvxFrameWindow_Impl( sal_uInt16 nId, const Reference< XFrame >& rFrame, Window* pParentWindow ); - ~SvxFrameWindow_Impl(); + virtual ~SvxFrameWindow_Impl(); void StartSelection(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index a52820a20ef4..3b3a9b0eeb52 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -50,7 +50,7 @@ class FontHeightToolBoxControl : public svt::ToolboxController, public: FontHeightToolBoxControl( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rServiceManager ); - ~FontHeightToolBoxControl(); + virtual ~FontHeightToolBoxControl(); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index c6badb9036ba..a45539b049f3 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -123,7 +123,7 @@ private: public: SvxTextEditSourceImpl( SdrObject* pObject, SdrText* pText, XInterface* pOwner ); SvxTextEditSourceImpl( SdrObject& rObject, SdrText* pText, SdrView& rView, const Window& rWindow ); - ~SvxTextEditSourceImpl(); + virtual ~SvxTextEditSourceImpl(); void SAL_CALL acquire(); void SAL_CALL release(); diff --git a/svx/source/unogallery/unogalitem.hxx b/svx/source/unogallery/unogalitem.hxx index e854e4c18a80..2a86ed350ff5 100644 --- a/svx/source/unogallery/unogalitem.hxx +++ b/svx/source/unogallery/unogalitem.hxx @@ -48,7 +48,7 @@ class GalleryItem : public ::cppu::OWeakAggObject, public: GalleryItem( ::unogallery::GalleryTheme& rTheme, const GalleryObject& rObject ); - ~GalleryItem() throw(); + virtual ~GalleryItem() throw(); bool isValid() const; diff --git a/svx/source/unogallery/unogaltheme.hxx b/svx/source/unogallery/unogaltheme.hxx index b3fd7e7bdb4c..c824f1c74be8 100644 --- a/svx/source/unogallery/unogaltheme.hxx +++ b/svx/source/unogallery/unogaltheme.hxx @@ -48,7 +48,7 @@ class GalleryTheme : public ::cppu::WeakImplHelper2< public: GalleryTheme( const OUString& rThemeName ); - ~GalleryTheme(); + virtual ~GalleryTheme(); static OUString getImplementationName_Static() throw(); static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx index 907f6b2dc2bf..304321508208 100644 --- a/sw/inc/PostItMgr.hxx +++ b/sw/inc/PostItMgr.hxx @@ -187,7 +187,7 @@ class SwPostItMgr: public SfxListener public: SwPostItMgr(SwView* aDoc); - ~SwPostItMgr(); + virtual ~SwPostItMgr(); typedef std::list< SwSidebarItem* >::const_iterator const_iterator; const_iterator begin() const { return mvPostItFlds.begin(); } diff --git a/sw/inc/SwXMLSectionList.hxx b/sw/inc/SwXMLSectionList.hxx index 63765c6e0ca3..6970dc74791f 100644 --- a/sw/inc/SwXMLSectionList.hxx +++ b/sw/inc/SwXMLSectionList.hxx @@ -56,7 +56,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - ~SvXMLSectionListContext ( void ); + virtual ~SvXMLSectionListContext ( void ); }; class SvXMLIgnoreSectionListContext : public SvXMLImportContext @@ -73,7 +73,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - ~SvXMLIgnoreSectionListContext ( void ); + virtual ~SvXMLIgnoreSectionListContext ( void ); }; #endif diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx index edfed85948ac..01e42bdb551e 100644 --- a/sw/inc/accmap.hxx +++ b/sw/inc/accmap.hxx @@ -132,7 +132,7 @@ class SwAccessibleMap : public ::accessibility::IAccessibleViewForwarder, public: SwAccessibleMap( SwViewShell *pSh ); - ~SwAccessibleMap(); + virtual ~SwAccessibleMap(); ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> GetDocumentView(); diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index 2e3308fd112d..97e29bee214b 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -74,7 +74,7 @@ virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) SAL_OVER public: SwAuthorityFieldType(SwDoc* pDoc); - ~SwAuthorityFieldType(); + virtual ~SwAuthorityFieldType(); virtual SwFieldType* Copy() const SAL_OVERRIDE; @@ -155,7 +155,7 @@ public: SwAuthorityField(SwAuthorityFieldType* pType, const OUString& rFieldContents); SwAuthorityField(SwAuthorityFieldType* pType, sal_IntPtr nHandle); - ~SwAuthorityField(); + virtual ~SwAuthorityField(); OUString GetFieldText(ToxAuthorityField eField) const; diff --git a/sw/inc/ccoll.hxx b/sw/inc/ccoll.hxx index 6ef9207bb3d6..8764a4b19849 100644 --- a/sw/inc/ccoll.hxx +++ b/sw/inc/ccoll.hxx @@ -54,7 +54,7 @@ class SW_DLLPUBLIC SwCondCollItem : public SfxPoolItem public: SwCondCollItem(sal_uInt16 nWhich = FN_COND_COLL); - ~SwCondCollItem(); + virtual ~SwCondCollItem(); TYPEINFO_OVERRIDE(); diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx index fef1f0171f31..2ecbe6c1453e 100644 --- a/sw/inc/cellatr.hxx +++ b/sw/inc/cellatr.hxx @@ -57,7 +57,7 @@ class SwTblBoxFormula : public SfxPoolItem, public SwTableFormula public: SwTblBoxFormula( const OUString& rFormula ); - ~SwTblBoxFormula() {}; + virtual ~SwTblBoxFormula() {}; // "pure virtual methods" of SfxPoolItem virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sw/inc/dbfld.hxx b/sw/inc/dbfld.hxx index 6861248b5d9e..ce86081f7205 100644 --- a/sw/inc/dbfld.hxx +++ b/sw/inc/dbfld.hxx @@ -41,7 +41,7 @@ class SW_DLLPUBLIC SwDBFieldType : public SwValueFieldType public: SwDBFieldType(SwDoc* pDocPtr, const OUString& rColumnName, const SwDBData& rDBData); - ~SwDBFieldType(); + virtual ~SwDBFieldType(); virtual OUString GetName() const SAL_OVERRIDE; virtual SwFieldType* Copy() const SAL_OVERRIDE; diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx index 797a2c4bec38..76b8f9647197 100644 --- a/sw/inc/ddefld.hxx +++ b/sw/inc/ddefld.hxx @@ -46,7 +46,7 @@ class SW_DLLPUBLIC SwDDEFieldType : public SwFieldType public: SwDDEFieldType( const OUString& rName, const OUString& rCmd, sal_uInt16 = sfx2::LINKUPDATE_ONCALL ); - ~SwDDEFieldType(); + virtual ~SwDDEFieldType(); OUString GetExpansion() const { return aExpansion; } void SetExpansion( const OUString& rStr ) { aExpansion = rStr; @@ -95,7 +95,7 @@ private: public: SwDDEField(SwDDEFieldType*); - ~SwDDEField(); + virtual ~SwDDEField(); /** Get parameter via types. Name cannot be changed. */ diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 35e4208982ba..aff1ba0a5abe 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -702,7 +702,7 @@ public: // Life cycle SwDoc(); - ~SwDoc(); + virtual ~SwDoc(); bool IsInDtor() const { return mbDtor; } diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 4662938eab93..a3c09abbd8e2 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -159,7 +159,7 @@ public: SwDocShell( SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED ); SwDocShell( const sal_uInt64 i_nSfxCreationFlags ); SwDocShell( SwDoc *pDoc, SfxObjectCreateMode eMode = SFX_CREATE_MODE_STANDARD ); - ~SwDocShell(); + virtual ~SwDocShell(); /// OLE 2.0-notification. DECL_LINK( Ole2ModifiedHdl, void * ); diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 27a0c0461626..74c181e08a35 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -530,7 +530,7 @@ public: const OUString& rInitials, const OUString& rName, const DateTime& rDate); - ~SwPostItField(); + virtual ~SwPostItField(); virtual OUString Expand() const SAL_OVERRIDE; virtual SwField* Copy() const SAL_OVERRIDE; diff --git a/sw/inc/dpage.hxx b/sw/inc/dpage.hxx index b9774007b01e..d5760b23bebc 100644 --- a/sw/inc/dpage.hxx +++ b/sw/inc/dpage.hxx @@ -33,7 +33,7 @@ class SwDPage : public FmFormPage, public SdrObjUserCall public: SwDPage(SwDrawDocument& rNewModel, sal_Bool bMasterPage=sal_False); - ~SwDPage(); + virtual ~SwDPage(); // #i3694# // This GetOffset() method is not needed anymore, it even leads to errors. diff --git a/sw/inc/drawdoc.hxx b/sw/inc/drawdoc.hxx index 6d255dfe25c3..f06d5b5be386 100644 --- a/sw/inc/drawdoc.hxx +++ b/sw/inc/drawdoc.hxx @@ -29,7 +29,7 @@ class SwDrawDocument : public FmFormModel SwDoc* pDoc; public: SwDrawDocument( SwDoc* pDoc ); - ~SwDrawDocument(); + virtual ~SwDrawDocument(); const SwDoc& GetDoc() const { return *pDoc; } SwDoc& GetDoc() { return *pDoc; } diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx index f410ca22c912..b27210c9b268 100644 --- a/sw/inc/fmtanchr.hxx +++ b/sw/inc/fmtanchr.hxx @@ -46,7 +46,7 @@ class SW_DLLPUBLIC SwFmtAnchor: public SfxPoolItem public: SwFmtAnchor( RndStdIds eRnd = FLY_AT_PAGE, sal_uInt16 nPageNum = 0 ); SwFmtAnchor( const SwFmtAnchor &rCpy ); - ~SwFmtAnchor(); + virtual ~SwFmtAnchor(); SwFmtAnchor &operator=( const SwFmtAnchor& ); diff --git a/sw/inc/fmtclds.hxx b/sw/inc/fmtclds.hxx index 4393f5cb8f78..4c7231248af8 100644 --- a/sw/inc/fmtclds.hxx +++ b/sw/inc/fmtclds.hxx @@ -92,7 +92,7 @@ class SW_DLLPUBLIC SwFmtCol : public SfxPoolItem public: SwFmtCol(); SwFmtCol( const SwFmtCol& ); - ~SwFmtCol(); + virtual ~SwFmtCol(); //#i120133# sal_Int16 GetAdjustValue() const { return aWidthAdjustValue; } void SetAdjustValue( const sal_Int16& n ) { aWidthAdjustValue = n; } diff --git a/sw/inc/fmtcntnt.hxx b/sw/inc/fmtcntnt.hxx index db00d0755bad..7545bfdcbd0f 100644 --- a/sw/inc/fmtcntnt.hxx +++ b/sw/inc/fmtcntnt.hxx @@ -36,7 +36,7 @@ class SW_DLLPUBLIC SwFmtCntnt: public SfxPoolItem public: SwFmtCntnt( const SwStartNode* pStartNode = 0 ); SwFmtCntnt( const SwFmtCntnt &rCpy ); - ~SwFmtCntnt(); + virtual ~SwFmtCntnt(); /// "Pure virtual methods" of SfxPoolItem. virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sw/inc/fmthdft.hxx b/sw/inc/fmthdft.hxx index b7f887d1dbbd..ce0574650fb4 100644 --- a/sw/inc/fmthdft.hxx +++ b/sw/inc/fmthdft.hxx @@ -39,7 +39,7 @@ public: SwFmtHeader( sal_Bool bOn = sal_False ); SwFmtHeader( SwFrmFmt *pHeaderFmt ); SwFmtHeader( const SwFmtHeader &rCpy ); - ~SwFmtHeader(); + virtual ~SwFmtHeader(); SwFmtHeader& operator=( const SwFmtHeader &rCpy ); TYPEINFO_OVERRIDE(); @@ -72,7 +72,7 @@ public: SwFmtFooter( sal_Bool bOn = sal_False ); SwFmtFooter( SwFrmFmt *pFooterFmt ); SwFmtFooter( const SwFmtFooter &rCpy ); - ~SwFmtFooter(); + virtual ~SwFmtFooter(); SwFmtFooter& operator=( const SwFmtFooter &rCpy ); TYPEINFO_OVERRIDE(); diff --git a/sw/inc/fmtline.hxx b/sw/inc/fmtline.hxx index c6a4198561a2..6ab4031b5346 100644 --- a/sw/inc/fmtline.hxx +++ b/sw/inc/fmtline.hxx @@ -33,7 +33,7 @@ class SW_DLLPUBLIC SwFmtLineNumber: public SfxPoolItem public: SwFmtLineNumber(); - ~SwFmtLineNumber(); + virtual ~SwFmtLineNumber(); TYPEINFO_OVERRIDE(); diff --git a/sw/inc/fmtpdsc.hxx b/sw/inc/fmtpdsc.hxx index 3aa854538ff8..88924a0478da 100644 --- a/sw/inc/fmtpdsc.hxx +++ b/sw/inc/fmtpdsc.hxx @@ -53,7 +53,7 @@ public: SwFmtPageDesc( const SwPageDesc *pDesc = 0 ); SwFmtPageDesc( const SwFmtPageDesc &rCpy ); SwFmtPageDesc &operator=( const SwFmtPageDesc &rCpy ); - ~SwFmtPageDesc(); + virtual ~SwFmtPageDesc(); TYPEINFO_OVERRIDE(); diff --git a/sw/inc/fmtrfmrk.hxx b/sw/inc/fmtrfmrk.hxx index 650585734de8..88e7861008ec 100644 --- a/sw/inc/fmtrfmrk.hxx +++ b/sw/inc/fmtrfmrk.hxx @@ -38,7 +38,7 @@ class SwFmtRefMark : public SfxPoolItem public: SwFmtRefMark( const OUString& rTxt ); SwFmtRefMark( const SwFmtRefMark& rRefMark ); - ~SwFmtRefMark( ); + virtual ~SwFmtRefMark( ); /// "Pure virtual methods" of SfxPoolItem. virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sw/inc/fmtwrapinfluenceonobjpos.hxx b/sw/inc/fmtwrapinfluenceonobjpos.hxx index 565d2b168b47..454d5172ef6c 100644 --- a/sw/inc/fmtwrapinfluenceonobjpos.hxx +++ b/sw/inc/fmtwrapinfluenceonobjpos.hxx @@ -38,7 +38,7 @@ public: com::sun::star::text::WrapInfluenceOnPosition::ONCE_CONCURRENT ); SwFmtWrapInfluenceOnObjPos( const SwFmtWrapInfluenceOnObjPos& _rCpy ); - ~SwFmtWrapInfluenceOnObjPos(); + virtual ~SwFmtWrapInfluenceOnObjPos(); SwFmtWrapInfluenceOnObjPos& operator=( const SwFmtWrapInfluenceOnObjPos& _rSource ); diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 9938de4151a6..acd6a5e90071 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -167,7 +167,7 @@ protected: public: TYPEINFO_OVERRIDE(); - ~SwFlyFrmFmt(); + virtual ~SwFlyFrmFmt(); /// Creates the views. virtual void MakeFrms() SAL_OVERRIDE; @@ -264,7 +264,7 @@ protected: public: TYPEINFO_OVERRIDE(); - ~SwDrawFrmFmt(); + virtual ~SwDrawFrmFmt(); /** DrawObjects are removed from the arrays at the layout. The DrawObjects are marked as deleted. */ diff --git a/sw/inc/globdoc.hxx b/sw/inc/globdoc.hxx index fa08d449d5b3..76174e362483 100644 --- a/sw/inc/globdoc.hxx +++ b/sw/inc/globdoc.hxx @@ -30,7 +30,7 @@ public: TYPEINFO_OVERRIDE(); SwGlobalDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED); - ~SwGlobalDocShell(); + virtual ~SwGlobalDocShell(); virtual void FillClass( SvGlobalName * pClassName, sal_uInt32 * pClipFormat, diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index 649f11b0728b..af4064a4fa4b 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -167,7 +167,7 @@ class SwAttrSetChg: public SwMsgPoolItem public: SwAttrSetChg( const SwAttrSet& rTheSet, SwAttrSet& rSet ); SwAttrSetChg( const SwAttrSetChg& ); - ~SwAttrSetChg(); + virtual ~SwAttrSetChg(); /// What has changed const SwAttrSet* GetChgSet() const { return pChgSet; } diff --git a/sw/inc/modcfg.hxx b/sw/inc/modcfg.hxx index 3c81e713905f..09c98bd666e4 100644 --- a/sw/inc/modcfg.hxx +++ b/sw/inc/modcfg.hxx @@ -60,7 +60,7 @@ class SwRevisionConfig : public utl::ConfigItem const com::sun::star::uno::Sequence<OUString>& GetPropertyNames(); public: SwRevisionConfig(); - ~SwRevisionConfig(); + virtual ~SwRevisionConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; @@ -80,7 +80,7 @@ class SwCompareConfig : public utl::ConfigItem const com::sun::star::uno::Sequence<OUString>& GetPropertyNames(); public: SwCompareConfig(); - ~SwCompareConfig(); + virtual ~SwCompareConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& ) SAL_OVERRIDE { }; @@ -106,7 +106,7 @@ class SwInsertConfig : public utl::ConfigItem const com::sun::star::uno::Sequence<OUString>& GetPropertyNames(); public: SwInsertConfig(sal_Bool bWeb); - ~SwInsertConfig(); + virtual ~SwInsertConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; @@ -131,7 +131,7 @@ class SwTableConfig : public utl::ConfigItem const com::sun::star::uno::Sequence<OUString>& GetPropertyNames(); public: SwTableConfig(sal_Bool bWeb); - ~SwTableConfig(); + virtual ~SwTableConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; @@ -159,7 +159,7 @@ class SwMiscConfig : public utl::ConfigItem const com::sun::star::uno::Sequence<OUString>& GetPropertyNames(); public: SwMiscConfig(); - ~SwMiscConfig(); + virtual ~SwMiscConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx index 37279c68af5d..752f86a65ab7 100644 --- a/sw/inc/ndnotxt.hxx +++ b/sw/inc/ndnotxt.hxx @@ -49,7 +49,7 @@ protected: SwGrfFmtColl *pGrColl, SwAttrSet* pAutoAttr = 0 ); public: - ~SwNoTxtNode(); + virtual ~SwNoTxtNode(); virtual SwCntntFrm *MakeFrm( SwFrm* ) SAL_OVERRIDE; diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx index f23a205d4473..0747a346bcee 100644 --- a/sw/inc/ndole.hxx +++ b/sw/inc/ndole.hxx @@ -98,7 +98,7 @@ class SW_DLLPUBLIC SwOLENode: public SwNoTxtNode public: const SwOLEObj& GetOLEObj() const { return aOLEObj; } SwOLEObj& GetOLEObj() { return aOLEObj; } - ~SwOLENode(); + virtual ~SwOLENode(); virtual SwCntntNode *SplitCntntNode( const SwPosition & ) SAL_OVERRIDE; diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index e6f2203f8f87..ed8293b96483 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -247,7 +247,7 @@ public: SwPageDesc& operator=( const SwPageDesc& ); SwPageDesc( const SwPageDesc& ); - ~SwPageDesc(); + virtual ~SwPageDesc(); }; inline void SwPageDesc::SetFollow( const SwPageDesc* pNew ) diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index 9b0e27e34240..21df9cdafbd5 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -265,7 +265,7 @@ class SwSectionFrmMoveAndDeleteHint : public SfxSimpleHint , mbSaveCntnt( bSaveCntnt ) {} - ~SwSectionFrmMoveAndDeleteHint() + virtual ~SwSectionFrmMoveAndDeleteHint() {} sal_Bool IsSaveCntnt() const @@ -300,7 +300,7 @@ protected: public: TYPEINFO_OVERRIDE(); // Already contained in base class client. - ~SwSectionFmt(); + virtual ~SwSectionFmt(); // Deletes all Frms in aDepend (Frms are recognized via PTR_CAST). virtual void DelFrms() SAL_OVERRIDE; diff --git a/sw/inc/swddetbl.hxx b/sw/inc/swddetbl.hxx index 7b01d9aad4ad..bc6e18570e76 100644 --- a/sw/inc/swddetbl.hxx +++ b/sw/inc/swddetbl.hxx @@ -33,7 +33,7 @@ public: // After that SwTable is empty and has to be deleted. SwDDETable( SwTable& rTable, SwDDEFieldType* pDDEType, sal_Bool bUpdate = sal_True ); - ~SwDDETable(); + virtual ~SwDDETable(); void ChangeContent(); sal_Bool NoDDETable(); diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index 2a1bc0486d89..ba4198abb035 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -129,7 +129,7 @@ public: SfxObjectFactory* pWebFact, SfxObjectFactory* pGlobalFact ); - ~SwModule(); + virtual ~SwModule(); // Set view for internal use only. It is public only for technical reasons. inline void SetView(SwView* pVw) { pView = pVw; } diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx index da3ddf32cf1a..ed2e0ac500bf 100644 --- a/sw/inc/unodraw.hxx +++ b/sw/inc/unodraw.hxx @@ -81,7 +81,7 @@ class SwXDrawPage : public SwXDrawPageBaseClass SwFmDrawPage* pDrawPage; public: SwXDrawPage(SwDoc* pDoc); - ~SwXDrawPage(); + virtual ~SwXDrawPage(); //XEnumerationAccess virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL createEnumeration(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index 4e3d30b21f02..7f28bd08cd23 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -338,7 +338,7 @@ class SwXOLEListener : public cppu::WeakImplHelper1 SwFmt* GetFmt() const { return (SwFmt*)GetRegisteredIn(); } public: SwXOLEListener(SwFmt& rOLEFmt, ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xOLE); - ~SwXOLEListener(); + virtual ~SwXOLEListener(); TYPEINFO_OVERRIDE(); // ::com::sun::star::lang::XEventListener diff --git a/sw/inc/unoredline.hxx b/sw/inc/unoredline.hxx index 55dcdd0676c7..355f17058d43 100644 --- a/sw/inc/unoredline.hxx +++ b/sw/inc/unoredline.hxx @@ -73,7 +73,7 @@ class SwXRedline : SwRangeRedline* pRedline; public: SwXRedline(SwRangeRedline& rRedline, SwDoc& rDoc); - ~SwXRedline(); + virtual ~SwXRedline(); TYPEINFO_OVERRIDE(); diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx index bde8eba77cd0..deaf3aec1362 100644 --- a/sw/inc/unostyle.hxx +++ b/sw/inc/unostyle.hxx @@ -114,7 +114,7 @@ class SwXStyleFamily : public cppu::WeakImplHelper4 SwXStyle* _FindStyle(const OUString& rStyleName) const; public: SwXStyleFamily(SwDocShell* pDocShell, sal_uInt16 nFamily); - ~SwXStyleFamily(); + virtual ~SwXStyleFamily(); //XIndexAccess virtual sal_Int32 SAL_CALL getCount(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -204,7 +204,7 @@ public: SwDoc* pDoc, const OUString& rStyleName); - ~SwXStyle(); + virtual ~SwXStyle(); TYPEINFO_OVERRIDE(); @@ -282,7 +282,7 @@ public: const OUString& rStyleName) : SwXStyle(rPool, SFX_STYLE_FAMILY_FRAME, pDoc, rStyleName){} SwXFrameStyle( SwDoc *pDoc ); - ~SwXFrameStyle(); + virtual ~SwXFrameStyle(); virtual void SAL_CALL acquire( ) throw() SAL_OVERRIDE {SwXStyle::acquire();} virtual void SAL_CALL release( ) throw() SAL_OVERRIDE {SwXStyle::release();} @@ -311,7 +311,7 @@ public: SwXPageStyle(SfxStyleSheetBasePool& rPool, SwDocShell* pDocSh, SfxStyleFamily eFam, const OUString& rStyleName); SwXPageStyle(SwDocShell* pDocSh); - ~SwXPageStyle(); + virtual ~SwXPageStyle(); virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 13e655fb4ec5..7552e1583cd6 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -458,7 +458,7 @@ class SwXCellRange : public cppu::WeakImplHelper7 public: SwXCellRange(SwUnoCrsr* pCrsr, SwFrmFmt& rFrmFmt, SwRangeDescriptor& rDesc); - ~SwXCellRange(); + virtual ~SwXCellRange(); TYPEINFO_OVERRIDE(); diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index 4ceaef815bb6..f4d666221397 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -466,7 +466,7 @@ class SwXLinkTargetSupplier : public cppu::WeakImplHelper2 public: SwXLinkTargetSupplier(SwXTextDocument& rxDoc); - ~SwXLinkTargetSupplier(); + virtual ~SwXLinkTargetSupplier(); //XNameAccess virtual css::uno::Any SAL_CALL getByName(const OUString& Name) throw( css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -505,7 +505,7 @@ public: const OUString& rLinkDisplayName, const OUString& sSuffix); SwXLinkNameAccessWrapper(SwXTextDocument& rxDoc, const OUString& rLinkDisplayName, const OUString& sSuffix); - ~SwXLinkNameAccessWrapper(); + virtual ~SwXLinkNameAccessWrapper(); //XNameAccess virtual css::uno::Any SAL_CALL getByName(const OUString& Name) throw( css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -546,7 +546,7 @@ class SwXOutlineTarget : public cppu::WeakImplHelper2 public: SwXOutlineTarget(const OUString& rOutlineText); - ~SwXOutlineTarget(); + virtual ~SwXOutlineTarget(); //XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -576,7 +576,7 @@ class SwXDocumentPropertyHelper : public SvxUnoForbiddenCharsTable SwDoc* m_pDoc; public: SwXDocumentPropertyHelper(SwDoc& rDoc); - ~SwXDocumentPropertyHelper(); + virtual ~SwXDocumentPropertyHelper(); css::uno::Reference<css::uno::XInterface> GetDrawTable(short nWhich); void Invalidate(); diff --git a/sw/inc/wdocsh.hxx b/sw/inc/wdocsh.hxx index 0027f546088a..bd0e80213b3d 100644 --- a/sw/inc/wdocsh.hxx +++ b/sw/inc/wdocsh.hxx @@ -36,7 +36,7 @@ public: TYPEINFO_OVERRIDE(); SwWebDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED); - ~SwWebDocShell(); + virtual ~SwWebDocShell(); virtual void FillClass( SvGlobalName * pClassName, sal_uInt32 * pClipFormat, diff --git a/sw/qa/core/Test-BigPtrArray.cxx b/sw/qa/core/Test-BigPtrArray.cxx index 7104460bb4bf..3320d7dbfcfd 100644 --- a/sw/qa/core/Test-BigPtrArray.cxx +++ b/sw/qa/core/Test-BigPtrArray.cxx @@ -44,7 +44,7 @@ namespace /* private */ { } - ~BigPtrEntryMock() + virtual ~BigPtrEntryMock() { } diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx index 77a1dc97996f..9b3faf8936b4 100644 --- a/sw/qa/extras/inc/swmodeltestbase.hxx +++ b/sw/qa/extras/inc/swmodeltestbase.hxx @@ -103,7 +103,7 @@ public: { } - ~SwModelTestBase() + virtual ~SwModelTestBase() { } diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx index 68950f3ece85..95d0ffb00f13 100644 --- a/sw/source/core/doc/acmplwrd.cxx +++ b/sw/source/core/doc/acmplwrd.cxx @@ -49,7 +49,7 @@ class SwAutoCompleteClient : public SwClient public: SwAutoCompleteClient(SwAutoCompleteWord& rToTell, SwDoc& rSwDoc); SwAutoCompleteClient(const SwAutoCompleteClient& rClient); - ~SwAutoCompleteClient(); + virtual ~SwAutoCompleteClient(); SwAutoCompleteClient& operator=(const SwAutoCompleteClient& rClient); @@ -86,7 +86,7 @@ class SwAutoCompleteString public: SwAutoCompleteString(const OUString& rStr, sal_Int32 nPos, sal_Int32 nLen); - ~SwAutoCompleteString(); + virtual ~SwAutoCompleteString(); void AddDocument(const SwDoc& rDoc); //returns true if last document reference has been removed bool RemoveDocument(const SwDoc& rDoc); diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx index 55cf11d4ec1c..eb1fcbd28892 100644 --- a/sw/source/core/doc/doccomp.cxx +++ b/sw/source/core/doc/doccomp.cxx @@ -222,7 +222,7 @@ private: public: WordArrayComparator( const SwTxtNode *pNode1, const SwTxtNode *pNode2 ); - ~WordArrayComparator(); + virtual ~WordArrayComparator(); virtual bool Compare( int nIdx1, int nIdx2 ) const SAL_OVERRIDE; virtual int GetLen1() const SAL_OVERRIDE { return nCnt1; } diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index 5fc09774342c..8a2b4bee2427 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -1093,7 +1093,7 @@ namespace numfunc } SwDefBulletConfig(); - ~SwDefBulletConfig(); + virtual ~SwDefBulletConfig(); private: /** sets internal default bullet configuration data to default values */ diff --git a/sw/source/core/docnode/cancellablejob.hxx b/sw/source/core/docnode/cancellablejob.hxx index cac64f2f357c..dc37ec1b4f02 100644 --- a/sw/source/core/docnode/cancellablejob.hxx +++ b/sw/source/core/docnode/cancellablejob.hxx @@ -32,7 +32,7 @@ class CancellableJob : public ::cppu::WeakImplHelper1<com::sun::star::util::XCan { public: explicit CancellableJob( const ::rtl::Reference< ObservableThread >& rThread ); - ~CancellableJob() {} + virtual ~CancellableJob() {} // ::com::sun::star::util::XCancellable: virtual void SAL_CALL cancel() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/core/inc/SwUndoFmt.hxx b/sw/source/core/inc/SwUndoFmt.hxx index a76ed647e6e3..9fd7003ac468 100644 --- a/sw/source/core/inc/SwUndoFmt.hxx +++ b/sw/source/core/inc/SwUndoFmt.hxx @@ -67,7 +67,7 @@ protected: public: SwUndoFmtDelete(SwUndoId nUndoId, SwFmt * pOld, SwDoc * pDoc); - ~SwUndoFmtDelete(); + virtual ~SwUndoFmtDelete(); virtual void UndoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE; virtual void RedoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE; @@ -89,7 +89,7 @@ public: SwUndoRenameFmt(SwUndoId nUndoId, const OUString & sOldName, const OUString & sNewName, SwDoc * pDoc); - ~SwUndoRenameFmt(); + virtual ~SwUndoRenameFmt(); virtual void UndoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE; virtual void RedoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE; diff --git a/sw/source/core/inc/SwXMLBlockListContext.hxx b/sw/source/core/inc/SwXMLBlockListContext.hxx index 6577c81c80b1..b10b40c229a0 100644 --- a/sw/source/core/inc/SwXMLBlockListContext.hxx +++ b/sw/source/core/inc/SwXMLBlockListContext.hxx @@ -36,7 +36,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); - ~SwXMLBlockListContext ( void ); + virtual ~SwXMLBlockListContext ( void ); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const ::com::sun::star::uno::Reference< @@ -52,7 +52,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); - ~SwXMLBlockContext ( void ); + virtual ~SwXMLBlockContext ( void ); }; class SwXMLTextBlockDocumentContext : public SvXMLImportContext @@ -70,7 +70,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - ~SwXMLTextBlockDocumentContext ( void ); + virtual ~SwXMLTextBlockDocumentContext ( void ); }; class SwXMLTextBlockBodyContext : public SvXMLImportContext @@ -88,7 +88,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - ~SwXMLTextBlockBodyContext ( void ); + virtual ~SwXMLTextBlockBodyContext ( void ); }; class SwXMLTextBlockTextContext : public SvXMLImportContext @@ -106,7 +106,7 @@ public: const OUString& rLocalName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ) SAL_OVERRIDE; - ~SwXMLTextBlockTextContext ( void ); + virtual ~SwXMLTextBlockTextContext ( void ); }; class SwXMLTextBlockParContext : public SvXMLImportContext @@ -121,7 +121,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); virtual void Characters( const OUString& rChars ) SAL_OVERRIDE; - ~SwXMLTextBlockParContext ( void ); + virtual ~SwXMLTextBlockParContext ( void ); }; #endif diff --git a/sw/source/core/inc/SwXTextDefaults.hxx b/sw/source/core/inc/SwXTextDefaults.hxx index c70565a7cd19..296e211f07f6 100644 --- a/sw/source/core/inc/SwXTextDefaults.hxx +++ b/sw/source/core/inc/SwXTextDefaults.hxx @@ -39,7 +39,7 @@ class SwXTextDefaults : public cppu::WeakImplHelper3 public: SwXTextDefaults ( SwDoc * pNewDoc ); - ~SwXTextDefaults (); + virtual ~SwXTextDefaults (); // XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) diff --git a/sw/source/core/inc/UndoAttribute.hxx b/sw/source/core/inc/UndoAttribute.hxx index f55513fe75f1..bff367397ae2 100644 --- a/sw/source/core/inc/UndoAttribute.hxx +++ b/sw/source/core/inc/UndoAttribute.hxx @@ -137,7 +137,7 @@ class SwUndoFmtResetAttr : public SwUndo public: SwUndoFmtResetAttr( SwFmt& rChangedFormat, const sal_uInt16 nWhichId ); - ~SwUndoFmtResetAttr(); + virtual ~SwUndoFmtResetAttr(); virtual void UndoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE; virtual void RedoImpl( ::sw::UndoRedoContext & ) SAL_OVERRIDE; diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx index f3cd2f09d63e..16f8b7168f69 100644 --- a/sw/source/core/inc/acorrect.hxx +++ b/sw/source/core/inc/acorrect.hxx @@ -55,7 +55,7 @@ class SwAutoCorrDoc : public SvxAutoCorrDoc public: SwAutoCorrDoc( SwEditShell& rEditShell, SwPaM& rPam, sal_Unicode cIns = 0 ); - ~SwAutoCorrDoc(); + virtual ~SwAutoCorrDoc(); virtual bool Delete( sal_Int32 nStt, sal_Int32 nEnd ) SAL_OVERRIDE; virtual bool Insert( sal_Int32 nPos, const OUString& rTxt ) SAL_OVERRIDE; diff --git a/sw/source/core/inc/cellfrm.hxx b/sw/source/core/inc/cellfrm.hxx index 7b551940eccf..38f39bdeb682 100644 --- a/sw/source/core/inc/cellfrm.hxx +++ b/sw/source/core/inc/cellfrm.hxx @@ -38,7 +38,7 @@ protected: public: SwCellFrm( const SwTableBox &, SwFrm*, bool bInsertContent = true ); - ~SwCellFrm(); + virtual ~SwCellFrm(); virtual bool GetCrsrOfst( SwPosition *, Point&, SwCrsrMoveState* = 0, bool bTestBackground = false ) const SAL_OVERRIDE; virtual void Paint( SwRect const&, diff --git a/sw/source/core/inc/colfrm.hxx b/sw/source/core/inc/colfrm.hxx index 774a8e57b1ca..84d6e874d85b 100644 --- a/sw/source/core/inc/colfrm.hxx +++ b/sw/source/core/inc/colfrm.hxx @@ -27,7 +27,7 @@ class SwColumnFrm: public SwFtnBossFrm { public: SwColumnFrm( SwFrmFmt*, SwFrm* ); - ~SwColumnFrm(); + virtual ~SwColumnFrm(); virtual void PaintBreak() const SAL_OVERRIDE; virtual void PaintSubsidiaryLines( const SwPageFrm*, const SwRect& ) const SAL_OVERRIDE; diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx index 7532f9f9a5a6..f7b5da9a112b 100644 --- a/sw/source/core/inc/dflyobj.hxx +++ b/sw/source/core/inc/dflyobj.hxx @@ -47,7 +47,7 @@ public: TYPEINFO_OVERRIDE(); SwFlyDrawObj(); - ~SwFlyDrawObj(); + virtual ~SwFlyDrawObj(); // for instantiation of this class while loading (via factory) virtual sal_uInt32 GetObjInventor() const SAL_OVERRIDE; @@ -79,7 +79,7 @@ public: TYPEINFO_OVERRIDE(); SwVirtFlyDrawObj(SdrObject& rNew, SwFlyFrm* pFly); - ~SwVirtFlyDrawObj(); + virtual ~SwVirtFlyDrawObj(); // overloaded method of base class SdrVirtObj virtual void TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const SAL_OVERRIDE; diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx index 6d0311a057d3..7645ad0fe8cc 100644 --- a/sw/source/core/inc/frmtool.hxx +++ b/sw/source/core/inc/frmtool.hxx @@ -339,7 +339,7 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwBorderAttrs) SwBorderAttrs( const SwModify *pOwner, const SwFrm *pConstructor ); - ~SwBorderAttrs(); + virtual ~SwBorderAttrs(); inline const SwAttrSet &GetAttrSet() const { return rAttrSet; } inline const SvxULSpaceItem &GetULSpace() const { return rUL; } diff --git a/sw/source/core/inc/notxtfrm.hxx b/sw/source/core/inc/notxtfrm.hxx index b78a3f7b48d2..b0ede4481686 100644 --- a/sw/source/core/inc/notxtfrm.hxx +++ b/sw/source/core/inc/notxtfrm.hxx @@ -44,7 +44,7 @@ protected: virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) SAL_OVERRIDE; public: SwNoTxtFrm( SwNoTxtNode * const, SwFrm* ); - ~SwNoTxtFrm(); + virtual ~SwNoTxtFrm(); virtual void Paint( SwRect const&, SwPrintData const*const pPrintData = NULL ) const SAL_OVERRIDE; diff --git a/sw/source/core/inc/pagefrm.hxx b/sw/source/core/inc/pagefrm.hxx index a7526f6ea418..78be9917370f 100644 --- a/sw/source/core/inc/pagefrm.hxx +++ b/sw/source/core/inc/pagefrm.hxx @@ -109,7 +109,7 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwPageFrm) SwPageFrm( SwFrmFmt*, SwFrm*, SwPageDesc* ); - ~SwPageFrm(); + virtual ~SwPageFrm(); //public, damit die SwViewShell beim Umschalten vom BrowseMode darauf //zugreifen kann. diff --git a/sw/source/core/inc/rowfrm.hxx b/sw/source/core/inc/rowfrm.hxx index ac9a66adbad6..bb03e0165f35 100644 --- a/sw/source/core/inc/rowfrm.hxx +++ b/sw/source/core/inc/rowfrm.hxx @@ -51,7 +51,7 @@ protected: public: SwRowFrm( const SwTableLine &, SwFrm*, bool bInsertContent = true ); - ~SwRowFrm(); + virtual ~SwRowFrm(); virtual void Cut() SAL_OVERRIDE; diff --git a/sw/source/core/inc/tabfrm.hxx b/sw/source/core/inc/tabfrm.hxx index 510bd735125e..7b974fa04ef9 100644 --- a/sw/source/core/inc/tabfrm.hxx +++ b/sw/source/core/inc/tabfrm.hxx @@ -110,7 +110,7 @@ protected: public: SwTabFrm( SwTable &, SwFrm* ); // calling Regist Flys always after creation _and_pasting! SwTabFrm( SwTabFrm & ); // _only_ for the creation of follows - ~SwTabFrm(); + virtual ~SwTabFrm(); void JoinAndDelFollows(); // for DelFrms of the TableNodes! diff --git a/sw/source/core/inc/threadmanager.hxx b/sw/source/core/inc/threadmanager.hxx index 920bc889dd41..ca5646b11c00 100644 --- a/sw/source/core/inc/threadmanager.hxx +++ b/sw/source/core/inc/threadmanager.hxx @@ -48,7 +48,7 @@ class ThreadManager : public IThreadListenerOwner public: explicit ThreadManager( ::com::sun::star::uno::Reference< ::com::sun::star::util::XJobManager >& rThreadJoiner ); - ~ThreadManager(); + virtual ~ThreadManager(); // --> IThreadListenerOwner virtual boost::weak_ptr< IFinishedThreadListener > GetThreadListenerWeakRef() SAL_OVERRIDE; diff --git a/sw/source/core/inc/unoevent.hxx b/sw/source/core/inc/unoevent.hxx index 2ef2a690eccb..3cae986bae4c 100644 --- a/sw/source/core/inc/unoevent.hxx +++ b/sw/source/core/inc/unoevent.hxx @@ -68,7 +68,7 @@ public: SwFrameEventDescriptor( SwXTextGraphicObject& rGraphicRef ); SwFrameEventDescriptor( SwXTextEmbeddedObject& rObjectRef ); - ~SwFrameEventDescriptor(); + virtual ~SwFrameEventDescriptor(); virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; @@ -88,7 +88,7 @@ class SwFrameStyleEventDescriptor : public SvEventDescriptor public: SwFrameStyleEventDescriptor( SwXFrameStyle& rStyleRef ); - ~SwFrameStyleEventDescriptor(); + virtual ~SwFrameStyleEventDescriptor(); virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx index 38a3eac6b2a7..9eda3f9860ad 100644 --- a/sw/source/core/text/itrform2.hxx +++ b/sw/source/core/text/itrform2.hxx @@ -158,7 +158,7 @@ public: { CtorInitTxtFormatter( pTxtFrm, pTxtFmtInf ); } - ~SwTxtFormatter(); + virtual ~SwTxtFormatter(); sal_Int32 FormatLine( const sal_Int32 nStart ); diff --git a/sw/source/core/text/porfld.hxx b/sw/source/core/text/porfld.hxx index 2fa9af69bb3e..90b5342760a4 100644 --- a/sw/source/core/text/porfld.hxx +++ b/sw/source/core/text/porfld.hxx @@ -59,7 +59,7 @@ protected: public: SwFldPortion( const SwFldPortion& rFld ); SwFldPortion( const OUString &rExpand, SwFont *pFnt = 0, bool bPlaceHolder = false ); - ~SwFldPortion(); + virtual ~SwFldPortion(); sal_uInt16 m_nAttrFldType; void TakeNextOffset( const SwFldPortion* pFld ); @@ -197,7 +197,7 @@ public: const bool bCenter, const KSHORT nMinDst, const bool bLabelAlignmentPosAndSpaceModeActive ); - ~SwGrfNumPortion(); + virtual ~SwGrfNumPortion(); virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE; virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE; diff --git a/sw/source/core/text/pormulti.hxx b/sw/source/core/text/pormulti.hxx index 8f11e91cc320..97bca1f7af12 100644 --- a/sw/source/core/text/pormulti.hxx +++ b/sw/source/core/text/pormulti.hxx @@ -120,7 +120,7 @@ protected: bool GetTab1() const { return bTab1; } bool GetTab2() const { return bTab2; } public: - ~SwMultiPortion(); + virtual ~SwMultiPortion(); const SwLineLayout& GetRoot() const { return aRoot; } SwLineLayout& GetRoot() { return aRoot; } SwFldPortion* GetFldRest() { return pFldRest; } @@ -168,7 +168,7 @@ class SwDoubleLinePortion : public SwMultiPortion public: SwDoubleLinePortion( SwDoubleLinePortion& rDouble, sal_Int32 nEnd ); SwDoubleLinePortion( const SwMultiCreator& rCreate, sal_Int32 nEnd ); - ~SwDoubleLinePortion(); + virtual ~SwDoubleLinePortion(); inline SwBracket* GetBrackets() const { return pBracket; } void SetBrackets( const SwDoubleLinePortion& rDouble ); diff --git a/sw/source/core/txtnode/SwGrammarContact.cxx b/sw/source/core/txtnode/SwGrammarContact.cxx index 4d18dd7e3489..f56b196f0c56 100644 --- a/sw/source/core/txtnode/SwGrammarContact.cxx +++ b/sw/source/core/txtnode/SwGrammarContact.cxx @@ -49,7 +49,7 @@ class SwGrammarContact : public IGrammarContact, public SwClient public: SwGrammarContact(); - ~SwGrammarContact() { aTimer.Stop(); delete mpProxyList; } + virtual ~SwGrammarContact() { aTimer.Stop(); delete mpProxyList; } // (pure) virtual functions of IGrammarContact virtual void updateCursorPosition( const SwPosition& rNewPos ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/app/apphdl.cxx b/sw/source/core/uibase/app/apphdl.cxx index 8d486121e456..bb02073ffef8 100644 --- a/sw/source/core/uibase/app/apphdl.cxx +++ b/sw/source/core/uibase/app/apphdl.cxx @@ -248,7 +248,7 @@ class SwMailMergeWizardExecutor : public salhelper::SimpleReferenceObject public: SwMailMergeWizardExecutor(); - ~SwMailMergeWizardExecutor(); + virtual ~SwMailMergeWizardExecutor(); void ExecuteMailMergeWizard( const SfxItemSet * pArgs ); }; diff --git a/sw/source/core/uibase/dbui/dbmgr.cxx b/sw/source/core/uibase/dbui/dbmgr.cxx index 057aeeb99633..89304adf7a83 100644 --- a/sw/source/core/uibase/dbui/dbmgr.cxx +++ b/sw/source/core/uibase/dbui/dbmgr.cxx @@ -211,7 +211,7 @@ class SwConnectionDisposedListener_Impl : public cppu::WeakImplHelper1 virtual void SAL_CALL disposing( const EventObject& Source ) throw (RuntimeException, std::exception) SAL_OVERRIDE; public: SwConnectionDisposedListener_Impl(SwNewDBMgr& rMgr); - ~SwConnectionDisposedListener_Impl(); + virtual ~SwConnectionDisposedListener_Impl(); }; diff --git a/sw/source/core/uibase/dbui/dbtree.cxx b/sw/source/core/uibase/dbui/dbtree.cxx index 9ba3200c760c..1cc2facb9f0b 100644 --- a/sw/source/core/uibase/dbui/dbtree.cxx +++ b/sw/source/core/uibase/dbui/dbtree.cxx @@ -79,7 +79,7 @@ class SwDBTreeList_Impl : public cppu::WeakImplHelper1 < XContainerListener > public: SwDBTreeList_Impl(SwWrtShell* pShell) : pWrtSh(pShell) {} - ~SwDBTreeList_Impl(); + virtual ~SwDBTreeList_Impl(); virtual void SAL_CALL elementInserted( const ContainerEvent& Event ) throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL elementRemoved( const ContainerEvent& Event ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/dbui/mailmergechildwindow.cxx b/sw/source/core/uibase/dbui/mailmergechildwindow.cxx index bf16a14e828a..d038f7eeccd0 100644 --- a/sw/source/core/uibase/dbui/mailmergechildwindow.cxx +++ b/sw/source/core/uibase/dbui/mailmergechildwindow.cxx @@ -162,7 +162,7 @@ class SwMailDispatcherListener_Impl : public IMailDispatcherListener public: SwMailDispatcherListener_Impl(SwSendMailDialog& rParentDlg); - ~SwMailDispatcherListener_Impl(); + virtual ~SwMailDispatcherListener_Impl(); virtual void started(::rtl::Reference<MailDispatcher> xMailDispatcher) SAL_OVERRIDE; virtual void stopped(::rtl::Reference<MailDispatcher> xMailDispatcher) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/dbui/mmconfigitem.cxx b/sw/source/core/uibase/dbui/mmconfigitem.cxx index 6143905efc5a..2629fd9e2701 100644 --- a/sw/source/core/uibase/dbui/mmconfigitem.cxx +++ b/sw/source/core/uibase/dbui/mmconfigitem.cxx @@ -153,7 +153,7 @@ class SwMailMergeConfigItem_Impl : public utl::ConfigItem public: SwMailMergeConfigItem_Impl(); - ~SwMailMergeConfigItem_Impl(); + virtual ~SwMailMergeConfigItem_Impl(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx b/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx index a5b38790ffbd..32c423d79494 100644 --- a/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx +++ b/sw/source/core/uibase/docvw/AnnotationMenuButton.hxx @@ -32,7 +32,7 @@ class AnnotationMenuButton : public MenuButton { public: AnnotationMenuButton( sw::sidebarwindows::SwSidebarWin& rSidebarWin ); - ~AnnotationMenuButton(); + virtual ~AnnotationMenuButton(); // overloaded <MenuButton> methods virtual void Select() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/docvw/SidebarTxtControl.hxx b/sw/source/core/uibase/docvw/SidebarTxtControl.hxx index f6f9fafc54ce..ae524a094f71 100644 --- a/sw/source/core/uibase/docvw/SidebarTxtControl.hxx +++ b/sw/source/core/uibase/docvw/SidebarTxtControl.hxx @@ -57,7 +57,7 @@ class SidebarTxtControl : public Control WinBits nBits, SwView& rDocView, SwPostItMgr& rPostItMgr ); - ~SidebarTxtControl(); + virtual ~SidebarTxtControl(); virtual void GetFocus() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/docvw/romenu.hxx b/sw/source/core/uibase/docvw/romenu.hxx index e0242db41504..074c93e92a4f 100644 --- a/sw/source/core/uibase/docvw/romenu.hxx +++ b/sw/source/core/uibase/docvw/romenu.hxx @@ -51,7 +51,7 @@ class SwReadOnlyPopup : public PopupMenu public: SwReadOnlyPopup( const Point &rDPos, SwView &rV ); - ~SwReadOnlyPopup(); + virtual ~SwReadOnlyPopup(); void Execute( Window* pWin, const Point &rPPos ); void Execute( Window* pWin, sal_uInt16 nId ); diff --git a/sw/source/core/uibase/inc/DashedLine.hxx b/sw/source/core/uibase/inc/DashedLine.hxx index 0944767a21e4..ea0819e2b9b2 100644 --- a/sw/source/core/uibase/inc/DashedLine.hxx +++ b/sw/source/core/uibase/inc/DashedLine.hxx @@ -20,7 +20,7 @@ class SwDashedLine : public FixedLine public: SwDashedLine( Window* pParent, Color& ( *pColorFn )() ); - ~SwDashedLine( ); + virtual ~SwDashedLine( ); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; }; diff --git a/sw/source/core/uibase/inc/HeaderFooterWin.hxx b/sw/source/core/uibase/inc/HeaderFooterWin.hxx index bf2a52c0bcf4..7da9aa44a27d 100644 --- a/sw/source/core/uibase/inc/HeaderFooterWin.hxx +++ b/sw/source/core/uibase/inc/HeaderFooterWin.hxx @@ -30,7 +30,7 @@ class SwHeaderFooterWin : public MenuButton, public SwFrameControl public: SwHeaderFooterWin( SwEditWin* pEditWin, const SwPageFrm* pPageFrm, bool bHeader ); - ~SwHeaderFooterWin( ); + virtual ~SwHeaderFooterWin( ); void SetOffset( Point aOffset, long nXLineStart, long nXLineEnd ); diff --git a/sw/source/core/uibase/inc/PageBreakWin.hxx b/sw/source/core/uibase/inc/PageBreakWin.hxx index c0eb854a1b7e..cb5d2fa1fab9 100644 --- a/sw/source/core/uibase/inc/PageBreakWin.hxx +++ b/sw/source/core/uibase/inc/PageBreakWin.hxx @@ -34,7 +34,7 @@ class SwPageBreakWin : public MenuButton, public SwFrameControl public: SwPageBreakWin( SwEditWin* pEditWin, const SwPageFrm* pPageFrm ); - ~SwPageBreakWin( ); + virtual ~SwPageBreakWin( ); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual void Select( ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx b/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx index 7bc8dcfea56c..4d32f2817469 100644 --- a/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx +++ b/sw/source/core/uibase/inc/SwSpellDialogChildWindow.hxx @@ -54,7 +54,7 @@ public: sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo); - ~SwSpellDialogChildWindow(); + virtual ~SwSpellDialogChildWindow(); SFX_DECL_CHILDWINDOW_WITHID(SwSpellDialogChildWindow); diff --git a/sw/source/core/uibase/inc/barcfg.hxx b/sw/source/core/uibase/inc/barcfg.hxx index 117fa3cff00a..dcb2fa2e5350 100644 --- a/sw/source/core/uibase/inc/barcfg.hxx +++ b/sw/source/core/uibase/inc/barcfg.hxx @@ -28,7 +28,7 @@ class SwToolbarConfigItem : public utl::ConfigItem public: SwToolbarConfigItem( bool bWeb ); - ~SwToolbarConfigItem(); + virtual ~SwToolbarConfigItem(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/bmpwin.hxx b/sw/source/core/uibase/inc/bmpwin.hxx index 63c4082599e3..a4478a286293 100644 --- a/sw/source/core/uibase/inc/bmpwin.hxx +++ b/sw/source/core/uibase/inc/bmpwin.hxx @@ -44,7 +44,7 @@ private: public: BmpWindow(Window* pPar, WinBits nStyle); - ~BmpWindow(); + virtual ~BmpWindow(); void MirrorVert(sal_Bool bMirror) { bVert = bMirror; Invalidate(); } void MirrorHorz(sal_Bool bMirror) { bHorz = bMirror; Invalidate(); } void SetGraphic(const Graphic& rGrf); diff --git a/sw/source/core/uibase/inc/bookctrl.hxx b/sw/source/core/uibase/inc/bookctrl.hxx index 7771fb326556..44b52f790ef5 100644 --- a/sw/source/core/uibase/inc/bookctrl.hxx +++ b/sw/source/core/uibase/inc/bookctrl.hxx @@ -36,7 +36,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwBookmarkControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SwBookmarkControl(); + virtual ~SwBookmarkControl(); private: OUString sPageNumber; diff --git a/sw/source/core/uibase/inc/bookmark.hxx b/sw/source/core/uibase/inc/bookmark.hxx index ff1179c2d9bc..d458fe0067c9 100644 --- a/sw/source/core/uibase/inc/bookmark.hxx +++ b/sw/source/core/uibase/inc/bookmark.hxx @@ -62,7 +62,7 @@ class SwInsertBookmarkDlg: public SvxStandardDialog public: SwInsertBookmarkDlg(Window *pParent, SwWrtShell &rSh, SfxRequest& rReq); - ~SwInsertBookmarkDlg(); + virtual ~SwInsertBookmarkDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/break.hxx b/sw/source/core/uibase/inc/break.hxx index 6dd6356e7343..753e6f4f30e2 100644 --- a/sw/source/core/uibase/inc/break.hxx +++ b/sw/source/core/uibase/inc/break.hxx @@ -63,7 +63,7 @@ protected: public: SwBreakDlg( Window *pParent, SwWrtShell &rSh ); - ~SwBreakDlg(); + virtual ~SwBreakDlg(); OUString GetTemplateName() { return aTemplate; } sal_uInt16 GetKind() { return nKind; } diff --git a/sw/source/core/uibase/inc/changedb.hxx b/sw/source/core/uibase/inc/changedb.hxx index a5d048821d66..a3349845e489 100644 --- a/sw/source/core/uibase/inc/changedb.hxx +++ b/sw/source/core/uibase/inc/changedb.hxx @@ -60,7 +60,7 @@ class SwChangeDBDlg: public SvxStandardDialog public: SwChangeDBDlg(SwView& rVw); - ~SwChangeDBDlg(); + virtual ~SwChangeDBDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/chrdlg.hxx b/sw/source/core/uibase/inc/chrdlg.hxx index 5b7a077e4d66..1de8e46050b6 100644 --- a/sw/source/core/uibase/inc/chrdlg.hxx +++ b/sw/source/core/uibase/inc/chrdlg.hxx @@ -52,7 +52,7 @@ public: SwCharDlg(Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet, sal_uInt8 nDialogMode, const OUString* pFmtStr = 0); - ~SwCharDlg(); + virtual ~SwCharDlg(); virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE; }; @@ -81,7 +81,7 @@ public: SwCharURLPage( Window* pParent, const SfxItemSet& rSet ); - ~SwCharURLPage(); + virtual ~SwCharURLPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/core/uibase/inc/colex.hxx b/sw/source/core/uibase/inc/colex.hxx index 4cb67723b036..634bfcf282f0 100644 --- a/sw/source/core/uibase/inc/colex.hxx +++ b/sw/source/core/uibase/inc/colex.hxx @@ -56,7 +56,7 @@ public: pGridItem(0), m_bVertical(false){} - ~SwPageGridExample(); + virtual ~SwPageGridExample(); void UpdateExample( const SfxItemSet& rSet ); }; diff --git a/sw/source/core/uibase/inc/content.hxx b/sw/source/core/uibase/inc/content.hxx index b4a6c92f6988..3c0bb07628ee 100644 --- a/sw/source/core/uibase/inc/content.hxx +++ b/sw/source/core/uibase/inc/content.hxx @@ -179,7 +179,7 @@ protected: OUString RemoveNewline(const OUString&); public: SwContentType(SwWrtShell* pParent, sal_uInt16 nType, sal_uInt8 nLevel ); - ~SwContentType(); + virtual ~SwContentType(); void Init(sal_Bool* pbInvalidateWindow = 0); void FillMemberList(sal_Bool* pbLevelChanged = NULL); diff --git a/sw/source/core/uibase/inc/conttree.hxx b/sw/source/core/uibase/inc/conttree.hxx index ff808365a589..91da8b46ffa7 100644 --- a/sw/source/core/uibase/inc/conttree.hxx +++ b/sw/source/core/uibase/inc/conttree.hxx @@ -140,7 +140,7 @@ protected: public: SwContentTree(Window* pParent, const ResId& rResId); - ~SwContentTree(); + virtual ~SwContentTree(); OUString GetEntryAltText( SvTreeListEntry* pEntry ) const SAL_OVERRIDE; OUString GetEntryLongDescription( SvTreeListEntry* pEntry ) const SAL_OVERRIDE; SdrObject* GetDrawingObjectsByContent(const SwContent *pCnt); diff --git a/sw/source/core/uibase/inc/convert.hxx b/sw/source/core/uibase/inc/convert.hxx index e9f17a60e6e7..ca5ec06e1f50 100644 --- a/sw/source/core/uibase/inc/convert.hxx +++ b/sw/source/core/uibase/inc/convert.hxx @@ -62,7 +62,7 @@ class SwConvertTableDlg: public SfxModalDialog public: SwConvertTableDlg( SwView& rView, bool bToTable ); - ~SwConvertTableDlg(); + virtual ~SwConvertTableDlg(); void GetValues( sal_Unicode& rDelim, SwInsertTableOptions& rInsTblOpts, diff --git a/sw/source/core/uibase/inc/cption.hxx b/sw/source/core/uibase/inc/cption.hxx index 7eb9837e2dfd..0322b7b7e30c 100644 --- a/sw/source/core/uibase/inc/cption.hxx +++ b/sw/source/core/uibase/inc/cption.hxx @@ -105,7 +105,7 @@ class SwCaptionDialog : public SvxStandardDialog static OUString our_aSepTextSave; // Save caption separator text public: SwCaptionDialog( Window *pParent, SwView &rV ); - ~SwCaptionDialog(); + virtual ~SwCaptionDialog(); }; #endif diff --git a/sw/source/core/uibase/inc/docstdlg.hxx b/sw/source/core/uibase/inc/docstdlg.hxx index 98f4ab192c30..c6c973db3e31 100644 --- a/sw/source/core/uibase/inc/docstdlg.hxx +++ b/sw/source/core/uibase/inc/docstdlg.hxx @@ -33,7 +33,7 @@ class SwDocStatPage: public SfxTabPage { public: SwDocStatPage(Window *pParent, const SfxItemSet &rSet); - ~SwDocStatPage(); + virtual ~SwDocStatPage(); static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet); diff --git a/sw/source/core/uibase/inc/drpcps.hxx b/sw/source/core/uibase/inc/drpcps.hxx index 3ddf9f5e2544..022b68605ce4 100644 --- a/sw/source/core/uibase/inc/drpcps.hxx +++ b/sw/source/core/uibase/inc/drpcps.hxx @@ -71,7 +71,7 @@ friend class SwDropCapsPict; SwWrtShell &rSh; SwDropCapsPage(Window *pParent, const SfxItemSet &rSet); - ~SwDropCapsPage(); + virtual ~SwDropCapsPage(); virtual int DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE; void FillSet( SfxItemSet &rSet ); diff --git a/sw/source/core/uibase/inc/envimg.hxx b/sw/source/core/uibase/inc/envimg.hxx index 054d602e1dce..4707eb63a098 100644 --- a/sw/source/core/uibase/inc/envimg.hxx +++ b/sw/source/core/uibase/inc/envimg.hxx @@ -78,7 +78,7 @@ class SwEnvCfgItem : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwEnvCfgItem(); - ~SwEnvCfgItem(); + virtual ~SwEnvCfgItem(); SwEnvItem& GetItem() {return aEnvItem;} diff --git a/sw/source/core/uibase/inc/envlop.hxx b/sw/source/core/uibase/inc/envlop.hxx index c1557ccd87a9..5c21d03c5517 100644 --- a/sw/source/core/uibase/inc/envlop.hxx +++ b/sw/source/core/uibase/inc/envlop.hxx @@ -74,7 +74,7 @@ friend class SwEnvPreview; public: SwEnvDlg(Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert); - ~SwEnvDlg(); + virtual ~SwEnvDlg(); }; // class SwEnvPage ---------------------------------------------------------- @@ -93,7 +93,7 @@ class SwEnvPage : public SfxTabPage OUString sActDBName; SwEnvPage(Window* pParent, const SfxItemSet& rSet); - ~SwEnvPage(); + virtual ~SwEnvPage(); DECL_LINK( DatabaseHdl, ListBox * ); DECL_LINK(FieldHdl, void *); diff --git a/sw/source/core/uibase/inc/fldedt.hxx b/sw/source/core/uibase/inc/fldedt.hxx index 17733c5446d1..c4ed3bfc93cc 100644 --- a/sw/source/core/uibase/inc/fldedt.hxx +++ b/sw/source/core/uibase/inc/fldedt.hxx @@ -40,7 +40,7 @@ class SwFldEditDlg : public SfxSingleTabDialog public: SwFldEditDlg(SwView& rVw); - ~SwFldEditDlg(); + virtual ~SwFldEditDlg(); DECL_LINK(OKHdl, void *); diff --git a/sw/source/core/uibase/inc/fontcfg.hxx b/sw/source/core/uibase/inc/fontcfg.hxx index 52da0a04af05..22afd8362231 100644 --- a/sw/source/core/uibase/inc/fontcfg.hxx +++ b/sw/source/core/uibase/inc/fontcfg.hxx @@ -73,7 +73,7 @@ class SW_DLLPUBLIC SwStdFontConfig : public utl::ConfigItem public: SwStdFontConfig(); - ~SwStdFontConfig(); + virtual ~SwStdFontConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/formedt.hxx b/sw/source/core/uibase/inc/formedt.hxx index ac3962abec5c..f0b8d3a2f587 100644 --- a/sw/source/core/uibase/inc/formedt.hxx +++ b/sw/source/core/uibase/inc/formedt.hxx @@ -77,7 +77,7 @@ class SwIdxFormDlg : public SvxStandardDialog public: SwIdxFormDlg( Window* pParent, SwWrtShell &rShell, const SwForm& rForm ); - ~SwIdxFormDlg(); + virtual ~SwIdxFormDlg(); const SwForm& GetTOXForm(); }; diff --git a/sw/source/core/uibase/inc/frmdlg.hxx b/sw/source/core/uibase/inc/frmdlg.hxx index 69343955e085..6475f737d3e3 100644 --- a/sw/source/core/uibase/inc/frmdlg.hxx +++ b/sw/source/core/uibase/inc/frmdlg.hxx @@ -60,7 +60,7 @@ public: const OString& sDefPage = OString(), const OUString* pFmtStr = 0); - ~SwFrmDlg(); + virtual ~SwFrmDlg(); SwWrtShell* GetWrtShell() { return m_pWrtShell; } }; diff --git a/sw/source/core/uibase/inc/frmpage.hxx b/sw/source/core/uibase/inc/frmpage.hxx index e2f035688272..340b710549fd 100644 --- a/sw/source/core/uibase/inc/frmpage.hxx +++ b/sw/source/core/uibase/inc/frmpage.hxx @@ -178,7 +178,7 @@ class SwFrmPage: public SfxTabPage void EnableGraficMode( void ); // hides auto check boxes and re-org controls for "Real Size" button SwFrmPage(Window *pParent, const SfxItemSet &rSet); - ~SwFrmPage(); + virtual ~SwFrmPage(); SwWrtShell *getFrmDlgParentShell(); @@ -227,7 +227,7 @@ class SwGrfExtPage: public SfxTabPage virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE; SwGrfExtPage(Window *pParent, const SfxItemSet &rSet); - ~SwGrfExtPage(); + virtual ~SwGrfExtPage(); using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; @@ -256,7 +256,7 @@ class SwFrmURLPage : public SfxTabPage DECL_LINK(InsertFileHdl, void *); SwFrmURLPage(Window *pParent, const SfxItemSet &rSet); - ~SwFrmURLPage(); + virtual ~SwFrmURLPage(); using SfxTabPage::ActivatePage; using SfxTabPage::DeactivatePage; @@ -306,7 +306,7 @@ class SwFrmAddPage : public SfxTabPage DECL_LINK(ChainModifyHdl, ListBox*); SwFrmAddPage(Window *pParent, const SfxItemSet &rSet); - ~SwFrmAddPage(); + virtual ~SwFrmAddPage(); public: diff --git a/sw/source/core/uibase/inc/glosbib.hxx b/sw/source/core/uibase/inc/glosbib.hxx index d16b026ae307..74803a0f7862 100644 --- a/sw/source/core/uibase/inc/glosbib.hxx +++ b/sw/source/core/uibase/inc/glosbib.hxx @@ -106,7 +106,7 @@ public: SwGlossaryGroupDlg(Window * pParent, std::vector<OUString> const& rPathArr, SwGlossaryHdl *pGlosHdl); - ~SwGlossaryGroupDlg(); + virtual ~SwGlossaryGroupDlg(); const OUString& GetCreatedGroupName() const {return sCreatedGroup;} }; diff --git a/sw/source/core/uibase/inc/gloslst.hxx b/sw/source/core/uibase/inc/gloslst.hxx index 9c45736a6c51..7ed767186344 100644 --- a/sw/source/core/uibase/inc/gloslst.hxx +++ b/sw/source/core/uibase/inc/gloslst.hxx @@ -56,7 +56,7 @@ class SwGlossaryList : public AutoTimer public: SwGlossaryList(); - ~SwGlossaryList(); + virtual ~SwGlossaryList(); bool HasLongName(const OUString& rBegin, std::vector<OUString> *pLongNames); sal_Bool GetShortName(const OUString& rLongName, diff --git a/sw/source/core/uibase/inc/glossary.hxx b/sw/source/core/uibase/inc/glossary.hxx index 177c70576138..af8a8cefb5b1 100644 --- a/sw/source/core/uibase/inc/glossary.hxx +++ b/sw/source/core/uibase/inc/glossary.hxx @@ -148,7 +148,7 @@ class SwGlossaryDlg : public SvxStandardDialog void ResetResumeData() {bResume = sal_False;} public: SwGlossaryDlg(SfxViewFrame* pViewFrame, SwGlossaryHdl* pGlosHdl, SwWrtShell *pWrtShell); - ~SwGlossaryDlg(); + virtual ~SwGlossaryDlg(); OUString GetCurrGrpName() const; OUString GetCurrLongName() const { diff --git a/sw/source/core/uibase/inc/hyp.hxx b/sw/source/core/uibase/inc/hyp.hxx index b642f62910a5..f1dd08d1b81d 100644 --- a/sw/source/core/uibase/inc/hyp.hxx +++ b/sw/source/core/uibase/inc/hyp.hxx @@ -50,7 +50,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XHyphenator > &rxHyph, sal_Bool bStart, sal_Bool bOther, sal_Bool bSelect ); - ~SwHyphWrapper(); + virtual ~SwHyphWrapper(); }; #endif diff --git a/sw/source/core/uibase/inc/inputwin.hxx b/sw/source/core/uibase/inc/inputwin.hxx index f419c6741318..160d8046bd2b 100644 --- a/sw/source/core/uibase/inc/inputwin.hxx +++ b/sw/source/core/uibase/inc/inputwin.hxx @@ -105,7 +105,7 @@ public: sal_uInt16 nId, SfxBindings*, SfxChildWinInfo* ); - ~SwInputChild(); + virtual ~SwInputChild(); SFX_DECL_CHILDWINDOW_WITHID( SwInputChild ); void SetFormula( const OUString& rFormula, sal_Bool bDelSel = sal_True ) { ((SwInputWindow*)pWindow)->SetFormula( diff --git a/sw/source/core/uibase/inc/insfnote.hxx b/sw/source/core/uibase/inc/insfnote.hxx index ad93ef9cad83..d32ae7965d0d 100644 --- a/sw/source/core/uibase/inc/insfnote.hxx +++ b/sw/source/core/uibase/inc/insfnote.hxx @@ -66,7 +66,7 @@ class SwInsFootNoteDlg: public SvxStandardDialog public: SwInsFootNoteDlg(Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False); - ~SwInsFootNoteDlg(); + virtual ~SwInsFootNoteDlg(); rtl_TextEncoding GetCharSet() { return eCharSet; } sal_Bool IsExtCharAvailable() { return bExtCharAvailable; } diff --git a/sw/source/core/uibase/inc/instable.hxx b/sw/source/core/uibase/inc/instable.hxx index e8046d6079a1..98d64a8c2424 100644 --- a/sw/source/core/uibase/inc/instable.hxx +++ b/sw/source/core/uibase/inc/instable.hxx @@ -64,7 +64,7 @@ class SwInsTableDlg : public SfxModalDialog public: SwInsTableDlg( SwView& rView ); - ~SwInsTableDlg(); + virtual ~SwInsTableDlg(); void GetValues( OUString& rName, sal_uInt16& rRow, sal_uInt16& rCol, SwInsertTableOptions& rInsTblOpts, OUString& rTableAutoFmtName, diff --git a/sw/source/core/uibase/inc/javaedit.hxx b/sw/source/core/uibase/inc/javaedit.hxx index 8b79071f0689..228c90f76936 100644 --- a/sw/source/core/uibase/inc/javaedit.hxx +++ b/sw/source/core/uibase/inc/javaedit.hxx @@ -72,7 +72,7 @@ private: public: SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh); - ~SwJavaEditDialog(); + virtual ~SwJavaEditDialog(); OUString GetScriptText() const { return aText; } diff --git a/sw/source/core/uibase/inc/label.hxx b/sw/source/core/uibase/inc/label.hxx index 95e32f866656..a1505af8fbb4 100644 --- a/sw/source/core/uibase/inc/label.hxx +++ b/sw/source/core/uibase/inc/label.hxx @@ -57,7 +57,7 @@ public: SwLabDlg( Window* pParent, const SfxItemSet& rSet, SwNewDBMgr* pNewDBMgr, sal_Bool bLabel); - ~SwLabDlg(); + virtual ~SwLabDlg(); SwLabRec* GetRecord(const OUString &rRecName, sal_Bool bCont); void GetLabItem(SwLabItem &rItem); diff --git a/sw/source/core/uibase/inc/linenum.hxx b/sw/source/core/uibase/inc/linenum.hxx index 94cc0fa02589..48d2af666a8e 100644 --- a/sw/source/core/uibase/inc/linenum.hxx +++ b/sw/source/core/uibase/inc/linenum.hxx @@ -56,7 +56,7 @@ public: SwWrtShell* GetWrtShell() const { return pSh; } SwLineNumberingDlg(SwView *pVw); - ~SwLineNumberingDlg(); + virtual ~SwLineNumberingDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/mailconfigpage.hxx b/sw/source/core/uibase/inc/mailconfigpage.hxx index 4d5d3aa36399..4314e25c2086 100644 --- a/sw/source/core/uibase/inc/mailconfigpage.hxx +++ b/sw/source/core/uibase/inc/mailconfigpage.hxx @@ -56,7 +56,7 @@ class SwMailConfigPage : public SfxTabPage public: SwMailConfigPage( Window* pParent, const SfxItemSet& rSet ); - ~SwMailConfigPage(); + virtual ~SwMailConfigPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/core/uibase/inc/mailmergechildwindow.hxx b/sw/source/core/uibase/inc/mailmergechildwindow.hxx index f139fb206840..a4164ec9a78e 100644 --- a/sw/source/core/uibase/inc/mailmergechildwindow.hxx +++ b/sw/source/core/uibase/inc/mailmergechildwindow.hxx @@ -31,7 +31,7 @@ class SwMailMergeChildWin : public SfxFloatingWindow public: SwMailMergeChildWin(SfxBindings*, SfxChildWindow*, Window *pParent); - ~SwMailMergeChildWin(); + virtual ~SwMailMergeChildWin(); virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE; }; diff --git a/sw/source/core/uibase/inc/mailmergehelper.hxx b/sw/source/core/uibase/inc/mailmergehelper.hxx index 8621ce08fcd5..73cf9e4b9942 100644 --- a/sw/source/core/uibase/inc/mailmergehelper.hxx +++ b/sw/source/core/uibase/inc/mailmergehelper.hxx @@ -58,7 +58,7 @@ class SW_DLLPUBLIC SwBoldFixedInfo : public FixedInfo { public: SwBoldFixedInfo(Window* pParent, const ResId& rResId); - ~SwBoldFixedInfo(); + virtual ~SwBoldFixedInfo(); }; struct SwAddressPreview_Impl; @@ -161,7 +161,7 @@ public: m_aPassword(password), m_pParentWindow( pParent ) {} - ~SwAuthenticator(); + virtual ~SwAuthenticator(); virtual OUString SAL_CALL getUserName( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getPassword( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -177,7 +177,7 @@ class SW_DLLPUBLIC SwConnectionContext : public: SwConnectionContext(const OUString& rMailServer, sal_Int16 nPort, const OUString& rConnectionType); - ~SwConnectionContext(); + virtual ~SwConnectionContext(); virtual ::com::sun::star::uno::Any SAL_CALL getValueByName( const OUString& Name ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -199,7 +199,7 @@ public: SwConnectionListener() : cppu::WeakComponentImplHelper1< ::com::sun::star::mail::XConnectionListener>(m_aMutex) {} - ~SwConnectionListener(); + virtual ~SwConnectionListener(); virtual void SAL_CALL connected(const ::com::sun::star::lang::EventObject& aEvent) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -228,7 +228,7 @@ class SwMailTransferable : public: SwMailTransferable(const OUString& rURL, const OUString& rName, const OUString& rMimeType); SwMailTransferable(const OUString& rBody, const OUString& rMimeType); - ~SwMailTransferable(); + virtual ~SwMailTransferable(); virtual ::com::sun::star::uno::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor ) throw (::com::sun::star::datatransfer::UnsupportedFlavorException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -269,7 +269,7 @@ class SwMailMessage : ::com::sun::star::uno::Sequence< ::com::sun::star::mail::MailAttachment > m_aAttachments; public: SwMailMessage(); - ~SwMailMessage(); + virtual ~SwMailMessage(); // attributes virtual OUString SAL_CALL getSenderName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/mailmergewizard.hxx b/sw/source/core/uibase/inc/mailmergewizard.hxx index cabd7846b401..f86599ed0cd2 100644 --- a/sw/source/core/uibase/inc/mailmergewizard.hxx +++ b/sw/source/core/uibase/inc/mailmergewizard.hxx @@ -67,7 +67,7 @@ protected: public: SwMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem); - ~SwMailMergeWizard(); + virtual ~SwMailMergeWizard(); SwView* GetSwView() {return m_pSwView;} SwMailMergeConfigItem& GetConfigItem() { return m_rConfigItem;} diff --git a/sw/source/core/uibase/inc/mailmrge.hxx b/sw/source/core/uibase/inc/mailmrge.hxx index b312e056093e..54cdd694af39 100644 --- a/sw/source/core/uibase/inc/mailmrge.hxx +++ b/sw/source/core/uibase/inc/mailmrge.hxx @@ -131,7 +131,7 @@ public: sal_Int32 nCommandType, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection, ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0); - ~SwMailMergeDlg(); + virtual ~SwMailMergeDlg(); inline sal_uInt16 GetMergeType() { return nMergeType; } diff --git a/sw/source/core/uibase/inc/multmrk.hxx b/sw/source/core/uibase/inc/multmrk.hxx index fe40ee33653e..5c83558d279e 100644 --- a/sw/source/core/uibase/inc/multmrk.hxx +++ b/sw/source/core/uibase/inc/multmrk.hxx @@ -45,7 +45,7 @@ class SwMultiTOXMarkDlg : public SvxStandardDialog void Apply() SAL_OVERRIDE; public: SwMultiTOXMarkDlg( Window* pParent, SwTOXMgr &rTOXMgr ); - ~SwMultiTOXMarkDlg(); + virtual ~SwMultiTOXMarkDlg(); }; #endif // INCLUDED_SW_SOURCE_UI_INC_MULTMRK_HXX diff --git a/sw/source/core/uibase/inc/navicfg.hxx b/sw/source/core/uibase/inc/navicfg.hxx index 8368c86eaeac..b3c7e1a4170a 100644 --- a/sw/source/core/uibase/inc/navicfg.hxx +++ b/sw/source/core/uibase/inc/navicfg.hxx @@ -35,7 +35,7 @@ class SwNavigationConfig : public utl::ConfigItem public: SwNavigationConfig(); - ~SwNavigationConfig(); + virtual ~SwNavigationConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/navipi.hxx b/sw/source/core/uibase/inc/navipi.hxx index cb082903ab6a..ca8af7921cb7 100644 --- a/sw/source/core/uibase/inc/navipi.hxx +++ b/sw/source/core/uibase/inc/navipi.hxx @@ -143,7 +143,7 @@ protected: public: SwNavigationPI(SfxBindings*, SfxChildWindowContext*, Window*); - ~SwNavigationPI(); + virtual ~SwNavigationPI(); void GotoPage(); // jump to page; bindable function diff --git a/sw/source/core/uibase/inc/num.hxx b/sw/source/core/uibase/inc/num.hxx index 6b27d3301d78..fd155f4787c6 100644 --- a/sw/source/core/uibase/inc/num.hxx +++ b/sw/source/core/uibase/inc/num.hxx @@ -117,7 +117,7 @@ public: SwNumPositionTabPage(Window* pParent, const SfxItemSet& rSet); - ~SwNumPositionTabPage(); + virtual ~SwNumPositionTabPage(); virtual void ActivatePage(const SfxItemSet& rSet) SAL_OVERRIDE; virtual int DeactivatePage(SfxItemSet *pSet) SAL_OVERRIDE; @@ -159,7 +159,7 @@ class SwSvxNumBulletTabDialog : public SfxTabDialog SwSvxNumBulletTabDialog(Window* pParent, const SfxItemSet* pSwItemSet, SwWrtShell &); - ~SwSvxNumBulletTabDialog(); + virtual ~SwSvxNumBulletTabDialog(); }; #endif // INCLUDED_SW_SOURCE_UI_INC_NUM_HXX diff --git a/sw/source/core/uibase/inc/numberingtypelistbox.hxx b/sw/source/core/uibase/inc/numberingtypelistbox.hxx index f2aa7c9dd7b5..cad1c886b297 100644 --- a/sw/source/core/uibase/inc/numberingtypelistbox.hxx +++ b/sw/source/core/uibase/inc/numberingtypelistbox.hxx @@ -36,7 +36,7 @@ class SW_DLLPUBLIC SwNumberingTypeListBox : public ListBox public: SwNumberingTypeListBox( Window* pWin, WinBits nStyle = WB_BORDER ); - ~SwNumberingTypeListBox(); + virtual ~SwNumberingTypeListBox(); virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/numfmtlb.hxx b/sw/source/core/uibase/inc/numfmtlb.hxx index d6facd3da9b5..be1e284b2980 100644 --- a/sw/source/core/uibase/inc/numfmtlb.hxx +++ b/sw/source/core/uibase/inc/numfmtlb.hxx @@ -47,7 +47,7 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox public: NumFormatListBox(Window* pWin, WinBits nStyle); - ~NumFormatListBox(); + virtual ~NumFormatListBox(); void Clear(); diff --git a/sw/source/core/uibase/inc/numpara.hxx b/sw/source/core/uibase/inc/numpara.hxx index fbab11a0fc6f..1a6391633a41 100644 --- a/sw/source/core/uibase/inc/numpara.hxx +++ b/sw/source/core/uibase/inc/numpara.hxx @@ -65,7 +65,7 @@ protected: void aCountParaFL(); public: - ~SwParagraphNumTabPage(); + virtual ~SwParagraphNumTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); diff --git a/sw/source/core/uibase/inc/numprevw.hxx b/sw/source/core/uibase/inc/numprevw.hxx index 827109135a2e..16d42306b9ef 100644 --- a/sw/source/core/uibase/inc/numprevw.hxx +++ b/sw/source/core/uibase/inc/numprevw.hxx @@ -52,7 +52,7 @@ class NumberingPreview : public Window { } - ~NumberingPreview(); + virtual ~NumberingPreview(); void SetNumRule(const SwNumRule* pNum) {pActNum = pNum; Invalidate();}; diff --git a/sw/source/core/uibase/inc/optcomp.hxx b/sw/source/core/uibase/inc/optcomp.hxx index 528e625b3ae2..f73797488a1d 100644 --- a/sw/source/core/uibase/inc/optcomp.hxx +++ b/sw/source/core/uibase/inc/optcomp.hxx @@ -62,7 +62,7 @@ private: public: SwCompatibilityOptPage( Window* pParent, const SfxItemSet& rSet ); - ~SwCompatibilityOptPage(); + virtual ~SwCompatibilityOptPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); diff --git a/sw/source/core/uibase/inc/optload.hxx b/sw/source/core/uibase/inc/optload.hxx index e52d4f203fea..99ecd4b0bb9d 100644 --- a/sw/source/core/uibase/inc/optload.hxx +++ b/sw/source/core/uibase/inc/optload.hxx @@ -161,7 +161,7 @@ private: public: SwCaptionOptPage( Window* pParent, const SfxItemSet& rSet ); - ~SwCaptionOptPage(); + virtual ~SwCaptionOptPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/core/uibase/inc/optpage.hxx b/sw/source/core/uibase/inc/optpage.hxx index a33c494a8ca6..2cbbe728b26e 100644 --- a/sw/source/core/uibase/inc/optpage.hxx +++ b/sw/source/core/uibase/inc/optpage.hxx @@ -71,7 +71,7 @@ class SwContentOptPage : public SfxTabPage public: SwContentOptPage( Window* pParent, const SfxItemSet& rSet ); - ~SwContentOptPage(); + virtual ~SwContentOptPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); @@ -191,7 +191,7 @@ class SwStdFontTabPage : public SfxTabPage SwStdFontTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwStdFontTabPage(); + virtual ~SwStdFontTabPage(); public: static SfxTabPage* Create( Window* pParent, @@ -232,7 +232,7 @@ class SwTableOptionsTabPage : public SfxTabPage SwTableOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwTableOptionsTabPage(); + virtual ~SwTableOptionsTabPage(); public: @@ -279,7 +279,7 @@ class SwShdwCrsrOptionsTabPage : public SfxTabPage SwWrtShell * m_pWrtShell; SwShdwCrsrOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwShdwCrsrOptionsTabPage(); + virtual ~SwShdwCrsrOptionsTabPage(); public: @@ -357,7 +357,7 @@ class SwRedlineOptionsTabPage : public SfxTabPage OUString sNone; SwRedlineOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwRedlineOptionsTabPage(); + virtual ~SwRedlineOptionsTabPage(); DECL_LINK( AttribHdl, ListBox *pLB ); DECL_LINK(ChangedMaskPrevHdl, void * = 0); @@ -422,7 +422,7 @@ class SwCompareOptionsTabPage : public SfxTabPage NumericField* m_pLenNF; SwCompareOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); - ~SwCompareOptionsTabPage(); + virtual ~SwCompareOptionsTabPage(); DECL_LINK(ComparisonHdl, void *); DECL_LINK(IgnoreHdl, void *); diff --git a/sw/source/core/uibase/inc/outline.hxx b/sw/source/core/uibase/inc/outline.hxx index 50496d5cfe2b..7b037b56ace9 100644 --- a/sw/source/core/uibase/inc/outline.hxx +++ b/sw/source/core/uibase/inc/outline.hxx @@ -70,7 +70,7 @@ class SwOutlineTabDialog : public SfxTabDialog SwOutlineTabDialog(Window* pParent, const SfxItemSet* pSwItemSet, SwWrtShell &); - ~SwOutlineTabDialog(); + virtual ~SwOutlineTabDialog(); SwNumRule* GetNumRule() {return pNumRule;} sal_uInt16 GetLevel(const OUString &rFmtName) const; @@ -120,7 +120,7 @@ class SwOutlineSettingsTabPage : public SfxTabPage public: SwOutlineSettingsTabPage(Window* pParent, const SfxItemSet& rSet); - ~SwOutlineSettingsTabPage(); + virtual ~SwOutlineSettingsTabPage(); void SetWrtShell(SwWrtShell* pShell); diff --git a/sw/source/core/uibase/inc/pgfnote.hxx b/sw/source/core/uibase/inc/pgfnote.hxx index 38717ef02d61..fc1261fe881f 100644 --- a/sw/source/core/uibase/inc/pgfnote.hxx +++ b/sw/source/core/uibase/inc/pgfnote.hxx @@ -42,7 +42,7 @@ public: private: SwFootNotePage(Window *pParent, const SfxItemSet &rSet); - ~SwFootNotePage(); + virtual ~SwFootNotePage(); RadioButton* m_pMaxHeightPageBtn; RadioButton* m_pMaxHeightBtn; diff --git a/sw/source/core/uibase/inc/pggrid.hxx b/sw/source/core/uibase/inc/pggrid.hxx index bd770e59114e..d4488925711e 100644 --- a/sw/source/core/uibase/inc/pggrid.hxx +++ b/sw/source/core/uibase/inc/pggrid.hxx @@ -70,7 +70,7 @@ class SwTextGridPage: public SfxTabPage sal_Bool m_bVRulerChanged; SwTextGridPage(Window *pParent, const SfxItemSet &rSet); - ~SwTextGridPage(); + virtual ~SwTextGridPage(); void UpdatePageSize(const SfxItemSet& rSet); void PutGridItem(SfxItemSet& rSet); diff --git a/sw/source/core/uibase/inc/popbox.hxx b/sw/source/core/uibase/inc/popbox.hxx index 7bba9a53ffc0..50c5d0a5f0c8 100644 --- a/sw/source/core/uibase/inc/popbox.hxx +++ b/sw/source/core/uibase/inc/popbox.hxx @@ -39,7 +39,7 @@ protected: public: SwHelpToolBox(SwNavigationPI* pParent, const ResId &); - ~SwHelpToolBox(); + virtual ~SwHelpToolBox(); void SetDoubleClickLink(const Link &); // inline void SetRightClickLink(const Link &); // inline }; diff --git a/sw/source/core/uibase/inc/pview.hxx b/sw/source/core/uibase/inc/pview.hxx index e1b82d79da30..59bdf83e6c5b 100644 --- a/sw/source/core/uibase/inc/pview.hxx +++ b/sw/source/core/uibase/inc/pview.hxx @@ -60,7 +60,7 @@ class SwPagePreviewWin : public Window public: SwPagePreviewWin( Window* pParent, SwPagePreview& rView ); - ~SwPagePreviewWin(); + virtual ~SwPagePreviewWin(); // calls SwViewShell::Paint virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; @@ -287,7 +287,7 @@ public: void SetVScrollbarThumbPos( const sal_uInt16 _nNewThumbPos ); SwPagePreview( SfxViewFrame* pFrame, SfxViewShell* ); - ~SwPagePreview(); + virtual ~SwPagePreview(); }; // ----------------- inline methods ---------------------- diff --git a/sw/source/core/uibase/inc/redlndlg.hxx b/sw/source/core/uibase/inc/redlndlg.hxx index 206511feb7da..3a3b3265bb0f 100644 --- a/sw/source/core/uibase/inc/redlndlg.hxx +++ b/sw/source/core/uibase/inc/redlndlg.hxx @@ -137,7 +137,7 @@ class SwModelessRedlineAcceptDlg : public SfxModelessDialog public: SwModelessRedlineAcceptDlg(SfxBindings*, SwChildWinWrapper*, Window *pParent); - ~SwModelessRedlineAcceptDlg(); + virtual ~SwModelessRedlineAcceptDlg(); virtual void Activate() SAL_OVERRIDE; virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/scroll.hxx b/sw/source/core/uibase/inc/scroll.hxx index 0d2743525d7d..eb6dfcb057a3 100644 --- a/sw/source/core/uibase/inc/scroll.hxx +++ b/sw/source/core/uibase/inc/scroll.hxx @@ -51,7 +51,7 @@ public: sal_Bool IsAuto() { return bAuto;} SwScrollbar(Window *pParent, sal_Bool bHori = sal_True ); - ~SwScrollbar(); + virtual ~SwScrollbar(); }; #endif diff --git a/sw/source/core/uibase/inc/srcedtw.hxx b/sw/source/core/uibase/inc/srcedtw.hxx index 4560a86c68aa..bc19a311aac1 100644 --- a/sw/source/core/uibase/inc/srcedtw.hxx +++ b/sw/source/core/uibase/inc/srcedtw.hxx @@ -116,7 +116,7 @@ protected: public: SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ); - ~SwSrcEditWindow(); + virtual ~SwSrcEditWindow(); void SetScrollBarRanges(); void InitScrollBars(); diff --git a/sw/source/core/uibase/inc/srcview.hxx b/sw/source/core/uibase/inc/srcview.hxx index 4513a116943e..6ac7f305641a 100644 --- a/sw/source/core/uibase/inc/srcview.hxx +++ b/sw/source/core/uibase/inc/srcview.hxx @@ -57,7 +57,7 @@ public: SwSrcView(SfxViewFrame* pFrame, SfxViewShell*); - ~SwSrcView(); + virtual ~SwSrcView(); SwDocShell* GetDocShell(); SwSrcEditWindow& GetEditWin() {return aEditWin;} diff --git a/sw/source/core/uibase/inc/srtdlg.hxx b/sw/source/core/uibase/inc/srtdlg.hxx index e655b6eb88e2..6e0a3e0c6d4a 100644 --- a/sw/source/core/uibase/inc/srtdlg.hxx +++ b/sw/source/core/uibase/inc/srtdlg.hxx @@ -84,7 +84,7 @@ class SwSortDlg : public SvxStandardDialog public: SwSortDlg(Window * pParent, SwWrtShell &rSh); - ~SwSortDlg(); + virtual ~SwSortDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/swlbox.hxx b/sw/source/core/uibase/inc/swlbox.hxx index 49ac2b096892..aed583fb19c7 100644 --- a/sw/source/core/uibase/inc/swlbox.hxx +++ b/sw/source/core/uibase/inc/swlbox.hxx @@ -67,7 +67,7 @@ class SW_DLLPUBLIC SwComboBox : public ComboBox public: SwComboBox(Window* pParent, WinBits nStyle); - ~SwComboBox(); + virtual ~SwComboBox(); void InsertSwEntry(const SwBoxEntry&); virtual sal_Int32 InsertEntry(const OUString& rStr, sal_Int32 = 0) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx b/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx index d63683bb03da..1f82224239d6 100644 --- a/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx +++ b/sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx @@ -29,7 +29,7 @@ class SwModalRedlineAcceptDlg : public SfxModalDialog public: SwModalRedlineAcceptDlg(Window *pParent); - ~SwModalRedlineAcceptDlg(); + virtual ~SwModalRedlineAcceptDlg(); void AcceptAll( sal_Bool bAccept ); virtual void Activate() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/swuicnttab.hxx b/sw/source/core/uibase/inc/swuicnttab.hxx index c267afeb7bbd..bdd17412f9e3 100644 --- a/sw/source/core/uibase/inc/swuicnttab.hxx +++ b/sw/source/core/uibase/inc/swuicnttab.hxx @@ -101,7 +101,7 @@ public: SwWrtShell &rShell, SwTOXBase* pCurTOX, sal_uInt16 nToxType = USHRT_MAX, sal_Bool bGlobal = sal_False); - ~SwMultiTOXTabDialog(); + virtual ~SwMultiTOXTabDialog(); virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) SAL_OVERRIDE; @@ -220,7 +220,7 @@ class SwTOXSelectTabPage : public SfxTabPage public: SwTOXSelectTabPage(Window* pParent, const SfxItemSet& rAttrSet); - ~SwTOXSelectTabPage(); + virtual ~SwTOXSelectTabPage(); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE; @@ -282,7 +282,7 @@ class SwTokenWindow : public VclHBox, public VclBuilderContainer public: SwTokenWindow(Window* pParent); - ~SwTokenWindow(); + virtual ~SwTokenWindow(); void SetTabPage(SwTOXEntryTabPage *pParent) { m_pParent = pParent; } @@ -433,7 +433,7 @@ class SwTOXEntryTabPage : public SfxTabPage public: SwTOXEntryTabPage(Window* pParent, const SfxItemSet& rAttrSet); - ~SwTOXEntryTabPage(); + virtual ~SwTOXEntryTabPage(); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE; @@ -479,7 +479,7 @@ class SwTOXStylesTabPage : public SfxTabPage public: SwTOXStylesTabPage(Window* pParent, const SfxItemSet& rAttrSet); - ~SwTOXStylesTabPage(); + virtual ~SwTOXStylesTabPage(); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; virtual void Reset( const SfxItemSet& ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/swuipardlg.hxx b/sw/source/core/uibase/inc/swuipardlg.hxx index 3c6f3cc951f3..650c973b200f 100644 --- a/sw/source/core/uibase/inc/swuipardlg.hxx +++ b/sw/source/core/uibase/inc/swuipardlg.hxx @@ -45,7 +45,7 @@ public: const OUString *pCollName = 0, sal_Bool bDraw = sal_False, const OString& sDefPage = OString()); - ~SwParaDlg(); + virtual ~SwParaDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/swvset.hxx b/sw/source/core/uibase/inc/swvset.hxx index c229998213e6..65eb43e89256 100644 --- a/sw/source/core/uibase/inc/swvset.hxx +++ b/sw/source/core/uibase/inc/swvset.hxx @@ -24,7 +24,7 @@ class SwRulerValueSet : public SvxBmpNumValueSet { public: SwRulerValueSet(Window* pParent, WinBits nWinStyle); - ~SwRulerValueSet(); + virtual ~SwRulerValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE; }; #endif diff --git a/sw/source/core/uibase/inc/syncbtn.hxx b/sw/source/core/uibase/inc/syncbtn.hxx index 468821ff2b58..9800f3faf15b 100644 --- a/sw/source/core/uibase/inc/syncbtn.hxx +++ b/sw/source/core/uibase/inc/syncbtn.hxx @@ -33,7 +33,7 @@ class SwSyncBtnDlg : public SfxFloatingWindow public: SwSyncBtnDlg(SfxBindings*, SfxChildWindow*, Window *pParent); - ~SwSyncBtnDlg(); + virtual ~SwSyncBtnDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/tblctrl.hxx b/sw/source/core/uibase/inc/tblctrl.hxx index 679227d12496..4becca5acf58 100644 --- a/sw/source/core/uibase/inc/tblctrl.hxx +++ b/sw/source/core/uibase/inc/tblctrl.hxx @@ -28,7 +28,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SwTableOptimizeCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SwTableOptimizeCtrl(); + virtual ~SwTableOptimizeCtrl(); virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/tbxanchr.hxx b/sw/source/core/uibase/inc/tbxanchr.hxx index d9c6d70fb49a..f94f63d20060 100644 --- a/sw/source/core/uibase/inc/tbxanchr.hxx +++ b/sw/source/core/uibase/inc/tbxanchr.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SwTbxAnchor( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SwTbxAnchor(); + virtual ~SwTbxAnchor(); }; #endif diff --git a/sw/source/core/uibase/inc/titlepage.hxx b/sw/source/core/uibase/inc/titlepage.hxx index 3031e3112ef9..18aabae9a7b7 100644 --- a/sw/source/core/uibase/inc/titlepage.hxx +++ b/sw/source/core/uibase/inc/titlepage.hxx @@ -62,7 +62,7 @@ private: DECL_LINK(StartPageHdl, void *); public: SwTitlePageDlg( Window *pParent ); - ~SwTitlePageDlg(); + virtual ~SwTitlePageDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/tmplctrl.hxx b/sw/source/core/uibase/inc/tmplctrl.hxx index 7d243df6edbb..56642a38d30e 100644 --- a/sw/source/core/uibase/inc/tmplctrl.hxx +++ b/sw/source/core/uibase/inc/tmplctrl.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwTemplateControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SwTemplateControl(); + virtual ~SwTemplateControl(); private: OUString sTemplate; diff --git a/sw/source/core/uibase/inc/uiborder.hxx b/sw/source/core/uibase/inc/uiborder.hxx index 78adaeb7846d..3327bdac3aac 100644 --- a/sw/source/core/uibase/inc/uiborder.hxx +++ b/sw/source/core/uibase/inc/uiborder.hxx @@ -33,7 +33,7 @@ public: // SW_BORDER_MODE_FRAME SwBorderDlg(Window* pParent, SfxItemSet& rSet, sal_uInt16 nType); - ~SwBorderDlg(); + virtual ~SwBorderDlg(); }; #endif diff --git a/sw/source/core/uibase/inc/uiitems.hxx b/sw/source/core/uibase/inc/uiitems.hxx index d90b35eac6a9..d1a3f36be19b 100644 --- a/sw/source/core/uibase/inc/uiitems.hxx +++ b/sw/source/core/uibase/inc/uiitems.hxx @@ -39,7 +39,7 @@ public: SwPageFtnInfoItem(const sal_uInt16 nId, SwPageFtnInfo& rInfo); SwPageFtnInfoItem(const SwPageFtnInfoItem& rItem ); - ~SwPageFtnInfoItem(); + virtual ~SwPageFtnInfoItem(); virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE; virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/unoatxt.hxx b/sw/source/core/uibase/inc/unoatxt.hxx index 90338fdb3973..1e65f7a0fa52 100644 --- a/sw/source/core/uibase/inc/unoatxt.hxx +++ b/sw/source/core/uibase/inc/unoatxt.hxx @@ -253,7 +253,7 @@ class SwAutoTextEventDescriptor : public SvBaseEventDescriptor public: SwAutoTextEventDescriptor( SwXAutoTextEntry& rAutoText ); - ~SwAutoTextEventDescriptor(); + virtual ~SwAutoTextEventDescriptor(); virtual OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/unodispatch.hxx b/sw/source/core/uibase/inc/unodispatch.hxx index 23a2a7ab21e7..8d1b32427cea 100644 --- a/sw/source/core/uibase/inc/unodispatch.hxx +++ b/sw/source/core/uibase/inc/unodispatch.hxx @@ -65,7 +65,7 @@ class SwXDispatchProviderInterceptor : public cppu::WeakImplHelper3 public: SwXDispatchProviderInterceptor(SwView& rView); - ~SwXDispatchProviderInterceptor(); + virtual ~SwXDispatchProviderInterceptor(); //XDispatchProvider virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -106,7 +106,7 @@ class SwXDispatch : public cppu::WeakImplHelper2 sal_Bool m_bListenerAdded; public: SwXDispatch(SwView& rView); - ~SwXDispatch(); + virtual ~SwXDispatch(); virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw (::com::sun::star::uno::RuntimeException, diff --git a/sw/source/core/uibase/inc/usrpref.hxx b/sw/source/core/uibase/inc/usrpref.hxx index 8d04de4874f8..7a03bf80f712 100644 --- a/sw/source/core/uibase/inc/usrpref.hxx +++ b/sw/source/core/uibase/inc/usrpref.hxx @@ -34,7 +34,7 @@ class SwContentViewConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwContentViewConfig(sal_Bool bWeb, SwMasterUsrPref& rParent); - ~SwContentViewConfig(); + virtual ~SwContentViewConfig(); // utl::ConfigItem virtual void Notify( const com::sun::star::uno::Sequence< OUString > &rPropertyNames ) SAL_OVERRIDE; @@ -52,7 +52,7 @@ class SwLayoutViewConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwLayoutViewConfig(sal_Bool bWeb, SwMasterUsrPref& rParent); - ~SwLayoutViewConfig(); + virtual ~SwLayoutViewConfig(); virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; virtual void Commit() SAL_OVERRIDE; @@ -67,7 +67,7 @@ class SwGridConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwGridConfig(sal_Bool bWeb, SwMasterUsrPref& rParent); - ~SwGridConfig(); + virtual ~SwGridConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; @@ -82,7 +82,7 @@ class SwCursorConfig : public utl::ConfigItem com::sun::star::uno::Sequence<OUString> GetPropertyNames(); public: SwCursorConfig(SwMasterUsrPref& rParent); - ~SwCursorConfig(); + virtual ~SwCursorConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; @@ -97,7 +97,7 @@ class SwWebColorConfig : public utl::ConfigItem public: SwWebColorConfig(SwMasterUsrPref& rParent); - ~SwWebColorConfig(); + virtual ~SwWebColorConfig(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/view.hxx b/sw/source/core/uibase/inc/view.hxx index 14f56ef54a0b..6526b22d93f5 100644 --- a/sw/source/core/uibase/inc/view.hxx +++ b/sw/source/core/uibase/inc/view.hxx @@ -625,7 +625,7 @@ public: void ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions); SwView(SfxViewFrame* pFrame, SfxViewShell*); - ~SwView(); + virtual ~SwView(); void NotifyDBChanged(); diff --git a/sw/source/core/uibase/inc/viewlayoutctrl.hxx b/sw/source/core/uibase/inc/viewlayoutctrl.hxx index 2ca684f5c947..42d6afc734a1 100644 --- a/sw/source/core/uibase/inc/viewlayoutctrl.hxx +++ b/sw/source/core/uibase/inc/viewlayoutctrl.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwViewLayoutControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SwViewLayoutControl(); + virtual ~SwViewLayoutControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE; diff --git a/sw/source/core/uibase/inc/wordcountctrl.hxx b/sw/source/core/uibase/inc/wordcountctrl.hxx index 9026d2a676e9..017aa6d2b0c6 100644 --- a/sw/source/core/uibase/inc/wordcountctrl.hxx +++ b/sw/source/core/uibase/inc/wordcountctrl.hxx @@ -25,7 +25,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwWordCountStatusBarControl(sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb); - ~SwWordCountStatusBarControl(); + virtual ~SwWordCountStatusBarControl(); }; #endif diff --git a/sw/source/core/uibase/inc/wordcountdialog.hxx b/sw/source/core/uibase/inc/wordcountdialog.hxx index 85c3b036502d..4d8f4c34ee23 100644 --- a/sw/source/core/uibase/inc/wordcountdialog.hxx +++ b/sw/source/core/uibase/inc/wordcountdialog.hxx @@ -52,7 +52,7 @@ public: SfxChildWindow* pChild, Window *pParent, SfxChildWinInfo* pInfo); - ~SwWordCountFloatDlg(); + virtual ~SwWordCountFloatDlg(); void UpdateCounts(); void SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat); diff --git a/sw/source/core/uibase/inc/workctrl.hxx b/sw/source/core/uibase/inc/workctrl.hxx index ef9000e30445..a030d9f79952 100644 --- a/sw/source/core/uibase/inc/workctrl.hxx +++ b/sw/source/core/uibase/inc/workctrl.hxx @@ -63,7 +63,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SwTbxInsertCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SwTbxInsertCtrl(); + virtual ~SwTbxInsertCtrl(); virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; @@ -145,7 +145,7 @@ protected: public: SwScrollNaviPopup( sal_uInt16 nId, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, Window *pParent ); - ~SwScrollNaviPopup(); + virtual ~SwScrollNaviPopup(); static OUString GetQuickHelpText(sal_Bool bNext); @@ -172,7 +172,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SwPreviewZoomControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SwPreviewZoomControl(); + virtual ~SwPreviewZoomControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, diff --git a/sw/source/core/uibase/inc/wrap.hxx b/sw/source/core/uibase/inc/wrap.hxx index 3ded65121736..b3c4502237d2 100644 --- a/sw/source/core/uibase/inc/wrap.hxx +++ b/sw/source/core/uibase/inc/wrap.hxx @@ -83,7 +83,7 @@ class SwWrapTabPage: public SfxTabPage sal_Bool bContourImage; SwWrapTabPage(Window *pParent, const SfxItemSet &rSet); - ~SwWrapTabPage(); + virtual ~SwWrapTabPage(); void ApplyImageList(); void EnableModes(const SfxItemSet& rSet); diff --git a/sw/source/core/uibase/inc/wview.hxx b/sw/source/core/uibase/inc/wview.hxx index 199437debe6c..fa19410f9b2d 100644 --- a/sw/source/core/uibase/inc/wview.hxx +++ b/sw/source/core/uibase/inc/wview.hxx @@ -33,7 +33,7 @@ public: TYPEINFO_OVERRIDE(); SwWebView(SfxViewFrame* pFrame, SfxViewShell*); - ~SwWebView(); + virtual ~SwWebView(); }; #endif diff --git a/sw/source/core/uibase/inc/zoomctrl.hxx b/sw/source/core/uibase/inc/zoomctrl.hxx index 52193f05970f..9e2031de1072 100644 --- a/sw/source/core/uibase/inc/zoomctrl.hxx +++ b/sw/source/core/uibase/inc/zoomctrl.hxx @@ -34,7 +34,7 @@ public: SFX_DECL_STATUSBAR_CONTROL(); SwZoomControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SwZoomControl(); + virtual ~SwZoomControl(); }; diff --git a/sw/source/core/uibase/ribbar/workctrl.cxx b/sw/source/core/uibase/ribbar/workctrl.cxx index 20f03c20bed9..7cd02e5bfcb8 100644 --- a/sw/source/core/uibase/ribbar/workctrl.cxx +++ b/sw/source/core/uibase/ribbar/workctrl.cxx @@ -619,7 +619,7 @@ public: Window* pParent, sal_uInt16 nSlot, const Reference< XDispatchProvider >& rDispatchProvider ); - ~SwZoomBox_Impl(); + virtual ~SwZoomBox_Impl(); protected: virtual void Select() SAL_OVERRIDE; diff --git a/sw/source/core/uibase/sidebar/PageColumnControl.hxx b/sw/source/core/uibase/sidebar/PageColumnControl.hxx index 875bea370fd7..3ff4202838df 100644 --- a/sw/source/core/uibase/sidebar/PageColumnControl.hxx +++ b/sw/source/core/uibase/sidebar/PageColumnControl.hxx @@ -44,7 +44,7 @@ public: const sal_uInt16 nColumnType, const bool bLandscape ); - ~PageColumnControl(void); + virtual ~PageColumnControl(void); private: ::svx::sidebar::ValueSetWithTextControl* mpColumnValueSet; diff --git a/sw/source/core/uibase/sidebar/PageMarginControl.hxx b/sw/source/core/uibase/sidebar/PageMarginControl.hxx index f32e8846329c..c1fdb94f638a 100644 --- a/sw/source/core/uibase/sidebar/PageMarginControl.hxx +++ b/sw/source/core/uibase/sidebar/PageMarginControl.hxx @@ -60,7 +60,7 @@ public: const sal_Bool bLandscape, const FieldUnit eFUnit, const SfxMapUnit eUnit ); - ~PageMarginControl(void); + virtual ~PageMarginControl(void); private: ::svx::sidebar::ValueSetWithTextControl* mpMarginValueSet; diff --git a/sw/source/core/uibase/sidebar/PageOrientationControl.hxx b/sw/source/core/uibase/sidebar/PageOrientationControl.hxx index a4cfe4249376..c1927fbb86f1 100644 --- a/sw/source/core/uibase/sidebar/PageOrientationControl.hxx +++ b/sw/source/core/uibase/sidebar/PageOrientationControl.hxx @@ -37,7 +37,7 @@ public: Window* pParent, PagePropertyPanel& rPanel, const sal_Bool bLandscape ); - ~PageOrientationControl(void); + virtual ~PageOrientationControl(void); private: ::svx::sidebar::ValueSetWithTextControl* mpOrientationValueSet; diff --git a/sw/source/core/uibase/sidebar/PageSizeControl.hxx b/sw/source/core/uibase/sidebar/PageSizeControl.hxx index e1f0313a3649..d1e433da719f 100644 --- a/sw/source/core/uibase/sidebar/PageSizeControl.hxx +++ b/sw/source/core/uibase/sidebar/PageSizeControl.hxx @@ -47,7 +47,7 @@ public: const Paper ePaper, const sal_Bool bLandscape, const FieldUnit eFUnit ); - ~PageSizeControl(void); + virtual ~PageSizeControl(void); private: ::svx::sidebar::ValueSetWithTextControl* mpSizeValueSet; diff --git a/sw/source/core/uibase/table/tablepg.hxx b/sw/source/core/uibase/table/tablepg.hxx index 8b5f5a5ef498..3f95844371b6 100644 --- a/sw/source/core/uibase/table/tablepg.hxx +++ b/sw/source/core/uibase/table/tablepg.hxx @@ -130,7 +130,7 @@ class SwTableColumnPage : public SfxTabPage public: SwTableColumnPage( Window* pParent, const SfxItemSet& rSet ); - ~SwTableColumnPage(); + virtual ~SwTableColumnPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE; @@ -178,7 +178,7 @@ class SwTextFlowPage : public SfxTabPage DECL_LINK( HeadLineCBClickHdl, void* p = 0 ); SwTextFlowPage( Window* pParent, const SfxItemSet& rSet ); - ~SwTextFlowPage(); + virtual ~SwTextFlowPage(); public: static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/core/uibase/uno/unomailmerge.cxx b/sw/source/core/uibase/uno/unomailmerge.cxx index b51659449cb5..3131aa0dcb5d 100644 --- a/sw/source/core/uibase/uno/unomailmerge.cxx +++ b/sw/source/core/uibase/uno/unomailmerge.cxx @@ -198,7 +198,7 @@ namespace const OUString& _rTemporaryFile ); protected: - ~DelayedFileDeletion( ); + virtual ~DelayedFileDeletion( ); // XCloseListener virtual void SAL_CALL queryClosing( const EventObject& _rSource, sal_Bool _bGetsOwnership ) throw (util::CloseVetoException, RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index 80490e5dad21..cb1d33507584 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -1165,7 +1165,7 @@ public: , m_pProps((pFmt) ? 0 : new SwFieldProperties_Impl) { } - ~Impl() + virtual ~Impl() { if (m_pTextObject) { diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 950e1eebc782..248bd160e6ff 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -689,7 +689,7 @@ public: } } - ~Impl() { + virtual ~Impl() { // Impl owns the cursor; delete it here: SolarMutex is locked delete GetRegisteredIn(); } diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index 51e07ab30272..504bb56904f4 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -465,7 +465,7 @@ public: } SAL_WNODEPRECATED_DECLARATIONS_POP - ~Impl() { + virtual ~Impl() { // Impl owns the cursor; delete it here: SolarMutex is locked delete GetRegisteredIn(); } @@ -731,7 +731,7 @@ public: { } - ~Impl() + virtual ~Impl() { // Impl owns the bookmark; delete it here: SolarMutex is locked Invalidate(); @@ -1533,7 +1533,7 @@ public: MakeRanges(); } - ~Impl() { + virtual ~Impl() { // Impl owns the cursor; delete it here: SolarMutex is locked delete GetRegisteredIn(); } @@ -1718,7 +1718,7 @@ public: } } - ~Impl() { + virtual ~Impl() { // Impl owns the cursor; delete it here: SolarMutex is locked delete GetRegisteredIn(); } diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx index d05fd3384b25..275fe353e7f3 100644 --- a/sw/source/filter/html/htmlform.cxx +++ b/sw/source/filter/html/htmlform.cxx @@ -372,7 +372,7 @@ class SwHTMLImageWatcher : public: SwHTMLImageWatcher( const uno::Reference< drawing::XShape > & rShape, sal_Bool bWidth, sal_Bool bHeight ); - ~SwHTMLImageWatcher(); + virtual ~SwHTMLImageWatcher(); // startProduction darf nicht im Konstruktor gerufen werden, weil // wir und ggf. selbst zerstoeren ... Deshlab eine eigene Methode. diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx index 479f0998199d..46a825d109d4 100644 --- a/sw/source/filter/inc/fltshell.hxx +++ b/sw/source/filter/inc/fltshell.hxx @@ -457,7 +457,7 @@ class SwFltFormatCollection : public SwFltOutBase public: SwFltFormatCollection(SwDoc&, RES_POOL_COLLFMT_TYPE nType); SwFltFormatCollection(SwDoc&, const OUString& rName ); - ~SwFltFormatCollection() { if( pFlyAttrs ) delete pFlyAttrs; } + virtual ~SwFltFormatCollection() { if( pFlyAttrs ) delete pFlyAttrs; } void Reset() { diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx index 2dc14f9b3aa2..5cd5b0a79cec 100644 --- a/sw/source/filter/ww8/wrtww8.hxx +++ b/sw/source/filter/ww8/wrtww8.hxx @@ -232,7 +232,7 @@ class WW8_WrPlcSepx : public MSWordSections public: WW8_WrPlcSepx( MSWordExportBase& rExport ); - ~WW8_WrPlcSepx(); + virtual ~WW8_WrPlcSepx(); virtual bool HeaderFooterWritten() SAL_OVERRIDE; // override @@ -1241,7 +1241,7 @@ private: std::map<const OUString, WW8_CP> m_aRangeStartPositions; public: WW8_WrPlcAnnotations() {} - ~WW8_WrPlcAnnotations(); + virtual ~WW8_WrPlcAnnotations(); void AddRangeStartPosition(const OUString& rName, WW8_CP nStartCp); void Append( WW8_CP nCp, const SwPostItField* pPostIt ); diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 79b748be2ce2..78005a6cb845 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -440,7 +440,7 @@ struct SBBItem Sttb& operator = ( const Sttb&); public: Sttb(); - ~Sttb(); + virtual ~Sttb(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* fp ) SAL_OVERRIDE; OUString getStringAtIndex( sal_uInt32 ); diff --git a/sw/source/filter/ww8/ww8toolbar.hxx b/sw/source/filter/ww8/ww8toolbar.hxx index 7b4bb2e26059..aa4dedf2667b 100644 --- a/sw/source/filter/ww8/ww8toolbar.hxx +++ b/sw/source/filter/ww8/ww8toolbar.hxx @@ -32,7 +32,7 @@ class SwTBC : public TBBase public: SwTBC(); - ~SwTBC(); + virtual ~SwTBC(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; bool ImportToolBarControl( SwCTBWrapper&, const css::uno::Reference< css::container::XIndexContainer >&, CustomToolBarImportHelper&, bool ); @@ -56,7 +56,7 @@ class SwCTB : public TBBase public: SwCTB(); - ~SwCTB(); + virtual ~SwCTB(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* fp ) SAL_OVERRIDE; bool IsMenuToolbar(); @@ -78,7 +78,7 @@ class TBDelta : public TBBase public: TBDelta(); - ~TBDelta(){} + virtual ~TBDelta(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; bool ControlIsModified(); @@ -103,7 +103,7 @@ protected: public: Tcg255SubStruct( bool bReadId ); - ~Tcg255SubStruct(){} + virtual ~Tcg255SubStruct(){} virtual sal_uInt8 id() const { return ch; } bool Read(SvStream &rS) SAL_OVERRIDE; }; @@ -125,7 +125,7 @@ class Customization : public TBBase public: Customization( SwCTBWrapper* rapper ); - ~Customization(); + virtual ~Customization(); bool Read(SvStream &rS) SAL_OVERRIDE; bool ImportCustomToolBar( SwCTBWrapper&, CustomToolBarImportHelper& ); bool ImportMenu( SwCTBWrapper&, CustomToolBarImportHelper& ); @@ -157,7 +157,7 @@ class SwCTBWrapper : public Tcg255SubStruct public: SwCTBWrapper( bool bReadId = true ); - ~SwCTBWrapper(); + virtual ~SwCTBWrapper(); void InsertDropIndex( sal_Int32 aIndex ) { dropDownMenuIndices.push_back( aIndex ); } SwTBC* GetTBCAtOffset( sal_uInt32 nStreamOffset ); bool Read(SvStream &rS) SAL_OVERRIDE; @@ -210,7 +210,7 @@ class Acd : public TBBase public: Acd(); - ~Acd(){} + virtual ~Acd(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; }; @@ -224,7 +224,7 @@ class PlfAcd: public Tcg255SubStruct public: PlfAcd( bool bReadId = true ); - ~PlfAcd(); + virtual ~PlfAcd(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print(FILE*) SAL_OVERRIDE; }; @@ -243,7 +243,7 @@ class Kme : public TBBase public: Kme(); - ~Kme(); + virtual ~Kme(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; }; @@ -257,7 +257,7 @@ class PlfKme : public Tcg255SubStruct public: PlfKme( bool bReadId = true ); - ~PlfKme(); + virtual ~PlfKme(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; }; @@ -281,7 +281,7 @@ class TcgSttbfCore : public TBBase public: TcgSttbfCore(); - ~TcgSttbfCore(); + virtual ~TcgSttbfCore(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* fp ) SAL_OVERRIDE; }; @@ -294,7 +294,7 @@ class TcgSttbf : public Tcg255SubStruct public: TcgSttbf( bool bReadId = true ); - ~TcgSttbf(){} + virtual ~TcgSttbf(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* fp ) SAL_OVERRIDE; }; @@ -309,7 +309,7 @@ class Xstz : public TBBase public: Xstz(); - ~Xstz(){} + virtual ~Xstz(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* fp ) SAL_OVERRIDE; }; @@ -323,7 +323,7 @@ class MacroName : public TBBase public: MacroName(); - ~MacroName(){} + virtual ~MacroName(){} bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; }; @@ -338,7 +338,7 @@ class MacroNames : public Tcg255SubStruct public: MacroNames( bool bReadId = true ); - ~MacroNames(); + virtual ~MacroNames(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; }; @@ -352,7 +352,7 @@ class Tcg255 : public TBBase public: Tcg255(); - ~Tcg255(); + virtual ~Tcg255(); bool Read(SvStream &rS) SAL_OVERRIDE; void Print( FILE* ) SAL_OVERRIDE; bool ImportCustomToolBar( SfxObjectShell& rDocSh ); @@ -367,7 +367,7 @@ class Tcg: public TBBase public: Tcg(); - ~Tcg(){} + virtual ~Tcg(){} bool Read(SvStream &rS) SAL_OVERRIDE; bool ImportCustomToolBar( SfxObjectShell& rDocSh ); void Print( FILE* ) SAL_OVERRIDE; diff --git a/sw/source/filter/xml/xmlimp.hxx b/sw/source/filter/xml/xmlimp.hxx index 1369894ff601..1788bce4573e 100644 --- a/sw/source/filter/xml/xmlimp.hxx +++ b/sw/source/filter/xml/xmlimp.hxx @@ -111,7 +111,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, OUString const & implementationName, sal_uInt16 nImportFlags); - ~SwXMLImport() throw(); + virtual ~SwXMLImport() throw(); // ::com::sun::star::xml::sax::XDocumentHandler virtual void SAL_CALL startDocument() diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 259135e6550c..d45b1072d6e7 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -1079,7 +1079,7 @@ public: SwXMLDDETableContext_Impl( SwXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName); - ~SwXMLDDETableContext_Impl(); + virtual ~SwXMLDDETableContext_Impl(); virtual void StartElement( const Reference<xml::sax::XAttributeList> & xAttrList) SAL_OVERRIDE; diff --git a/sw/source/filter/xml/xmltexte.hxx b/sw/source/filter/xml/xmltexte.hxx index e70204f7bf08..cb007465a77d 100644 --- a/sw/source/filter/xml/xmltexte.hxx +++ b/sw/source/filter/xml/xmltexte.hxx @@ -68,7 +68,7 @@ public: SwXMLTextParagraphExport( SwXMLExport& rExp, SvXMLAutoStylePoolP& rAutoStylePool ); - ~SwXMLTextParagraphExport(); + virtual ~SwXMLTextParagraphExport(); virtual void setTextEmbeddedGraphicURL( const ::com::sun::star::uno::Reference < diff --git a/sw/source/filter/xml/xmltexti.hxx b/sw/source/filter/xml/xmltexti.hxx index 0d8adef943e9..1a7d1b884e45 100644 --- a/sw/source/filter/xml/xmltexti.hxx +++ b/sw/source/filter/xml/xmltexti.hxx @@ -45,7 +45,7 @@ public: bool bInsertM, bool bStylesOnlyM, bool bProgress, bool bBlockM, bool bOrganizerM, sal_Bool bPreserveRedlineMode ); - ~SwXMLTextImportHelper(); + virtual ~SwXMLTextImportHelper(); virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index 1483feb98212..a32b7af2dbc7 100644 --- a/sw/source/ui/chrdlg/drpcps.cxx +++ b/sw/source/ui/chrdlg/drpcps.cxx @@ -118,7 +118,7 @@ public: void SetDropCapsPage(SwDropCapsPage* pPage) { mpPage = pPage; } - ~SwDropCapsPict(); + virtual ~SwDropCapsPict(); void UpdatePaintSettings( void ); // also invalidates control! diff --git a/sw/source/ui/config/mailconfigpage.cxx b/sw/source/ui/config/mailconfigpage.cxx index f577bee450b8..22ab58402588 100644 --- a/sw/source/ui/config/mailconfigpage.cxx +++ b/sw/source/ui/config/mailconfigpage.cxx @@ -109,7 +109,7 @@ class SwAuthenticationSettingsDialog : public SfxModalDialog public: SwAuthenticationSettingsDialog(SwMailConfigPage* pParent, SwMailMergeConfigItem& rItem); - ~SwAuthenticationSettingsDialog(); + virtual ~SwAuthenticationSettingsDialog(); }; SwMailConfigPage::SwMailConfigPage( Window* pParent, const SfxItemSet& rSet ) : diff --git a/sw/source/ui/dbui/addresslistdialog.hxx b/sw/source/ui/dbui/addresslistdialog.hxx index 7d8205a72582..3ffe5360e6c5 100644 --- a/sw/source/ui/dbui/addresslistdialog.hxx +++ b/sw/source/ui/dbui/addresslistdialog.hxx @@ -87,7 +87,7 @@ class SwAddressListDialog : public SfxModalDialog public: SwAddressListDialog(SwMailMergeAddressBlockPage* pParent); - ~SwAddressListDialog(); + virtual ~SwAddressListDialog(); ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> GetSource(); diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx index 5b14c35e7413..90ea737bc143 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.cxx +++ b/sw/source/ui/dbui/createaddresslistdialog.cxx @@ -72,7 +72,7 @@ class SwAddressControl_Impl : public Control public: SwAddressControl_Impl(Window* pParent, const ResId& rResId ); - ~SwAddressControl_Impl(); + virtual ~SwAddressControl_Impl(); void SetData(SwCSVData& rDBData); diff --git a/sw/source/ui/dbui/createaddresslistdialog.hxx b/sw/source/ui/dbui/createaddresslistdialog.hxx index 8d42ff46bd1b..d931ab30d0b1 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.hxx +++ b/sw/source/ui/dbui/createaddresslistdialog.hxx @@ -80,7 +80,7 @@ class SwCreateAddressListDialog : public SfxModalDialog public: SwCreateAddressListDialog( Window* pParent, const OUString& rURL, SwMailMergeConfigItem& rConfig); - ~SwCreateAddressListDialog(); + virtual ~SwCreateAddressListDialog(); const OUString& GetURL() const { return m_sURL; } void Find( const OUString& rSearch, sal_Int32 nColumn); diff --git a/sw/source/ui/dbui/customizeaddresslistdialog.hxx b/sw/source/ui/dbui/customizeaddresslistdialog.hxx index e3dec814fe0b..b92f1e9cbc01 100644 --- a/sw/source/ui/dbui/customizeaddresslistdialog.hxx +++ b/sw/source/ui/dbui/customizeaddresslistdialog.hxx @@ -48,7 +48,7 @@ class SwCustomizeAddressListDialog : public SfxModalDialog void UpdateButtons(); public: SwCustomizeAddressListDialog(Window* pParent, const SwCSVData& rOldData); - ~SwCustomizeAddressListDialog(); + virtual ~SwCustomizeAddressListDialog(); SwCSVData* GetNewData(); }; diff --git a/sw/source/ui/dbui/dbtablepreviewdialog.hxx b/sw/source/ui/dbui/dbtablepreviewdialog.hxx index bbbac8fab7e9..b47d2c29da60 100644 --- a/sw/source/ui/dbui/dbtablepreviewdialog.hxx +++ b/sw/source/ui/dbui/dbtablepreviewdialog.hxx @@ -39,7 +39,7 @@ class SwDBTablePreviewDialog : public SfxModalDialog public: SwDBTablePreviewDialog(Window* pParent, ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rValues ); - ~SwDBTablePreviewDialog(); + virtual ~SwDBTablePreviewDialog(); }; #endif diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx index 85498576af7f..c7d15ad6f53f 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.cxx +++ b/sw/source/ui/dbui/mmaddressblockpage.cxx @@ -826,7 +826,7 @@ class SwAssignFieldsControl : public Control public: SwAssignFieldsControl(Window* pParent, const ResId& rResId, SwMailMergeConfigItem& rConfigItem); - ~SwAssignFieldsControl(); + virtual ~SwAssignFieldsControl(); void SetModifyHdl(const Link& rModifyHdl) { diff --git a/sw/source/ui/dbui/mmaddressblockpage.hxx b/sw/source/ui/dbui/mmaddressblockpage.hxx index 1294ba0e7025..9192b1e69b8a 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.hxx +++ b/sw/source/ui/dbui/mmaddressblockpage.hxx @@ -105,7 +105,7 @@ class SwSelectAddressBlockDialog : public SfxModalDialog public: SwSelectAddressBlockDialog(Window* pParent, SwMailMergeConfigItem& rConfig); - ~SwSelectAddressBlockDialog(); + virtual ~SwSelectAddressBlockDialog(); void SetAddressBlocks(const com::sun::star::uno::Sequence< OUString>& rBlocks, sal_uInt16 nSelected); @@ -146,7 +146,7 @@ protected: bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; public: AddressMultiLineEdit(Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER); - ~AddressMultiLineEdit(); + virtual ~AddressMultiLineEdit(); void SetAddressDialog(SwCustomizeAddressBlockDialog *pParent); @@ -243,7 +243,7 @@ private: public: SwCustomizeAddressBlockDialog(Window* pParent, SwMailMergeConfigItem& rConfig, DialogType); - ~SwCustomizeAddressBlockDialog(); + virtual ~SwCustomizeAddressBlockDialog(); void SetAddress(const OUString& rAddress); OUString GetAddress(); @@ -278,7 +278,7 @@ public: SwMailMergeConfigItem& rConfigItem, const OUString& rPreview, bool bIsAddressBlock); - ~SwAssignFieldsDialog(); + virtual ~SwAssignFieldsDialog(); }; #endif diff --git a/sw/source/ui/dbui/mmdocselectpage.hxx b/sw/source/ui/dbui/mmdocselectpage.hxx index 2788b3e70a5e..b2e241270faf 100644 --- a/sw/source/ui/dbui/mmdocselectpage.hxx +++ b/sw/source/ui/dbui/mmdocselectpage.hxx @@ -51,7 +51,7 @@ class SwMailMergeDocSelectPage : public svt::OWizardPage public: SwMailMergeDocSelectPage( SwMailMergeWizard* _pParent); - ~SwMailMergeDocSelectPage(); + virtual ~SwMailMergeDocSelectPage(); }; diff --git a/sw/source/ui/dbui/mmgreetingspage.hxx b/sw/source/ui/dbui/mmgreetingspage.hxx index ebd1ddc5a62e..e68cf9768bd7 100644 --- a/sw/source/ui/dbui/mmgreetingspage.hxx +++ b/sw/source/ui/dbui/mmgreetingspage.hxx @@ -89,7 +89,7 @@ class SwMailMergeGreetingsPage : public svt::OWizardPage, virtual bool commitPage( ::svt::WizardTypes::CommitPageReason _eReason ) SAL_OVERRIDE; public: SwMailMergeGreetingsPage( SwMailMergeWizard* _pParent); - ~SwMailMergeGreetingsPage(); + virtual ~SwMailMergeGreetingsPage(); }; @@ -128,7 +128,7 @@ class SwMailBodyDialog : public SfxModalDialog, public SwGreetingsHandler DECL_LINK(OKHdl, void *); public: SwMailBodyDialog(Window* pParent, SwMailMergeWizard* pWizard); - ~SwMailBodyDialog(); + virtual ~SwMailBodyDialog(); void SetBody(const OUString& rBody ) {m_aBodyMLE.SetText(rBody);} OUString GetBody() const {return m_aBodyMLE.GetText();} diff --git a/sw/source/ui/dbui/mmlayoutpage.hxx b/sw/source/ui/dbui/mmlayoutpage.hxx index 4fbc7f590706..9a66780a39e8 100644 --- a/sw/source/ui/dbui/mmlayoutpage.hxx +++ b/sw/source/ui/dbui/mmlayoutpage.hxx @@ -83,7 +83,7 @@ class SwMailMergeLayoutPage : public svt::OWizardPage virtual bool commitPage(::svt::WizardTypes::CommitPageReason _eReason) SAL_OVERRIDE; public: SwMailMergeLayoutPage( SwMailMergeWizard* _pParent); - ~SwMailMergeLayoutPage(); + virtual ~SwMailMergeLayoutPage(); static SwFrmFmt* InsertAddressAndGreeting(SwView* pView, SwMailMergeConfigItem& rConfigItem, diff --git a/sw/source/ui/dbui/mmoutputpage.hxx b/sw/source/ui/dbui/mmoutputpage.hxx index 9f7fc710c3d1..185ede7c23d4 100644 --- a/sw/source/ui/dbui/mmoutputpage.hxx +++ b/sw/source/ui/dbui/mmoutputpage.hxx @@ -127,7 +127,7 @@ protected: virtual void ActivatePage() SAL_OVERRIDE; public: SwMailMergeOutputPage( SwMailMergeWizard* _pParent); - ~SwMailMergeOutputPage(); + virtual ~SwMailMergeOutputPage(); }; @@ -204,7 +204,7 @@ class SW_DLLPUBLIC SwSendMailDialog : public ModelessDialog //SfxModalDialog public: SwSendMailDialog( Window* pParent, SwMailMergeConfigItem& ); - ~SwSendMailDialog(); + virtual ~SwSendMailDialog(); void AddDocument( SwMailDescriptor& rDesc ); void SetDocumentCount( sal_Int32 nAllDocuments ); diff --git a/sw/source/ui/dbui/selectdbtabledialog.hxx b/sw/source/ui/dbui/selectdbtabledialog.hxx index 06188dd6eb12..9d721a800504 100644 --- a/sw/source/ui/dbui/selectdbtabledialog.hxx +++ b/sw/source/ui/dbui/selectdbtabledialog.hxx @@ -57,7 +57,7 @@ public: SwSelectDBTableDialog(Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection ); - ~SwSelectDBTableDialog(); + virtual ~SwSelectDBTableDialog(); OUString GetSelectedTable(bool& bIsTable); void SetSelectedTable(const OUString& rTable, bool bIsTable); diff --git a/sw/source/ui/envelp/labfmt.hxx b/sw/source/ui/envelp/labfmt.hxx index aa8f6de4621d..da9727cb7f05 100644 --- a/sw/source/ui/envelp/labfmt.hxx +++ b/sw/source/ui/envelp/labfmt.hxx @@ -93,7 +93,7 @@ class SwLabFmtPage : public SfxTabPage SwLabItem aItem; SwLabFmtPage(Window* pParent, const SfxItemSet& rSet); - ~SwLabFmtPage(); + virtual ~SwLabFmtPage(); DECL_LINK(ModifyHdl, void *); DECL_LINK(PreviewHdl, void *); diff --git a/sw/source/ui/envelp/labprt.hxx b/sw/source/ui/envelp/labprt.hxx index 1b30708b33a1..5b8a24b99c23 100644 --- a/sw/source/ui/envelp/labprt.hxx +++ b/sw/source/ui/envelp/labprt.hxx @@ -47,7 +47,7 @@ class SwLabPrtPage : public SfxTabPage PushButton* m_pPrtSetup; SwLabPrtPage(Window* pParent, const SfxItemSet& rSet); - ~SwLabPrtPage(); + virtual ~SwLabPrtPage(); DECL_LINK( CountHdl, Button * ); diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx index 5fa938f1bc1c..5518706195af 100644 --- a/sw/source/ui/envelp/mailmrge.cxx +++ b/sw/source/ui/envelp/mailmrge.cxx @@ -95,7 +95,7 @@ class SwXSelChgLstnr_Impl : public cppu::WeakImplHelper1 SwMailMergeDlg& rParent; public: SwXSelChgLstnr_Impl(SwMailMergeDlg& rParentDlg); - ~SwXSelChgLstnr_Impl(); + virtual ~SwXSelChgLstnr_Impl(); virtual void SAL_CALL selectionChanged( const EventObject& aEvent ) throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL disposing( const EventObject& Source ) throw (RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sw/source/ui/envelp/swuilabimp.hxx b/sw/source/ui/envelp/swuilabimp.hxx index c4e7d794da6c..9c61456dff74 100644 --- a/sw/source/ui/envelp/swuilabimp.hxx +++ b/sw/source/ui/envelp/swuilabimp.hxx @@ -108,7 +108,7 @@ class SwVisitingCardPage : public SfxTabPage const OUString* pValues ); SwVisitingCardPage(Window* pParent, const SfxItemSet& rSet); - ~SwVisitingCardPage(); + virtual ~SwVisitingCardPage(); using TabPage::ActivatePage; using TabPage::DeactivatePage; diff --git a/sw/source/ui/fldui/flddb.hxx b/sw/source/ui/fldui/flddb.hxx index 916afe4afafa..4f2bf1ba6eed 100644 --- a/sw/source/ui/fldui/flddb.hxx +++ b/sw/source/ui/fldui/flddb.hxx @@ -70,7 +70,7 @@ protected: public: SwFldDBPage(Window* pParent, const SfxItemSet& rSet); - ~SwFldDBPage(); + virtual ~SwFldDBPage(); static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/ui/fldui/flddinf.hxx b/sw/source/ui/fldui/flddinf.hxx index be263ebcd079..24ba93b89c9b 100644 --- a/sw/source/ui/fldui/flddinf.hxx +++ b/sw/source/ui/fldui/flddinf.hxx @@ -61,7 +61,7 @@ protected: public: SwFldDokInfPage(Window* pWindow, const SfxItemSet& rSet); - ~SwFldDokInfPage(); + virtual ~SwFldDokInfPage(); static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/ui/fldui/flddok.hxx b/sw/source/ui/fldui/flddok.hxx index c62820ef7a60..4af41fdfe6d3 100644 --- a/sw/source/ui/fldui/flddok.hxx +++ b/sw/source/ui/fldui/flddok.hxx @@ -63,7 +63,7 @@ protected: public: SwFldDokPage(Window* pWindow, const SfxItemSet& rSet); - ~SwFldDokPage(); + virtual ~SwFldDokPage(); static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/ui/fldui/fldfunc.hxx b/sw/source/ui/fldui/fldfunc.hxx index 4a4b2e2aa583..434f884172c1 100644 --- a/sw/source/ui/fldui/fldfunc.hxx +++ b/sw/source/ui/fldui/fldfunc.hxx @@ -85,7 +85,7 @@ protected: public: SwFldFuncPage(Window* pParent, const SfxItemSet& rSet); - ~SwFldFuncPage(); + virtual ~SwFldFuncPage(); static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/ui/fldui/fldref.hxx b/sw/source/ui/fldui/fldref.hxx index ceb0c2da68db..afdc6c6e4d2e 100644 --- a/sw/source/ui/fldui/fldref.hxx +++ b/sw/source/ui/fldui/fldref.hxx @@ -77,7 +77,7 @@ protected: public: SwFldRefPage(Window* pParent, const SfxItemSet& rSet); - ~SwFldRefPage(); + virtual ~SwFldRefPage(); static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/ui/fldui/fldvar.hxx b/sw/source/ui/fldui/fldvar.hxx index fb4f0bec5f06..ca0c23e03fa6 100644 --- a/sw/source/ui/fldui/fldvar.hxx +++ b/sw/source/ui/fldui/fldvar.hxx @@ -92,7 +92,7 @@ protected: public: SwFldVarPage(Window* pParent, const SfxItemSet& rSet); - ~SwFldVarPage(); + virtual ~SwFldVarPage(); static SfxTabPage* Create(Window* pParent, const SfxItemSet& rAttrSet); diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index b904bd846e73..394cf8326e50 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -198,7 +198,7 @@ class SwAutoMarkDlg_Impl : public ModalDialog public: SwAutoMarkDlg_Impl(Window* pParent, const OUString& rAutoMarkURL, const OUString& rAutoMarkType, bool bCreate); - ~SwAutoMarkDlg_Impl(); + virtual ~SwAutoMarkDlg_Impl(); }; @@ -655,7 +655,7 @@ class SwAddStylesDlg_Impl : public SfxModalDialog public: SwAddStylesDlg_Impl(Window* pParent, SwWrtShell& rWrtSh, OUString rStringArr[]); - ~SwAddStylesDlg_Impl(); + virtual ~SwAddStylesDlg_Impl(); }; SwAddStylesDlg_Impl::SwAddStylesDlg_Impl(Window* pParent, diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index 8617752157e2..9760f546f66b 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -1041,7 +1041,7 @@ public: SwWrtShell& rSh, sal_Bool bNewEntry, bool bCreate); - ~SwCreateAuthEntryDlg_Impl(); + virtual ~SwCreateAuthEntryDlg_Impl(); OUString GetEntryText(ToxAuthorityField eField) const; diff --git a/sw/source/ui/misc/impfnote.hxx b/sw/source/ui/misc/impfnote.hxx index 3d53c07d55ba..19b26e1090dc 100644 --- a/sw/source/ui/misc/impfnote.hxx +++ b/sw/source/ui/misc/impfnote.hxx @@ -69,7 +69,7 @@ class SwEndNoteOptionPage : public SfxTabPage public: SwEndNoteOptionPage( Window *pParent, bool bEndNote, const SfxItemSet &rSet ); - ~SwEndNoteOptionPage(); + virtual ~SwEndNoteOptionPage(); static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet); virtual bool FillItemSet(SfxItemSet &rSet) SAL_OVERRIDE; @@ -81,7 +81,7 @@ public: class SwFootNoteOptionPage : public SwEndNoteOptionPage { SwFootNoteOptionPage( Window *pParent, const SfxItemSet &rSet ); - ~SwFootNoteOptionPage(); + virtual ~SwFootNoteOptionPage(); public: static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet); diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index e3bac3f614a5..624be1e9f35e 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -47,7 +47,7 @@ class AutoFmtPreview : public Window { public: AutoFmtPreview(Window* pParent); - ~AutoFmtPreview(); + virtual ~AutoFmtPreview(); void NotifyChange( const SwTableAutoFmt& rNewData ); @@ -104,7 +104,7 @@ public: const OUString& rTitle, const OUString& rEditTitle, const OUString& rDefault ); - ~SwStringInputDlg(); + virtual ~SwStringInputDlg(); OUString GetInputString() const; diff --git a/sw/source/ui/vba/vbaheadersfooters.cxx b/sw/source/ui/vba/vbaheadersfooters.cxx index 31cf0c6a0498..9675907aeaa9 100644 --- a/sw/source/ui/vba/vbaheadersfooters.cxx +++ b/sw/source/ui/vba/vbaheadersfooters.cxx @@ -36,7 +36,7 @@ private: public: HeadersFootersIndexAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel, const uno::Reference< beans::XPropertySet >& xPageStyleProps, sal_Bool bHeader ) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel ), mxPageStyleProps( xPageStyleProps ), mbHeader( bHeader ) {} - ~HeadersFootersIndexAccess(){} + virtual ~HeadersFootersIndexAccess(){} // XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE diff --git a/sw/source/ui/vba/vbapanes.cxx b/sw/source/ui/vba/vbapanes.cxx index b0bd993c63bc..d2a2b477fa90 100644 --- a/sw/source/ui/vba/vbapanes.cxx +++ b/sw/source/ui/vba/vbapanes.cxx @@ -33,7 +33,7 @@ private: public: PanesIndexAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel ) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel ) {} - ~PanesIndexAccess(){} + virtual ~PanesIndexAccess(){} // XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx index 709844bf048a..5c7e58a9dc8b 100644 --- a/sw/source/ui/vba/vbasections.cxx +++ b/sw/source/ui/vba/vbasections.cxx @@ -88,7 +88,7 @@ public: mxSections.push_back( xPageProps ); } - ~SectionCollectionHelper(){} + virtual ~SectionCollectionHelper(){} // XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE diff --git a/toolkit/source/awt/stylesettings.hxx b/toolkit/source/awt/stylesettings.hxx index d58af9c616b2..1235c251b32d 100644 --- a/toolkit/source/awt/stylesettings.hxx +++ b/toolkit/source/awt/stylesettings.hxx @@ -48,7 +48,7 @@ namespace toolkit { public: WindowStyleSettings( ::osl::Mutex& i_rListenerMutex, VCLXWindow& i_rOwningWindow ); - ~WindowStyleSettings(); + virtual ~WindowStyleSettings(); void dispose(); diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 85c86b82c6bf..68bc8ffa7fe4 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -191,7 +191,7 @@ protected: public: VCLXToolkit(); - ~VCLXToolkit(); + virtual ~VCLXToolkit(); // css::awt::XToolkitExperimental css::uno::Reference< css::awt::XDevice > SAL_CALL createScreenCompatibleDeviceUsingBuffer( sal_Int32 Width, sal_Int32 Height, sal_Int32 ScaleNumerator, sal_Int32 ScaleDenominator, sal_Int32 XOffset, sal_Int32 YOffset, sal_Int64 AddressOfMemoryBufferForSharedArrayWrapper ) throw diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index 16913f013874..6f9e9711d06e 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -156,7 +156,7 @@ protected: public: UnoControlDialogModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); UnoControlDialogModel( const UnoControlDialogModel& rModel ); - ~UnoControlDialogModel(); + virtual ~UnoControlDialogModel(); UnoControlModel* Clone() const SAL_OVERRIDE; // css::beans::XMultiPropertySet diff --git a/toolkit/source/controls/grid/gridcontrol.hxx b/toolkit/source/controls/grid/gridcontrol.hxx index c00f39b46052..0d0511252a13 100644 --- a/toolkit/source/controls/grid/gridcontrol.hxx +++ b/toolkit/source/controls/grid/gridcontrol.hxx @@ -113,7 +113,7 @@ public: using UnoControl::getPeer; protected: - ~UnoGridControl(); + virtual ~UnoGridControl(); private: SelectionListenerMultiplexer m_aSelectionListeners; diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx index acbe7bac3110..d6a1b066a99e 100644 --- a/toolkit/source/controls/grid/sortablegriddatamodel.cxx +++ b/toolkit/source/controls/grid/sortablegriddatamodel.cxx @@ -69,7 +69,7 @@ public: bool isInitialized() const { return m_isInitialized; } protected: - ~SortableGridDataModel(); + virtual ~SortableGridDataModel(); public: // XSortableGridData diff --git a/toolkit/source/controls/spinningprogress.cxx b/toolkit/source/controls/spinningprogress.cxx index e96474134b0a..b394cbf0a38c 100644 --- a/toolkit/source/controls/spinningprogress.cxx +++ b/toolkit/source/controls/spinningprogress.cxx @@ -47,7 +47,7 @@ public: css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - ~SpinningProgressControlModel(); + virtual ~SpinningProgressControlModel(); }; SpinningProgressControlModel::SpinningProgressControlModel( Reference< XComponentContext > const & i_factory ) diff --git a/ucb/source/sorter/sortdynres.hxx b/ucb/source/sorter/sortdynres.hxx index 2ce569e75f2c..b458f5c84b5f 100644 --- a/ucb/source/sorter/sortdynres.hxx +++ b/ucb/source/sorter/sortdynres.hxx @@ -76,7 +76,7 @@ public: const css::uno::Reference < css::ucb::XAnyCompareFactory > &xCompFac, const css::uno::Reference < css::uno::XComponentContext > &rxContext ); - ~SortedDynamicResultSet(); + virtual ~SortedDynamicResultSet(); // XServiceInfo @@ -141,7 +141,7 @@ class SortedDynamicResultSetListener: public cppu::WeakImplHelper1 < public: SortedDynamicResultSetListener( SortedDynamicResultSet *mOwner ); - ~SortedDynamicResultSetListener(); + virtual ~SortedDynamicResultSetListener(); // XEventListener ( base of XDynamicResultSetListener ) @@ -172,7 +172,7 @@ public: SortedDynamicResultSetFactory( const css::uno::Reference< css::uno::XComponentContext > & rxContext); - ~SortedDynamicResultSetFactory(); + virtual ~SortedDynamicResultSetFactory(); // XServiceInfo diff --git a/ucb/source/sorter/sortresult.hxx b/ucb/source/sorter/sortresult.hxx index 866e708c2792..61b99d799744 100644 --- a/ucb/source/sorter/sortresult.hxx +++ b/ucb/source/sorter/sortresult.hxx @@ -165,7 +165,7 @@ private: public: SortedResultSet( css::uno::Reference< css::sdbc::XResultSet > aResult ); - ~SortedResultSet(); + virtual ~SortedResultSet(); const SortedEntryList* GetS2OList() const { return &maS2O; } const SimpleList* GetO2SList() const { return &maO2S; } diff --git a/ucb/source/ucp/file/filrow.hxx b/ucb/source/ucp/file/filrow.hxx index dd7fd2a2a4aa..543df3c4dd5e 100644 --- a/ucb/source/ucp/file/filrow.hxx +++ b/ucb/source/ucp/file/filrow.hxx @@ -33,7 +33,7 @@ namespace fileaccess { { public: XRow_impl( shell* pShell,const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& __m_aValueMap ); - ~XRow_impl(); + virtual ~XRow_impl(); virtual sal_Bool SAL_CALL wasNull( diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index 8dcbb59fea5b..80721533257f 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -297,7 +297,7 @@ class XPropertySetInfoImpl2 { public: XPropertySetInfoImpl2(); - ~XPropertySetInfoImpl2(); + virtual ~XPropertySetInfoImpl2(); // XInterface virtual Any SAL_CALL diff --git a/ucb/source/ucp/file/prov.hxx b/ucb/source/ucp/file/prov.hxx index 312ea84de7e3..e4a0a8eeaca9 100644 --- a/ucb/source/ucp/file/prov.hxx +++ b/ucb/source/ucp/file/prov.hxx @@ -60,7 +60,7 @@ namespace fileaccess { public: FileProvider( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext ); - ~FileProvider(); + virtual ~FileProvider(); // XServiceInfo virtual OUString SAL_CALL diff --git a/ucb/source/ucp/ftp/ftpcontentidentifier.hxx b/ucb/source/ucp/ftp/ftpcontentidentifier.hxx index be02bac3e702..e4736b8c0243 100644 --- a/ucb/source/ucp/ftp/ftpcontentidentifier.hxx +++ b/ucb/source/ucp/ftp/ftpcontentidentifier.hxx @@ -48,7 +48,7 @@ namespace ftp { FTPContentIdentifier(const OUString& ident); - ~FTPContentIdentifier(); + virtual ~FTPContentIdentifier(); // XInterface diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.hxx b/ucb/source/ucp/ftp/ftpcontentprovider.hxx index 0636406f9e24..cb4caa972af1 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.hxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.hxx @@ -49,7 +49,7 @@ namespace ftp FTPContentProvider( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); - ~FTPContentProvider(); + virtual ~FTPContentProvider(); // XInterface virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) diff --git a/ucb/source/ucp/ftp/ftpdynresultset.hxx b/ucb/source/ucp/ftp/ftpdynresultset.hxx index 89c696130da9..37e9dbf18559 100644 --- a/ucb/source/ucp/ftp/ftpdynresultset.hxx +++ b/ucb/source/ucp/ftp/ftpdynresultset.hxx @@ -50,7 +50,7 @@ namespace ftp { com::sun::star::ucb::XCommandEnvironment >& rxEnv, ResultSetFactory* pFactory ); - ~DynamicResultSet(); + virtual ~DynamicResultSet(); }; } diff --git a/ucb/source/ucp/tdoc/tdoc_storage.hxx b/ucb/source/ucp/tdoc/tdoc_storage.hxx index f8ab7b5c68d5..f10ada71f0cf 100644 --- a/ucb/source/ucp/tdoc/tdoc_storage.hxx +++ b/ucb/source/ucp/tdoc/tdoc_storage.hxx @@ -47,7 +47,7 @@ namespace tdoc_ucp { const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & rxContext, const rtl::Reference< OfficeDocumentsManager > & xDocsMgr ); - ~StorageElementFactory(); + virtual ~StorageElementFactory(); com::sun::star::uno::Reference< com::sun::star::embed::XStorage > createTemporaryStorage() diff --git a/ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx b/ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx index 665cfa29209b..33def34583d9 100644 --- a/ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx +++ b/ucb/source/ucp/webdav-neon/DAVSessionFactory.hxx @@ -59,7 +59,7 @@ class DAVSession; class DAVSessionFactory : public salhelper::SimpleReferenceObject { public: - ~DAVSessionFactory() SAL_THROW(()); + virtual ~DAVSessionFactory() SAL_THROW(()); rtl::Reference< DAVSession > createDAVSession( const OUString & inUri, diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx index cfa440ae2acf..4145357ae6f9 100644 --- a/unotools/source/config/cmdoptions.cxx +++ b/unotools/source/config/cmdoptions.cxx @@ -119,7 +119,7 @@ class SvtCommandOptions_Impl : public ConfigItem public: SvtCommandOptions_Impl(); - ~SvtCommandOptions_Impl(); + virtual ~SvtCommandOptions_Impl(); /*-**************************************************************************************************** @short called for notify of configmanager diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx index cb1488cd83fe..51b27ce54148 100644 --- a/unotools/source/config/compatibility.cxx +++ b/unotools/source/config/compatibility.cxx @@ -225,7 +225,7 @@ class SvtCompatibilityOptions_Impl : public ConfigItem SvtCompatibilityOptions_Impl(); - ~SvtCompatibilityOptions_Impl(); + virtual ~SvtCompatibilityOptions_Impl(); void SetDefault( const OUString & sName, bool bValue ); diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 4285c4980ebc..5a7ea5328c0a 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -83,7 +83,7 @@ namespace utl{ ConfigItem* pParent; const Sequence< OUString > aPropertyNames; ConfigChangeListener_Impl(ConfigItem& rItem, const Sequence< OUString >& rNames); - ~ConfigChangeListener_Impl(); + virtual ~ConfigChangeListener_Impl(); //XChangesListener virtual void SAL_CALL changesOccurred( const ChangesEvent& Event ) throw(RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/unotools/source/config/dynamicmenuoptions.cxx b/unotools/source/config/dynamicmenuoptions.cxx index 92052b1f698d..2751f7d186f9 100644 --- a/unotools/source/config/dynamicmenuoptions.cxx +++ b/unotools/source/config/dynamicmenuoptions.cxx @@ -222,7 +222,7 @@ class SvtDynamicMenuOptions_Impl : public ConfigItem public: SvtDynamicMenuOptions_Impl(); - ~SvtDynamicMenuOptions_Impl(); + virtual ~SvtDynamicMenuOptions_Impl(); /*-**************************************************************************************************** @short called for notify of configmanager diff --git a/unotools/source/config/extendedsecurityoptions.cxx b/unotools/source/config/extendedsecurityoptions.cxx index 0121fc09762f..f56319e2f572 100644 --- a/unotools/source/config/extendedsecurityoptions.cxx +++ b/unotools/source/config/extendedsecurityoptions.cxx @@ -63,7 +63,7 @@ class SvtExtendedSecurityOptions_Impl : public ConfigItem { public: SvtExtendedSecurityOptions_Impl(); - ~SvtExtendedSecurityOptions_Impl(); + virtual ~SvtExtendedSecurityOptions_Impl(); /*-**************************************************************************************************** @short called for notify of configmanager diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx index 8371b3089e0a..c86926cb1dfc 100644 --- a/unotools/source/config/fltrcfg.cxx +++ b/unotools/source/config/fltrcfg.cxx @@ -60,7 +60,7 @@ public: utl::ConfigItem(rRoot), bLoadVBA(false), bSaveVBA(false) {} - ~SvtAppFilterOptions_Impl(); + virtual ~SvtAppFilterOptions_Impl(); virtual void Commit() SAL_OVERRIDE; virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE; void Load(); diff --git a/unotools/source/config/fontoptions.cxx b/unotools/source/config/fontoptions.cxx index c6ac4757ed1e..dc5e62a9dd40 100644 --- a/unotools/source/config/fontoptions.cxx +++ b/unotools/source/config/fontoptions.cxx @@ -50,7 +50,7 @@ class SvtFontOptions_Impl : public ConfigItem public: SvtFontOptions_Impl(); - ~SvtFontOptions_Impl(); + virtual ~SvtFontOptions_Impl(); /*-**************************************************************************************************** @short called for notify of configmanager diff --git a/unotools/source/config/localisationoptions.cxx b/unotools/source/config/localisationoptions.cxx index 2c30cd179357..f27941698701 100644 --- a/unotools/source/config/localisationoptions.cxx +++ b/unotools/source/config/localisationoptions.cxx @@ -49,7 +49,7 @@ class SvtLocalisationOptions_Impl : public ConfigItem public: SvtLocalisationOptions_Impl(); - ~SvtLocalisationOptions_Impl(); + virtual ~SvtLocalisationOptions_Impl(); /*-**************************************************************************************************** @short called for notify of configmanager diff --git a/unotools/source/config/misccfg.cxx b/unotools/source/config/misccfg.cxx index 753f3aa7c77d..7fa66b9037b4 100644 --- a/unotools/source/config/misccfg.cxx +++ b/unotools/source/config/misccfg.cxx @@ -49,7 +49,7 @@ class SfxMiscCfg : public utl::ConfigItem public: SfxMiscCfg( ); - ~SfxMiscCfg( ); + virtual ~SfxMiscCfg( ); virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE; virtual void Commit() SAL_OVERRIDE; diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx index 6076435dddde..a246788903b9 100644 --- a/unotools/source/config/moduleoptions.cxx +++ b/unotools/source/config/moduleoptions.cxx @@ -307,7 +307,7 @@ class SvtModuleOptions_Impl : public ::utl::ConfigItem // constructor / destructor SvtModuleOptions_Impl(); - ~SvtModuleOptions_Impl(); + virtual ~SvtModuleOptions_Impl(); // overloaded methods of baseclass diff --git a/unotools/source/config/printwarningoptions.cxx b/unotools/source/config/printwarningoptions.cxx index af844f530e29..abe3e5b81356 100644 --- a/unotools/source/config/printwarningoptions.cxx +++ b/unotools/source/config/printwarningoptions.cxx @@ -61,7 +61,7 @@ public: SvtPrintWarningOptions_Impl(); - ~SvtPrintWarningOptions_Impl(); + virtual ~SvtPrintWarningOptions_Impl(); // overloaded methods of baseclass diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx index d3c659256aff..c739dff6b266 100644 --- a/unotools/source/config/saveopt.cxx +++ b/unotools/source/config/saveopt.cxx @@ -91,7 +91,7 @@ class SvtSaveOptions_Impl : public utl::ConfigItem public: SvtSaveOptions_Impl(); - ~SvtSaveOptions_Impl(); + virtual ~SvtSaveOptions_Impl(); virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; virtual void Commit() SAL_OVERRIDE; @@ -759,7 +759,7 @@ class SvtLoadOptions_Impl : public utl::ConfigItem public: SvtLoadOptions_Impl(); - ~SvtLoadOptions_Impl(); + virtual ~SvtLoadOptions_Impl(); virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE; virtual void Commit() SAL_OVERRIDE; diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx index 1ee9f67777b9..ad4015bbae07 100644 --- a/unotools/source/config/securityoptions.cxx +++ b/unotools/source/config/securityoptions.cxx @@ -117,7 +117,7 @@ class SvtSecurityOptions_Impl : public ConfigItem SvtSecurityOptions_Impl(); - ~SvtSecurityOptions_Impl(); + virtual ~SvtSecurityOptions_Impl(); // overloaded methods of baseclass diff --git a/unotools/source/misc/closeveto.cxx b/unotools/source/misc/closeveto.cxx index 7fef9334c64a..39ebc9bf0d47 100644 --- a/unotools/source/misc/closeveto.cxx +++ b/unotools/source/misc/closeveto.cxx @@ -69,7 +69,7 @@ namespace utl bool hasOwnership() const { return m_bHasOwnership; } protected: - ~CloseListener_Impl() + virtual ~CloseListener_Impl() { } diff --git a/unotools/source/misc/desktopterminationobserver.cxx b/unotools/source/misc/desktopterminationobserver.cxx index 27afe06b1a24..42ef51c13dc0 100644 --- a/unotools/source/misc/desktopterminationobserver.cxx +++ b/unotools/source/misc/desktopterminationobserver.cxx @@ -66,7 +66,7 @@ namespace utl protected: OObserverImpl(); - ~OObserverImpl(); + virtual ~OObserverImpl(); private: // XTerminateListener diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 8193fa63c73a..c4c6c24ae1c5 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -252,7 +252,7 @@ public: RuntimeException ); - ~Moderator(); + virtual ~Moderator(); enum ResultType { @@ -373,7 +373,7 @@ public: ModeratorsActiveDataStreamer(Moderator &theModerator); - ~ModeratorsActiveDataStreamer(); + virtual ~ModeratorsActiveDataStreamer(); // XActiveDataStreamer virtual void SAL_CALL @@ -411,7 +411,7 @@ public: ModeratorsActiveDataSink(Moderator &theModerator); - ~ModeratorsActiveDataSink(); + virtual ~ModeratorsActiveDataSink(); // XActiveDataSink. virtual void SAL_CALL @@ -502,7 +502,7 @@ public: ModeratorsInteractionHandler(Moderator &theModerator); - ~ModeratorsInteractionHandler(); + virtual ~ModeratorsInteractionHandler(); virtual void SAL_CALL handle( const Reference<XInteractionRequest >& Request ) @@ -520,7 +520,7 @@ class ModeratorsProgressHandler public: ModeratorsProgressHandler(Moderator &theModerator); - ~ModeratorsProgressHandler(); + virtual ~ModeratorsProgressHandler(); virtual void SAL_CALL push( const Any& Status ) throw ( diff --git a/uui/source/alreadyopen.hxx b/uui/source/alreadyopen.hxx index 0dcce44325ff..a4316bb46e19 100644 --- a/uui/source/alreadyopen.hxx +++ b/uui/source/alreadyopen.hxx @@ -25,7 +25,7 @@ class AlreadyOpenQueryBox : public MessBox { public: AlreadyOpenQueryBox( Window* pParent, ResMgr* pResMgr, const OUString& aMessage, sal_Bool bIsStoring ); - ~AlreadyOpenQueryBox(); + virtual ~AlreadyOpenQueryBox(); }; #endif diff --git a/uui/source/filechanged.hxx b/uui/source/filechanged.hxx index 5ef234df7cd0..ea7bfb047dd0 100644 --- a/uui/source/filechanged.hxx +++ b/uui/source/filechanged.hxx @@ -25,7 +25,7 @@ class FileChangedQueryBox : public MessBox { public: FileChangedQueryBox( Window* pParent, ResMgr* pResMgr ); - ~FileChangedQueryBox(); + virtual ~FileChangedQueryBox(); }; #endif diff --git a/uui/source/lockfailed.hxx b/uui/source/lockfailed.hxx index dedf40905dd5..74ac1235ca52 100644 --- a/uui/source/lockfailed.hxx +++ b/uui/source/lockfailed.hxx @@ -25,7 +25,7 @@ class LockFailedQueryBox : public MessBox { public: LockFailedQueryBox( Window* pParent, ResMgr* pResMgr ); - ~LockFailedQueryBox(); + virtual ~LockFailedQueryBox(); }; #endif diff --git a/uui/source/newerverwarn.hxx b/uui/source/newerverwarn.hxx index f724ce056687..27412134e1b0 100644 --- a/uui/source/newerverwarn.hxx +++ b/uui/source/newerverwarn.hxx @@ -45,7 +45,7 @@ namespace uui public: NewerVersionWarningDialog( Window* pParent, const OUString& rVersion, ResMgr& rResMgr ); - ~NewerVersionWarningDialog(); + virtual ~NewerVersionWarningDialog(); }; } // namespace uui diff --git a/uui/source/openlocked.hxx b/uui/source/openlocked.hxx index d94e896f3a36..bcc0cded855e 100644 --- a/uui/source/openlocked.hxx +++ b/uui/source/openlocked.hxx @@ -25,7 +25,7 @@ class OpenLockedQueryBox : public MessBox { public: OpenLockedQueryBox( Window* pParent, ResMgr* pResMgr, const OUString& aMessage ); - ~OpenLockedQueryBox(); + virtual ~OpenLockedQueryBox(); }; #endif diff --git a/uui/source/secmacrowarnings.hxx b/uui/source/secmacrowarnings.hxx index fd3ae8942364..1d2ecca4871a 100644 --- a/uui/source/secmacrowarnings.hxx +++ b/uui/source/secmacrowarnings.hxx @@ -73,7 +73,7 @@ private: public: MacroWarning( Window* pParent, bool _bShowSignatures, ResMgr& rResMgr ); - ~MacroWarning(); + virtual ~MacroWarning(); virtual short Execute() SAL_OVERRIDE; diff --git a/uui/source/trylater.hxx b/uui/source/trylater.hxx index abaaf2e91d61..de23fc6a25a3 100644 --- a/uui/source/trylater.hxx +++ b/uui/source/trylater.hxx @@ -25,7 +25,7 @@ class TryLaterQueryBox : public MessBox { public: TryLaterQueryBox( Window* pParent, ResMgr* pResMgr, const OUString& aMessage ); - ~TryLaterQueryBox(); + virtual ~TryLaterQueryBox(); }; #endif diff --git a/vbahelper/source/msforms/vbatogglebutton.hxx b/vbahelper/source/msforms/vbatogglebutton.hxx index 89ded66361c7..86edf7b16ee1 100644 --- a/vbahelper/source/msforms/vbatogglebutton.hxx +++ b/vbahelper/source/msforms/vbatogglebutton.hxx @@ -31,7 +31,7 @@ class ScVbaToggleButton : public ToggleButtonImpl_BASE OUString msDftPropName; public: ScVbaToggleButton( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::uno::XInterface >& xControl, const css::uno::Reference< css::frame::XModel >& xModel, ov::AbstractGeometryAttributes* pGeomHelper ); - ~ScVbaToggleButton(); + virtual ~ScVbaToggleButton(); // Attributes virtual css::uno::Any SAL_CALL getValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setValue( const css::uno::Any& _value ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/vcl/generic/fontmanager/fontconfig.cxx b/vcl/generic/fontmanager/fontconfig.cxx index 723262956340..e145c6803be8 100644 --- a/vcl/generic/fontmanager/fontconfig.cxx +++ b/vcl/generic/fontmanager/fontconfig.cxx @@ -1149,7 +1149,7 @@ class FontConfigFontOptions : public ImplFontOptions { public: FontConfigFontOptions() : mpPattern(0) {} - ~FontConfigFontOptions() + virtual ~FontConfigFontOptions() { FcPatternDestroy(mpPattern); } diff --git a/vcl/generic/print/bitmap_gfx.cxx b/vcl/generic/print/bitmap_gfx.cxx index 0e6fdcda6314..e3f6f44e1e4f 100644 --- a/vcl/generic/print/bitmap_gfx.cxx +++ b/vcl/generic/print/bitmap_gfx.cxx @@ -293,7 +293,7 @@ private: public: LZWEncoder (osl::File* pOutputFile); - ~LZWEncoder (); + virtual ~LZWEncoder (); virtual void EncodeByte (sal_uInt8 nByte) SAL_OVERRIDE; }; diff --git a/vcl/generic/print/prtsetup.hxx b/vcl/generic/print/prtsetup.hxx index 6a037900e7ba..b7830cf9ab8d 100644 --- a/vcl/generic/print/prtsetup.hxx +++ b/vcl/generic/print/prtsetup.hxx @@ -64,7 +64,7 @@ class RTSDialog : public TabDialog void insertAllPPDValues( ListBox&, const psp::PPDParser*, const psp::PPDKey* ); public: RTSDialog(const ::psp::PrinterInfo& rJobData, const OUString& rPrinter, Window* pParent = NULL); - ~RTSDialog(); + virtual ~RTSDialog(); const ::psp::PrinterInfo& getSetup() const { return m_aJobData; } }; @@ -87,7 +87,7 @@ class RTSPaperPage : public TabPage DECL_LINK( SelectHdl, ListBox* ); public: RTSPaperPage( RTSDialog* ); - ~RTSPaperPage(); + virtual ~RTSPaperPage(); void update(); @@ -116,7 +116,7 @@ class RTSDevicePage : public TabPage DECL_LINK( ModifyHdl, Edit* ); public: RTSDevicePage( RTSDialog* ); - ~RTSDevicePage(); + virtual ~RTSDevicePage(); void update(); diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx index 1adfaee92b47..4b33db5f933f 100644 --- a/vcl/inc/brdwin.hxx +++ b/vcl/inc/brdwin.hxx @@ -122,7 +122,7 @@ public: sal_uInt16 nTypeStyle = 0 ); ImplBorderWindow( Window* pParent, WinBits nStyle = 0, sal_uInt16 nTypeStyle = 0 ); - ~ImplBorderWindow(); + virtual ~ImplBorderWindow(); virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -281,7 +281,7 @@ class ImplStdBorderWindowView : public ImplBorderWindowView public: ImplStdBorderWindowView( ImplBorderWindow* pBorderWindow ); - ~ImplStdBorderWindowView(); + virtual ~ImplStdBorderWindowView(); virtual bool MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual bool MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/vcl/inc/generic/geninst.h b/vcl/inc/generic/geninst.h index a41089cf9e31..165b3d9bae9d 100644 --- a/vcl/inc/generic/geninst.h +++ b/vcl/inc/generic/geninst.h @@ -56,7 +56,7 @@ protected: public: SalYieldMutex(); - ~SalYieldMutex(); + virtual ~SalYieldMutex(); virtual void acquire() SAL_OVERRIDE; virtual void release() SAL_OVERRIDE; diff --git a/vcl/inc/helpwin.hxx b/vcl/inc/helpwin.hxx index 1409f2659ec1..e8c1431e2542 100644 --- a/vcl/inc/helpwin.hxx +++ b/vcl/inc/helpwin.hxx @@ -53,7 +53,7 @@ protected: public: HelpTextWindow( Window* pParent, const OUString& rText, sal_uInt16 nHelpWinStyle, sal_uInt16 nStyle ); - ~HelpTextWindow(); + virtual ~HelpTextWindow(); const OUString& GetHelpText() const { return maHelpText; } void SetHelpText( const OUString& rHelpText ); diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx index d0c3f709a02d..6163da02b023 100644 --- a/vcl/inc/ilstbox.hxx +++ b/vcl/inc/ilstbox.hxx @@ -268,7 +268,7 @@ public: virtual void FillLayoutData() const SAL_OVERRIDE; ImplListBoxWindow( Window* pParent, WinBits nWinStyle ); - ~ImplListBoxWindow(); + virtual ~ImplListBoxWindow(); ImplEntryList* GetEntryList() const { return mpEntryList; } @@ -413,7 +413,7 @@ protected: public: ImplListBox( Window* pParent, WinBits nWinStyle ); - ~ImplListBox(); + virtual ~ImplListBox(); const ImplEntryList* GetEntryList() const { return maLBWindow.GetEntryList(); } ImplListBoxWindow* GetMainWindow() { return &maLBWindow; } @@ -571,7 +571,7 @@ protected: public: ImplWin( Window* pParent, WinBits nWinStyle = 0 ); - ~ImplWin() {}; + virtual ~ImplWin() {}; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; @@ -617,7 +617,7 @@ private: public: ImplBtn( Window* pParent, WinBits nWinStyle = 0 ); - ~ImplBtn() {}; + virtual ~ImplBtn() {}; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/vcl/inc/unx/gtk/gtkdata.hxx b/vcl/inc/unx/gtk/gtkdata.hxx index 36196de95439..b8396c4c11be 100644 --- a/vcl/inc/unx/gtk/gtkdata.hxx +++ b/vcl/inc/unx/gtk/gtkdata.hxx @@ -86,7 +86,7 @@ class GtkSalTimer : public SalTimer struct SalGtkTimeoutSource *m_pTimeout; public: GtkSalTimer(); - ~GtkSalTimer(); + virtual ~GtkSalTimer(); virtual void Start( sal_uLong nMS ) SAL_OVERRIDE; virtual void Stop() SAL_OVERRIDE; bool Expired(); diff --git a/vcl/source/edit/textdat2.hxx b/vcl/source/edit/textdat2.hxx index ccff6a6ca52a..05375c091c42 100644 --- a/vcl/source/edit/textdat2.hxx +++ b/vcl/source/edit/textdat2.hxx @@ -273,7 +273,7 @@ private: public: IdleFormatter(); - ~IdleFormatter(); + virtual ~IdleFormatter(); void DoIdleFormat( TextView* pV, sal_uInt16 nMaxRestarts ); void ForceTimeout(); diff --git a/vcl/source/edit/textund2.hxx b/vcl/source/edit/textund2.hxx index 2980641c28bf..8a5a917dd3a4 100644 --- a/vcl/source/edit/textund2.hxx +++ b/vcl/source/edit/textund2.hxx @@ -33,7 +33,7 @@ private: public: TYPEINFO_OVERRIDE(); TextUndoDelPara( TextEngine* pTextEngine, TextNode* pNode, sal_uLong nPara ); - ~TextUndoDelPara(); + virtual ~TextUndoDelPara(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; @@ -51,7 +51,7 @@ private: public: TYPEINFO_OVERRIDE(); TextUndoConnectParas( TextEngine* pTextEngine, sal_uLong nPara, sal_uInt16 nSepPos ); - ~TextUndoConnectParas(); + virtual ~TextUndoConnectParas(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; @@ -69,7 +69,7 @@ private: public: TYPEINFO_OVERRIDE(); TextUndoSplitPara( TextEngine* pTextEngine, sal_uLong nPara, sal_uInt16 nSepPos ); - ~TextUndoSplitPara(); + virtual ~TextUndoSplitPara(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; @@ -122,7 +122,7 @@ private: public: TYPEINFO_OVERRIDE(); TextUndoSetAttribs( TextEngine* pTextEngine, const TextSelection& rESel ); - ~TextUndoSetAttribs(); + virtual ~TextUndoSetAttribs(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; diff --git a/vcl/source/edit/textundo.hxx b/vcl/source/edit/textundo.hxx index f5eacc78addf..ff24a0be872a 100644 --- a/vcl/source/edit/textundo.hxx +++ b/vcl/source/edit/textundo.hxx @@ -41,7 +41,7 @@ protected: public: TextUndoManager( TextEngine* pTextEngine ); - ~TextUndoManager(); + virtual ~TextUndoManager(); using SfxUndoManager::Undo; virtual bool Undo() SAL_OVERRIDE; diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx index fd3dbfbdac2f..6c4f039397ab 100644 --- a/vcl/source/edit/textview.cxx +++ b/vcl/source/edit/textview.cxx @@ -69,7 +69,7 @@ private: public: TETextDataObject( const OUString& rText ); - ~TETextDataObject(); + virtual ~TETextDataObject(); OUString& GetText() { return maText; } SvMemoryStream& GetHTMLStream() { return maHTMLStream; } diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 6d5a91164ee8..117082c1b6fd 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -50,7 +50,7 @@ private: public: TextWindow( Window* pParent ); - ~TextWindow(); + virtual ~TextWindow(); ExtTextEngine* GetTextEngine() const { return mpExtTextEngine; } ExtTextView* GetTextView() const { return mpExtTextView; } @@ -104,7 +104,7 @@ protected: public: ImpVclMEdit( VclMultiLineEdit* pVclMultiLineEdit, WinBits nWinStyle ); - ~ImpVclMEdit(); + virtual ~ImpVclMEdit(); void SetModified( bool bMod ); bool IsModified() const; diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index c3dbbdaf3b72..77c25e454a85 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -107,7 +107,7 @@ protected: public: ImpFilterOutputStream( SvStream& rStm ) : mrStm( rStm ) {} - ~ImpFilterOutputStream() {} + virtual ~ImpFilterOutputStream() {} }; #ifndef DISABLE_EXPORT diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx index f3f2f42db8a4..c4f369d9e667 100644 --- a/vcl/source/window/dockmgr.cxx +++ b/vcl/source/window/dockmgr.cxx @@ -57,7 +57,7 @@ private: public: ImplDockFloatWin2( Window* pParent, WinBits nWinBits, ImplDockingWindowWrapper* pDockingWin ); - ~ImplDockFloatWin2(); + virtual ~ImplDockFloatWin2(); virtual void Move() SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; @@ -496,7 +496,7 @@ private: public: ImplPopupFloatWin( Window* pParent, ImplDockingWindowWrapper* pDockingWin, bool bHasGrip ); - ~ImplPopupFloatWin(); + virtual ~ImplPopupFloatWin(); virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE; virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx index dabd203107f3..36887e816f39 100644 --- a/vcl/source/window/dockwin.cxx +++ b/vcl/source/window/dockwin.cxx @@ -72,7 +72,7 @@ private: public: ImplDockFloatWin( Window* pParent, WinBits nWinBits, DockingWindow* pDockingWin ); - ~ImplDockFloatWin(); + virtual ~ImplDockFloatWin(); virtual void Move() SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE; diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 29500e324098..6cd7e7c218bc 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -530,7 +530,7 @@ protected: public: MenuFloatingWindow( Menu* pMenu, Window* pParent, WinBits nStyle ); - ~MenuFloatingWindow(); + virtual ~MenuFloatingWindow(); void doShutdown(); @@ -737,7 +737,7 @@ private: public: MenuBarWindow( Window* pParent ); - ~MenuBarWindow(); + virtual ~MenuBarWindow(); void ShowButtons( bool bClose, bool bFloat, bool bHide ); diff --git a/vcl/source/window/scrwnd.hxx b/vcl/source/window/scrwnd.hxx index b7c6503f3dae..5e7fb09db42f 100644 --- a/vcl/source/window/scrwnd.hxx +++ b/vcl/source/window/scrwnd.hxx @@ -67,7 +67,7 @@ protected: public: ImplWheelWindow( Window* pParent ); - ~ImplWheelWindow(); + virtual ~ImplWheelWindow(); void ImplStop(); void ImplSetWheelMode( sal_uLong nWheelMode ); diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx index d26852410867..4f0aa4e429c7 100644 --- a/vcl/unx/generic/dtrans/X11_selection.hxx +++ b/vcl/unx/generic/dtrans/X11_selection.hxx @@ -378,7 +378,7 @@ namespace x11 { bool m_bShutDown; SelectionManager(); - ~SelectionManager(); + virtual ~SelectionManager(); SelectionAdaptor* getAdaptor( Atom selection ); PixmapHolder* getPixmapHolder( Atom selection ); diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx index 868da22aaa80..a38627f7216f 100644 --- a/vcl/unx/generic/printer/printerinfomanager.cxx +++ b/vcl/unx/generic/printer/printerinfomanager.cxx @@ -68,7 +68,7 @@ namespace psp public: SystemQueueInfo(); - ~SystemQueueInfo(); + virtual ~SystemQueueInfo(); bool hasChanged() const; OUString getCommand() const; diff --git a/vcl/unx/kde/UnxCommandThread.hxx b/vcl/unx/kde/UnxCommandThread.hxx index 7f963c4a8d22..413d52a97e96 100644 --- a/vcl/unx/kde/UnxCommandThread.hxx +++ b/vcl/unx/kde/UnxCommandThread.hxx @@ -97,7 +97,7 @@ protected: public: UnxFilePickerCommandThread( UnxFilePickerNotifyThread *pNotifyThread, int nReadFD ); - ~UnxFilePickerCommandThread(); + virtual ~UnxFilePickerCommandThread(); YieldingCondition& SAL_CALL execCondition() { return m_aExecCondition; } bool SAL_CALL result(); diff --git a/writerfilter/source/dmapper/GraphicHelpers.hxx b/writerfilter/source/dmapper/GraphicHelpers.hxx index a69e3385cf02..dbb282adea25 100644 --- a/writerfilter/source/dmapper/GraphicHelpers.hxx +++ b/writerfilter/source/dmapper/GraphicHelpers.hxx @@ -35,7 +35,7 @@ class PositionHandler: public LoggedProperties { public: PositionHandler( bool vertical ); - ~PositionHandler( ); + virtual ~PositionHandler( ); static void setPositionOffset(const OUString & sText, bool vertical); static int getPositionOffset(bool vertical); static void setAlignH(const OUString & sText); @@ -58,7 +58,7 @@ class WrapHandler: public LoggedProperties { public: WrapHandler( ); - ~WrapHandler( ); + virtual ~WrapHandler( ); sal_Int32 m_nType; sal_Int32 m_nSide; diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx index 7ca59dbe4ce5..5b06b8cd49ef 100644 --- a/writerfilter/source/dmapper/GraphicImport.cxx +++ b/writerfilter/source/dmapper/GraphicImport.cxx @@ -80,7 +80,7 @@ class XInputStreamHelper : public cppu::WeakImplHelper1<io::XInputStream> sal_Int32 m_nHeaderLength; public: XInputStreamHelper(const sal_uInt8* buf, size_t len, bool bBmp); - ~XInputStreamHelper(); + virtual ~XInputStreamHelper(); virtual ::sal_Int32 SAL_CALL readBytes( uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nBytesToRead ) throw (io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::sal_Int32 SAL_CALL readSomeBytes( uno::Sequence< ::sal_Int8 >& aData, ::sal_Int32 nMaxBytesToRead ) throw (io::NotConnectedException, io::BufferSizeExceededException, io::IOException, uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/writerfilter/source/dmapper/ModelEventListener.hxx b/writerfilter/source/dmapper/ModelEventListener.hxx index 129531aa38f1..491754e0f614 100644 --- a/writerfilter/source/dmapper/ModelEventListener.hxx +++ b/writerfilter/source/dmapper/ModelEventListener.hxx @@ -34,7 +34,7 @@ class ModelEventListener : bool m_bControls; public: ModelEventListener(bool bIndexes, bool bControls); - ~ModelEventListener(); + virtual ~ModelEventListener(); virtual void SAL_CALL notifyEvent( const ::com::sun::star::document::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/writerfilter/source/dmapper/NumberingManager.hxx b/writerfilter/source/dmapper/NumberingManager.hxx index 0267c0aba58e..68db3ca7b857 100644 --- a/writerfilter/source/dmapper/NumberingManager.hxx +++ b/writerfilter/source/dmapper/NumberingManager.hxx @@ -75,7 +75,7 @@ public: ,m_outline(false) {} - ~ListLevel( ){ } + virtual ~ListLevel( ){ } // Setters for the import void SetValue( Id nId, sal_Int32 nValue ); diff --git a/writerfilter/source/dmapper/PageBordersHandler.hxx b/writerfilter/source/dmapper/PageBordersHandler.hxx index deb41d5f8144..caf1145058bd 100644 --- a/writerfilter/source/dmapper/PageBordersHandler.hxx +++ b/writerfilter/source/dmapper/PageBordersHandler.hxx @@ -61,7 +61,7 @@ private: public: PageBordersHandler( ); - ~PageBordersHandler( ); + virtual ~PageBordersHandler( ); inline sal_Int32 GetDisplayOffset( ) { diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx index 3ce29bcd0718..c8e29296d15c 100644 --- a/writerfilter/source/dmapper/PropertyMap.hxx +++ b/writerfilter/source/dmapper/PropertyMap.hxx @@ -214,7 +214,7 @@ class SectionPropertyMap : public PropertyMap public: explicit SectionPropertyMap(bool bIsFirstSection); - ~SectionPropertyMap(); + virtual ~SectionPropertyMap(); enum PageType { @@ -428,7 +428,7 @@ class StyleSheetPropertyMap : public PropertyMap, public ParagraphProperties sal_Int32 mnNumId; public: explicit StyleSheetPropertyMap(); - ~StyleSheetPropertyMap(); + virtual ~StyleSheetPropertyMap(); void SetCT_Spacing_line( sal_Int32 nSet ) {mnCT_Spacing_line = nSet; mbCT_Spacing_lineSet = true; } @@ -508,7 +508,7 @@ class ParagraphPropertyMap : public PropertyMap, public ParagraphProperties { public: explicit ParagraphPropertyMap(); - ~ParagraphPropertyMap(); + virtual ~ParagraphPropertyMap(); }; @@ -543,7 +543,7 @@ private: public: explicit TablePropertyMap(); - ~TablePropertyMap(); + virtual ~TablePropertyMap(); bool getValue( TablePropertyMapTarget eWhich, sal_Int32& nFill ); void setValue( TablePropertyMapTarget eWhich, sal_Int32 nSet ); diff --git a/writerperfect/source/writer/WordPerfectImportFilter.hxx b/writerperfect/source/writer/WordPerfectImportFilter.hxx index 0c37492e45ba..ab403dae9e91 100644 --- a/writerperfect/source/writer/WordPerfectImportFilter.hxx +++ b/writerperfect/source/writer/WordPerfectImportFilter.hxx @@ -101,7 +101,7 @@ class WordPerfectImportFilterDialog : public cppu::WeakImplHelper3 < OUString msPassword; ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > mxInputStream; - ~WordPerfectImportFilterDialog(); + virtual ~WordPerfectImportFilterDialog(); // XExecutableDialog virtual void SAL_CALL setTitle( const OUString &aTitle ) diff --git a/xmlhelp/source/cxxhelp/inc/tvfactory.hxx b/xmlhelp/source/cxxhelp/inc/tvfactory.hxx index b3e7a2c30d97..261d1389c0bc 100644 --- a/xmlhelp/source/cxxhelp/inc/tvfactory.hxx +++ b/xmlhelp/source/cxxhelp/inc/tvfactory.hxx @@ -41,7 +41,7 @@ class TVFactory: public cppu::WeakImplHelper2 < TVFactory( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& xContext ); - ~TVFactory(); + virtual ~TVFactory(); // XServiceInfo virtual OUString SAL_CALL diff --git a/xmlhelp/source/cxxhelp/inc/tvread.hxx b/xmlhelp/source/cxxhelp/inc/tvread.hxx index 7e5b572423d6..f5d937e90bc3 100644 --- a/xmlhelp/source/cxxhelp/inc/tvread.hxx +++ b/xmlhelp/source/cxxhelp/inc/tvread.hxx @@ -168,7 +168,7 @@ namespace treeview { public: TVRead( const ConfigData& configData,TVDom* tvDom = 0 ); - ~TVRead(); + virtual ~TVRead(); // XNameAccess @@ -214,7 +214,7 @@ namespace treeview { TVChildTarget( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& xContext ); - ~TVChildTarget(); + virtual ~TVChildTarget(); virtual com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) diff --git a/xmlhelp/source/cxxhelp/inc/util/Decompressor.hxx b/xmlhelp/source/cxxhelp/inc/util/Decompressor.hxx index 7e2ecf1e9508..5b3fd18925d9 100644 --- a/xmlhelp/source/cxxhelp/inc/util/Decompressor.hxx +++ b/xmlhelp/source/cxxhelp/inc/util/Decompressor.hxx @@ -67,7 +67,7 @@ namespace xmlsearch { { } - ~StreamDecompressor() { } + virtual ~StreamDecompressor() { } virtual sal_Int32 getNextByte() SAL_OVERRIDE; @@ -91,7 +91,7 @@ namespace xmlsearch { } - ~ByteArrayDecompressor() { } + virtual ~ByteArrayDecompressor() { } sal_Int32 bytesRead() { diff --git a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx index b55257bb1e77..b52d3592eb76 100644 --- a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx +++ b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.hxx @@ -42,7 +42,7 @@ namespace chelp { BufferedInputStream( const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream); - ~BufferedInputStream(); + virtual ~BufferedInputStream(); virtual com::sun::star::uno::Any SAL_CALL queryInterface( const com::sun::star::uno::Type& rType ) diff --git a/xmlhelp/source/cxxhelp/provider/resultset.hxx b/xmlhelp/source/cxxhelp/provider/resultset.hxx index 7a9b6ff274e1..e7b9c99019f4 100644 --- a/xmlhelp/source/cxxhelp/provider/resultset.hxx +++ b/xmlhelp/source/cxxhelp/provider/resultset.hxx @@ -50,7 +50,7 @@ namespace chelp { com::sun::star::ucb::XCommandEnvironment >& rxEnv, ResultSetFactory* pFactory ); - ~DynamicResultSet(); + virtual ~DynamicResultSet(); }; } diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index 7ccdebdf4b57..c2b0163a0fdc 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -329,7 +329,7 @@ public: Databases* pDatatabases, bool isRoot = false ); - ~InputStreamTransformer(); + virtual ~InputStreamTransformer(); virtual Any SAL_CALL queryInterface( const Type& rType ) throw( RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL acquire( void ) throw() SAL_OVERRIDE; diff --git a/xmloff/inc/XMLChartPropertySetMapper.hxx b/xmloff/inc/XMLChartPropertySetMapper.hxx index 7885d9a3dce4..1507b162ab69 100644 --- a/xmloff/inc/XMLChartPropertySetMapper.hxx +++ b/xmloff/inc/XMLChartPropertySetMapper.hxx @@ -43,7 +43,7 @@ class XMLChartPropertySetMapper : public XMLPropertySetMapper { public: explicit XMLChartPropertySetMapper( bool bForExport ); - ~XMLChartPropertySetMapper(); + virtual ~XMLChartPropertySetMapper(); }; class XMLChartExportPropertyMapper : public SvXMLExportPropertyMapper diff --git a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx index f0c4dc4f188e..f3dff8088491 100644 --- a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx +++ b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx @@ -75,7 +75,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList> & xAttrList); - ~XMLIndexBibliographyConfigurationContext(); + virtual ~XMLIndexBibliographyConfigurationContext(); protected: diff --git a/xmloff/inc/XMLLineNumberingImportContext.hxx b/xmloff/inc/XMLLineNumberingImportContext.hxx index fbfa477df39c..8cc440cbcce8 100644 --- a/xmloff/inc/XMLLineNumberingImportContext.hxx +++ b/xmloff/inc/XMLLineNumberingImportContext.hxx @@ -86,7 +86,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList> & xAttrList); - ~XMLLineNumberingImportContext(); + virtual ~XMLLineNumberingImportContext(); // to be used by child context: set separator info void SetSeparatorText(const OUString& sText); diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx index 93ec3c6ecdcd..cc23e9bea8aa 100644 --- a/xmloff/inc/xmlversion.hxx +++ b/xmloff/inc/xmlversion.hxx @@ -69,7 +69,7 @@ public: XMLVersionListImport( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag >& rVersions ); - ~XMLVersionListImport() throw(); + virtual ~XMLVersionListImport() throw(); com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag >& GetList() { return maVersions; } @@ -88,7 +88,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); - ~XMLVersionListContext(); + virtual ~XMLVersionListContext(); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -114,7 +114,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); - ~XMLVersionContext(); + virtual ~XMLVersionContext(); }; class XMLVersionListPersistence : public ::cppu::WeakImplHelper1< ::com::sun::star::document::XDocumentRevisionListPersistence > diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index 63e323e42fe7..92d0ac3e2192 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -1256,7 +1256,7 @@ class AnimationsImport: public SvXMLImport, public XAnimationNodeSupplier { public: AnimationsImport( const Reference< XComponentContext > & rxContext ); - ~AnimationsImport() throw (); + virtual ~AnimationsImport() throw (); SvXMLImportContext* CreateContext(sal_uInt16 nPrefix, const OUString& rLocalName, const Reference<XAttributeList>& xAttrList) SAL_OVERRIDE; diff --git a/xmloff/source/draw/sdpropls.hxx b/xmloff/source/draw/sdpropls.hxx index 4849aebc574a..2fc4dd72ad3b 100644 --- a/xmloff/source/draw/sdpropls.hxx +++ b/xmloff/source/draw/sdpropls.hxx @@ -224,7 +224,7 @@ class XMLShapePropertySetMapper : public XMLPropertySetMapper { public: XMLShapePropertySetMapper(const UniReference< XMLPropertyHandlerFactory >& rFactoryRef, bool bForExport); - ~XMLShapePropertySetMapper(); + virtual ~XMLShapePropertySetMapper(); }; class XMLShapeExportPropertyMapper : public SvXMLExportPropertyMapper diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx index 6ebc49dc2ed7..9870a48b2039 100644 --- a/xmloff/source/draw/sdxmlimp_impl.hxx +++ b/xmloff/source/draw/sdxmlimp_impl.hxx @@ -222,7 +222,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, OUString const & implementationName, sal_Bool bIsDraw, sal_uInt16 nImportFlags ); - ~SdXMLImport() throw (); + virtual ~SdXMLImport() throw (); // XImporter virtual void SAL_CALL setTargetDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/xmloff/source/forms/attriblistmerge.hxx b/xmloff/source/forms/attriblistmerge.hxx index 0f9d19be920c..45b8c624dcb1 100644 --- a/xmloff/source/forms/attriblistmerge.hxx +++ b/xmloff/source/forms/attriblistmerge.hxx @@ -45,7 +45,7 @@ namespace xmloff typedef std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > > AttributeListArray; AttributeListArray m_aLists; - ~OAttribListMerger() { } + virtual ~OAttribListMerger() { } public: OAttribListMerger() { } diff --git a/xmloff/source/forms/elementexport.hxx b/xmloff/source/forms/elementexport.hxx index 5411a9133ddd..afde7f0db4c5 100644 --- a/xmloff/source/forms/elementexport.hxx +++ b/xmloff/source/forms/elementexport.hxx @@ -119,7 +119,7 @@ namespace xmloff const OUString& _rControlId, const OUString& _rReferringControls, const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rxEvents); - ~OControlExport(); + virtual ~OControlExport(); protected: /// start the XML element @@ -271,7 +271,7 @@ namespace xmloff const OUString& _rControlId, const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rxEvents); - ~OColumnExport(); + virtual ~OColumnExport(); protected: // OControlExport overridables diff --git a/xmloff/source/style/XMLFootnoteSeparatorImport.hxx b/xmloff/source/style/XMLFootnoteSeparatorImport.hxx index 8ab79ba8a907..46da74cd3111 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorImport.hxx +++ b/xmloff/source/style/XMLFootnoteSeparatorImport.hxx @@ -58,7 +58,7 @@ public: const UniReference<XMLPropertySetMapper> & rMapperRef, sal_Int32 nIndex); - ~XMLFootnoteSeparatorImport(); + virtual ~XMLFootnoteSeparatorImport(); virtual void StartElement( const ::com::sun::star::uno::Reference< diff --git a/xmloff/source/text/XMLAutoMarkFileContext.hxx b/xmloff/source/text/XMLAutoMarkFileContext.hxx index c1ef67691394..f0c2c10a9ce2 100644 --- a/xmloff/source/text/XMLAutoMarkFileContext.hxx +++ b/xmloff/source/text/XMLAutoMarkFileContext.hxx @@ -43,7 +43,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName); - ~XMLAutoMarkFileContext(); + virtual ~XMLAutoMarkFileContext(); protected: diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx index 9d830566d305..8f4e66c21f83 100644 --- a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx @@ -51,7 +51,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > & rEvents ); - ~XMLAutoTextContainerEventImport(); + virtual ~XMLAutoTextContainerEventImport(); protected: diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx index ebc402ba3cce..5685055a47ac 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.hxx +++ b/xmloff/source/text/XMLAutoTextEventExport.hxx @@ -59,7 +59,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, OUString const & implementationName, sal_uInt16 nFlags ); - ~XMLAutoTextEventExport(); + virtual ~XMLAutoTextEventExport(); // XInitialization virtual void SAL_CALL initialize( diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx index 4e218aa6c03c..29a3d25d778d 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextEventImport.hxx @@ -48,7 +48,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) throw(); - ~XMLAutoTextEventImport() throw(); + virtual ~XMLAutoTextEventImport() throw(); // XInitialization virtual void SAL_CALL initialize( diff --git a/xmloff/source/text/XMLChangeImportContext.hxx b/xmloff/source/text/XMLChangeImportContext.hxx index 6ed96bb53273..0bb5767db585 100644 --- a/xmloff/source/text/XMLChangeImportContext.hxx +++ b/xmloff/source/text/XMLChangeImportContext.hxx @@ -64,7 +64,7 @@ public: /// (usually before a section or table) sal_Bool bIsOutsideOfParagraph = sal_False); - ~XMLChangeImportContext(); + virtual ~XMLChangeImportContext(); virtual void StartElement( const ::com::sun::star::uno::Reference< diff --git a/xmloff/source/text/XMLChangeInfoContext.hxx b/xmloff/source/text/XMLChangeInfoContext.hxx index 6851e4ef2e9f..30c9159a80bc 100644 --- a/xmloff/source/text/XMLChangeInfoContext.hxx +++ b/xmloff/source/text/XMLChangeInfoContext.hxx @@ -60,7 +60,7 @@ public: XMLChangedRegionImportContext& rChangedRegion, const OUString& rChangeType); - ~XMLChangeInfoContext(); + virtual ~XMLChangeInfoContext(); virtual void StartElement( const ::com::sun::star::uno::Reference< diff --git a/xmloff/source/text/XMLChangedRegionImportContext.hxx b/xmloff/source/text/XMLChangedRegionImportContext.hxx index 0eee664216a5..65df3ccced46 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.hxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.hxx @@ -62,7 +62,7 @@ public: sal_uInt16 nPrefix, const OUString& rLocalName); - ~XMLChangedRegionImportContext(); + virtual ~XMLChangedRegionImportContext(); virtual void StartElement( const ::com::sun::star::uno::Reference< diff --git a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx index 9ee884180c5f..7f84bd6696e5 100644 --- a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx +++ b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx @@ -75,7 +75,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rPropSet); - ~XMLIndexAlphabeticalSourceContext(); + virtual ~XMLIndexAlphabeticalSourceContext(); protected: diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx index 42b18cc85fc9..9ecf6fd592d1 100644 --- a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx +++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx @@ -53,7 +53,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); - ~XMLIndexBibliographyEntryContext(); + virtual ~XMLIndexBibliographyEntryContext(); protected: diff --git a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx index 463b9c5d36ad..f3de882512b6 100644 --- a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx +++ b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx @@ -47,7 +47,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rPropSet); - ~XMLIndexBibliographySourceContext(); + virtual ~XMLIndexBibliographySourceContext(); protected: diff --git a/xmloff/source/text/XMLIndexBodyContext.hxx b/xmloff/source/text/XMLIndexBodyContext.hxx index 581faf4de228..837fcf163b6f 100644 --- a/xmloff/source/text/XMLIndexBodyContext.hxx +++ b/xmloff/source/text/XMLIndexBodyContext.hxx @@ -48,7 +48,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); - ~XMLIndexBodyContext(); + virtual ~XMLIndexBodyContext(); /// return whether any content elements were encountered inline sal_Bool HasContent(); diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx index 1a8fcc55bbed..19fd0106f01b 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx @@ -54,7 +54,7 @@ public: const OUString& rLocalName, sal_Bool bTOC ); - ~XMLIndexChapterInfoEntryContext(); + virtual ~XMLIndexChapterInfoEntryContext(); protected: diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx index 31ba6d064e56..faf197f30a74 100644 --- a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx +++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx @@ -49,7 +49,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rPropSet); - ~XMLIndexIllustrationSourceContext(); + virtual ~XMLIndexIllustrationSourceContext(); protected: diff --git a/xmloff/source/text/XMLIndexObjectSourceContext.hxx b/xmloff/source/text/XMLIndexObjectSourceContext.hxx index ca9c7f5f7bc3..17c0f49a9748 100644 --- a/xmloff/source/text/XMLIndexObjectSourceContext.hxx +++ b/xmloff/source/text/XMLIndexObjectSourceContext.hxx @@ -58,7 +58,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rPropSet); - ~XMLIndexObjectSourceContext(); + virtual ~XMLIndexObjectSourceContext(); protected: diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx index 5d5d1bade48d..453ff86446fe 100644 --- a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx +++ b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx @@ -62,7 +62,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); - ~XMLIndexSimpleEntryContext(); + virtual ~XMLIndexSimpleEntryContext(); protected: diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.hxx b/xmloff/source/text/XMLIndexSourceBaseContext.hxx index 4ee4462b71c6..8ae91aa97a68 100644 --- a/xmloff/source/text/XMLIndexSourceBaseContext.hxx +++ b/xmloff/source/text/XMLIndexSourceBaseContext.hxx @@ -101,7 +101,7 @@ public: ::com::sun::star::beans::XPropertySet> & rPropSet, sal_Bool bLevelFormats); - ~XMLIndexSourceBaseContext(); + virtual ~XMLIndexSourceBaseContext(); protected: diff --git a/xmloff/source/text/XMLIndexSpanEntryContext.hxx b/xmloff/source/text/XMLIndexSpanEntryContext.hxx index e28839a2c9a4..4ba7f67f0503 100644 --- a/xmloff/source/text/XMLIndexSpanEntryContext.hxx +++ b/xmloff/source/text/XMLIndexSpanEntryContext.hxx @@ -47,7 +47,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); - ~XMLIndexSpanEntryContext(); + virtual ~XMLIndexSpanEntryContext(); protected: diff --git a/xmloff/source/text/XMLIndexTOCContext.hxx b/xmloff/source/text/XMLIndexTOCContext.hxx index c33334adc634..f8f32268b6d5 100644 --- a/xmloff/source/text/XMLIndexTOCContext.hxx +++ b/xmloff/source/text/XMLIndexTOCContext.hxx @@ -77,7 +77,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); - ~XMLIndexTOCContext(); + virtual ~XMLIndexTOCContext(); protected: diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.hxx b/xmloff/source/text/XMLIndexTOCSourceContext.hxx index a56853d14e2d..dede5ec58766 100644 --- a/xmloff/source/text/XMLIndexTOCSourceContext.hxx +++ b/xmloff/source/text/XMLIndexTOCSourceContext.hxx @@ -57,7 +57,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rPropSet); - ~XMLIndexTOCSourceContext(); + virtual ~XMLIndexTOCSourceContext(); protected: diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.hxx b/xmloff/source/text/XMLIndexTOCStylesContext.hxx index bd1359f2b132..eeaae639c5a9 100644 --- a/xmloff/source/text/XMLIndexTOCStylesContext.hxx +++ b/xmloff/source/text/XMLIndexTOCStylesContext.hxx @@ -65,7 +65,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); - ~XMLIndexTOCStylesContext(); + virtual ~XMLIndexTOCStylesContext(); protected: diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx index c6865967eecd..98dba3f6010d 100644 --- a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx +++ b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx @@ -54,7 +54,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); - ~XMLIndexTabStopEntryContext(); + virtual ~XMLIndexTabStopEntryContext(); protected: diff --git a/xmloff/source/text/XMLIndexTableSourceContext.hxx b/xmloff/source/text/XMLIndexTableSourceContext.hxx index a8949315cac8..e11eb825ebcf 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.hxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.hxx @@ -57,7 +57,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rPropSet); - ~XMLIndexTableSourceContext(); + virtual ~XMLIndexTableSourceContext(); protected: diff --git a/xmloff/source/text/XMLIndexTemplateContext.hxx b/xmloff/source/text/XMLIndexTemplateContext.hxx index 50ca020cc7eb..3e38923ced2e 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTemplateContext.hxx @@ -126,7 +126,7 @@ public: const sal_Bool* aAllowedTokenTypes, sal_Bool bTOC=sal_False); - ~XMLIndexTemplateContext(); + virtual ~XMLIndexTemplateContext(); /** add template; to be called by child template entry contexts */ void addTemplateEntry( diff --git a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx index b1b9331623dd..46b93d7d56ef 100644 --- a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx @@ -63,7 +63,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName); - ~XMLIndexTitleTemplateContext(); + virtual ~XMLIndexTitleTemplateContext(); protected: diff --git a/xmloff/source/text/XMLIndexUserSourceContext.hxx b/xmloff/source/text/XMLIndexUserSourceContext.hxx index e4254256bd3d..5ac017fdf136 100644 --- a/xmloff/source/text/XMLIndexUserSourceContext.hxx +++ b/xmloff/source/text/XMLIndexUserSourceContext.hxx @@ -64,7 +64,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rPropSet); - ~XMLIndexUserSourceContext(); + virtual ~XMLIndexUserSourceContext(); protected: diff --git a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx index 2815ca95b46d..b7b0da5123c5 100644 --- a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx +++ b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx @@ -48,7 +48,7 @@ public: const OUString& rLocalName, XMLLineNumberingImportContext& rLineNumbering); - ~XMLLineNumberingSeparatorImportContext(); + virtual ~XMLLineNumberingSeparatorImportContext(); protected: diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx index 30e1ef13be39..bed2993bf4aa 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx @@ -56,7 +56,7 @@ public: ::std::vector<XMLPropertyState> & rProperties, const UniReference<XMLPropertySetMapper> & rMapperRef); - ~XMLSectionFootnoteConfigImport(); + virtual ~XMLSectionFootnoteConfigImport(); virtual void StartElement( const ::com::sun::star::uno::Reference< diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx index 5e69f563ed3a..6aae6c8b644d 100644 --- a/xmloff/source/text/XMLSectionImportContext.hxx +++ b/xmloff/source/text/XMLSectionImportContext.hxx @@ -84,7 +84,7 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName ); - ~XMLSectionImportContext(); + virtual ~XMLSectionImportContext(); protected: diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx index 5de48e0ddaab..698fb0a6f40a 100644 --- a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx +++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx @@ -49,7 +49,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rSectPropSet); - ~XMLSectionSourceDDEImportContext(); + virtual ~XMLSectionSourceDDEImportContext(); protected: diff --git a/xmloff/source/text/XMLSectionSourceImportContext.hxx b/xmloff/source/text/XMLSectionSourceImportContext.hxx index 5d0a408d3e55..042540a243ee 100644 --- a/xmloff/source/text/XMLSectionSourceImportContext.hxx +++ b/xmloff/source/text/XMLSectionSourceImportContext.hxx @@ -44,7 +44,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> & rSectPropSet); - ~XMLSectionSourceImportContext(); + virtual ~XMLSectionSourceImportContext(); protected: diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.hxx b/xmloff/source/text/XMLTrackedChangesImportContext.hxx index b6991004c5da..54f86eb2e222 100644 --- a/xmloff/source/text/XMLTrackedChangesImportContext.hxx +++ b/xmloff/source/text/XMLTrackedChangesImportContext.hxx @@ -44,7 +44,7 @@ public: sal_uInt16 nPrefix, const OUString& rLocalName); - ~XMLTrackedChangesImportContext(); + virtual ~XMLTrackedChangesImportContext(); virtual void StartElement( const ::com::sun::star::uno::Reference< diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx index b441c9571156..bed64959f5be 100644 --- a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx @@ -39,7 +39,7 @@ public: XMLAxisOASISContext( XMLTransformerBase& rTransformer, const OUString& rQName, ::rtl::Reference< XMLPersAttrListTContext > & rOutCategoriesContext ); - ~XMLAxisOASISContext(); + virtual ~XMLAxisOASISContext(); virtual XMLTransformerContext *CreateChildContext( sal_uInt16 nPrefix, diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx index 958208d1195d..26980fec76f7 100644 --- a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx @@ -38,7 +38,7 @@ public: XMLAxisOOoContext( XMLTransformerBase& rTransformer, const OUString& rQName ); - ~XMLAxisOOoContext(); + virtual ~XMLAxisOOoContext(); virtual void StartElement( const Reference< xml::sax::XAttributeList >& rAttrList ) SAL_OVERRIDE; diff --git a/xmloff/source/transform/MutableAttrList.hxx b/xmloff/source/transform/MutableAttrList.hxx index 819b050fb4b3..18dc7111c8e2 100644 --- a/xmloff/source/transform/MutableAttrList.hxx +++ b/xmloff/source/transform/MutableAttrList.hxx @@ -45,7 +45,7 @@ public: XMLMutableAttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList> & rAttrList, sal_Bool bClone=sal_False ); - ~XMLMutableAttributeList(); + virtual ~XMLMutableAttributeList(); static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); diff --git a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx index e14ded38dc55..f2c0678e8c0f 100644 --- a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx @@ -64,7 +64,7 @@ private: public: CertificateChooser( Window* pParent, css::uno::Reference< css::uno::XComponentContext>& rxCtx, css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& rxSecurityEnvironment, const SignatureInformations& rCertsToIgnore ); - ~CertificateChooser(); + virtual ~CertificateChooser(); short Execute() SAL_OVERRIDE; diff --git a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx index 27efd8fee65b..3bb87b759ccb 100644 --- a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx +++ b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx @@ -117,7 +117,7 @@ public: DigitalSignaturesDialog( Window* pParent, cssu::Reference< cssu::XComponentContext >& rxCtx, DocumentSignatureMode eMode, sal_Bool bReadOnly, const OUString& sODFVersion, bool bHasDocumentSignature); - ~DigitalSignaturesDialog(); + virtual ~DigitalSignaturesDialog(); // Initialize the dialog and the security environment, returns TRUE on success sal_Bool Init(); diff --git a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx index da3b2fa5a058..490bd235ca88 100644 --- a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx +++ b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx @@ -139,7 +139,7 @@ private: public: MacroSecurityTrustedSourcesTP(Window* pParent, MacroSecurity* _pDlg); - ~MacroSecurityTrustedSourcesTP(); + virtual ~MacroSecurityTrustedSourcesTP(); virtual void ActivatePage() SAL_OVERRIDE; virtual void ClosePage( void ) SAL_OVERRIDE; diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx index 6371bb9a7aef..b02732a85092 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx @@ -55,7 +55,7 @@ private: public: ImplXMLSignatureListener( const Link& rCreationResultListenerListener, const Link rVerifyResultListenerListener, const Link rStartVerifySignatureElement ); - ~ImplXMLSignatureListener(); + virtual ~ImplXMLSignatureListener(); void setNextHandler(com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler > xNextHandler); diff --git a/xmlsecurity/source/helper/xsecctl.hxx b/xmlsecurity/source/helper/xsecctl.hxx index 39b8427a3a78..dc644160a877 100644 --- a/xmlsecurity/source/helper/xsecctl.hxx +++ b/xmlsecurity/source/helper/xsecctl.hxx @@ -390,7 +390,7 @@ private: public: XSecController(const com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>& rxCtx); - ~XSecController(); + virtual ~XSecController(); sal_Int32 getNewSecurityId( ); diff --git a/xmlsecurity/source/helper/xsecparser.hxx b/xmlsecurity/source/helper/xsecparser.hxx index 48758cd6cfb2..03c75194233a 100644 --- a/xmlsecurity/source/helper/xsecparser.hxx +++ b/xmlsecurity/source/helper/xsecparser.hxx @@ -104,7 +104,7 @@ public: XSecParser( XSecController* pXSecController, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler >& xNextHandler ); - ~XSecParser(){}; + virtual ~XSecParser(){}; /* * XDocumentHandler |