summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-19 10:52:20 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-19 11:23:57 +0000
commit778e9a65bf5af07c4caeff969a0324e43a78e66b (patch)
treea5204f0d3eaf2f512a627eeb9e74d42e7e80b54f /svx
parent541c4c4509863beb7babe361b31e27f7295e3069 (diff)
new loplugin: find write-only fields
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717 Reviewed-on: https://gerrit.libreoffice.org/22498 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/tabwin.cxx11
-rw-r--r--svx/source/inc/tabwin.hxx7
2 files changed, 0 insertions, 18 deletions
diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx
index db01e9ad1a1e..c9adc54a864c 100644
--- a/svx/source/form/tabwin.cxx
+++ b/svx/source/form/tabwin.cxx
@@ -167,20 +167,10 @@ void FmFieldWinListBox::StartDrag( sal_Int8 /*_nAction*/, const Point& /*_rPosPi
pTransferColumn->StartDrag( this, DND_ACTION_COPY );
}
-FmFieldWinData::FmFieldWinData()
-{
-}
-
-
-FmFieldWinData::~FmFieldWinData()
-{
-}
-
FmFieldWin::FmFieldWin(SfxBindings* _pBindings, SfxChildWindow* _pMgr, vcl::Window* _pParent)
:SfxFloatingWindow(_pBindings, _pMgr, _pParent, WinBits(WB_STDMODELESS|WB_SIZEABLE))
,SfxControllerItem(SID_FM_FIELDS_CONTROL, *_pBindings)
,::comphelper::OPropertyChangeListener(m_aMutex)
- ,pData(new FmFieldWinData)
,m_nObjectType(0)
,m_pChangeListener(nullptr)
{
@@ -208,7 +198,6 @@ void FmFieldWin::dispose()
// delete m_pChangeListener;
}
pListBox.disposeAndClear();
- delete pData;
::SfxControllerItem::dispose();
SfxFloatingWindow::dispose();
}
diff --git a/svx/source/inc/tabwin.hxx b/svx/source/inc/tabwin.hxx
index c3711d9ea45f..ab224a428b97 100644
--- a/svx/source/inc/tabwin.hxx
+++ b/svx/source/inc/tabwin.hxx
@@ -60,12 +60,6 @@ protected:
class FmFormShell;
-class FmFieldWinData
-{
-public:
- FmFieldWinData();
- ~FmFieldWinData();
-};
class FmFieldWin :public SfxFloatingWindow
@@ -74,7 +68,6 @@ class FmFieldWin :public SfxFloatingWindow
{
::osl::Mutex m_aMutex;
VclPtr<FmFieldWinListBox> pListBox;
- FmFieldWinData* pData;
::dbtools::SharedConnection
m_aConnection;
OUString m_aDatabaseName,