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 /sd/source | |
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 'sd/source')
72 files changed, 89 insertions, 89 deletions
diff --git a/sd/source/core/text/textapi.cxx b/sd/source/core/text/textapi.cxx index 9ed4f6731511..238172b49f73 100644 --- a/sd/source/core/text/textapi.cxx +++ b/sd/source/core/text/textapi.cxx @@ -42,7 +42,7 @@ class UndoTextAPIChanged : public SdrUndoAction { public: UndoTextAPIChanged( SdrModel& rModel, TextApiObject* pTextObj ); - ~UndoTextAPIChanged(); + virtual ~UndoTextAPIChanged(); virtual void Undo() SAL_OVERRIDE; virtual void Redo() SAL_OVERRIDE; diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx index 1b8023faf5b8..dc9f1d10f89e 100644 --- a/sd/source/filter/eppt/eppt.hxx +++ b/sd/source/filter/eppt/eppt.hxx @@ -277,7 +277,7 @@ class PPTWriter : public PPTWriterBase, public PPTExBulletProvider ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > & rStatInd, SvMemoryStream* pVBA, sal_uInt32 nCnvrtFlags ); - ~PPTWriter(); + virtual ~PPTWriter(); sal_Bool IsValid() const { return mbStatus; }; diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index 519db4d21681..6f47adf1e43f 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -67,7 +67,7 @@ public: PowerPointExport( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & rxCtxt ); - ~PowerPointExport(); + virtual ~PowerPointExport(); // from FilterBase virtual bool importDocument() throw() SAL_OVERRIDE; diff --git a/sd/source/filter/eppt/escherex.hxx b/sd/source/filter/eppt/escherex.hxx index 9ef08c3f55b4..c3fd22a57d31 100644 --- a/sd/source/filter/eppt/escherex.hxx +++ b/sd/source/filter/eppt/escherex.hxx @@ -49,7 +49,7 @@ class PptEscherEx : public EscherEx public: PptEscherEx( SvStream& rOut, const OUString& ); - ~PptEscherEx(); + virtual ~PptEscherEx(); void OpenContainer( sal_uInt16 n_EscherContainer, int nRecInstance = 0 ) SAL_OVERRIDE; void CloseContainer() SAL_OVERRIDE; diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx index bffc54efd364..e23b97c0d52f 100644 --- a/sd/source/filter/grf/sdgrffilter.cxx +++ b/sd/source/filter/grf/sdgrffilter.cxx @@ -103,7 +103,7 @@ class SdGRFFilter_ImplInteractionHdl : public ::cppu::WeakImplHelper1< com::sun: nFilterError( GRFILTER_OK ) {} - ~SdGRFFilter_ImplInteractionHdl(); + virtual ~SdGRFFilter_ImplInteractionHdl(); sal_uInt16 GetErrorCode() const { return nFilterError; }; diff --git a/sd/source/filter/html/HtmlOptionsDialog.cxx b/sd/source/filter/html/HtmlOptionsDialog.cxx index 5d3d4431f714..af23e387da16 100644 --- a/sd/source/filter/html/HtmlOptionsDialog.cxx +++ b/sd/source/filter/html/HtmlOptionsDialog.cxx @@ -61,7 +61,7 @@ class SdHtmlOptionsDialog : public cppu::WeakImplHelper5 public: SdHtmlOptionsDialog(); - ~SdHtmlOptionsDialog(); + virtual ~SdHtmlOptionsDialog(); // XInterface virtual void SAL_CALL acquire() throw() SAL_OVERRIDE; diff --git a/sd/source/filter/html/htmlattr.hxx b/sd/source/filter/html/htmlattr.hxx index 5274632da254..868175594934 100644 --- a/sd/source/filter/html/htmlattr.hxx +++ b/sd/source/filter/html/htmlattr.hxx @@ -32,7 +32,7 @@ protected: public: SdHtmlAttrPreview( Window* pParent, const ResId& rResId ); - ~SdHtmlAttrPreview(); + virtual ~SdHtmlAttrPreview(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx index 1912e007bae8..56f9e153dec4 100644 --- a/sd/source/filter/html/htmlex.hxx +++ b/sd/source/filter/html/htmlex.hxx @@ -68,7 +68,7 @@ private: public: HtmlErrorContext(Window *pWin=0); - ~HtmlErrorContext() {}; + virtual ~HtmlErrorContext() {}; virtual bool GetString( sal_uLong nErrId, OUString& rCtxStr ) SAL_OVERRIDE; diff --git a/sd/source/filter/ppt/pptin.hxx b/sd/source/filter/ppt/pptin.hxx index 003699ee6878..2de8fd608ccf 100644 --- a/sd/source/filter/ppt/pptin.hxx +++ b/sd/source/filter/ppt/pptin.hxx @@ -75,7 +75,7 @@ public: OUString ReadMedia( sal_uInt32 nMediaRef ) const; ImplSdPPTImport( SdDrawDocument* pDoc, SvStorage& rStorage, SfxMedium& rMed, PowerPointImportParam& ); - ~ImplSdPPTImport(); + virtual ~ImplSdPPTImport(); sal_Bool Import(); virtual bool ReadFormControl( SotStorageRef& rSrc1, com::sun::star::uno::Reference< com::sun::star::form::XFormComponent > & rFormComp ) const SAL_OVERRIDE; diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx index 96b3a99e5fa1..f36129680a17 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx @@ -71,7 +71,7 @@ public: AccessibleSlideSorterView& rAccessibleSlideSorter, ::sd::slidesorter::SlideSorter& rSlideSorter, ::Window* pWindow); - ~Implementation (void); + virtual ~Implementation (void); void RequestUpdateChildren (void); void Clear (void); diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx index 8d7fae1ba8a3..c56f938e67c4 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx @@ -73,7 +73,7 @@ class CategoryListBox : public ListBox { public: CategoryListBox( Window* pParent ); - ~CategoryListBox(); + virtual ~CategoryListBox(); virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -176,7 +176,7 @@ class CustomAnimationCreateTabPage : public TabPage { public: CustomAnimationCreateTabPage( Window* pParent, CustomAnimationCreateDialog* pDialogParent, sal_uInt16 nTabId, const PresetCategoryList& rCategoryList, bool bHasText ); - ~CustomAnimationCreateTabPage(); + virtual ~CustomAnimationCreateTabPage(); PathKind getCreatePathKind() const; CustomAnimationPresetPtr getSelectedPreset() const; diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx index dcd4cf36830b..1c50534b8956 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx @@ -42,7 +42,7 @@ class CustomAnimationCreateDialog : public TabDialog friend class CustomAnimationCreateTabPage; public: CustomAnimationCreateDialog( ::Window* pParent, CustomAnimationPane* pPane, const std::vector< ::com::sun::star::uno::Any >& rTargets, bool bHasText, const OUString& rsPresetId, double fDuration ); - ~CustomAnimationCreateDialog(); + virtual ~CustomAnimationCreateDialog(); PathKind getCreatePathKind() const; CustomAnimationPresetPtr getSelectedPreset() const; diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index ee2d80daf125..e7ae612a2678 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -105,7 +105,7 @@ class PresetPropertyBox : public PropertySubControl { public: PresetPropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const OUString& aPresetId, const Link& rModifyHdl ); - ~PresetPropertyBox(); + virtual ~PresetPropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& rPresetId ) SAL_OVERRIDE; @@ -192,7 +192,7 @@ class ColorPropertyBox : public PropertySubControl { public: ColorPropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~ColorPropertyBox(); + virtual ~ColorPropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& rPresetId ) SAL_OVERRIDE; @@ -361,7 +361,7 @@ class DropdownMenuBox : public Edit { public: DropdownMenuBox( Window* pParent, Edit* pSubControl, PopupMenu* pMenu ); - ~DropdownMenuBox(); + virtual ~DropdownMenuBox(); void Resize() SAL_OVERRIDE; bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -536,7 +536,7 @@ class TransparencyPropertyBox : public PropertySubControl { public: TransparencyPropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~TransparencyPropertyBox(); + virtual ~TransparencyPropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& rPresetId ) SAL_OVERRIDE; @@ -658,7 +658,7 @@ class RotationPropertyBox : public PropertySubControl { public: RotationPropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~RotationPropertyBox(); + virtual ~RotationPropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& ) SAL_OVERRIDE; @@ -799,7 +799,7 @@ class ScalePropertyBox : public PropertySubControl { public: ScalePropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~ScalePropertyBox(); + virtual ~ScalePropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& ) SAL_OVERRIDE; @@ -978,7 +978,7 @@ class FontStylePropertyBox : public PropertySubControl { public: FontStylePropertyBox( sal_Int32 nControlType, Window* pParent, const Any& rValue, const Link& rModifyHdl ); - ~FontStylePropertyBox(); + virtual ~FontStylePropertyBox(); virtual Any getValue() SAL_OVERRIDE; virtual void setValue( const Any& rValue, const OUString& ) SAL_OVERRIDE; @@ -1115,7 +1115,7 @@ class CustomAnimationEffectTabPage : public TabPage { public: CustomAnimationEffectTabPage( Window* pParent, const STLPropertySet* pSet ); - ~CustomAnimationEffectTabPage(); + virtual ~CustomAnimationEffectTabPage(); void update( STLPropertySet* pSet ); DECL_LINK( implSelectHdl, Control* ); @@ -1697,7 +1697,7 @@ class CustomAnimationDurationTabPage : public TabPage { public: CustomAnimationDurationTabPage( Window* pParent, const STLPropertySet* pSet ); - ~CustomAnimationDurationTabPage(); + virtual ~CustomAnimationDurationTabPage(); void update( STLPropertySet* pSet ); diff --git a/sd/source/ui/animations/CustomAnimationDialog.hxx b/sd/source/ui/animations/CustomAnimationDialog.hxx index bb052421ca48..75ff871799bc 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.hxx +++ b/sd/source/ui/animations/CustomAnimationDialog.hxx @@ -129,7 +129,7 @@ class PropertyControl : public ListBox { public: PropertyControl( Window* pParent ); - ~PropertyControl(); + virtual ~PropertyControl(); void setSubControl( PropertySubControl* pSubControl ); PropertySubControl* getSubControl() const { return mpSubControl; } @@ -151,7 +151,7 @@ class CustomAnimationDialog : public TabDialog { public: CustomAnimationDialog(Window* pParent, STLPropertySet* pSet, const OString& Page = OString()); - ~CustomAnimationDialog(); + virtual ~CustomAnimationDialog(); STLPropertySet* getDefaultSet() { return mpSet; } STLPropertySet* getResultSet(); diff --git a/sd/source/ui/annotations/annotationwindow.hxx b/sd/source/ui/annotations/annotationwindow.hxx index 5e74d9fd0df1..e53488ee685e 100644 --- a/sd/source/ui/annotations/annotationwindow.hxx +++ b/sd/source/ui/annotations/annotationwindow.hxx @@ -62,7 +62,7 @@ protected: public: AnnotationTextWindow( AnnotationWindow* pParent, WinBits nBits ); - ~AnnotationTextWindow(); + virtual ~AnnotationTextWindow(); void SetOutlinerView( OutlinerView* pOutlinerView ) { mpOutlinerView = pOutlinerView; } diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.hxx b/sd/source/ui/dlg/PhotoAlbumDialog.hxx index 4026b97d422a..f0add4d9e77a 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.hxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.hxx @@ -45,7 +45,7 @@ class SdPhotoAlbumDialog : public ModalDialog { public: SdPhotoAlbumDialog(Window* pWindow, SdDrawDocument* pActDoc); - ~SdPhotoAlbumDialog(); + virtual ~SdPhotoAlbumDialog(); virtual short Execute() SAL_OVERRIDE; diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.hxx b/sd/source/ui/dlg/RemoteDialogClientBox.hxx index 966af2ada373..7b2ac25ed533 100644 --- a/sd/source/ui/dlg/RemoteDialogClientBox.hxx +++ b/sd/source/ui/dlg/RemoteDialogClientBox.hxx @@ -73,7 +73,7 @@ class ClientRemovedListener : public ::cppu::WeakImplHelper1< ::com::sun::star:: public: ClientRemovedListener( ClientBox *pParent ) { m_pParent = pParent; } - ~ClientRemovedListener(); + virtual ~ClientRemovedListener(); // XEventListener @@ -135,7 +135,7 @@ class ClientBox: public: ClientBox( Window* pParent, WinBits nStyle ); - ~ClientBox(); + virtual ~ClientBox(); void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; void Paint( const Rectangle &rPaintRect ) SAL_OVERRIDE; diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx index 79d4879654b6..59eab0c9242f 100644 --- a/sd/source/ui/dlg/dlgass.cxx +++ b/sd/source/ui/dlg/dlgass.cxx @@ -138,7 +138,7 @@ class AssistentDlgImpl : public SfxListener { public: AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink, sal_Bool bAutoPilot ); - ~AssistentDlgImpl(); + virtual ~AssistentDlgImpl(); /// Local mutex used to serialize concurrent method calls. ::osl::Mutex maMutex; diff --git a/sd/source/ui/dlg/dlgassim.hxx b/sd/source/ui/dlg/dlgassim.hxx index babe18892d07..2b8ab976cb92 100644 --- a/sd/source/ui/dlg/dlgassim.hxx +++ b/sd/source/ui/dlg/dlgassim.hxx @@ -33,7 +33,7 @@ private: public: SdPageListControl( Window* pParent, const ResId& rResId ); - ~SdPageListControl(); + virtual ~SdPageListControl(); void Fill( SdDrawDocument* pDoc ); void Clear(); diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx index 00564e61c3ea..5060e07679d3 100644 --- a/sd/source/ui/dlg/filedlg.cxx +++ b/sd/source/ui/dlg/filedlg.cxx @@ -68,7 +68,7 @@ private: public: SdFileDialog_Imp( const short nDialogType, sal_Bool bUsableSelection ); - ~SdFileDialog_Imp(); + virtual ~SdFileDialog_Imp(); ErrCode Execute(); diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx index 7177a77ad05d..e7dd0cd553f9 100644 --- a/sd/source/ui/dlg/headerfooterdlg.cxx +++ b/sd/source/ui/dlg/headerfooterdlg.cxx @@ -76,7 +76,7 @@ private: public: PresLayoutPreview( ::Window* pParent ); - ~PresLayoutPreview(); + virtual ~PresLayoutPreview(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; virtual Size GetOptimalSize() const SAL_OVERRIDE; @@ -160,7 +160,7 @@ private: public: HeaderFooterTabPage( HeaderFooterDialog* pDialog, ::Window* pParent, SdDrawDocument* pDoc, SdPage* pActualPage, bool bHandoutMode ); - ~HeaderFooterTabPage(); + virtual ~HeaderFooterTabPage(); static SfxTabPage* Create( ::Window*, const SfxItemSet& ); static sal_uInt16* GetRanges(); diff --git a/sd/source/ui/dlg/paragr.cxx b/sd/source/ui/dlg/paragr.cxx index 4f8fe915a367..7338955b0350 100644 --- a/sd/source/ui/dlg/paragr.cxx +++ b/sd/source/ui/dlg/paragr.cxx @@ -38,7 +38,7 @@ class SdParagraphNumTabPage : public SfxTabPage { public: SdParagraphNumTabPage(Window* pParent, const SfxItemSet& rSet ); - ~SdParagraphNumTabPage(); + virtual ~SdParagraphNumTabPage(); static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet ); static sal_uInt16* GetRanges(); diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index 6cb7dd0d27fb..2fde69849f67 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -313,7 +313,7 @@ class FrameworkHelper::DisposeListener { public: DisposeListener (const ::boost::shared_ptr<FrameworkHelper>& rpHelper); - ~DisposeListener (void); + virtual ~DisposeListener (void); virtual void SAL_CALL disposing (void) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx index 6e719a6b358c..ca57b9f4a065 100644 --- a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx +++ b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx @@ -69,7 +69,7 @@ public: ::com::sun::star::accessibility::XAccessible >& rxParent, ::sd::slidesorter::SlideSorter& rSlideSorter, sal_uInt16 nPageNumber); - ~AccessibleSlideSorterObject (void); + virtual ~AccessibleSlideSorterObject (void); /** Return the page that is made accessible by the called object. */ diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index 2a9ed09f2d66..57446826edf5 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -59,7 +59,7 @@ public: OutlineView (DrawDocShell& rDocSh, ::Window* pWindow, OutlineViewShell& rOutlineViewSh); - ~OutlineView (void); + virtual ~OutlineView (void); /** This method is called by the view shell that owns the view to tell the view that it can safely connect to the application. diff --git a/sd/source/ui/inc/PreviewRenderer.hxx b/sd/source/ui/inc/PreviewRenderer.hxx index 9120fd075612..2f2755bf274b 100644 --- a/sd/source/ui/inc/PreviewRenderer.hxx +++ b/sd/source/ui/inc/PreviewRenderer.hxx @@ -53,7 +53,7 @@ public: OutputDevice* pTemplate = NULL, const bool bPaintFrame = true); - ~PreviewRenderer (void); + virtual ~PreviewRenderer (void); /** Render a page with the given pixel size. Use this version when only the width of the preview is known to the diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx index 8cf1ad428611..f330fcefcfeb 100644 --- a/sd/source/ui/inc/RemoteServer.hxx +++ b/sd/source/ui/inc/RemoteServer.hxx @@ -77,7 +77,7 @@ namespace sd static void removeCommunicator( Communicator* pCommunicator ); private: RemoteServer(); - ~RemoteServer(); + virtual ~RemoteServer(); static RemoteServer *spServer; static ::osl::Mutex sDataMutex; static ::std::vector<Communicator*> sCommunicators; diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx index 9b9ecae46d3d..359b85535f76 100644 --- a/sd/source/ui/inc/animobjs.hxx +++ b/sd/source/ui/inc/animobjs.hxx @@ -70,7 +70,7 @@ private: public: SdDisplay( ::Window* pWin, SdResId Id ); - ~SdDisplay(); + virtual ~SdDisplay(); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/copydlg.hxx b/sd/source/ui/inc/copydlg.hxx index f1c929c48a5d..fb9d5fe61783 100644 --- a/sd/source/ui/inc/copydlg.hxx +++ b/sd/source/ui/inc/copydlg.hxx @@ -40,7 +40,7 @@ class CopyDlg public: CopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, const XColorListRef &pColList, ::sd::View* pView ); - ~CopyDlg(); + virtual ~CopyDlg(); void GetAttr( SfxItemSet& rOutAttrs ); void Reset(); diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx index 4f70008ead40..aec20d3ade36 100644 --- a/sd/source/ui/inc/custsdlg.hxx +++ b/sd/source/ui/inc/custsdlg.hxx @@ -59,7 +59,7 @@ private: public: SdCustomShowDlg( Window* pWindow, SdDrawDocument& rDrawDoc ); - ~SdCustomShowDlg(); + virtual ~SdCustomShowDlg(); sal_Bool IsModified() const { return( bModified ); } sal_Bool IsCustomShow() const; @@ -95,7 +95,7 @@ public: SdDefineCustomShowDlg( Window* pWindow, SdDrawDocument& rDrawDoc, SdCustomShow*& rpCS ); - ~SdDefineCustomShowDlg(); + virtual ~SdDefineCustomShowDlg(); sal_Bool IsModified() const { return( bModified ); } }; diff --git a/sd/source/ui/inc/diactrl.hxx b/sd/source/ui/inc/diactrl.hxx index e058a19ebdf8..f4b83e6b7fa4 100644 --- a/sd/source/ui/inc/diactrl.hxx +++ b/sd/source/ui/inc/diactrl.hxx @@ -44,7 +44,7 @@ public: SdPagesField( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, WinBits nBits = WB_BORDER | WB_SPIN | WB_REPEAT ); - ~SdPagesField(); + virtual ~SdPagesField(); void UpdatePagesField( const SfxUInt16Item* pItem ); }; @@ -63,7 +63,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SdTbxCtlDiaPages( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SdTbxCtlDiaPages(); + virtual ~SdTbxCtlDiaPages(); }; #endif // INCLUDED_SD_SOURCE_UI_INC_DIACTRL_HXX diff --git a/sd/source/ui/inc/dlg_char.hxx b/sd/source/ui/inc/dlg_char.hxx index 59ac70389b0c..a6d0eb8ab68b 100644 --- a/sd/source/ui/inc/dlg_char.hxx +++ b/sd/source/ui/inc/dlg_char.hxx @@ -45,7 +45,7 @@ public: SdCharDlg( Window* pParent, const SfxItemSet* pAttr, const SfxObjectShell* pDocShell ); - ~SdCharDlg() {}; + virtual ~SdCharDlg() {}; }; #endif // INCLUDED_SD_SOURCE_UI_INC_DLG_CHAR_HXX diff --git a/sd/source/ui/inc/dlgass.hxx b/sd/source/ui/inc/dlgass.hxx index 2983a5fc72c0..f89685ce0517 100644 --- a/sd/source/ui/inc/dlgass.hxx +++ b/sd/source/ui/inc/dlgass.hxx @@ -42,7 +42,7 @@ private: public: AssistentDlg(Window* pParent, sal_Bool bAutoPilot); - ~AssistentDlg(); + virtual ~AssistentDlg(); DECL_LINK( FinishHdl, void * ); diff --git a/sd/source/ui/inc/dlgctrls.hxx b/sd/source/ui/inc/dlgctrls.hxx index 93a2ca31b707..0ec249b8afc3 100644 --- a/sd/source/ui/inc/dlgctrls.hxx +++ b/sd/source/ui/inc/dlgctrls.hxx @@ -37,7 +37,7 @@ class SD_DLLPUBLIC FadeEffectLB : public ListBox { public: FadeEffectLB( Window* pParent, SdResId Id ); - ~FadeEffectLB(); + virtual ~FadeEffectLB(); virtual void Fill(); /* void selectEffectFromPage( SdPage* pPage ); */ diff --git a/sd/source/ui/inc/dlgfield.hxx b/sd/source/ui/inc/dlgfield.hxx index d65f9006f196..e0e82fff946b 100644 --- a/sd/source/ui/inc/dlgfield.hxx +++ b/sd/source/ui/inc/dlgfield.hxx @@ -51,7 +51,7 @@ private: public: SdModifyFieldDlg( Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet ); - ~SdModifyFieldDlg() {} + virtual ~SdModifyFieldDlg() {} SvxFieldData* GetField(); SfxItemSet GetItemSet(); diff --git a/sd/source/ui/inc/dlgpage.hxx b/sd/source/ui/inc/dlgpage.hxx index 3578559f5216..e2fdc22d5e68 100644 --- a/sd/source/ui/inc/dlgpage.hxx +++ b/sd/source/ui/inc/dlgpage.hxx @@ -45,7 +45,7 @@ private: public: SdPageDlg( SfxObjectShell* pDocSh, Window* pParent, const SfxItemSet* pAttr, sal_Bool bAreaPage = sal_True ); - ~SdPageDlg() {}; + virtual ~SdPageDlg() {}; virtual void PageCreated(sal_uInt16 nId, SfxTabPage& rPage) SAL_OVERRIDE; }; diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx index e02eb0f40644..11171969f22b 100644 --- a/sd/source/ui/inc/docprev.hxx +++ b/sd/source/ui/inc/docprev.hxx @@ -62,7 +62,7 @@ protected: public: SdDocPreviewWin( Window* pParent, const ResId& rResId ); - ~SdDocPreviewWin(); + virtual ~SdDocPreviewWin(); void SetObjectShell( SfxObjectShell* pObj, sal_uInt16 nShowPage = 0 ); virtual void Resize() SAL_OVERRIDE; void startPreview(); diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx index 437e69432c61..5f90237117c3 100644 --- a/sd/source/ui/inc/framework/FrameworkHelper.hxx +++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx @@ -327,7 +327,7 @@ private: FrameworkHelper (ViewShellBase& rBase); FrameworkHelper (const FrameworkHelper& rHelper); // Not implemented. - ~FrameworkHelper (void); + virtual ~FrameworkHelper (void); class Deleter; friend class Deleter; FrameworkHelper& operator= (const FrameworkHelper& rHelper); // Not implemented. diff --git a/sd/source/ui/inc/fuhhconv.hxx b/sd/source/ui/inc/fuhhconv.hxx index 6606f11f9e65..637dbb917c67 100644 --- a/sd/source/ui/inc/fuhhconv.hxx +++ b/sd/source/ui/inc/fuhhconv.hxx @@ -44,7 +44,7 @@ class FuHangulHanjaConversion : public FuPoor Outliner* GetOutliner() const { return pSdOutliner; } protected: - ~FuHangulHanjaConversion(); + virtual ~FuHangulHanjaConversion(); Outliner* pSdOutliner; sal_Bool bOwnOutliner; diff --git a/sd/source/ui/inc/gluectrl.hxx b/sd/source/ui/inc/gluectrl.hxx index c9feba92a99f..fefe754006cf 100644 --- a/sd/source/ui/inc/gluectrl.hxx +++ b/sd/source/ui/inc/gluectrl.hxx @@ -33,7 +33,7 @@ private: public: GlueEscDirLB( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ); - ~GlueEscDirLB(); + virtual ~GlueEscDirLB(); virtual void Select() SAL_OVERRIDE; @@ -56,7 +56,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SdTbxCtlGlueEscDir( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SdTbxCtlGlueEscDir() {} + virtual ~SdTbxCtlGlueEscDir() {} }; #endif // INCLUDED_SD_SOURCE_UI_INC_GLUECTRL_HXX diff --git a/sd/source/ui/inc/headerfooterdlg.hxx b/sd/source/ui/inc/headerfooterdlg.hxx index 2887624ad2b0..4c2bb8979902 100644 --- a/sd/source/ui/inc/headerfooterdlg.hxx +++ b/sd/source/ui/inc/headerfooterdlg.hxx @@ -68,7 +68,7 @@ private: public: HeaderFooterDialog( ViewShell* pViewShell, ::Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage ); - ~HeaderFooterDialog(); + virtual ~HeaderFooterDialog(); void ApplyToAll(); void Apply(); diff --git a/sd/source/ui/inc/inspagob.hxx b/sd/source/ui/inc/inspagob.hxx index 70b6a89c6981..ad1c742b5241 100644 --- a/sd/source/ui/inc/inspagob.hxx +++ b/sd/source/ui/inc/inspagob.hxx @@ -47,7 +47,7 @@ public: const SdDrawDocument* pDoc, SfxMedium* pSfxMedium, const OUString& rFileName ); - ~SdInsertPagesObjsDlg(); + virtual ~SdInsertPagesObjsDlg(); /** returns the list nType == 0 -> pages diff --git a/sd/source/ui/inc/paragr.hxx b/sd/source/ui/inc/paragr.hxx index 4511537a9384..5acae8a6eea5 100644 --- a/sd/source/ui/inc/paragr.hxx +++ b/sd/source/ui/inc/paragr.hxx @@ -35,7 +35,7 @@ private: public: SdParagraphDlg( Window* pParent, const SfxItemSet* pAttr ); - ~SdParagraphDlg() {}; + virtual ~SdParagraphDlg() {}; }; #endif // INCLUDED_SD_SOURCE_UI_INC_PARAGR_HXX diff --git a/sd/source/ui/inc/prltempl.hxx b/sd/source/ui/inc/prltempl.hxx index 1cf08519b7c4..5ae279856249 100644 --- a/sd/source/ui/inc/prltempl.hxx +++ b/sd/source/ui/inc/prltempl.hxx @@ -87,7 +87,7 @@ private: public: SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool ); - ~SdPresLayoutTemplateDlg(); + virtual ~SdPresLayoutTemplateDlg(); const SfxItemSet* GetOutputItemSet() const; }; diff --git a/sd/source/ui/inc/prntopts.hxx b/sd/source/ui/inc/prntopts.hxx index 4966ad4c3b57..17ec12f4b3cf 100644 --- a/sd/source/ui/inc/prntopts.hxx +++ b/sd/source/ui/inc/prntopts.hxx @@ -62,7 +62,7 @@ private: using OutputDevice::SetDrawMode; public: SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs); - ~SdPrintOptions(); + virtual ~SdPrintOptions(); static SfxTabPage* Create( Window*, const SfxItemSet& ); diff --git a/sd/source/ui/inc/pubdlg.hxx b/sd/source/ui/inc/pubdlg.hxx index 43ff34f686d4..574a6ff0f04b 100644 --- a/sd/source/ui/inc/pubdlg.hxx +++ b/sd/source/ui/inc/pubdlg.hxx @@ -193,7 +193,7 @@ private: public: SdPublishingDlg(Window* pWindow, DocumentType eDocType); - ~SdPublishingDlg(); + virtual ~SdPublishingDlg(); void GetParameterSequence( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rParams ); }; diff --git a/sd/source/ui/inc/sdpopup.hxx b/sd/source/ui/inc/sdpopup.hxx index 697da11849cd..f2a429e42a90 100644 --- a/sd/source/ui/inc/sdpopup.hxx +++ b/sd/source/ui/inc/sdpopup.hxx @@ -38,7 +38,7 @@ private: public: SdFieldPopup( const SvxFieldData* pInField, LanguageType eLanguage ); - ~SdFieldPopup(); + virtual ~SdFieldPopup(); //virtual void Select(); diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx index eaa3680815ff..2fb67165ee60 100644 --- a/sd/source/ui/inc/sdtreelb.hxx +++ b/sd/source/ui/inc/sdtreelb.hxx @@ -187,7 +187,7 @@ public: SdPageObjsTLB( Window* pParent, const SdResId& rSdResId ); SdPageObjsTLB( Window* pParent, WinBits nStyle ); - ~SdPageObjsTLB(); + virtual ~SdPageObjsTLB(); // helper function for GetEntryAltText and GetEntryLongDescription OUString getAltLongDescText( SvTreeListEntry* pEntry , sal_Bool isAltText) const; diff --git a/sd/source/ui/inc/sdxfer.hxx b/sd/source/ui/inc/sdxfer.hxx index 592af02b3ea0..76f724c3dfd2 100644 --- a/sd/source/ui/inc/sdxfer.hxx +++ b/sd/source/ui/inc/sdxfer.hxx @@ -44,7 +44,7 @@ class SdTransferable : public TransferableHelper, public SfxListener public: SdTransferable( SdDrawDocument* pSrcDoc, ::sd::View* pWorkView, sal_Bool bInitOnGetData ); - ~SdTransferable(); + virtual ~SdTransferable(); void SetDocShell( const SfxObjectShellRef& rRef ) { maDocShellRef = rRef; } const SfxObjectShellRef& GetDocShell() const { return maDocShellRef; } diff --git a/sd/source/ui/inc/tbx_ww.hxx b/sd/source/ui/inc/tbx_ww.hxx index bfb3069360c6..3814dd2e3329 100644 --- a/sd/source/ui/inc/tbx_ww.hxx +++ b/sd/source/ui/inc/tbx_ww.hxx @@ -33,7 +33,7 @@ public: SFX_DECL_TOOLBOX_CONTROL(); SdTbxControl(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ); - ~SdTbxControl() {} + virtual ~SdTbxControl() {} virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE; virtual SfxPopupWindow* CreatePopupWindow() SAL_OVERRIDE; diff --git a/sd/source/ui/inc/tmplctrl.hxx b/sd/source/ui/inc/tmplctrl.hxx index def12f6c154e..559ffc7cf228 100644 --- a/sd/source/ui/inc/tmplctrl.hxx +++ b/sd/source/ui/inc/tmplctrl.hxx @@ -25,7 +25,7 @@ class SdTemplateControl : public SfxStatusBarControl { public: SdTemplateControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); - ~SdTemplateControl(); + virtual ~SdTemplateControl(); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) SAL_OVERRIDE; virtual void Paint( const UserDrawEvent& rEvt ) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx index 9503425de8d4..fabd20a35b4f 100644 --- a/sd/source/ui/inc/tpaction.hxx +++ b/sd/source/ui/inc/tpaction.hxx @@ -99,7 +99,7 @@ private: public: SdTPAction( Window* pParent, const SfxItemSet& rInAttrs ); - ~SdTPAction(); + virtual ~SdTPAction(); static SfxTabPage* Create( Window*, const SfxItemSet& ); diff --git a/sd/source/ui/inc/tpoption.hxx b/sd/source/ui/inc/tpoption.hxx index 1be402ecaca2..a83f416c244a 100644 --- a/sd/source/ui/inc/tpoption.hxx +++ b/sd/source/ui/inc/tpoption.hxx @@ -37,7 +37,7 @@ class SdTpOptionsSnap : public SvxGridTabPage { public: SdTpOptionsSnap( Window* pParent, const SfxItemSet& rInAttrs ); - ~SdTpOptionsSnap(); + virtual ~SdTpOptionsSnap(); static SfxTabPage* Create( Window*, const SfxItemSet& ); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; @@ -59,7 +59,7 @@ private: public: SdTpOptionsContents( Window* pParent, const SfxItemSet& rInAttrs ); - ~SdTpOptionsContents(); + virtual ~SdTpOptionsContents(); static SfxTabPage* Create( Window*, const SfxItemSet& ); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; @@ -132,7 +132,7 @@ protected: public: SdTpOptionsMisc( Window* pParent, const SfxItemSet& rInAttrs ); - ~SdTpOptionsMisc(); + virtual ~SdTpOptionsMisc(); static SfxTabPage* Create( Window*, const SfxItemSet& ); virtual bool FillItemSet( SfxItemSet& ) SAL_OVERRIDE; diff --git a/sd/source/ui/inc/vectdlg.hxx b/sd/source/ui/inc/vectdlg.hxx index 3429dfd73cf9..4f0e3e745957 100644 --- a/sd/source/ui/inc/vectdlg.hxx +++ b/sd/source/ui/inc/vectdlg.hxx @@ -82,7 +82,7 @@ class SdVectorizeDlg : public ModalDialog public: SdVectorizeDlg( Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell ); - ~SdVectorizeDlg(); + virtual ~SdVectorizeDlg(); const GDIMetaFile& GetGDIMetaFile() const { return aMtf; } }; diff --git a/sd/source/ui/remotecontrol/BluetoothServer.hxx b/sd/source/ui/remotecontrol/BluetoothServer.hxx index 0f649d9a2178..2427ed7c1f08 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.hxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.hxx @@ -40,7 +40,7 @@ namespace sd void addCommunicator( Communicator* pCommunicator ); private: BluetoothServer( std::vector<Communicator*>* pCommunicators ); - ~BluetoothServer(); + virtual ~BluetoothServer(); enum { UNKNOWN, DISCOVERABLE, NOT_DISCOVERABLE } meWasDiscoverable; static BluetoothServer *spServer; diff --git a/sd/source/ui/remotecontrol/Communicator.hxx b/sd/source/ui/remotecontrol/Communicator.hxx index c7f00c6e1e77..c912fa5aa057 100644 --- a/sd/source/ui/remotecontrol/Communicator.hxx +++ b/sd/source/ui/remotecontrol/Communicator.hxx @@ -39,7 +39,7 @@ namespace sd { public: Communicator( IBluetoothSocket *pSocket ); - ~Communicator(); + virtual ~Communicator(); void presentationStarted( const css::uno::Reference< css::presentation::XSlideShowController > &rController ); diff --git a/sd/source/ui/remotecontrol/DiscoveryService.hxx b/sd/source/ui/remotecontrol/DiscoveryService.hxx index a362d0fe911d..a2ffeff20184 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.hxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.hxx @@ -28,7 +28,7 @@ namespace sd private: DiscoveryService(); - ~DiscoveryService(); + virtual ~DiscoveryService(); /** * Networking related setup -- must be run within our own thread diff --git a/sd/source/ui/remotecontrol/ImagePreparer.hxx b/sd/source/ui/remotecontrol/ImagePreparer.hxx index 0b1d861e9dd0..6790a70bb328 100644 --- a/sd/source/ui/remotecontrol/ImagePreparer.hxx +++ b/sd/source/ui/remotecontrol/ImagePreparer.hxx @@ -25,7 +25,7 @@ public: ImagePreparer( const css::uno::Reference<css::presentation::XSlideShowController>& rxController, sd::Transmitter *aTransmitter ); - ~ImagePreparer(); + virtual ~ImagePreparer(); private: css::uno::Reference<css::presentation::XSlideShowController> xController; diff --git a/sd/source/ui/remotecontrol/Listener.hxx b/sd/source/ui/remotecontrol/Listener.hxx index 89521395d1fa..5bcc02d11422 100644 --- a/sd/source/ui/remotecontrol/Listener.hxx +++ b/sd/source/ui/remotecontrol/Listener.hxx @@ -32,7 +32,7 @@ class Listener { public: Listener( const ::rtl::Reference<Communicator>& rServer, sd::Transmitter *aTransmitter ); - ~Listener(); + virtual ~Listener(); void init( const css::uno::Reference< css::presentation::XSlideShowController >& aController ); // XAnimationListener diff --git a/sd/source/ui/remotecontrol/Receiver.hxx b/sd/source/ui/remotecontrol/Receiver.hxx index 41a3bb872ff4..a5020303f42b 100644 --- a/sd/source/ui/remotecontrol/Receiver.hxx +++ b/sd/source/ui/remotecontrol/Receiver.hxx @@ -32,7 +32,7 @@ class Receiver : Timer std::deque< std::vector< OString > > maExecQueue; public: Receiver( Transmitter *aTransmitter ); - ~Receiver(); + virtual ~Receiver(); virtual void Timeout() SAL_OVERRIDE; void pushCommand( const std::vector<OString> &rCommand ); void executeCommand( const std::vector<OString> &aCommand ); diff --git a/sd/source/ui/remotecontrol/Transmitter.hxx b/sd/source/ui/remotecontrol/Transmitter.hxx index 14e1b9ea79f2..74cbc45bf102 100644 --- a/sd/source/ui/remotecontrol/Transmitter.hxx +++ b/sd/source/ui/remotecontrol/Transmitter.hxx @@ -27,7 +27,7 @@ class Transmitter public: enum Priority { PRIORITY_LOW = 1, PRIORITY_HIGH }; Transmitter( ::sd::IBluetoothSocket* aSocket ); - ~Transmitter(); + virtual ~Transmitter(); void addMessage( const OString& aMessage, const Priority aPriority ); void notifyFinished(); diff --git a/sd/source/ui/sidebar/PreviewValueSet.hxx b/sd/source/ui/sidebar/PreviewValueSet.hxx index 5b3889b35aec..fd4a0b82d9b3 100644 --- a/sd/source/ui/sidebar/PreviewValueSet.hxx +++ b/sd/source/ui/sidebar/PreviewValueSet.hxx @@ -33,7 +33,7 @@ class PreviewValueSet { public: PreviewValueSet (::Window* pParent); - ~PreviewValueSet (void); + virtual ~PreviewValueSet (void); void SetRightMouseClickHandler (const Link& rLink); virtual void Resize (void) SAL_OVERRIDE; diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx index 60c7ce5097a5..3f87abf5c154 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.hxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx @@ -232,7 +232,7 @@ public: using cppu::WeakComponentImplHelperBase::disposing; protected: - ~SlideShowView() {} + virtual ~SlideShowView() {} private: void init(); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index db7767325507..bb922e56acdb 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -61,7 +61,7 @@ class Clipboard { public: Clipboard (SlideSorter& rSlideSorter); - ~Clipboard (void); + virtual ~Clipboard (void); /** Create a slide sorter transferable from the given sd transferable. The returned transferable is set up with all diff --git a/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx b/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx index 782de7db2076..043618301f53 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx @@ -67,7 +67,7 @@ public: TransferableData ( SlideSorterViewShell* pViewShell, const ::std::vector<TransferableData::Representative>& rRepresentatives); - ~TransferableData (void); + virtual ~TransferableData (void); virtual void DragFinished (sal_Int8 nDropAction); diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx index eefd19238eaa..8182f0a868f8 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx @@ -53,7 +53,7 @@ class ContentWindow : public ::sd::Window { public: ContentWindow(::Window& rParent, SlideSorter& rSlideSorter); - ~ContentWindow (void); + virtual ~ContentWindow (void); void SetCurrentFunction (const rtl::Reference<FuPoor>& rpFunction); virtual void Paint(const Rectangle& rRect) SAL_OVERRIDE; virtual void KeyInput (const KeyEvent& rEvent) SAL_OVERRIDE; diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx index 42c63e7e042e..ed47917e714d 100644 --- a/sd/source/ui/tools/EventMultiplexer.cxx +++ b/sd/source/ui/tools/EventMultiplexer.cxx @@ -66,7 +66,7 @@ class EventMultiplexer::Implementation { public: Implementation (ViewShellBase& rBase); - ~Implementation (void); + virtual ~Implementation (void); void AddEventListener ( Link& rCallback, diff --git a/sd/source/ui/unoidl/unocpres.hxx b/sd/source/ui/unoidl/unocpres.hxx index a9b5a1733999..7cb75bb3a778 100644 --- a/sd/source/ui/unoidl/unocpres.hxx +++ b/sd/source/ui/unoidl/unocpres.hxx @@ -118,7 +118,7 @@ private: public: SdXCustomPresentationAccess(SdXImpressDocument& rMyModel) throw(); - ~SdXCustomPresentationAccess() throw(); + virtual ~SdXCustomPresentationAccess() throw(); // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index a73768ae84c4..7dd272fcace7 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -116,7 +116,7 @@ class SdUnoForbiddenCharsTable : public SvxUnoForbiddenCharsTable, { public: SdUnoForbiddenCharsTable( SdrModel* pModel ); - ~SdUnoForbiddenCharsTable(); + virtual ~SdUnoForbiddenCharsTable(); // SfxListener virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) throw () SAL_OVERRIDE; diff --git a/sd/source/ui/unoidl/unopback.hxx b/sd/source/ui/unoidl/unopback.hxx index 49964878dad0..6f3ba5a06dd7 100644 --- a/sd/source/ui/unoidl/unopback.hxx +++ b/sd/source/ui/unoidl/unopback.hxx @@ -50,7 +50,7 @@ protected: const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) const throw(); public: SdUnoPageBackground( SdDrawDocument* pDoc = NULL, const SfxItemSet* pSet = NULL) throw(); - ~SdUnoPageBackground() throw(); + virtual ~SdUnoPageBackground() throw(); // internal void fillItemSet( SdDrawDocument* pDoc, SfxItemSet& rSet ) throw(); diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 9133412d1531..6dc349df77f0 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -1110,7 +1110,7 @@ namespace { { } - ~OutlinerPrinterPage() + virtual ~OutlinerPrinterPage() { mpParaObject.reset(); } diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx index 8b38a339b42c..e76c243e8841 100644 --- a/sd/source/ui/view/drviewsa.cxx +++ b/sd/source/ui/view/drviewsa.cxx @@ -92,7 +92,7 @@ private: public: ScannerEventListener( DrawViewShell* pParent ) : mpParent( pParent ) {}; - ~ScannerEventListener(); + virtual ~ScannerEventListener(); // XEventListener virtual void SAL_CALL disposing( const lang::EventObject& rEventObject ) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; |