summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-01 19:18:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-01 19:22:54 +0200
commit362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch)
tree0b432c049d580dcac6130bca9fb028bab8af8fa8 /sfx2
parentb66d87086804460c1986df1b832fd6b2ea075a90 (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 'sfx2')
-rw-r--r--sfx2/inc/srchdlg.hxx2
-rw-r--r--sfx2/inc/templatedlg.hxx2
-rw-r--r--sfx2/source/appl/appcfg.cxx2
-rw-r--r--sfx2/source/appl/helpdispatch.hxx2
-rw-r--r--sfx2/source/appl/helpinterceptor.hxx4
-rw-r--r--sfx2/source/appl/newhelp.hxx14
-rw-r--r--sfx2/source/control/request.cxx2
-rw-r--r--sfx2/source/control/shell.cxx2
-rw-r--r--sfx2/source/control/thumbnailviewacc.hxx4
-rw-r--r--sfx2/source/control/thumbnailviewitem.cxx2
-rw-r--r--sfx2/source/dialog/backingwindow.hxx2
-rw-r--r--sfx2/source/dialog/infobar.cxx2
-rw-r--r--sfx2/source/dialog/splitwin.cxx2
-rw-r--r--sfx2/source/dialog/tabdlg.cxx2
-rw-r--r--sfx2/source/dialog/taskpane.cxx2
-rw-r--r--sfx2/source/doc/docfile.cxx2
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/doc/doctemplates.cxx6
-rw-r--r--sfx2/source/doc/doctemplateslocal.hxx2
-rw-r--r--sfx2/source/doc/iframe.cxx2
-rw-r--r--sfx2/source/doc/plugin.cxx2
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx2
-rw-r--r--sfx2/source/inc/eventsupplier.hxx2
-rw-r--r--sfx2/source/inc/partwnd.hxx4
-rw-r--r--sfx2/source/inc/recfloat.hxx2
-rw-r--r--sfx2/source/inc/sfxpicklist.hxx2
-rw-r--r--sfx2/source/inc/splitwin.hxx2
-rw-r--r--sfx2/source/inc/templdgi.hxx4
-rw-r--r--sfx2/source/inc/tplcitem.hxx2
-rw-r--r--sfx2/source/view/frame2.cxx2
-rw-r--r--sfx2/source/view/ipclient.cxx2
31 files changed, 43 insertions, 43 deletions
diff --git a/sfx2/inc/srchdlg.hxx b/sfx2/inc/srchdlg.hxx
index 940e8f9e39d5..40b18f84017a 100644
--- a/sfx2/inc/srchdlg.hxx
+++ b/sfx2/inc/srchdlg.hxx
@@ -59,7 +59,7 @@ private:
public:
SearchDialog( Window* pWindow, const OUString& rConfigName );
- ~SearchDialog();
+ virtual ~SearchDialog();
void SetFindHdl( const Link& rLink ) { m_aFindHdl = rLink; }
void SetCloseHdl( const Link& rLink ) { m_aCloseHdl = rLink; }
diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx
index 8428590037c8..58d18cf74e21 100644
--- a/sfx2/inc/templatedlg.hxx
+++ b/sfx2/inc/templatedlg.hxx
@@ -47,7 +47,7 @@ public:
SfxTemplateManagerDlg (Window *parent = DIALOG_NO_PARENT);
- ~SfxTemplateManagerDlg ();
+ virtual ~SfxTemplateManagerDlg ();
void setSaveMode();
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index 7081848e706c..959cdd2fda57 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -89,7 +89,7 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
SfxEventAsyncer_Impl( const SfxEventHint& rHint );
- ~SfxEventAsyncer_Impl();
+ virtual ~SfxEventAsyncer_Impl();
DECL_LINK( TimerHdl, Timer*);
};
diff --git a/sfx2/source/appl/helpdispatch.hxx b/sfx2/source/appl/helpdispatch.hxx
index 81a3915cddc6..e03d4f8db26d 100644
--- a/sfx2/source/appl/helpdispatch.hxx
+++ b/sfx2/source/appl/helpdispatch.hxx
@@ -34,7 +34,7 @@ private:
public:
HelpDispatch_Impl( HelpInterceptor_Impl& _rInterceptor,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDisp );
- ~HelpDispatch_Impl();
+ virtual ~HelpDispatch_Impl();
// XDispatch
virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sfx2/source/appl/helpinterceptor.hxx b/sfx2/source/appl/helpinterceptor.hxx
index e8cde3a363e0..da24e05de573 100644
--- a/sfx2/source/appl/helpinterceptor.hxx
+++ b/sfx2/source/appl/helpinterceptor.hxx
@@ -72,7 +72,7 @@ friend class SfxHelpWindow_Impl;
public:
HelpInterceptor_Impl();
- ~HelpInterceptor_Impl();
+ virtual ~HelpInterceptor_Impl();
void setInterception( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame );
OUString GetCurrentURL() const { return m_aCurrentURL; }
@@ -146,7 +146,7 @@ public:
HelpStatusListener_Impl(
::com::sun::star::uno::Reference < ::com::sun::star::frame::XDispatch > xDispatch,
com::sun::star::util::URL& rURL);
- ~HelpStatusListener_Impl();
+ virtual ~HelpStatusListener_Impl();
virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event )
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index d4ec1161f308..900dc84f9872 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -58,7 +58,7 @@ private:
public:
ContentListBox_Impl(Window* pParent, WinBits nStyle);
- ~ContentListBox_Impl();
+ virtual ~ContentListBox_Impl();
virtual void RequestingChildren( SvTreeListEntry* pParent ) SAL_OVERRIDE;
@@ -138,7 +138,7 @@ private:
public:
IndexTabPage_Impl( Window* pParent, SfxHelpIndexWindow_Impl* _pIdxWin );
- ~IndexTabPage_Impl();
+ virtual ~IndexTabPage_Impl();
virtual void ActivatePage() SAL_OVERRIDE;
virtual Control* GetLastFocusControl() SAL_OVERRIDE;
@@ -214,7 +214,7 @@ private:
public:
SearchTabPage_Impl( Window* pParent, SfxHelpIndexWindow_Impl* _pIdxWin );
- ~SearchTabPage_Impl();
+ virtual ~SearchTabPage_Impl();
virtual void ActivatePage() SAL_OVERRIDE;
virtual Control* GetLastFocusControl() SAL_OVERRIDE;
@@ -239,7 +239,7 @@ private:
public:
BookmarksBox_Impl(Window* pParent, WinBits nStyle);
- ~BookmarksBox_Impl();
+ virtual ~BookmarksBox_Impl();
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
};
@@ -310,7 +310,7 @@ private:
public:
SfxHelpIndexWindow_Impl( SfxHelpWindow_Impl* pParent );
- ~SfxHelpIndexWindow_Impl();
+ virtual ~SfxHelpIndexWindow_Impl();
virtual void Resize() SAL_OVERRIDE;
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
@@ -448,7 +448,7 @@ private:
public:
SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent );
- ~SfxHelpTextWindow_Impl();
+ virtual ~SfxHelpTextWindow_Impl();
virtual void Resize() SAL_OVERRIDE;
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
@@ -517,7 +517,7 @@ friend class SfxHelpIndexWindow_Impl;
public:
SfxHelpWindow_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame2 >& rFrame,
Window* pParent, WinBits nBits );
- ~SfxHelpWindow_Impl();
+ virtual ~SfxHelpWindow_Impl();
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index 2222856b8145..5675454a18ee 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -85,7 +85,7 @@ struct SfxRequest_Impl: public SfxListener
, pInternalArgs( 0 )
, pViewFrame(0)
{}
- ~SfxRequest_Impl() { delete pInternalArgs; }
+ virtual ~SfxRequest_Impl() { delete pInternalArgs; }
void SetPool( SfxItemPool *pNewPool );
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx
index 4ad22f306353..d2add75bbd38 100644
--- a/sfx2/source/control/shell.cxx
+++ b/sfx2/source/control/shell.cxx
@@ -96,7 +96,7 @@ struct SfxShell_Impl: public SfxBroadcaster
::sfx2::sidebar::ContextChangeBroadcaster maContextChangeBroadcaster;
SfxShell_Impl() : pViewSh(0), pFrame(0), pRepeatTarget(0), pExecuter(0), pUpdater(0) {}
- ~SfxShell_Impl() { delete pExecuter; delete pUpdater;}
+ virtual ~SfxShell_Impl() { delete pExecuter; delete pUpdater;}
};
diff --git a/sfx2/source/control/thumbnailviewacc.hxx b/sfx2/source/control/thumbnailviewacc.hxx
index a84621170e2d..aa901065c216 100644
--- a/sfx2/source/control/thumbnailviewacc.hxx
+++ b/sfx2/source/control/thumbnailviewacc.hxx
@@ -54,7 +54,7 @@ class ThumbnailViewAcc :
public:
ThumbnailViewAcc( ThumbnailView* pParent, bool bIsTransientChildrenDisabled );
- ~ThumbnailViewAcc();
+ virtual ~ThumbnailViewAcc();
void FireAccessibleEvent( short nEventId,
const ::com::sun::star::uno::Any& rOldValue,
@@ -185,7 +185,7 @@ private:
public:
ThumbnailViewItemAcc( ThumbnailViewItem* pParent, bool bIsTransientChildrenDisabled );
- ~ThumbnailViewItemAcc();
+ virtual ~ThumbnailViewItemAcc();
void FireAccessibleEvent( short nEventId,
const ::com::sun::star::uno::Any& rOldValue,
diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx
index 6cd44e22ef7b..ee72c1f0cc87 100644
--- a/sfx2/source/control/thumbnailviewitem.cxx
+++ b/sfx2/source/control/thumbnailviewitem.cxx
@@ -53,7 +53,7 @@ class ResizableMultiLineEdit : public VclMultiLineEdit
public:
ResizableMultiLineEdit (Window* pParent, ThumbnailViewItem* pItem);
- ~ResizableMultiLineEdit ();
+ virtual ~ResizableMultiLineEdit ();
void SetInGrabFocus(bool bInGrabFocus) { mbIsInGrabFocus = bInGrabFocus; }
diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx
index 7909f2bdf4a0..af6ac8c5e441 100644
--- a/sfx2/source/dialog/backingwindow.hxx
+++ b/sfx2/source/dialog/backingwindow.hxx
@@ -102,7 +102,7 @@ class BackingWindow
public:
BackingWindow( Window* pParent );
- ~BackingWindow();
+ virtual ~BackingWindow();
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx
index f8d019d5fca5..928ee164dcd0 100644
--- a/sfx2/source/dialog/infobar.cxx
+++ b/sfx2/source/dialog/infobar.cxx
@@ -32,7 +32,7 @@ namespace
{
}
- ~SfxCloseButton( ) { }
+ virtual ~SfxCloseButton( ) { }
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
};
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 5bd7e950936a..2f3480a230ea 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -135,7 +135,7 @@ friend class SfxSplitWindow;
ShowFadeInHideButton( true );
}
- ~SfxEmptySplitWin_Impl()
+ virtual ~SfxEmptySplitWin_Impl()
{
aTimer.Stop();
}
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 751012594869..d12b5c4de1ff 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -120,7 +120,7 @@ public:
, pSet( NULL )
{}
- ~SfxTabDialogController();
+ virtual ~SfxTabDialogController();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE;
};
diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx
index 55bd0661c234..a9378e28a4cc 100644
--- a/sfx2/source/dialog/taskpane.cxx
+++ b/sfx2/source/dialog/taskpane.cxx
@@ -314,7 +314,7 @@ namespace sfx2
GetResourceURL() const { return m_sResourceURL; }
protected:
- ~CustomToolPanel();
+ virtual ~CustomToolPanel();
private:
bool impl_ensureToolPanelWindow( Window& i_rPanelParentWindow );
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 5f3716842e13..2c4b7b563f81 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -179,7 +179,7 @@ public:
: m_xInter( xInteraction )
{}
- ~SfxMediumHandler_Impl();
+ virtual ~SfxMediumHandler_Impl();
};
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 4e28700d2b47..91ebe2d291a8 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -215,7 +215,7 @@ private:
public:
SfxDocTemplate_Impl();
- ~SfxDocTemplate_Impl();
+ virtual ~SfxDocTemplate_Impl();
void IncrementLock();
void DecrementLock();
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index 015ea7162fb6..d4aea67b3510 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -139,7 +139,7 @@ class WaitWindow_Impl : public WorkWindow
public:
WaitWindow_Impl();
- ~WaitWindow_Impl();
+ virtual ~WaitWindow_Impl();
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
};
@@ -323,7 +323,7 @@ private:
public:
Updater_Impl( SfxDocTplService_Impl* pTemplates );
- ~Updater_Impl();
+ virtual ~Updater_Impl();
virtual void SAL_CALL run() SAL_OVERRIDE;
virtual void SAL_CALL onTerminated() SAL_OVERRIDE;
@@ -2221,7 +2221,7 @@ class SfxDocTplService: public ::cppu::WeakImplHelper3< css::lang::XLocalizable,
public:
SfxDocTplService( const css::uno::Reference < uno::XComponentContext >& xContext );
- ~SfxDocTplService();
+ virtual ~SfxDocTplService();
virtual OUString SAL_CALL getImplementationName()
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
diff --git a/sfx2/source/doc/doctemplateslocal.hxx b/sfx2/source/doc/doctemplateslocal.hxx
index 1ec23641d7c0..d0890e070362 100644
--- a/sfx2/source/doc/doctemplateslocal.hxx
+++ b/sfx2/source/doc/doctemplateslocal.hxx
@@ -45,7 +45,7 @@ class DocTemplLocaleHelper : public cppu::WeakImplHelper1 < com::sun::star::xml:
throw( ::com::sun::star::uno::Exception );
public:
- ~DocTemplLocaleHelper();
+ virtual ~DocTemplLocaleHelper();
// returns sequence of pairs ( GroupName, GroupUIName )
static
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index ff7890bdab22..9fbd9f3537b0 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -65,7 +65,7 @@ class IFrameObject : public ::cppu::WeakImplHelper6 <
public:
IFrameObject(const css::uno::Reference < css::uno::XComponentContext>& rxContext, const css::uno::Sequence< css::uno::Any >& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
- ~IFrameObject();
+ virtual ~IFrameObject();
virtual OUString SAL_CALL getImplementationName()
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
diff --git a/sfx2/source/doc/plugin.cxx b/sfx2/source/doc/plugin.cxx
index 5475d7923bdd..a1743fdd16d5 100644
--- a/sfx2/source/doc/plugin.cxx
+++ b/sfx2/source/doc/plugin.cxx
@@ -95,7 +95,7 @@ class PluginObject : public ::cppu::WeakImplHelper5 <
public:
PluginObject();
- ~PluginObject();
+ virtual ~PluginObject();
virtual sal_Bool SAL_CALL load( const css::uno::Sequence < css::beans::PropertyValue >& lDescriptor,
const css::uno::Reference < css::frame::XFrame >& xFrame ) throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 9eece34c61e8..8416d5560086 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -151,7 +151,7 @@ public:
: m_rShell(i_rDoc)
{ };
- ~SfxDocInfoListener_Impl();
+ virtual ~SfxDocInfoListener_Impl();
virtual void SAL_CALL disposing( const lang::EventObject& )
throw ( RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/sfx2/source/inc/eventsupplier.hxx b/sfx2/source/inc/eventsupplier.hxx
index 9962c1dcca51..62d74f213b9f 100644
--- a/sfx2/source/inc/eventsupplier.hxx
+++ b/sfx2/source/inc/eventsupplier.hxx
@@ -62,7 +62,7 @@ class SfxEvents_Impl : public ::cppu::WeakImplHelper2< css::container::XNameRepl
public:
SfxEvents_Impl( SfxObjectShell* pShell,
css::uno::Reference< css::document::XEventBroadcaster > xBroadcaster );
- ~SfxEvents_Impl();
+ virtual ~SfxEvents_Impl();
// --- XNameReplace ---
virtual void SAL_CALL replaceByName( const OUString & aName, const css::uno::Any & aElement )
diff --git a/sfx2/source/inc/partwnd.hxx b/sfx2/source/inc/partwnd.hxx
index 794c45f44699..6798d161f227 100644
--- a/sfx2/source/inc/partwnd.hxx
+++ b/sfx2/source/inc/partwnd.hxx
@@ -50,7 +50,7 @@ public:
SfxChildWinInfo* pInfo );
SFX_DECL_CHILDWINDOW(SfxPartChildWnd_Impl);
- ~SfxPartChildWnd_Impl();
+ virtual ~SfxPartChildWnd_Impl();
virtual bool QueryClose() SAL_OVERRIDE;
};
@@ -69,7 +69,7 @@ public:
Window* pParent,
WinBits nBits );
- ~SfxPartDockWnd_Impl();
+ virtual ~SfxPartDockWnd_Impl();
sal_Bool QueryClose();
virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE;
::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame > ForgetFrame();
diff --git a/sfx2/source/inc/recfloat.hxx b/sfx2/source/inc/recfloat.hxx
index f2f865a63f91..5369b16cef57 100644
--- a/sfx2/source/inc/recfloat.hxx
+++ b/sfx2/source/inc/recfloat.hxx
@@ -31,7 +31,7 @@ public:
sal_uInt16 nId ,
SfxBindings* pBindings ,
SfxChildWinInfo* pInfo );
- ~SfxRecordingFloatWrapper_Impl();
+ virtual ~SfxRecordingFloatWrapper_Impl();
SFX_DECL_CHILDWINDOW(SfxRecordingFloatWrapper_Impl);
virtual bool QueryClose() SAL_OVERRIDE;
diff --git a/sfx2/source/inc/sfxpicklist.hxx b/sfx2/source/inc/sfxpicklist.hxx
index 77747e21375e..eb83aff068c7 100644
--- a/sfx2/source/inc/sfxpicklist.hxx
+++ b/sfx2/source/inc/sfxpicklist.hxx
@@ -47,7 +47,7 @@ class SfxPickList : public SfxListener
::com::sun::star::uno::Reference< ::com::sun::star::util::XStringWidth > m_xStringLength;
SfxPickList( sal_uInt32 nMenuSize );
- ~SfxPickList();
+ virtual ~SfxPickList();
void CreatePicklistMenuTitle( Menu* pMenu, sal_uInt16 nItemId, const OUString& aURL, sal_uInt32 nNo );
PickListEntry* GetPickListEntry( sal_uInt32 nIndex );
diff --git a/sfx2/source/inc/splitwin.hxx b/sfx2/source/inc/splitwin.hxx
index 40ed3dee6027..f3a985bee804 100644
--- a/sfx2/source/inc/splitwin.hxx
+++ b/sfx2/source/inc/splitwin.hxx
@@ -67,7 +67,7 @@ public:
SfxWorkWindow *pW, sal_Bool bWithButtons,
WinBits nBits = WB_BORDER | WB_SIZEABLE | WB_3DLOOK );
- ~SfxSplitWindow();
+ virtual ~SfxSplitWindow();
void ReleaseWindow_Impl(SfxDockingWindow *pWin, sal_Bool bSaveConfig=sal_True);
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx
index f2142e8e8def..751d9bb77354 100644
--- a/sfx2/source/inc/templdgi.hxx
+++ b/sfx2/source/inc/templdgi.hxx
@@ -321,7 +321,7 @@ protected:
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) SAL_OVERRIDE;
public:
DropToolBox_Impl(Window* pParent, SfxTemplateDialog_Impl* pTemplateDialog);
- ~DropToolBox_Impl();
+ virtual ~DropToolBox_Impl();
};
// class SfxTemplateDialog_Impl ------------------------------------------
@@ -367,7 +367,7 @@ public:
SfxTemplateDialog_Impl( SfxBindings*, SfxTemplateDialog* pDlgWindow );
SfxTemplateDialog_Impl( SfxBindings*, SfxTemplatePanelControl* pDlgWindow );
- ~SfxTemplateDialog_Impl();
+ virtual ~SfxTemplateDialog_Impl();
void Initialize (void);
};
diff --git a/sfx2/source/inc/tplcitem.hxx b/sfx2/source/inc/tplcitem.hxx
index 5ce731618b0b..ad0471b2c5f8 100644
--- a/sfx2/source/inc/tplcitem.hxx
+++ b/sfx2/source/inc/tplcitem.hxx
@@ -37,7 +37,7 @@ protected:
public:
SfxTemplateControllerItem( sal_uInt16 nId, SfxCommonTemplateDialog_Impl &rDlg, SfxBindings &);
- ~SfxTemplateControllerItem();
+ virtual ~SfxTemplateControllerItem();
};
diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx
index e54977c4b556..6cc50b40c3e9 100644
--- a/sfx2/source/view/frame2.cxx
+++ b/sfx2/source/view/frame2.cxx
@@ -68,7 +68,7 @@ public:
SfxFrame* pFrame;
SfxFrameWindow_Impl( SfxFrame* pF, Window& i_rContainerWindow );
- ~SfxFrameWindow_Impl( );
+ virtual ~SfxFrameWindow_Impl( );
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index 7fe0c98adb01..adbc5d2c0941 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -120,7 +120,7 @@ public:
, m_bResizeNoScale( sal_False )
{}
- ~SfxInPlaceClient_Impl();
+ virtual ~SfxInPlaceClient_Impl();
void SizeHasChanged();
DECL_LINK(TimerHdl, void *);