summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-25 13:51:15 +0200
committerNoel Grandin <noel@peralex.com>2015-11-25 13:57:29 +0200
commit1f86864e97bea96fdc608f8c8b93024ad4684d51 (patch)
treee5ec06a2148b26bbc0cdd420de8b82b654547ca3 /cui
parent3e6ba91e2d6d362f4af91566e740f5dbc310e026 (diff)
loplugin:unusedfields various
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgenrl.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index 7de37b318247..8703b989e766 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -160,17 +160,14 @@ const vFieldInfo[] =
struct SvxGeneralTabPage::Row
{
- // which row is it?
- RowType eRow;
// row label
VclPtr<FixedText> pLabel;
// first and last field in the row (last is exclusive)
unsigned nFirstField, nLastField;
public:
- Row (FixedText *pLabel_, RowType eRow_)
- : eRow(eRow_)
- , pLabel(pLabel_)
+ Row (FixedText *pLabel_)
+ : pLabel(pLabel_)
, nFirstField(0)
, nLastField(0)
{
@@ -260,7 +257,7 @@ void SvxGeneralTabPage::InitControls ()
continue;
// creating row
vRows.push_back(std::make_shared<Row>(
- get<FixedText>(vRowInfo[iRow].pTextId), eRow));
+ get<FixedText>(vRowInfo[iRow].pTextId)));
Row& rRow = *vRows.back();
// fields in the row
static unsigned const nFieldCount = SAL_N_ELEMENTS(vFieldInfo);