summaryrefslogtreecommitdiff
path: root/dbaccess
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 /dbaccess
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 'dbaccess')
-rw-r--r--dbaccess/source/core/api/BookmarkSet.hxx2
-rw-r--r--dbaccess/source/core/api/WrappedResultSet.hxx2
-rw-r--r--dbaccess/source/core/dataaccess/ModelImpl.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/databaseregistrations.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/documentevents.hxx2
-rw-r--r--dbaccess/source/core/inc/definitioncolumn.hxx4
-rw-r--r--dbaccess/source/core/inc/veto.hxx2
-rw-r--r--dbaccess/source/core/recovery/settingsimport.hxx8
-rw-r--r--dbaccess/source/core/recovery/storagetextstream.hxx2
-rw-r--r--dbaccess/source/core/recovery/storagexmlstream.hxx4
-rw-r--r--dbaccess/source/ext/macromigration/macromigrationpages.hxx2
-rw-r--r--dbaccess/source/ext/macromigration/macromigrationwizard.cxx2
-rw-r--r--dbaccess/source/filter/xml/dbloader2.cxx2
-rw-r--r--dbaccess/source/sdbtools/connection/connectiontools.hxx2
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx2
-rw-r--r--dbaccess/source/ui/browser/dbloader.cxx2
-rw-r--r--dbaccess/source/ui/browser/dbtreeview.hxx2
-rw-r--r--dbaccess/source/ui/dlg/UserAdmin.hxx2
-rw-r--r--dbaccess/source/ui/dlg/admincontrols.hxx2
-rw-r--r--dbaccess/source/ui/dlg/adminpages.hxx2
-rw-r--r--dbaccess/source/ui/dlg/dsselect.hxx2
-rw-r--r--dbaccess/source/ui/dlg/generalpage.hxx2
-rw-r--r--dbaccess/source/ui/inc/JoinTableView.hxx2
-rw-r--r--dbaccess/source/ui/inc/QueryPropertiesDialog.hxx2
-rw-r--r--dbaccess/source/ui/inc/RelationController.hxx2
-rw-r--r--dbaccess/source/ui/inc/RtfReader.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableDesignView.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableFieldDescription.hxx2
-rw-r--r--dbaccess/source/ui/inc/charsetlistbox.hxx2
-rw-r--r--dbaccess/source/ui/inc/curledit.hxx2
-rw-r--r--dbaccess/source/ui/inc/dbtreelistbox.hxx2
-rw-r--r--dbaccess/source/ui/inc/defaultobjectnamecheck.hxx4
-rw-r--r--dbaccess/source/ui/inc/directsql.hxx2
-rw-r--r--dbaccess/source/ui/inc/dlgattr.hxx2
-rw-r--r--dbaccess/source/ui/inc/exsrcbrw.hxx2
-rw-r--r--dbaccess/source/ui/inc/formadapter.hxx2
-rw-r--r--dbaccess/source/ui/inc/indexfieldscontrol.hxx2
-rw-r--r--dbaccess/source/ui/inc/marktree.hxx2
-rw-r--r--dbaccess/source/ui/inc/paramdialog.hxx2
-rw-r--r--dbaccess/source/ui/inc/querycontainerwindow.hxx2
-rw-r--r--dbaccess/source/ui/inc/queryfilter.hxx2
-rw-r--r--dbaccess/source/ui/inc/queryorder.hxx2
-rw-r--r--dbaccess/source/ui/inc/sqlmessage.hxx2
-rw-r--r--dbaccess/source/ui/inc/textconnectionsettings.hxx2
-rw-r--r--dbaccess/source/ui/inc/unodatbr.hxx2
-rw-r--r--dbaccess/source/ui/misc/controllerframe.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx4
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx2
-rw-r--r--dbaccess/source/ui/querydesign/limitboxcontroller.hxx2
-rw-r--r--dbaccess/source/ui/uno/composerdialogs.hxx2
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx2
53 files changed, 62 insertions, 62 deletions
diff --git a/dbaccess/source/core/api/BookmarkSet.hxx b/dbaccess/source/core/api/BookmarkSet.hxx
index 2d4ed7d46bf0..62b514006ed6 100644
--- a/dbaccess/source/core/api/BookmarkSet.hxx
+++ b/dbaccess/source/core/api/BookmarkSet.hxx
@@ -34,7 +34,7 @@ namespace dbaccess
public:
OBookmarkSet(sal_Int32 i_nMaxRows) : OCacheSet(i_nMaxRows)
{}
- ~OBookmarkSet()
+ virtual ~OBookmarkSet()
{
m_xRowLocate = NULL;
}
diff --git a/dbaccess/source/core/api/WrappedResultSet.hxx b/dbaccess/source/core/api/WrappedResultSet.hxx
index 02416d058a24..cbae7c6e6829 100644
--- a/dbaccess/source/core/api/WrappedResultSet.hxx
+++ b/dbaccess/source/core/api/WrappedResultSet.hxx
@@ -37,7 +37,7 @@ namespace dbaccess
public:
WrappedResultSet(sal_Int32 i_nMaxRows) : OCacheSet(i_nMaxRows)
{}
- ~WrappedResultSet()
+ virtual ~WrappedResultSet()
{
m_xRowLocate = NULL;
}
diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx
index 21f8924ad603..2f5b6869a716 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.cxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx
@@ -128,7 +128,7 @@ public:
}
protected:
- ~DocumentStorageAccess()
+ virtual ~DocumentStorageAccess()
{
}
diff --git a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
index a291190f489d..f6a32dade57c 100644
--- a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
+++ b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
@@ -89,7 +89,7 @@ namespace dbaccess
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- ~DataAccessDescriptor();
+ virtual ~DataAccessDescriptor();
protected:
// XPropertySet
@@ -234,7 +234,7 @@ namespace dbaccess
protected:
DataAccessDescriptorFactory( const Reference< XComponentContext >& _rxContext );
- ~DataAccessDescriptorFactory();
+ virtual ~DataAccessDescriptorFactory();
private:
Reference<XComponentContext> m_xContext;
diff --git a/dbaccess/source/core/dataaccess/databaseregistrations.cxx b/dbaccess/source/core/dataaccess/databaseregistrations.cxx
index 1c0a382d0192..369da6df1397 100644
--- a/dbaccess/source/core/dataaccess/databaseregistrations.cxx
+++ b/dbaccess/source/core/dataaccess/databaseregistrations.cxx
@@ -78,7 +78,7 @@ namespace dbaccess
DatabaseRegistrations( const Reference<XComponentContext>& _rxContext );
protected:
- ~DatabaseRegistrations();
+ virtual ~DatabaseRegistrations();
public:
virtual ::sal_Bool SAL_CALL hasRegisteredDatabase( const OUString& _Name ) throw (IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index 2c950389b8fd..5f18204be4ac 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -120,7 +120,7 @@ public:
protected:
FlushNotificationAdapter( const Reference< XFlushable >& _rxBroadcaster, const Reference< XFlushListener >& _rxListener );
- ~FlushNotificationAdapter();
+ virtual ~FlushNotificationAdapter();
void SAL_CALL impl_dispose( bool _bRevokeListener );
@@ -302,7 +302,7 @@ class OSharedConnectionManager : public OConnectionHelper_BASE
Reference< XProxyFactory > m_xProxyFactory;
protected:
- ~OSharedConnectionManager();
+ virtual ~OSharedConnectionManager();
public:
OSharedConnectionManager(const Reference< XComponentContext >& _rxContext);
diff --git a/dbaccess/source/core/dataaccess/documentevents.hxx b/dbaccess/source/core/dataaccess/documentevents.hxx
index 3d3cdc929668..1835d2f83d23 100644
--- a/dbaccess/source/core/dataaccess/documentevents.hxx
+++ b/dbaccess/source/core/dataaccess/documentevents.hxx
@@ -46,7 +46,7 @@ namespace dbaccess
{
public:
DocumentEvents( ::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex, DocumentEventsData& _rEventsData );
- ~DocumentEvents();
+ virtual ~DocumentEvents();
static bool needsSynchronousNotification( const OUString& _rEventName );
diff --git a/dbaccess/source/core/inc/definitioncolumn.hxx b/dbaccess/source/core/inc/definitioncolumn.hxx
index 283cc991b75b..8552adef4264 100644
--- a/dbaccess/source/core/inc/definitioncolumn.hxx
+++ b/dbaccess/source/core/inc/definitioncolumn.hxx
@@ -145,7 +145,7 @@ namespace dbaccess
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xOriginalTableColumn;
protected:
- ~OQueryColumn();
+ virtual ~OQueryColumn();
public:
OQueryColumn(
@@ -274,7 +274,7 @@ namespace dbaccess
,public ::comphelper::OIdPropertyArrayUsageHelper < OTableColumnWrapper >
{
protected:
- ~OTableColumnWrapper();
+ virtual ~OTableColumnWrapper();
public:
OTableColumnWrapper( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rCol,
diff --git a/dbaccess/source/core/inc/veto.hxx b/dbaccess/source/core/inc/veto.hxx
index 760fe00b8152..cd22822b2b75 100644
--- a/dbaccess/source/core/inc/veto.hxx
+++ b/dbaccess/source/core/inc/veto.hxx
@@ -45,7 +45,7 @@ namespace dbaccess
virtual ::com::sun::star::uno::Any SAL_CALL getDetails() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- ~Veto();
+ virtual ~Veto();
private:
Veto(); // never implemented
diff --git a/dbaccess/source/core/recovery/settingsimport.hxx b/dbaccess/source/core/recovery/settingsimport.hxx
index 7d0aedb3669d..8ea1c2d078d5 100644
--- a/dbaccess/source/core/recovery/settingsimport.hxx
+++ b/dbaccess/source/core/recovery/settingsimport.hxx
@@ -89,7 +89,7 @@ namespace dbaccess
) SAL_OVERRIDE;
private:
- ~IgnoringSettingsImport()
+ virtual ~IgnoringSettingsImport()
{
}
};
@@ -106,7 +106,7 @@ namespace dbaccess
) SAL_OVERRIDE;
protected:
- ~OfficeSettingsImport();
+ virtual ~OfficeSettingsImport();
private:
// the settings collection to which |this| will contribute a single setting
@@ -120,7 +120,7 @@ namespace dbaccess
ConfigItemImport( ::comphelper::NamedValueCollection& o_rSettings );
protected:
- ~ConfigItemImport();
+ virtual ~ConfigItemImport();
public:
// SettingsImport overridables
@@ -146,7 +146,7 @@ namespace dbaccess
ConfigItemSetImport( ::comphelper::NamedValueCollection& o_rSettings );
protected:
- ~ConfigItemSetImport();
+ virtual ~ConfigItemSetImport();
public:
// SettingsImport overridables
diff --git a/dbaccess/source/core/recovery/storagetextstream.hxx b/dbaccess/source/core/recovery/storagetextstream.hxx
index a63c5e12e66b..ae12baf8ba38 100644
--- a/dbaccess/source/core/recovery/storagetextstream.hxx
+++ b/dbaccess/source/core/recovery/storagetextstream.hxx
@@ -37,7 +37,7 @@ namespace dbaccess
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& i_rParentStorage,
const OUString& i_rStreamName
);
- ~StorageTextOutputStream();
+ virtual ~StorageTextOutputStream();
void writeLine( const OUString& i_rLine );
void writeLine();
diff --git a/dbaccess/source/core/recovery/storagexmlstream.hxx b/dbaccess/source/core/recovery/storagexmlstream.hxx
index 7c0e50ef161b..bc130d647c3f 100644
--- a/dbaccess/source/core/recovery/storagexmlstream.hxx
+++ b/dbaccess/source/core/recovery/storagexmlstream.hxx
@@ -40,7 +40,7 @@ namespace dbaccess
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& i_rParentStorage,
const OUString& i_rStreamName
);
- ~StorageXMLOutputStream();
+ virtual ~StorageXMLOutputStream();
// StorageOutputStream overridables
virtual void close() SAL_OVERRIDE;
@@ -72,7 +72,7 @@ namespace dbaccess
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& i_rParentStorage,
const OUString& i_rStreamName
);
- ~StorageXMLInputStream();
+ virtual ~StorageXMLInputStream();
void import(
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler >& i_rHandler
diff --git a/dbaccess/source/ext/macromigration/macromigrationpages.hxx b/dbaccess/source/ext/macromigration/macromigrationpages.hxx
index b5710dd08f64..be05f5619a52 100644
--- a/dbaccess/source/ext/macromigration/macromigrationpages.hxx
+++ b/dbaccess/source/ext/macromigration/macromigrationpages.hxx
@@ -46,7 +46,7 @@ namespace dbmm
{
public:
MacroMigrationPage( MacroMigrationDialog& _rParentDialog, const ResId& _rRes );
- ~MacroMigrationPage();
+ virtual ~MacroMigrationPage();
protected:
const MacroMigrationDialog& getDialog() const;
diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
index c1e59c5c69e9..57397e8e566c 100644
--- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
@@ -84,7 +84,7 @@ namespace dbmm
static Sequence< OUString > SAL_CALL getSupportedServiceNames_static() throw(RuntimeException);
protected:
- ~MacroMigrationDialogService();
+ virtual ~MacroMigrationDialogService();
protected:
virtual Dialog* createDialog( Window* _pParent ) SAL_OVERRIDE;
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx
index abe4960b2514..c07d0fd24490 100644
--- a/dbaccess/source/filter/xml/dbloader2.cxx
+++ b/dbaccess/source/filter/xml/dbloader2.cxx
@@ -228,7 +228,7 @@ private:
DECL_LINK( OnStartTableWizard, void* );
public:
DBContentLoader(const Reference< XComponentContext >&);
- ~DBContentLoader();
+ virtual ~DBContentLoader();
// XServiceInfo
OUString SAL_CALL getImplementationName() throw(std::exception ) SAL_OVERRIDE;
diff --git a/dbaccess/source/sdbtools/connection/connectiontools.hxx b/dbaccess/source/sdbtools/connection/connectiontools.hxx
index dccda1be1ed8..aa20d1c8bdf7 100644
--- a/dbaccess/source/sdbtools/connection/connectiontools.hxx
+++ b/dbaccess/source/sdbtools/connection/connectiontools.hxx
@@ -77,7 +77,7 @@ namespace sdbtools
virtual void SAL_CALL initialize(const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (::com::sun::star::uno::RuntimeException, ::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE;
protected:
- ~ConnectionTools();
+ virtual ~ConnectionTools();
private:
ConnectionTools(); // never implemented
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index a7752d017e37..6873b3ef07de 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -237,7 +237,7 @@ public:
virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
protected:
- ~FormControllerImpl();
+ virtual ~FormControllerImpl();
};
SbaXDataBrowserController::FormControllerImpl::FormControllerImpl(SbaXDataBrowserController* _pOwner)
diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx
index 229257c34f2e..272c42f1d035 100644
--- a/dbaccess/source/ui/browser/dbloader.cxx
+++ b/dbaccess/source/ui/browser/dbloader.cxx
@@ -70,7 +70,7 @@ private:
Reference< XComponentContext > m_xContext;
public:
DBContentLoader(const Reference< XComponentContext >&);
- ~DBContentLoader();
+ virtual ~DBContentLoader();
// XServiceInfo
OUString SAL_CALL getImplementationName() throw(std::exception ) SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/browser/dbtreeview.hxx b/dbaccess/source/ui/browser/dbtreeview.hxx
index 1900b98de8e2..b084411f63e1 100644
--- a/dbaccess/source/ui/browser/dbtreeview.hxx
+++ b/dbaccess/source/ui/browser/dbtreeview.hxx
@@ -39,7 +39,7 @@ namespace dbaui
DBTreeView( Window* pParent,
WinBits nBits );
- ~DBTreeView();
+ virtual ~DBTreeView();
/** sets a handler which is called when an list box entry is to be expanded.
<p>When calling the link, the parameter is an SvTreeListEntry marking the entry to be expanded.
diff --git a/dbaccess/source/ui/dlg/UserAdmin.hxx b/dbaccess/source/ui/dlg/UserAdmin.hxx
index fea0f40249ac..9d7d508378a8 100644
--- a/dbaccess/source/ui/dlg/UserAdmin.hxx
+++ b/dbaccess/source/ui/dlg/UserAdmin.hxx
@@ -67,7 +67,7 @@ protected:
public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& _rAttrSet );
- ~OUserAdmin();
+ virtual ~OUserAdmin();
OUString GetUser();
// must be overloaded by subclasses, but it isn't pure virtual
diff --git a/dbaccess/source/ui/dlg/admincontrols.hxx b/dbaccess/source/ui/dlg/admincontrols.hxx
index 3e1cf8fc6302..c2621933aca9 100644
--- a/dbaccess/source/ui/dlg/admincontrols.hxx
+++ b/dbaccess/source/ui/dlg/admincontrols.hxx
@@ -53,7 +53,7 @@ namespace dbaui
public:
MySQLNativeSettings( Window& _rParent, const Link& _rControlModificationLink );
- ~MySQLNativeSettings();
+ virtual ~MySQLNativeSettings();
void fillControls( ::std::vector< ISaveValueWrapper* >& _rControlList );
void fillWindows( ::std::vector< ISaveValueWrapper* >& _rControlList );
diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx
index 181393681d3d..514321e873b5 100644
--- a/dbaccess/source/ui/dlg/adminpages.hxx
+++ b/dbaccess/source/ui/dlg/adminpages.hxx
@@ -105,7 +105,7 @@ namespace dbaui
public:
OGenericAdministrationPage(Window* _pParent, const ResId& _rId, const SfxItemSet& _rAttrSet);
OGenericAdministrationPage(Window* _pParent, const OString& _rId, const OUString& _rUIXMLDescription, const SfxItemSet& _rAttrSet);
- ~OGenericAdministrationPage();
+ virtual ~OGenericAdministrationPage();
/// set a handler which gets called every time something on the page has been modified
void SetModifiedHandler(const Link& _rHandler) { m_aModifiedHandler = _rHandler; }
diff --git a/dbaccess/source/ui/dlg/dsselect.hxx b/dbaccess/source/ui/dlg/dsselect.hxx
index 6448d31e24e2..d1e0deaddc67 100644
--- a/dbaccess/source/ui/dlg/dsselect.hxx
+++ b/dbaccess/source/ui/dlg/dsselect.hxx
@@ -53,7 +53,7 @@ protected:
public:
ODatasourceSelectDialog( Window* _pParent, const StringBag& _rDatasources, SfxItemSet* _pOutputSet = NULL );
- ~ODatasourceSelectDialog();
+ virtual ~ODatasourceSelectDialog();
OUString GetSelected() const { return m_pDatasource->GetSelectEntry();}
void Select( const OUString& _rEntry ) { m_pDatasource->SelectEntry(_rEntry); }
diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx
index c99602885717..22dea4cbf3a0 100644
--- a/dbaccess/source/ui/dlg/generalpage.hxx
+++ b/dbaccess/source/ui/dlg/generalpage.hxx
@@ -34,7 +34,7 @@ namespace dbaui
{
protected:
OGeneralPage( Window* pParent, const OUString& _rUIXMLDescription, const SfxItemSet& _rItems );
- ~OGeneralPage();
+ virtual ~OGeneralPage();
OUString m_eCurrentSelection; /// currently selected type
::dbaccess::DATASOURCE_TYPE
diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx
index bb0bacc278b6..369047bb702a 100644
--- a/dbaccess/source/ui/inc/JoinTableView.hxx
+++ b/dbaccess/source/ui/inc/JoinTableView.hxx
@@ -60,7 +60,7 @@ namespace dbaui
public:
OScrollWindowHelper( Window* pParent);
- ~OScrollWindowHelper();
+ virtual ~OScrollWindowHelper();
void setTableView(OJoinTableView* _pTableView);
diff --git a/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx b/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx
index 766947b1459e..d6e25af1c8a8 100644
--- a/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx
+++ b/dbaccess/source/ui/inc/QueryPropertiesDialog.hxx
@@ -29,7 +29,7 @@ public:
QueryPropertiesDialog(
Window* pParent, const sal_Bool bDistinct, const sal_Int64 nLimit );
- ~QueryPropertiesDialog();
+ virtual ~QueryPropertiesDialog();
sal_Bool getDistinct() const;
sal_Int64 getLimit() const;
diff --git a/dbaccess/source/ui/inc/RelationController.hxx b/dbaccess/source/ui/inc/RelationController.hxx
index a566044c783c..b30cd4fc706d 100644
--- a/dbaccess/source/ui/inc/RelationController.hxx
+++ b/dbaccess/source/ui/inc/RelationController.hxx
@@ -49,7 +49,7 @@ namespace dbaui
public:
ORelationController(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rM);
- ~ORelationController();
+ virtual ~ORelationController();
// temp
void SaveTabWinsPosSize( OJoinTableView::OTableWindowMap* pTabWinList, long nOffsetX, long nOffsetY );
diff --git a/dbaccess/source/ui/inc/RtfReader.hxx b/dbaccess/source/ui/inc/RtfReader.hxx
index a0790baa4940..ad7381c4d912 100644
--- a/dbaccess/source/ui/inc/RtfReader.hxx
+++ b/dbaccess/source/ui/inc/RtfReader.hxx
@@ -36,7 +36,7 @@ namespace dbaui
virtual TypeSelectionPageFactory
getTypeSelectionPageFactory() SAL_OVERRIDE;
- ~ORTFReader();
+ virtual ~ORTFReader();
public:
ORTFReader( SvStream& rIn,
diff --git a/dbaccess/source/ui/inc/TableDesignView.hxx b/dbaccess/source/ui/inc/TableDesignView.hxx
index 20bac108ef6b..e2320d72647b 100644
--- a/dbaccess/source/ui/inc/TableDesignView.hxx
+++ b/dbaccess/source/ui/inc/TableDesignView.hxx
@@ -43,7 +43,7 @@ namespace dbaui
virtual void DataChanged(const DataChangedEvent& rDCEvt) SAL_OVERRIDE;
public:
OTableBorderWindow(Window* pParent);
- ~OTableBorderWindow();
+ virtual ~OTableBorderWindow();
// window overloads
virtual void Resize() SAL_OVERRIDE;
virtual void GetFocus() SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/inc/TableFieldDescription.hxx b/dbaccess/source/ui/inc/TableFieldDescription.hxx
index 110d5c64accd..1a0703511ed4 100644
--- a/dbaccess/source/ui/inc/TableFieldDescription.hxx
+++ b/dbaccess/source/ui/inc/TableFieldDescription.hxx
@@ -67,7 +67,7 @@ namespace dbaui
OTableFieldDesc();
OTableFieldDesc(const OUString& rTable, const OUString& rField );
OTableFieldDesc(const OTableFieldDesc& rRS);
- ~OTableFieldDesc();
+ virtual ~OTableFieldDesc();
inline sal_Bool IsEmpty() const;
diff --git a/dbaccess/source/ui/inc/charsetlistbox.hxx b/dbaccess/source/ui/inc/charsetlistbox.hxx
index 1a22ee6c6162..1a72da8abe5e 100644
--- a/dbaccess/source/ui/inc/charsetlistbox.hxx
+++ b/dbaccess/source/ui/inc/charsetlistbox.hxx
@@ -34,7 +34,7 @@ namespace dbaui
{
public:
CharSetListBox( Window* _pParent, const ResId& _rResId );
- ~CharSetListBox();
+ virtual ~CharSetListBox();
void SelectEntryByIanaName( const OUString& _rIanaName );
bool StoreSelectedCharSet( SfxItemSet& _rSet, const sal_uInt16 _nItemId );
diff --git a/dbaccess/source/ui/inc/curledit.hxx b/dbaccess/source/ui/inc/curledit.hxx
index c3f2923f899f..e7a4dfa71f4f 100644
--- a/dbaccess/source/ui/inc/curledit.hxx
+++ b/dbaccess/source/ui/inc/curledit.hxx
@@ -42,7 +42,7 @@ class OConnectionURLEdit : public Edit
public:
OConnectionURLEdit(Window* pParent, const ResId& rResId,sal_Bool _bShowPrefix = sal_False);
- ~OConnectionURLEdit();
+ virtual ~OConnectionURLEdit();
public:
// Edit overridables
diff --git a/dbaccess/source/ui/inc/dbtreelistbox.hxx b/dbaccess/source/ui/inc/dbtreelistbox.hxx
index 52b91ba46313..141b66f25109 100644
--- a/dbaccess/source/ui/inc/dbtreelistbox.hxx
+++ b/dbaccess/source/ui/inc/dbtreelistbox.hxx
@@ -86,7 +86,7 @@ namespace dbaui
DBTreeListBox( Window* pParent
,const ResId& rResId
,sal_Bool _bHandleEnterKey = sal_False);
- ~DBTreeListBox();
+ virtual ~DBTreeListBox();
void setControlActionListener( IControlActionListener* _pListener ) { m_pActionListener = _pListener; }
void setContextMenuProvider( IContextMenuProvider* _pContextMenuProvider ) { m_pContextMenuProvider = _pContextMenuProvider; }
diff --git a/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx b/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx
index cd52a33d92fd..2500bbc875ce 100644
--- a/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx
+++ b/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx
@@ -58,7 +58,7 @@ namespace dbaui
const OUString& _rRelativeRoot
);
- ~HierarchicalNameCheck();
+ virtual ~HierarchicalNameCheck();
// IObjectNameCheck overridables
virtual bool isNameValid(
@@ -108,7 +108,7 @@ namespace dbaui
sal_Int32 _nCommandType
);
- ~DynamicTableOrQueryNameCheck();
+ virtual ~DynamicTableOrQueryNameCheck();
// IObjectNameCheck overridables
virtual bool isNameValid(
diff --git a/dbaccess/source/ui/inc/directsql.hxx b/dbaccess/source/ui/inc/directsql.hxx
index 2e95bb29a35f..65d47e54f8ba 100644
--- a/dbaccess/source/ui/inc/directsql.hxx
+++ b/dbaccess/source/ui/inc/directsql.hxx
@@ -69,7 +69,7 @@ namespace dbaui
DirectSQLDialog(
Window* _pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConn);
- ~DirectSQLDialog();
+ virtual ~DirectSQLDialog();
/// number of history entries
sal_Int32 getHistorySize() const;
diff --git a/dbaccess/source/ui/inc/dlgattr.hxx b/dbaccess/source/ui/inc/dlgattr.hxx
index 28240cf4ef81..f6956361fbdc 100644
--- a/dbaccess/source/ui/inc/dlgattr.hxx
+++ b/dbaccess/source/ui/inc/dlgattr.hxx
@@ -34,7 +34,7 @@ namespace dbaui
public:
SbaSbAttrDlg(Window * pParent, const SfxItemSet*, SvNumberFormatter*, bool bHasFormat, bool bRow = false);
- ~SbaSbAttrDlg();
+ virtual ~SbaSbAttrDlg();
virtual void PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage ) SAL_OVERRIDE;
};
diff --git a/dbaccess/source/ui/inc/exsrcbrw.hxx b/dbaccess/source/ui/inc/exsrcbrw.hxx
index 709d811cc392..acccc3b849fe 100644
--- a/dbaccess/source/ui/inc/exsrcbrw.hxx
+++ b/dbaccess/source/ui/inc/exsrcbrw.hxx
@@ -83,7 +83,7 @@ namespace dbaui
virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- ~SbaExternalSourceBrowser();
+ virtual ~SbaExternalSourceBrowser();
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet > CreateForm() SAL_OVERRIDE;
virtual sal_Bool InitializeForm( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& i_formProperties ) SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/inc/formadapter.hxx b/dbaccess/source/ui/inc/formadapter.hxx
index 913283191ea5..5d3c1474a3fd 100644
--- a/dbaccess/source/ui/inc/formadapter.hxx
+++ b/dbaccess/source/ui/inc/formadapter.hxx
@@ -152,7 +152,7 @@ namespace dbaui
public:
SbaXFormAdapter();
- ~SbaXFormAdapter();
+ virtual ~SbaXFormAdapter();
// ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > getIdlClass();
// ::com::sun::star::uno::Sequence<::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses();
diff --git a/dbaccess/source/ui/inc/indexfieldscontrol.hxx b/dbaccess/source/ui/inc/indexfieldscontrol.hxx
index 1ab3e9222eb0..354322ae3ad0 100644
--- a/dbaccess/source/ui/inc/indexfieldscontrol.hxx
+++ b/dbaccess/source/ui/inc/indexfieldscontrol.hxx
@@ -51,7 +51,7 @@ namespace dbaui
public:
IndexFieldsControl( Window* _pParent, const ResId& _rId ,sal_Int32 _nMaxColumnsInIndex,sal_Bool _bAddIndexAppendix);
- ~IndexFieldsControl();
+ virtual ~IndexFieldsControl();
void Init(const ::com::sun::star::uno::Sequence< OUString >& _rAvailableFields);
diff --git a/dbaccess/source/ui/inc/marktree.hxx b/dbaccess/source/ui/inc/marktree.hxx
index 9a1de1a95076..77fb8114ca04 100644
--- a/dbaccess/source/ui/inc/marktree.hxx
+++ b/dbaccess/source/ui/inc/marktree.hxx
@@ -40,7 +40,7 @@ class OMarkableTreeListBox : public DBTreeListBox
public:
OMarkableTreeListBox( Window* pParent, WinBits nWinStyle=0 );
OMarkableTreeListBox( Window* pParent, const ResId& rResId );
- ~OMarkableTreeListBox();
+ virtual ~OMarkableTreeListBox();
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
virtual void CheckButtonHdl() SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/inc/paramdialog.hxx b/dbaccess/source/ui/inc/paramdialog.hxx
index afa0dda5bbed..218041cd0457 100644
--- a/dbaccess/source/ui/inc/paramdialog.hxx
+++ b/dbaccess/source/ui/inc/paramdialog.hxx
@@ -85,7 +85,7 @@ namespace dbaui
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & _rParamContainer,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > & _rxConnection,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext);
- ~OParameterDialog();
+ virtual ~OParameterDialog();
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >
getValues() const { return m_aFinalValues; }
diff --git a/dbaccess/source/ui/inc/querycontainerwindow.hxx b/dbaccess/source/ui/inc/querycontainerwindow.hxx
index 18d4468cf0d4..16d59529f2ff 100644
--- a/dbaccess/source/ui/inc/querycontainerwindow.hxx
+++ b/dbaccess/source/ui/inc/querycontainerwindow.hxx
@@ -49,7 +49,7 @@ namespace dbaui
DECL_LINK( SplitHdl, void* );
public:
OQueryContainerWindow(Window* pParent, OQueryController& _rController,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >&);
- ~OQueryContainerWindow();
+ virtual ~OQueryContainerWindow();
virtual void Construct() SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/inc/queryfilter.hxx b/dbaccess/source/ui/inc/queryfilter.hxx
index 2fbb8127217a..f50ce3611b10 100644
--- a/dbaccess/source/ui/inc/queryfilter.hxx
+++ b/dbaccess/source/ui/inc/queryfilter.hxx
@@ -112,7 +112,7 @@ namespace dbaui
const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSingleSelectQueryComposer>& _rxComposer,
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess>& _rxCols
);
- ~DlgFilterCrit();
+ virtual ~DlgFilterCrit();
void BuildWherePart();
diff --git a/dbaccess/source/ui/inc/queryorder.hxx b/dbaccess/source/ui/inc/queryorder.hxx
index 9dedf1c27d19..a4a535ada1d0 100644
--- a/dbaccess/source/ui/inc/queryorder.hxx
+++ b/dbaccess/source/ui/inc/queryorder.hxx
@@ -84,7 +84,7 @@ namespace dbaui
const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSingleSelectQueryComposer>& _rxComposer,
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess>& _rxCols);
- ~DlgOrderCrit();
+ virtual ~DlgOrderCrit();
void BuildOrderPart();
OUString GetOrderList( ) const;
diff --git a/dbaccess/source/ui/inc/sqlmessage.hxx b/dbaccess/source/ui/inc/sqlmessage.hxx
index 02e45f73a8d7..6a6387445e2b 100644
--- a/dbaccess/source/ui/inc/sqlmessage.hxx
+++ b/dbaccess/source/ui/inc/sqlmessage.hxx
@@ -89,7 +89,7 @@ public:
MessageType _eType = Info,
const ::dbtools::SQLExceptionInfo* _pAdditionalErrorInfo = NULL );
- ~OSQLMessageBox();
+ virtual ~OSQLMessageBox();
private:
void Construct( WinBits nStyle, MessageType eImage );
diff --git a/dbaccess/source/ui/inc/textconnectionsettings.hxx b/dbaccess/source/ui/inc/textconnectionsettings.hxx
index bc75286ed240..4ef97f431531 100644
--- a/dbaccess/source/ui/inc/textconnectionsettings.hxx
+++ b/dbaccess/source/ui/inc/textconnectionsettings.hxx
@@ -38,7 +38,7 @@ namespace dbaui
{
public:
TextConnectionSettingsDialog( Window* _pParent, SfxItemSet& _rItems );
- ~TextConnectionSettingsDialog();
+ virtual ~TextConnectionSettingsDialog();
/** initializes a set of PropertyStorage instaces, which are bound to
the text-connection relevant items in our item sets
diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx
index c4cec790b08a..c7220ea7cdf4 100644
--- a/dbaccess/source/ui/inc/unodatbr.hxx
+++ b/dbaccess/source/ui/inc/unodatbr.hxx
@@ -119,7 +119,7 @@ namespace dbaui
// attribute access
public:
SbaTableQueryBrowser(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rM);
- ~SbaTableQueryBrowser();
+ virtual ~SbaTableQueryBrowser();
enum EntryType
{
diff --git a/dbaccess/source/ui/misc/controllerframe.cxx b/dbaccess/source/ui/misc/controllerframe.cxx
index 9e772b2c8f5e..3bfd496321b1 100644
--- a/dbaccess/source/ui/misc/controllerframe.cxx
+++ b/dbaccess/source/ui/misc/controllerframe.cxx
@@ -76,7 +76,7 @@ namespace dbaui
void dispose();
protected:
- ~FrameWindowActivationListener();
+ virtual ~FrameWindowActivationListener();
// XTopWindowListener
virtual void SAL_CALL windowOpened( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx
index 8cb92ff70dbb..afe22ca862e9 100644
--- a/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx
+++ b/dbaccess/source/ui/querydesign/QueryTabWinShowUndoAct.hxx
@@ -30,7 +30,7 @@ namespace dbaui
{
public:
OQueryTabWinShowUndoAct(OQueryTableView* pOwner);
- ~OQueryTabWinShowUndoAct();
+ virtual ~OQueryTabWinShowUndoAct();
virtual void Undo() SAL_OVERRIDE;
virtual void Redo() SAL_OVERRIDE;
@@ -42,7 +42,7 @@ namespace dbaui
{
public:
OQueryTabWinDelUndoAct(OQueryTableView* pOwner);
- ~OQueryTabWinDelUndoAct();
+ virtual ~OQueryTabWinDelUndoAct();
virtual void Undo() SAL_OVERRIDE;
virtual void Redo() SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
index 1736655d087d..e42bed965e13 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
@@ -79,7 +79,7 @@ namespace dbaui
DECL_LINK(OnInvalidateTimer, void*);
public: OSelectionBrowseBox( Window* pParent );
- ~OSelectionBrowseBox();
+ virtual ~OSelectionBrowseBox();
void initialize();
OTableFieldDescRef InsertField( const OJoinExchangeData& jxdSource, sal_uInt16 _nColumnPosition = BROWSER_INVALIDID, sal_Bool bVis=sal_True, sal_Bool bActivate=sal_True );
diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.hxx b/dbaccess/source/ui/querydesign/limitboxcontroller.hxx
index 31283d87b849..1db59a8e6ebf 100644
--- a/dbaccess/source/ui/querydesign/limitboxcontroller.hxx
+++ b/dbaccess/source/ui/querydesign/limitboxcontroller.hxx
@@ -32,7 +32,7 @@ class LimitBoxController: public svt::ToolboxController,
public:
LimitBoxController(
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext );
- ~LimitBoxController();
+ virtual ~LimitBoxController();
/// 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/dbaccess/source/ui/uno/composerdialogs.hxx b/dbaccess/source/ui/uno/composerdialogs.hxx
index d364ceb28d24..9d3b8580107a 100644
--- a/dbaccess/source/ui/uno/composerdialogs.hxx
+++ b/dbaccess/source/ui/uno/composerdialogs.hxx
@@ -52,7 +52,7 @@ namespace dbaui
protected:
ComposerDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB);
- ~ComposerDialog();
+ virtual ~ComposerDialog();
public:
virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId()
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index 3c9753f8b815..4f690a532cb7 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -189,7 +189,7 @@ namespace dbaui
protected:
CopyTableWizard( const Reference< XComponentContext >& _rxORB );
- ~CopyTableWizard();
+ virtual ~CopyTableWizard();
// OGenericUnoDialog overridables
virtual Dialog* createDialog( Window* _pParent ) SAL_OVERRIDE;