summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-18 12:38:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-19 09:17:06 +0200
commitfd00bd0f69676659bb43bcc85d8ad5fd21e5de4c (patch)
treef9d62fef7f508f430efd72c85b0d0cf6a67da3be /dbaccess/source/ui
parent8a01fc2f505acc6ed9af5ba18049131225baad30 (diff)
loplugin:unusedfields
make it a little smarter in dealing with fields that are smart pointers Change-Id: I44072105170882dc29fb19558f1065cffc7e5f11 Reviewed-on: https://gerrit.libreoffice.org/37751 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/inc/WCPage.hxx3
-rw-r--r--dbaccess/source/ui/misc/WCPage.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/querydlg.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/querydlg.hxx1
4 files changed, 0 insertions, 10 deletions
diff --git a/dbaccess/source/ui/inc/WCPage.hxx b/dbaccess/source/ui/inc/WCPage.hxx
index dd1f0d40ca88..4aec33c666c7 100644
--- a/dbaccess/source/ui/inc/WCPage.hxx
+++ b/dbaccess/source/ui/inc/WCPage.hxx
@@ -45,9 +45,6 @@ namespace dbaui
VclPtr<Edit> m_pEdKeyName;
sal_Int16 m_nOldOperation;
- VclPtr<OWizColumnSelect> m_pPage2;
- VclPtr<OWizNormalExtend> m_pPage3;
-
bool m_bPKeyAllowed;
bool m_bUseHeaderAllowed;
diff --git a/dbaccess/source/ui/misc/WCPage.cxx b/dbaccess/source/ui/misc/WCPage.cxx
index 2eda6314431f..14918971caaf 100644
--- a/dbaccess/source/ui/misc/WCPage.cxx
+++ b/dbaccess/source/ui/misc/WCPage.cxx
@@ -54,8 +54,6 @@ namespace CopyTableOperation = css::sdb::application::CopyTableOperation;
OCopyTable::OCopyTable(vcl::Window * pParent)
: OWizardPage(pParent, "CopyTablePage", "dbaccess/ui/copytablepage.ui")
, m_nOldOperation(0)
- , m_pPage2(nullptr)
- , m_pPage3(nullptr)
, m_bPKeyAllowed(false)
, m_bUseHeaderAllowed(true)
{
@@ -116,8 +114,6 @@ void OCopyTable::dispose()
m_pCB_PrimaryColumn.clear();
m_pFT_KeyName.clear();
m_pEdKeyName.clear();
- m_pPage2.clear();
- m_pPage3.clear();
OWizardPage::dispose();
}
diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx
index ccf4d190a256..3906b93061f0 100644
--- a/dbaccess/source/ui/querydesign/querydlg.cxx
+++ b/dbaccess/source/ui/querydesign/querydlg.cxx
@@ -49,7 +49,6 @@ DlgQryJoin::DlgQryJoin( OQueryTableView * pParent,
: ModalDialog( pParent, "JoinDialog", "dbaccess/ui/joindialog.ui" )
, m_pTableControl( nullptr )
, m_pTableMap(_pTableMap)
- , m_pTableView(pParent)
, eJoinType(static_cast<OQueryTableConnectionData*>(_pData.get())->GetJoinType())
, m_pOrigConnData(_pData)
, m_xConnection(_xConnection)
@@ -150,7 +149,6 @@ void DlgQryJoin::dispose()
m_pPB_OK.clear();
m_pLB_JoinType.clear();
m_pCBNatural.clear();
- m_pTableView.clear();
ModalDialog::dispose();
}
diff --git a/dbaccess/source/ui/querydesign/querydlg.hxx b/dbaccess/source/ui/querydesign/querydlg.hxx
index 7b5ddf85f96e..9fa4f2beffda 100644
--- a/dbaccess/source/ui/querydesign/querydlg.hxx
+++ b/dbaccess/source/ui/querydesign/querydlg.hxx
@@ -46,7 +46,6 @@ namespace dbaui
OTableListBoxControl* m_pTableControl;
OJoinTableView::OTableWindowMap* m_pTableMap;
- VclPtr<OQueryTableView> m_pTableView;
EJoinType eJoinType;
TTableConnectionData::value_type m_pConnData; // contains left and right table