diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:18:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-01 19:22:54 +0200 |
commit | 362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch) | |
tree | 0b432c049d580dcac6130bca9fb028bab8af8fa8 /basctl/source/basicide/baside2.hxx | |
parent | b66d87086804460c1986df1b832fd6b2ea075a90 (diff) |
Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
Diffstat (limited to 'basctl/source/basicide/baside2.hxx')
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
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(); |