summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/inc/galbrws2.hxx4
-rw-r--r--svx/inc/tbunosearchcontrollers.hxx12
-rw-r--r--svx/source/accessibility/AccessibleEmptyEditSource.cxx4
-rw-r--r--svx/source/accessibility/AccessibleEmptyEditSource.hxx2
-rw-r--r--svx/source/accessibility/AccessibleTextHelper.cxx2
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.hxx2
-rw-r--r--svx/source/dialog/contimp.hxx2
-rw-r--r--svx/source/dialog/contwnd.hxx2
-rw-r--r--svx/source/dialog/imapwnd.hxx4
-rw-r--r--svx/source/dialog/rubydialog.cxx2
-rw-r--r--svx/source/form/fmscriptingenv.cxx2
-rw-r--r--svx/source/form/fmtextcontrolshell.cxx4
-rw-r--r--svx/source/gallery2/galbrws1.hxx6
-rw-r--r--svx/source/gallery2/galbrws2.cxx2
-rw-r--r--svx/source/inc/datalistener.hxx2
-rw-r--r--svx/source/inc/datanavi.hxx12
-rw-r--r--svx/source/inc/docrecovery.hxx2
-rw-r--r--svx/source/inc/fmshimp.hxx2
-rw-r--r--svx/source/inc/fmtextcontrolfeature.hxx2
-rw-r--r--svx/source/inc/fmundo.hxx6
-rw-r--r--svx/source/inc/fmvwimp.hxx4
-rw-r--r--svx/source/inc/formcontroller.hxx2
-rw-r--r--svx/source/inc/formcontrolling.hxx2
-rw-r--r--svx/source/inc/gridcell.hxx2
-rw-r--r--svx/source/inc/svxpixelctlaccessiblecontext.hxx4
-rw-r--r--svx/source/inc/tbxform.hxx14
-rw-r--r--svx/source/inc/unogalthemeprovider.hxx2
-rw-r--r--svx/source/inc/xmlxtexp.hxx2
-rw-r--r--svx/source/sdr/contact/sdrmediawindow.hxx2
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx2
-rw-r--r--svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx2
-rw-r--r--svx/source/sidebar/paragraph/ParaBulletsControl.hxx2
-rw-r--r--svx/source/sidebar/paragraph/ParaBulletsPopup.hxx2
-rw-r--r--svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx2
-rw-r--r--svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx2
-rw-r--r--svx/source/sidebar/paragraph/ParaNumberingControl.hxx2
-rw-r--r--svx/source/sidebar/paragraph/ParaNumberingPopup.hxx2
-rw-r--r--svx/source/sidebar/text/TextCharacterSpacingPopup.hxx2
-rw-r--r--svx/source/sidebar/text/TextUnderlinePopup.hxx2
-rw-r--r--svx/source/svdraw/svdundo.cxx2
-rw-r--r--svx/source/table/cell.cxx2
-rw-r--r--svx/source/table/svdotable.cxx2
-rw-r--r--svx/source/tbxctrls/colorwindow.hxx2
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx6
-rw-r--r--svx/source/tbxctrls/layctrl.cxx2
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx4
-rw-r--r--svx/source/tbxctrls/tbunocontroller.cxx2
-rw-r--r--svx/source/unodraw/unoshtxt.cxx2
-rw-r--r--svx/source/unogallery/unogalitem.hxx2
-rw-r--r--svx/source/unogallery/unogaltheme.hxx2
50 files changed, 79 insertions, 79 deletions
diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx
index d60a3bfc368f..4036a1892785 100644
--- a/svx/inc/galbrws2.hxx
+++ b/svx/inc/galbrws2.hxx
@@ -79,7 +79,7 @@ private:
public:
GalleryToolBox( GalleryBrowser2* pParent );
- ~GalleryToolBox();
+ virtual ~GalleryToolBox();
};
@@ -152,7 +152,7 @@ public:
public:
GalleryBrowser2( Window* pParent, const ResId& rResId, Gallery* pGallery );
- ~GalleryBrowser2();
+ virtual ~GalleryBrowser2();
void SelectTheme( const OUString& rThemeName );
diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx
index eee51e9ae76d..a418ff2935e8 100644
--- a/svx/inc/tbunosearchcontrollers.hxx
+++ b/svx/inc/tbunosearchcontrollers.hxx
@@ -92,7 +92,7 @@ class FindTextToolbarController : public svt::ToolboxController,
public:
FindTextToolbarController( const css::uno::Reference< css::uno::XComponentContext > & rxContext );
- ~FindTextToolbarController();
+ virtual ~FindTextToolbarController();
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -132,7 +132,7 @@ class ExitSearchToolboxController : public svt::ToolboxController,
{
public:
ExitSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
- ~ExitSearchToolboxController();
+ virtual ~ExitSearchToolboxController();
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -164,7 +164,7 @@ public:
enum Type { UP, DOWN };
UpDownSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, Type eType );
- ~UpDownSearchToolboxController();
+ virtual ~UpDownSearchToolboxController();
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -197,7 +197,7 @@ class MatchCaseToolboxController : public svt::ToolboxController,
{
public:
MatchCaseToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
- ~MatchCaseToolboxController();
+ virtual ~MatchCaseToolboxController();
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -230,7 +230,7 @@ class FindAllToolboxController : public svt::ToolboxController,
{
public:
FindAllToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
- ~FindAllToolboxController();
+ virtual ~FindAllToolboxController();
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -260,7 +260,7 @@ class SearchLabelToolboxController : public svt::ToolboxController,
{
public:
SearchLabelToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
- ~SearchLabelToolboxController();
+ virtual ~SearchLabelToolboxController();
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx
index 3eacb7689abb..1f5784e3e540 100644
--- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx
+++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx
@@ -57,7 +57,7 @@ namespace accessibility
AccessibleProxyEditSource_Impl( SdrObject& rObj,
SdrView& rView,
const Window& rViewWindow );
- ~AccessibleProxyEditSource_Impl();
+ virtual ~AccessibleProxyEditSource_Impl();
// from the SvxEditSource interface
SvxTextForwarder* GetTextForwarder() SAL_OVERRIDE;
@@ -82,7 +82,7 @@ namespace accessibility
public:
AccessibleEmptyEditSource_Impl() {}
- ~AccessibleEmptyEditSource_Impl() {}
+ virtual ~AccessibleEmptyEditSource_Impl() {}
// from the SfxListener interface
void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.hxx b/svx/source/accessibility/AccessibleEmptyEditSource.hxx
index b897f7ca28e5..be7fadc83f75 100644
--- a/svx/source/accessibility/AccessibleEmptyEditSource.hxx
+++ b/svx/source/accessibility/AccessibleEmptyEditSource.hxx
@@ -50,7 +50,7 @@ namespace accessibility
does not contain text.
*/
AccessibleEmptyEditSource( SdrObject& rObj, SdrView& rView, const Window& rViewWindow );
- ~AccessibleEmptyEditSource();
+ virtual ~AccessibleEmptyEditSource();
// from the SvxEditSource interface
SvxTextForwarder* GetTextForwarder() SAL_OVERRIDE;
diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx
index 6a6e06a8c2d4..995b70921edc 100644
--- a/svx/source/accessibility/AccessibleTextHelper.cxx
+++ b/svx/source/accessibility/AccessibleTextHelper.cxx
@@ -102,7 +102,7 @@ namespace accessibility
// receive pointer to our frontend class and view window
AccessibleTextHelper_Impl();
- ~AccessibleTextHelper_Impl();
+ virtual ~AccessibleTextHelper_Impl();
// XAccessibleContext child handling methods
sal_Int32 SAL_CALL getAccessibleChildCount() SAL_THROW((uno::RuntimeException));
diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx
index 5804b9fae990..36a4919035b0 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.hxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.hxx
@@ -106,7 +106,7 @@ public:
/** If there still are managed children these are disposed and
released.
*/
- ~ChildrenManagerImpl (void);
+ virtual ~ChildrenManagerImpl (void);
/** Do that part of the initialization that you can not or should not do
in the constructor like registering at broadcasters.
diff --git a/svx/source/dialog/contimp.hxx b/svx/source/dialog/contimp.hxx
index eedf9cce7a82..39ad8afe73f5 100644
--- a/svx/source/dialog/contimp.hxx
+++ b/svx/source/dialog/contimp.hxx
@@ -69,7 +69,7 @@ public:
SvxSuperContourDlg( SfxBindings *pBindings, SfxChildWindow *pCW,
Window* pParent, const ResId& rResId );
- ~SvxSuperContourDlg();
+ virtual ~SvxSuperContourDlg();
void SetExecState( sal_Bool bEnable );
diff --git a/svx/source/dialog/contwnd.hxx b/svx/source/dialog/contwnd.hxx
index 457d1ace00b8..7bb1b6295d2b 100644
--- a/svx/source/dialog/contwnd.hxx
+++ b/svx/source/dialog/contwnd.hxx
@@ -49,7 +49,7 @@ protected:
public:
ContourWindow( Window* pParent, const ResId& rResId );
- ~ContourWindow();
+ virtual ~ContourWindow();
void SetPolyPolygon( const PolyPolygon& rPolyPoly );
const PolyPolygon& GetPolyPolygon();
diff --git a/svx/source/dialog/imapwnd.hxx b/svx/source/dialog/imapwnd.hxx
index da6883a152e4..3b34504c48ad 100644
--- a/svx/source/dialog/imapwnd.hxx
+++ b/svx/source/dialog/imapwnd.hxx
@@ -80,7 +80,7 @@ public:
SdrObjUserData ( IMapInventor, SVD_IMAP_USERDATA, 0 ),
mpObj ( rIMapUserData.mpObj ) {}
- ~IMapUserData() { }
+ virtual ~IMapUserData() { }
virtual SdrObjUserData* Clone( SdrObject * ) const SAL_OVERRIDE { return new IMapUserData( *this ); }
@@ -132,7 +132,7 @@ protected:
public:
IMapWindow( Window* pParent, const ResId& rResId, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxDocumentFrame );
- ~IMapWindow();
+ virtual ~IMapWindow();
sal_Bool ReplaceActualIMapInfo( const NotifyInfo& rNewInfo );
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 9ff334e91299..76c521ea2829 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -91,7 +91,7 @@ class SvxRubyData_Impl : public cppu::WeakImplHelper1
bool bHasSelectionChanged;
public:
SvxRubyData_Impl();
- ~SvxRubyData_Impl();
+ virtual ~SvxRubyData_Impl();
void SetController(Reference<XController> xCtrl);
Reference<XModel> GetModel()
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx
index da846cb05c6d..bb87ef395444 100644
--- a/svx/source/form/fmscriptingenv.cxx
+++ b/svx/source/form/fmscriptingenv.cxx
@@ -97,7 +97,7 @@ namespace svxform
void SAL_CALL dispose();
protected:
- ~FormScriptListener();
+ virtual ~FormScriptListener();
private:
/** determines whether calling a given method at a given listener interface can be done asynchronously
diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx
index d571e917ab07..2230c80c8ec0 100644
--- a/svx/source/form/fmtextcontrolshell.cxx
+++ b/svx/source/form/fmtextcontrolshell.cxx
@@ -176,7 +176,7 @@ namespace svx
void dispose();
protected:
- ~FmFocusListenerAdapter();
+ virtual ~FmFocusListenerAdapter();
protected:
virtual void SAL_CALL focusGained( const FocusEvent& e ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
@@ -265,7 +265,7 @@ namespace svx
void dispose();
protected:
- ~FmMouseListenerAdapter();
+ virtual ~FmMouseListenerAdapter();
protected:
virtual void SAL_CALL mousePressed( const awt::MouseEvent& e ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx
index 40881ae9db98..8269f60b96e8 100644
--- a/svx/source/gallery2/galbrws1.hxx
+++ b/svx/source/gallery2/galbrws1.hxx
@@ -37,7 +37,7 @@ private:
public:
GalleryButton( GalleryBrowser1* pParent, WinBits nWinBits );
- ~GalleryButton();
+ virtual ~GalleryButton();
};
// - GalleryThemeListBox -
@@ -54,7 +54,7 @@ protected:
public:
GalleryThemeListBox( GalleryBrowser1* pParent, WinBits nWinBits );
- ~GalleryThemeListBox();
+ virtual ~GalleryThemeListBox();
};
// - GalleryBrowser1 -
@@ -123,7 +123,7 @@ public:
Gallery* pGallery,
const ::boost::function<sal_Bool(const KeyEvent&,Window*)>& rKeyInputHandler,
const ::boost::function<void(void)>& rThemeSlectionHandler);
- ~GalleryBrowser1();
+ virtual ~GalleryBrowser1();
void SelectTheme( const OUString& rThemeName ) { mpThemes->SelectEntry( rThemeName ); SelectThemeHdl( NULL ); }
void SelectTheme( sal_uIntPtr nThemePos ) { mpThemes->SelectEntryPos( (sal_uInt16) nThemePos ); SelectThemeHdl( NULL ); }
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 2aeb7f5fdfd5..cb00371f3f4d 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -127,7 +127,7 @@ public:
sal_uIntPtr nObjectPos,
sal_Bool bPreview,
GalleryBrowser2* pBrowser );
- ~GalleryThemePopup();
+ virtual ~GalleryThemePopup();
void ExecutePopup( Window *pParent, const ::Point &aPos );
diff --git a/svx/source/inc/datalistener.hxx b/svx/source/inc/datalistener.hxx
index 75f54b7f8bb0..875a7d5bd1e1 100644
--- a/svx/source/inc/datalistener.hxx
+++ b/svx/source/inc/datalistener.hxx
@@ -45,7 +45,7 @@ namespace svxform
DataListener( DataNavigatorWindow* pNaviWin );
protected:
- ~DataListener();
+ virtual ~DataListener();
public:
// XContainerListener
diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx
index 7dc5bb12f64e..738593ad0cc3 100644
--- a/svx/source/inc/datanavi.hxx
+++ b/svx/source/inc/datanavi.hxx
@@ -123,7 +123,7 @@ namespace svxform
public:
DataTreeListBox( XFormsPage* pPage, DataGroupType _eGroup, const ResId& rResId );
- ~DataTreeListBox();
+ virtual ~DataTreeListBox();
virtual PopupMenu* CreateContextMenu( void ) SAL_OVERRIDE;
virtual void ExcecuteContextMenuAction( sal_uInt16 _nSelectedPopupEntry ) SAL_OVERRIDE;
@@ -271,7 +271,7 @@ namespace svxform
public:
XFormsPage( Window* pParent, DataNavigatorWindow* _pNaviWin, DataGroupType _eGroup );
- ~XFormsPage();
+ virtual ~XFormsPage();
virtual void Resize() SAL_OVERRIDE;
@@ -357,7 +357,7 @@ namespace svxform
public:
DataNavigatorWindow( Window* pParent, SfxBindings* pBindings );
- ~DataNavigatorWindow();
+ virtual ~DataNavigatorWindow();
void SetDocModified();
void NotifyChanges( bool _bLoadAll = false );
@@ -456,7 +456,7 @@ namespace svxform
public:
AddDataItemDialog(
Window* pParent, ItemNode* _pNode, const XFormsUIHelper1_ref& _rUIHelper );
- ~AddDataItemDialog();
+ virtual ~AddDataItemDialog();
void InitText( DataItemType _eType );
};
@@ -519,7 +519,7 @@ namespace svxform
public:
NamespaceItemDialog( AddConditionDialog* pParent, XNameContainer_ref& _rContainer );
- ~NamespaceItemDialog();
+ virtual ~NamespaceItemDialog();
};
@@ -579,7 +579,7 @@ namespace svxform
public:
AddSubmissionDialog( Window* pParent, ItemNode* _pNode,
const XFormsUIHelper1_ref& _rUIHelper );
- ~AddSubmissionDialog();
+ virtual ~AddSubmissionDialog();
inline const XSubmission_ref& GetNewSubmission() const { return m_xNewSubmission; }
};
diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx
index 7f51bb208c51..59f312a7b3e2 100644
--- a/svx/source/inc/docrecovery.hxx
+++ b/svx/source/inc/docrecovery.hxx
@@ -309,7 +309,7 @@ class PluginProgressWindow : public Window
PluginProgressWindow( Window* pParent ,
const css::uno::Reference< css::lang::XComponent >& xProgress);
- ~PluginProgressWindow();
+ virtual ~PluginProgressWindow();
};
class PluginProgress : public ::cppu::WeakImplHelper2< css::task::XStatusIndicator ,
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx
index e2db395d3de7..979807641754 100644
--- a/svx/source/inc/fmshimp.hxx
+++ b/svx/source/inc/fmshimp.hxx
@@ -262,7 +262,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
protected:
- ~FmXFormShell();
+ virtual ~FmXFormShell();
// 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/svx/source/inc/fmtextcontrolfeature.hxx b/svx/source/inc/fmtextcontrolfeature.hxx
index 125c04eff844..da9ea54fe47d 100644
--- a/svx/source/inc/fmtextcontrolfeature.hxx
+++ b/svx/source/inc/fmtextcontrolfeature.hxx
@@ -79,7 +79,7 @@ namespace svx
void dispose() SAL_THROW(());
protected:
- ~FmTextControlFeature();
+ virtual ~FmTextControlFeature();
protected:
// XStatusListener
diff --git a/svx/source/inc/fmundo.hxx b/svx/source/inc/fmundo.hxx
index b86d758c2de6..785d122050c0 100644
--- a/svx/source/inc/fmundo.hxx
+++ b/svx/source/inc/fmundo.hxx
@@ -96,7 +96,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer >& xCont,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xElem,
sal_Int32 nIdx = -1);
- ~FmUndoContainerAction();
+ virtual ~FmUndoContainerAction();
virtual void Undo() SAL_OVERRIDE;
virtual void Redo() SAL_OVERRIDE;
@@ -118,7 +118,7 @@ class FmUndoModelReplaceAction : public SdrUndoAction
public:
FmUndoModelReplaceAction(FmFormModel& rMod, SdrUnoObj* pObject, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel>& xReplaced);
- ~FmUndoModelReplaceAction();
+ virtual ~FmUndoModelReplaceAction();
virtual void Undo() SAL_OVERRIDE;
virtual void Redo() SAL_OVERRIDE { Undo(); }
@@ -148,7 +148,7 @@ class SVX_DLLPRIVATE FmXUndoEnvironment
public:
FmXUndoEnvironment(FmFormModel& _rModel);
- ~FmXUndoEnvironment();
+ virtual ~FmXUndoEnvironment();
// UNO Anbindung
// SMART_UNO_DECLARATION(FmXUndoEnvironment, ::cppu::OWeakObject);
diff --git a/svx/source/inc/fmvwimp.hxx b/svx/source/inc/fmvwimp.hxx
index 54800f4b4d5f..824ac2c2122c 100644
--- a/svx/source/inc/fmvwimp.hxx
+++ b/svx/source/inc/fmvwimp.hxx
@@ -95,7 +95,7 @@ class FormViewPageWindowAdapter : public FormViewPageWindowAdapter_Base
Window* m_pWindow;
protected:
- ~FormViewPageWindowAdapter();
+ virtual ~FormViewPageWindowAdapter();
public:
FormViewPageWindowAdapter( const css::uno::Reference<css::uno::XComponentContext>& _rContext,
@@ -185,7 +185,7 @@ class FmXFormView : public ::cppu::WeakImplHelper3<
protected:
FmXFormView( FmFormView* _pView );
- ~FmXFormView();
+ virtual ~FmXFormView();
void saveMarkList( sal_Bool _bSmartUnmark = sal_True );
void restoreMarkList( SdrMarkList& _rRestoredMarkList );
diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx
index a9439bc98a2d..a12b5b6f283e 100644
--- a/svx/source/inc/formcontroller.hxx
+++ b/svx/source/inc/formcontroller.hxx
@@ -215,7 +215,7 @@ namespace svxform
FormController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & _rxORB );
protected:
- ~FormController();
+ virtual ~FormController();
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/svx/source/inc/formcontrolling.hxx b/svx/source/inc/formcontrolling.hxx
index 2cceb48bf0b5..e1cedf04d14d 100644
--- a/svx/source/inc/formcontrolling.hxx
+++ b/svx/source/inc/formcontrolling.hxx
@@ -195,7 +195,7 @@ namespace svx
getFormOperations() const { return m_xFormOperations; }
protected:
/// dtor
- ~FormControllerHelper();
+ virtual ~FormControllerHelper();
// XFeatureInvalidation
virtual void SAL_CALL invalidateFeatures( const ::com::sun::star::uno::Sequence< ::sal_Int16 >& Features ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx
index 33fdb8159ca1..8b1e9569e9c3 100644
--- a/svx/source/inc/gridcell.hxx
+++ b/svx/source/inc/gridcell.hxx
@@ -397,7 +397,7 @@ class DbTextField : public DbLimitedLengthField
sal_Bool m_bIsSimpleEdit;
protected:
- ~DbTextField( );
+ virtual ~DbTextField( );
public:
TYPEINFO_OVERRIDE();
diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
index 48a9bc0053af..c7043bb48dcd 100644
--- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx
+++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
@@ -85,7 +85,7 @@ public:
const Rectangle& rBounds,
const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& xParent,
long nIndexInParent );
- ~SvxPixelCtlAccessibleChild();
+ virtual ~SvxPixelCtlAccessibleChild();
//XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -174,7 +174,7 @@ class SvxPixelCtlAccessible :
public:
SvxPixelCtlAccessible(SvxPixelCtl& rWindow);
- ~SvxPixelCtlAccessible();
+ virtual ~SvxPixelCtlAccessible();
void ensureIsAlive() const throw ( ::com::sun::star::lang::DisposedException );
diff --git a/svx/source/inc/tbxform.hxx b/svx/source/inc/tbxform.hxx
index 2d7c265df9f5..dad095000501 100644
--- a/svx/source/inc/tbxform.hxx
+++ b/svx/source/inc/tbxform.hxx
@@ -32,7 +32,7 @@ class SvxFmAbsRecWin : public NumericField
// for invalidating our content whe losing the focus
public:
SvxFmAbsRecWin( Window* _pParent, SfxToolBoxControl* _pController );
- ~SvxFmAbsRecWin();
+ virtual ~SvxFmAbsRecWin();
virtual void KeyInput( const KeyEvent& rKeyEvt ) SAL_OVERRIDE;
virtual void LoseFocus() SAL_OVERRIDE;
@@ -50,7 +50,7 @@ private:
public:
SvxFmConfigWin( sal_uInt16 nId, ResId aRIdWin, ResId aRIdTbx );
- ~SvxFmConfigWin();
+ virtual ~SvxFmConfigWin();
void Update();
virtual void PopupModeEnd() SAL_OVERRIDE;
@@ -70,7 +70,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxFmTbxCtlConfig( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxFmTbxCtlConfig() {}
+ virtual ~SvxFmTbxCtlConfig() {}
virtual void Select( sal_uInt16 nModifier ) SAL_OVERRIDE;
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
@@ -87,7 +87,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxFmTbxCtlAbsRec( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxFmTbxCtlAbsRec();
+ virtual ~SvxFmTbxCtlAbsRec();
virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE;
@@ -102,7 +102,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxFmTbxCtlRecText( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxFmTbxCtlRecText();
+ virtual ~SvxFmTbxCtlRecText();
virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE;
};
@@ -114,7 +114,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxFmTbxCtlRecFromText( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxFmTbxCtlRecFromText();
+ virtual ~SvxFmTbxCtlRecFromText();
virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE;
};
@@ -128,7 +128,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SvxFmTbxCtlRecTotal( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- ~SvxFmTbxCtlRecTotal();
+ virtual ~SvxFmTbxCtlRecTotal();
virtual Window* CreateItemWindow( Window* pParent ) SAL_OVERRIDE;
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
diff --git a/svx/source/inc/unogalthemeprovider.hxx b/svx/source/inc/unogalthemeprovider.hxx
index 8e355071e797..dd93024db7c4 100644
--- a/svx/source/inc/unogalthemeprovider.hxx
+++ b/svx/source/inc/unogalthemeprovider.hxx
@@ -36,7 +36,7 @@ class GalleryThemeProvider : public ::cppu::WeakImplHelper3< ::com::sun::star::l
public:
GalleryThemeProvider();
- ~GalleryThemeProvider();
+ virtual ~GalleryThemeProvider();
protected:
diff --git a/svx/source/inc/xmlxtexp.hxx b/svx/source/inc/xmlxtexp.hxx
index 399ee1702ddd..7a99cb2fb2ac 100644
--- a/svx/source/inc/xmlxtexp.hxx
+++ b/svx/source/inc/xmlxtexp.hxx
@@ -42,7 +42,7 @@ public:
const com::sun::star::uno::Reference< com::sun::star::container::XNameContainer > & xTable,
com::sun::star::uno::Reference< com::sun::star::document::XGraphicObjectResolver >& xGrfResolver);
- ~SvxXMLXTableExportComponent();
+ virtual ~SvxXMLXTableExportComponent();
static bool save( const OUString& rURL,
const com::sun::star::uno::Reference<
diff --git a/svx/source/sdr/contact/sdrmediawindow.hxx b/svx/source/sdr/contact/sdrmediawindow.hxx
index e388b051c63f..3723915a8706 100644
--- a/svx/source/sdr/contact/sdrmediawindow.hxx
+++ b/svx/source/sdr/contact/sdrmediawindow.hxx
@@ -34,7 +34,7 @@ class SdrMediaWindow : public ::avmedia::MediaWindow
public:
SdrMediaWindow( Window* pParent, ViewObjectContactOfSdrMediaObj& rViewObjContact );
- ~SdrMediaWindow();
+ virtual ~SdrMediaWindow();
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
index be5dedd5bd6e..7f45e6c2309a 100644
--- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
@@ -680,7 +680,7 @@ namespace sdr { namespace contact {
}
protected:
- ~ViewObjectContactOfUnoControl_Impl();
+ virtual ~ViewObjectContactOfUnoControl_Impl();
// XEventListener
virtual void SAL_CALL disposing( const EventObject& Source ) throw(RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx b/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx
index a4c8f178abc2..4c13f6475da2 100644
--- a/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx
+++ b/svx/source/sidebar/area/AreaTransparencyGradientPopup.hxx
@@ -35,7 +35,7 @@ public :
AreaTransparencyGradientPopup (
Window* pParent,
const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator);
- ~AreaTransparencyGradientPopup (void);
+ virtual ~AreaTransparencyGradientPopup (void);
void Rearrange (XFillFloatTransparenceItem* pItem);
};
diff --git a/svx/source/sidebar/paragraph/ParaBulletsControl.hxx b/svx/source/sidebar/paragraph/ParaBulletsControl.hxx
index 4e7b42848daf..19dedfba0b84 100644
--- a/svx/source/sidebar/paragraph/ParaBulletsControl.hxx
+++ b/svx/source/sidebar/paragraph/ParaBulletsControl.hxx
@@ -46,7 +46,7 @@ private:
public:
ParaBulletsControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel);
- ~ParaBulletsControl();
+ virtual ~ParaBulletsControl();
void UpdateValueSet();
};
diff --git a/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx b/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx
index 7af0182b262c..b0cb01c63678 100644
--- a/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx
+++ b/svx/source/sidebar/paragraph/ParaBulletsPopup.hxx
@@ -34,7 +34,7 @@ public :
ParaBulletsPopup (
Window* pParent,
const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator);
- ~ParaBulletsPopup (void);
+ virtual ~ParaBulletsPopup (void);
void UpdateValueSet ();
//private:
diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
index 8954a41ae2e9..b9966b7dd665 100644
--- a/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx
@@ -39,7 +39,7 @@ class ParaLineSpacingControl:public svx::sidebar::PopupControl
{
public:
ParaLineSpacingControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel);
- ~ParaLineSpacingControl();
+ virtual ~ParaLineSpacingControl();
void Rearrange(SfxItemState currSPState,FieldUnit currMetricUnit,SvxLineSpacingItem* currSPItem,const ::sfx2::sidebar::EnumContext currentContext);
//virtual void Paint(const Rectangle& rect);
diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx
index 029a618f5b14..09ad9f271af0 100644
--- a/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingPopup.hxx
@@ -35,7 +35,7 @@ public :
ParaLineSpacingPopup (
Window* pParent,
const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator);
- ~ParaLineSpacingPopup (void);
+ virtual ~ParaLineSpacingPopup (void);
void Rearrange (SfxItemState currSPState,FieldUnit currMetricUnit,SvxLineSpacingItem* currSPItem ,const ::sfx2::sidebar::EnumContext currentContext);
private:
diff --git a/svx/source/sidebar/paragraph/ParaNumberingControl.hxx b/svx/source/sidebar/paragraph/ParaNumberingControl.hxx
index 136e91efdc79..42d8e9172974 100644
--- a/svx/source/sidebar/paragraph/ParaNumberingControl.hxx
+++ b/svx/source/sidebar/paragraph/ParaNumberingControl.hxx
@@ -49,7 +49,7 @@ private:
public:
ParaNumberingControl( Window* pParent,
svx::sidebar::ParaPropertyPanel& rPanel);
- ~ParaNumberingControl();
+ virtual ~ParaNumberingControl();
void UpdateValueSet();
};
diff --git a/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx b/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx
index d56398b208ec..c3b24107ea0b 100644
--- a/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx
+++ b/svx/source/sidebar/paragraph/ParaNumberingPopup.hxx
@@ -34,7 +34,7 @@ public :
ParaNumberingPopup (
Window* pParent,
const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator);
- ~ParaNumberingPopup (void);
+ virtual ~ParaNumberingPopup (void);
void UpdateValueSet ();
//private:
diff --git a/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx b/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx
index 44861508dee5..fb27fdbd0170 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingPopup.hxx
@@ -31,7 +31,7 @@ public :
TextCharacterSpacingPopup (
Window* pParent,
const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator);
- ~TextCharacterSpacingPopup (void);
+ virtual ~TextCharacterSpacingPopup (void);
void Rearrange (bool bLBAvailable,bool bAvailable, long nKerning);
private:
diff --git a/svx/source/sidebar/text/TextUnderlinePopup.hxx b/svx/source/sidebar/text/TextUnderlinePopup.hxx
index 626abf1be685..71cdf4637500 100644
--- a/svx/source/sidebar/text/TextUnderlinePopup.hxx
+++ b/svx/source/sidebar/text/TextUnderlinePopup.hxx
@@ -31,7 +31,7 @@ public :
TextUnderlinePopup (
Window* pParent,
const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator);
- ~TextUnderlinePopup (void);
+ virtual ~TextUnderlinePopup (void);
void Rearrange (FontUnderline eLine);
};
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 328b6f85c3a4..c1cbe6406c6d 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -682,7 +682,7 @@ class SdrUndoObjList::ObjListListener : public SfxListener
{
public:
ObjListListener(SdrUndoObjList& rThat, SdrObject& rObject, SfxBroadcaster& rBroadcaster);
- ~ObjListListener();
+ virtual ~ObjListListener();
private:
virtual void Notify(SfxBroadcaster& rBroadcaster, const SfxHint& rHint) SAL_OVERRIDE;
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index 44d598ff1b16..82bbc0311d0f 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -159,7 +159,7 @@ namespace sdr
CellProperties(const CellProperties& rProps, SdrObject& rObj, sdr::table::Cell* pCell);
// destructor
- ~CellProperties();
+ virtual ~CellProperties();
// Clone() operator, normally just calls the local copy constructor
BaseProperties& Clone(SdrObject& rObj) const SAL_OVERRIDE;
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index c768c6d57ed6..24d8247c76a0 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -94,7 +94,7 @@ public:
TableProperties(const TableProperties& rProps, SdrObject& rObj );
// destructor
- ~TableProperties();
+ virtual ~TableProperties();
// Clone() operator, normally just calls the local copy constructor
BaseProperties& Clone(SdrObject& rObj) const SAL_OVERRIDE;
diff --git a/svx/source/tbxctrls/colorwindow.hxx b/svx/source/tbxctrls/colorwindow.hxx
index d41e81a720a2..e099f1a6751b 100644
--- a/svx/source/tbxctrls/colorwindow.hxx
+++ b/svx/source/tbxctrls/colorwindow.hxx
@@ -57,7 +57,7 @@ public:
const OUString& rWndTitle,
Window* pParentWindow,
const Color rLastColor = COL_AUTO);
- ~SvxColorWindow_Impl();
+ virtual ~SvxColorWindow_Impl();
void StartSelection();
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index 565c4c0ea8f1..064e7818e067 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -100,7 +100,7 @@ protected:
public:
ImplGrafMetricField( Window* pParent, const OUString& aCmd, const Reference< XFrame >& rFrame );
- ~ImplGrafMetricField();
+ virtual ~ImplGrafMetricField();
void Update( const SfxPoolItem* pItem );
const OUString& GetCommand() const { return maCommand; }
@@ -254,7 +254,7 @@ protected:
public:
ImplGrafControl( Window* pParent, const OUString& rCmd, const Reference< XFrame >& rFrame );
- ~ImplGrafControl();
+ virtual ~ImplGrafControl();
void Update( const SfxPoolItem* pItem ) { maField.Update( pItem ); }
void SetText( const OUString& rStr ) SAL_OVERRIDE { maField.SetText( rStr ); }
@@ -324,7 +324,7 @@ private:
public:
ImplGrafModeControl( Window* pParent, const Reference< XFrame >& rFrame );
- ~ImplGrafModeControl();
+ virtual ~ImplGrafModeControl();
void Update( const SfxPoolItem* pItem );
};
diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx
index f278d2f4c479..d9eef1f18c4c 100644
--- a/svx/source/tbxctrls/layctrl.cxx
+++ b/svx/source/tbxctrls/layctrl.cxx
@@ -80,7 +80,7 @@ public:
const OUString& rText,
ToolBox& rParentTbx,
const Reference< XFrame >& rFrame );
- ~TableWindow();
+ virtual ~TableWindow();
void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index dd43b751475c..db3299921725 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -132,7 +132,7 @@ class SvxStyleBox_Impl : public ComboBox
public:
SvxStyleBox_Impl( Window* pParent, const OUString& rCommand, SfxStyleFamily eFamily, const Reference< XDispatchProvider >& rDispatchProvider,
const Reference< XFrame >& _xFrame,const OUString& rClearFormatKey, const OUString& rMoreKey, bool bInSpecialMode );
- ~SvxStyleBox_Impl();
+ virtual ~SvxStyleBox_Impl();
void SetFamily( SfxStyleFamily eNewFamily );
inline bool IsVisible() { return bVisible; }
@@ -272,7 +272,7 @@ protected:
public:
SvxFrameWindow_Impl( sal_uInt16 nId, const Reference< XFrame >& rFrame, Window* pParentWindow );
- ~SvxFrameWindow_Impl();
+ virtual ~SvxFrameWindow_Impl();
void StartSelection();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index a52820a20ef4..3b3a9b0eeb52 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -50,7 +50,7 @@ class FontHeightToolBoxControl : public svt::ToolboxController,
public:
FontHeightToolBoxControl(
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rServiceManager );
- ~FontHeightToolBoxControl();
+ virtual ~FontHeightToolBoxControl();
// 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/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index c6badb9036ba..a45539b049f3 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -123,7 +123,7 @@ private:
public:
SvxTextEditSourceImpl( SdrObject* pObject, SdrText* pText, XInterface* pOwner );
SvxTextEditSourceImpl( SdrObject& rObject, SdrText* pText, SdrView& rView, const Window& rWindow );
- ~SvxTextEditSourceImpl();
+ virtual ~SvxTextEditSourceImpl();
void SAL_CALL acquire();
void SAL_CALL release();
diff --git a/svx/source/unogallery/unogalitem.hxx b/svx/source/unogallery/unogalitem.hxx
index e854e4c18a80..2a86ed350ff5 100644
--- a/svx/source/unogallery/unogalitem.hxx
+++ b/svx/source/unogallery/unogalitem.hxx
@@ -48,7 +48,7 @@ class GalleryItem : public ::cppu::OWeakAggObject,
public:
GalleryItem( ::unogallery::GalleryTheme& rTheme, const GalleryObject& rObject );
- ~GalleryItem() throw();
+ virtual ~GalleryItem() throw();
bool isValid() const;
diff --git a/svx/source/unogallery/unogaltheme.hxx b/svx/source/unogallery/unogaltheme.hxx
index b3fd7e7bdb4c..c824f1c74be8 100644
--- a/svx/source/unogallery/unogaltheme.hxx
+++ b/svx/source/unogallery/unogaltheme.hxx
@@ -48,7 +48,7 @@ class GalleryTheme : public ::cppu::WeakImplHelper2<
public:
GalleryTheme( const OUString& rThemeName );
- ~GalleryTheme();
+ virtual ~GalleryTheme();
static OUString getImplementationName_Static() throw();
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw();