summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 11:21:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-30 12:55:56 +0200
commitf657ab7bbb36219f6270236ae0e6b8238b7dd9b5 (patch)
tree304a8c1f4ed88b2f836b49fd0706e09ad483b91b /dbaccess/source/ui
parent2340536cf478f95e33b718d3f69da5345fc4d2b4 (diff)
loplugin:virtualdown in various
Change-Id: I4db71fda953ea1d20712ae8033f6fc09b3b2855d Reviewed-on: https://gerrit.libreoffice.org/52068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx4
-rw-r--r--dbaccess/source/ui/inc/RTableConnectionData.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableConnectionData.hxx2
-rw-r--r--dbaccess/source/ui/inc/brwctrlr.hxx2
-rw-r--r--dbaccess/source/ui/inc/unodatbr.hxx2
-rw-r--r--dbaccess/source/ui/querydesign/QTableConnectionData.hxx2
-rw-r--r--dbaccess/source/ui/querydesign/TableConnectionData.cxx5
7 files changed, 3 insertions, 16 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index d6c6415ebec5..fc03605fc880 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -2607,10 +2607,6 @@ void SbaXDataBrowserController::addColumnListeners(const Reference< css::awt::XC
}
}
-void SbaXDataBrowserController::InitializeGridModel(const Reference< css::form::XFormComponent > & /*xGrid*/)
-{
-}
-
} // namespace dbaui
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/ui/inc/RTableConnectionData.hxx b/dbaccess/source/ui/inc/RTableConnectionData.hxx
index fe26d68bb2ba..41cad914eb74 100644
--- a/dbaccess/source/ui/inc/RTableConnectionData.hxx
+++ b/dbaccess/source/ui/inc/RTableConnectionData.hxx
@@ -46,7 +46,7 @@ namespace dbaui
bool IsSourcePrimKey() const { return checkPrimaryKey(getReferencingTable()->getTable(),JTCS_FROM); }
bool IsDestPrimKey() const { return checkPrimaryKey(getReferencedTable()->getTable(),JTCS_TO); }
- virtual OConnectionLineDataRef CreateLineDataObj() override;
+ virtual OConnectionLineDataRef CreateLineDataObj();
ORelationTableConnectionData& operator=( const ORelationTableConnectionData& rConnData );
public:
diff --git a/dbaccess/source/ui/inc/TableConnectionData.hxx b/dbaccess/source/ui/inc/TableConnectionData.hxx
index 52b2792f6fe4..1ad4fcea9056 100644
--- a/dbaccess/source/ui/inc/TableConnectionData.hxx
+++ b/dbaccess/source/ui/inc/TableConnectionData.hxx
@@ -45,8 +45,6 @@ namespace dbaui
void Init();
- virtual OConnectionLineDataRef CreateLineDataObj();
-
OTableConnectionData& operator=( const OTableConnectionData& rConnData );
public:
OTableConnectionData();
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx
index fa38eb03e802..e9a7c523c7a7 100644
--- a/dbaccess/source/ui/inc/brwctrlr.hxx
+++ b/dbaccess/source/ui/inc/brwctrlr.hxx
@@ -236,8 +236,6 @@ namespace dbaui
// do any initialization (data source etc.) here. the form should be fully functional after that.
// return sal_False if you didn't succeed (don't throw exceptions, they won't be caught)
- virtual void InitializeGridModel(const css::uno::Reference< css::form::XFormComponent > & xGrid);
-
css::uno::Reference< css::form::XFormComponent > CreateGridModel();
// our default implementation simply instantiates a stardiv.one.form.component.Grid service
// you most probably don't want to override this behavior
diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx
index 60f55d121218..ee438c21dfbe 100644
--- a/dbaccess/source/ui/inc/unodatbr.hxx
+++ b/dbaccess/source/ui/inc/unodatbr.hxx
@@ -205,7 +205,7 @@ namespace dbaui
private:
// SbaXDataBrowserController overridables
virtual bool InitializeForm( const css::uno::Reference< css::beans::XPropertySet >& i_formProperties ) override;
- virtual void InitializeGridModel(const css::uno::Reference< css::form::XFormComponent > & xGrid) override;
+ virtual void InitializeGridModel(const css::uno::Reference< css::form::XFormComponent > & xGrid);
virtual bool preReloadForm() override;
virtual void postReloadForm() override;
diff --git a/dbaccess/source/ui/querydesign/QTableConnectionData.hxx b/dbaccess/source/ui/querydesign/QTableConnectionData.hxx
index f28974dceea0..5a2a88472935 100644
--- a/dbaccess/source/ui/querydesign/QTableConnectionData.hxx
+++ b/dbaccess/source/ui/querydesign/QTableConnectionData.hxx
@@ -33,7 +33,7 @@ namespace dbaui
bool m_bNatural;
// for creation and duplication of lines of own type
- virtual OConnectionLineDataRef CreateLineDataObj() override;
+ virtual OConnectionLineDataRef CreateLineDataObj();
OQueryTableConnectionData& operator=( const OQueryTableConnectionData& rConnData );
public:
diff --git a/dbaccess/source/ui/querydesign/TableConnectionData.cxx b/dbaccess/source/ui/querydesign/TableConnectionData.cxx
index 93bf1b5506b8..ec5b98f4999c 100644
--- a/dbaccess/source/ui/querydesign/TableConnectionData.cxx
+++ b/dbaccess/source/ui/querydesign/TableConnectionData.cxx
@@ -120,11 +120,6 @@ void OTableConnectionData::ResetConnLines()
OConnectionLineDataVec().swap(m_vConnLineData);
}
-OConnectionLineDataRef OTableConnectionData::CreateLineDataObj()
-{
- return new OConnectionLineData();
-}
-
OTableConnectionData* OTableConnectionData::NewInstance() const
{
return new OTableConnectionData();