diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-16 16:51:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-17 08:40:55 +0200 |
commit | ac13f4db592f91783e644535968a8d3202c94640 (patch) | |
tree | f5f32b3e5d28a69a7778b3d0278f44e579f79b7a /dbaccess/source/ui/dlg | |
parent | 82afd77a00c036f106a3aa5fb3402c92e10e2aa4 (diff) |
loplugin:unusedfields in dbaccess..drawinglayer
Change-Id: I069badbce9b899d176fd3db91243139579dec6b1
Reviewed-on: https://gerrit.libreoffice.org/54456
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/dlg')
-rw-r--r-- | dbaccess/source/ui/dlg/RelationDlg.cxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/queryorder.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx index 8229d53ea92e..a724f3e16482 100644 --- a/dbaccess/source/ui/dlg/RelationDlg.cxx +++ b/dbaccess/source/ui/dlg/RelationDlg.cxx @@ -50,7 +50,6 @@ ORelationDialog::ORelationDialog( OJoinTableView* pParent, bool bAllowTableSelect ) : ModalDialog(pParent, "RelationDialog", "dbaccess/ui/relationdialog.ui") - , m_pTableMap(&pParent->GetTabWinMap()) , m_pOrigConnData(pConnectionData) , m_bTriedOneUpdate(false) { @@ -71,7 +70,7 @@ ORelationDialog::ORelationDialog( OJoinTableView* pParent, m_pConnData->CopyFrom( *pConnectionData ); Init(m_pConnData); - m_xTableControl.reset( new OTableListBoxControl(this, m_pTableMap, this) ); + m_xTableControl.reset( new OTableListBoxControl(this, &pParent->GetTabWinMap(), this) ); m_pPB_OK->SetClickHdl( LINK(this, ORelationDialog, OKClickHdl) ); diff --git a/dbaccess/source/ui/dlg/queryorder.cxx b/dbaccess/source/ui/dlg/queryorder.cxx index 75068c040397..cb8af47b7f9b 100644 --- a/dbaccess/source/ui/dlg/queryorder.cxx +++ b/dbaccess/source/ui/dlg/queryorder.cxx @@ -49,7 +49,6 @@ DlgOrderCrit::DlgOrderCrit(vcl::Window * pParent, const Reference< XSingleSelectQueryComposer >& _rxComposer, const Reference< XNameAccess>& _rxCols) : ModalDialog(pParent, "SortDialog", "dbaccess/ui/sortdialog.ui") - , aSTR_NOENTRY(DBA_RES(STR_VALUE_NONE)) , m_xQueryComposer(_rxComposer) , m_xColumns(_rxCols) , m_xConnection(_rxConnection) @@ -76,6 +75,7 @@ DlgOrderCrit::DlgOrderCrit(vcl::Window * pParent, m_aValueList[1] = m_pLB_ORDERVALUE2; m_aValueList[2] = m_pLB_ORDERVALUE3; + OUString aSTR_NOENTRY(DBA_RES(STR_VALUE_NONE)); for (VclPtr<ListBox> & j : m_aColumnList) { j->InsertEntry( aSTR_NOENTRY ); |