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/comp |