summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-07 15:52:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-08 07:37:53 +0100
commit906f8e89370cc71215ade869d7bfc2d489343f64 (patch)
tree9c7ec037cf04eaebc462666df2e3e8215b582f0e /sfx2
parent7f48fa8152bd3320af7276d811b752c5a762dcce (diff)
loplugin:constantparam
Change-Id: I593ccc2fb43321caf3ff64d0c348b1bac742ad18 Reviewed-on: https://gerrit.libreoffice.org/63025 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index b5e2719c4830..04e6f394d06e 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -2000,12 +2000,11 @@ void SfxTabDialogController::AddTabPage(const OString &rName /* Page ID */,
void SfxTabDialogController::AddTabPage(const OString &rName, /* Page ID */
const OUString& rRiderText,
- CreateTabPage pCreateFunc /* Pointer to the Factory Method */,
- GetTabPageRanges pRangesFunc /* Pointer to the Method for querying Ranges onDemand */)
+ CreateTabPage pCreateFunc /* Pointer to the Factory Method */)
{
assert(!m_xTabCtrl->get_page(rName) && "Double Page-Ids in the Tabpage");
m_xTabCtrl->append_page(rName, rRiderText);
- AddTabPage(rName, pCreateFunc, pRangesFunc);
+ AddTabPage(rName, pCreateFunc, nullptr);
}
void SfxTabDialogController::AddTabPage(const OString &rName, const OUString& rRiderText,