summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/datafdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 11:22:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-15 08:33:29 +0200
commitb3dfb1e807eba91eed35a02d74fe8a917c41ee6f (patch)
tree821c7c364e8550fdba804a45c50524cc9ac83310 /sc/source/ui/miscdlgs/datafdlg.cxx
parent48fedbfb73fb3bb0abd9f5201d6d7ecc6e9ed6ef (diff)
loplugin:checkunusedparams in sc
Change-Id: Ib4572899caeb7bc2dceb2c188ceb306b8ffc9193 Reviewed-on: https://gerrit.libreoffice.org/40629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/miscdlgs/datafdlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/datafdlg.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx
index 60adc7355b6c..58c2798a72e0 100644
--- a/sc/source/ui/miscdlgs/datafdlg.cxx
+++ b/sc/source/ui/miscdlgs/datafdlg.cxx
@@ -181,7 +181,7 @@ ScDataFormDlg::ScDataFormDlg(vcl::Window* pParent, ScTabViewShell* pTabViewShell
}
}
- FillCtrls(nCurrentRow);
+ FillCtrls();
m_pSlider->SetPageSize( 10 );
m_pSlider->SetVisibleSize( 1 );
@@ -227,7 +227,7 @@ void ScDataFormDlg::dispose()
ModalDialog::dispose();
}
-void ScDataFormDlg::FillCtrls(SCROW /*nCurrentRow*/)
+void ScDataFormDlg::FillCtrls()
{
for (sal_uInt16 i = 0; i < aColLength; ++i)
{
@@ -289,10 +289,10 @@ IMPL_LINK_NOARG(ScDataFormDlg, Impl_NewHdl, Button*, void)
m_pSlider->SetRange( Range( 0, nEndRow - nStartRow + 1) );
}
SetButtonState();
- FillCtrls(nCurrentRow);
+ FillCtrls();
pDocSh->SetDocumentModified();
pDocSh->PostPaintGridAll();
- }
+ }
}
}
@@ -304,7 +304,7 @@ IMPL_LINK_NOARG(ScDataFormDlg, Impl_PrevHdl, Button*, void)
nCurrentRow--;
SetButtonState();
- FillCtrls(nCurrentRow);
+ FillCtrls();
}
}
@@ -316,7 +316,7 @@ IMPL_LINK_NOARG(ScDataFormDlg, Impl_NextHdl, Button*, void)
nCurrentRow++;
SetButtonState();
- FillCtrls(nCurrentRow);
+ FillCtrls();
}
}
@@ -324,7 +324,7 @@ IMPL_LINK_NOARG(ScDataFormDlg, Impl_RestoreHdl, Button*, void)
{
if (pDoc)
{
- FillCtrls(nCurrentRow);
+ FillCtrls();
}
}
@@ -341,7 +341,7 @@ IMPL_LINK_NOARG(ScDataFormDlg, Impl_DeleteHdl, Button*, void)
SetButtonState();
pDocSh->GetUndoManager()->Clear();
- FillCtrls(nCurrentRow);
+ FillCtrls();
pDocSh->SetDocumentModified();
pDocSh->PostPaintGridAll();
}
@@ -357,7 +357,7 @@ IMPL_LINK_NOARG(ScDataFormDlg, Impl_ScrollHdl, ScrollBar*, void)
long nOffset = m_pSlider->GetThumbPos();
nCurrentRow = nStartRow + nOffset + 1;
SetButtonState();
- FillCtrls(nCurrentRow);
+ FillCtrls();
}
void ScDataFormDlg::SetButtonState()