summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-07 14:19:22 +0200
committerNoel Grandin <noel@peralex.com>2016-03-07 14:55:55 +0200
commitb2fb84499e1f75735e8fd90bc2eece3fed9af5f6 (patch)
tree186f3a6947b4d5feffe1326f66021102fac88c83 /sw
parentc89f73a6033b28484f5e10054b542fa69a9fe475 (diff)
loplugin:write only fields
Change-Id: Ia0fb487c5590e096659b81f76c4dc543e184c59c
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/fldui/changedb.cxx2
-rw-r--r--sw/source/uibase/inc/changedb.hxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/ui/fldui/changedb.cxx b/sw/source/ui/fldui/changedb.cxx
index 85b3ad829cc5..a3cfe85f2d97 100644
--- a/sw/source/ui/fldui/changedb.cxx
+++ b/sw/source/ui/fldui/changedb.cxx
@@ -56,7 +56,6 @@ SwChangeDBDlg::SwChangeDBDlg(SwView& rVw)
"modules/swriter/ui/exchangedatabases.ui")
, aImageList(SW_RES(ILIST_DB_DLG))
, pSh(rVw.GetWrtShellPtr())
- , pMgr( new SwFieldMgr() )
{
get(m_pUsedDBTLB, "inuselb");
get(m_pAvailDBTLB, "availablelb");
@@ -169,7 +168,6 @@ SwChangeDBDlg::~SwChangeDBDlg()
void SwChangeDBDlg::dispose()
{
- delete pMgr;
m_pUsedDBTLB.clear();
m_pAvailDBTLB.clear();
m_pAddDBPB.clear();
diff --git a/sw/source/uibase/inc/changedb.hxx b/sw/source/uibase/inc/changedb.hxx
index aef9bc08ca1b..4c99a2d7c2af 100644
--- a/sw/source/uibase/inc/changedb.hxx
+++ b/sw/source/uibase/inc/changedb.hxx
@@ -44,7 +44,6 @@ class SwChangeDBDlg: public SvxStandardDialog
ImageList aImageList;
SwWrtShell *pSh;
- SwFieldMgr *pMgr;
DECL_LINK_TYPED(TreeSelectHdl, SvTreeListBox*, void);
DECL_LINK_TYPED(ButtonHdl, Button*, void);