summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/gridctrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 16:10:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-05 08:50:46 +0200
commitac11e45bad895e9f7de0b38fe22b7f2acf8c8e4b (patch)
treed16f934544638622cc9f511ef64cc2dd2425b600 /svx/source/fmcomp/gridctrl.cxx
parentec38966951f28a1e1d4c97f01a550c87f152cbc8 (diff)
loplugin:checkunusedparams in svx(part4)
Change-Id: I032b49f4e1228ef275d7ff8d87ba969dcef687ab Reviewed-on: https://gerrit.libreoffice.org/37248 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/fmcomp/gridctrl.cxx')
-rw-r--r--svx/source/fmcomp/gridctrl.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index b71767efeffa..5837920e2a3d 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -166,11 +166,11 @@ GridFieldValueListener::~GridFieldValueListener()
dispose();
}
-void GridFieldValueListener::_propertyChanged(const PropertyChangeEvent& _evt)
+void GridFieldValueListener::_propertyChanged(const PropertyChangeEvent& /*_evt*/)
{
DBG_ASSERT(m_nSuspended>=0, "GridFieldValueListener::_propertyChanged : resume > suspend !");
if (m_nSuspended <= 0)
- m_rParent.FieldValueChanged(m_nId, _evt);
+ m_rParent.FieldValueChanged(m_nId);
}
void GridFieldValueListener::dispose()
@@ -200,7 +200,7 @@ public:
DisposeListenerGridBridge( DbGridControl& _rParent, const Reference< XComponent >& _rxObject);
virtual ~DisposeListenerGridBridge() override;
- virtual void disposing(const EventObject& _rEvent, sal_Int16 _nId) override { m_rParent.disposing(_nId, _rEvent); }
+ virtual void disposing(const EventObject& /*_rEvent*/, sal_Int16 _nId) override { m_rParent.disposing(_nId); }
};
DisposeListenerGridBridge::DisposeListenerGridBridge(DbGridControl& _rParent, const Reference< XComponent >& _rxObject)
@@ -3082,7 +3082,7 @@ void DbGridControl::resetCurrentRow()
RowModified(GetCurRow()); // will update the current controller if affected
}
-void DbGridControl::RowModified( long nRow, sal_uInt16 /*nColId*/ )
+void DbGridControl::RowModified( long nRow )
{
if (nRow == m_nCurrentPos && IsEditing())
{
@@ -3573,7 +3573,7 @@ void DbGridControl::DisconnectFromFields()
m_pFieldListeners = nullptr;
}
-void DbGridControl::FieldValueChanged(sal_uInt16 _nId, const PropertyChangeEvent& /*_evt*/)
+void DbGridControl::FieldValueChanged(sal_uInt16 _nId)
{
osl::MutexGuard aPreventDestruction(m_aDestructionSafety);
// needed as this may run in a thread other than the main one
@@ -3598,7 +3598,7 @@ void DbGridControl::FieldValueChanged(sal_uInt16 _nId, const PropertyChangeEvent
// and finally do the update ...
pColumn->UpdateFromField(m_xCurrentRow.get(), m_xFormatter);
- RowModified(GetCurRow(), _nId);
+ RowModified(GetCurRow());
}
}
@@ -3623,7 +3623,7 @@ void DbGridControl::FieldListenerDisposing(sal_uInt16 _nId)
pListeners->erase(aPos);
}
-void DbGridControl::disposing(sal_uInt16 _nId, const EventObject& /*_rEvt*/)
+void DbGridControl::disposing(sal_uInt16 _nId)
{
if (_nId == 0)
{ // the seek cursor is being disposed