Kaydet (Commit) 362d4f0c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst b66d8708

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -121,7 +121,7 @@ public:
@onerror -
*/
~OMRCListenerMultiplexerHelper();
virtual ~OMRCListenerMultiplexerHelper();
// XInterface
......
......@@ -64,7 +64,7 @@ namespace accessibility
public:
AccessibleTabBar( TabBar* pTabBar );
~AccessibleTabBar();
virtual ~AccessibleTabBar();
// XInterface
DECLARE_XINTERFACE()
......
......@@ -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;
......
......@@ -62,7 +62,7 @@ protected:
public:
VCLXAccessibleTabControl( VCLXWindow* pVCLXWindow );
~VCLXAccessibleTabControl();
virtual ~VCLXAccessibleTabControl();
// XInterface
DECLARE_XINTERFACE()
......
......@@ -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;
......
......@@ -52,7 +52,7 @@ protected:
public:
VCLXAccessibleTextComponent( VCLXWindow* pVCLXWindow );
~VCLXAccessibleTextComponent();
virtual ~VCLXAccessibleTextComponent();
// XInterface
DECLARE_XINTERFACE()
......
......@@ -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;
......
......@@ -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;
......
......@@ -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 );
......
......@@ -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();
......
......@@ -42,7 +42,7 @@ namespace avmedia
public:
MediaEventListenersImpl( Window& rNotifyWindow );
~MediaEventListenersImpl();
virtual ~MediaEventListenersImpl();
void cleanUp();
......
......@@ -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:
......
......@@ -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;
......
......@@ -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 );
......
......@@ -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 );
......
......@@ -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();
......