diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 11:31:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 15:38:40 +0200 |
commit | 48da675a67a2bfd2eadfd6d4c6dba0dee74b5326 (patch) | |
tree | bceb3b95007713c017d54520599ff2d2c7fe7a45 /sw/source/ui/envelp | |
parent | 9b68ce7b0f2326ec540717ec5c8207825403774e (diff) |
loplugin:unusedfields in sw part2
Change-Id: I7404fcac486f54fc0e310f401d8546c4aacfede2
Reviewed-on: https://gerrit.libreoffice.org/39040
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/envelp')
-rw-r--r-- | sw/source/ui/envelp/label1.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx index 31cf6911d9c8..eee6e2302ddb 100644 --- a/sw/source/ui/envelp/label1.cxx +++ b/sw/source/ui/envelp/label1.cxx @@ -99,16 +99,13 @@ SwLabDlg::SwLabDlg(vcl::Window* pParent, const SfxItemSet& rSet, , aTypeIds(50, 10) , m_pRecs(new SwLabRecs) , m_bLabel(bLabel) - , m_nFormatId(0) , m_nOptionsId(0) , m_nLabelId(0) , m_nCardsId(0) - , m_nBusinessId(0) - , m_nPrivateId(0) { WaitObject aWait( pParent ); - m_nFormatId = AddTabPage("format", SwLabFormatPage::Create, nullptr); + AddTabPage("format", SwLabFormatPage::Create, nullptr); m_nOptionsId = AddTabPage("options", SwLabPrtPage::Create, nullptr); m_nCardsId = AddTabPage("cards", SwVisitingCardPage::Create, nullptr); m_sBusinessCardDlg = GetPageText(m_nCardsId); @@ -126,8 +123,8 @@ SwLabDlg::SwLabDlg(vcl::Window* pParent, const SfxItemSet& rSet, RemoveTabPage("labels"); RemoveTabPage("cards"); m_nLabelId = AddTabPage("medium", SwLabPage::Create, nullptr); - m_nBusinessId = AddTabPage("business", SwBusinessDataPage::Create, nullptr ); - m_nPrivateId = AddTabPage("private", SwPrivateDataPage::Create, nullptr); + AddTabPage("business", SwBusinessDataPage::Create, nullptr ); + AddTabPage("private", SwPrivateDataPage::Create, nullptr); SetText(m_sBusinessCardDlg); } // Read user label from writer.cfg |