summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-04 10:33:59 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-04 13:41:15 +0000
commitafd3ab436bf920ef80c642891e9e63133fca41a0 (patch)
tree69b5beddd7840c7acbd9f48b7f9ba36d3b21f105 /sfx2/source/dialog
parent8372d8532ba3aa3d1ec346a73d8fe9f406001f79 (diff)
loplugin:constantparam in sfx2
Change-Id: I9a5a9fd1f4f43e0b7ef13d14979cb231f6aa9d46 Reviewed-on: https://gerrit.libreoffice.org/23801 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 1780f84de9c2..0e0cab947aee 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -631,7 +631,6 @@ void SfxTabDialog::AddTabPage
const OUString& rRiderText,
CreateTabPage pCreateFunc,
GetTabPageRanges pRangesFunc,
- bool bItemsOnDemand,
sal_uInt16 nPos
)
{
@@ -639,7 +638,7 @@ void SfxTabDialog::AddTabPage
"Double Page-Ids in the Tabpage" );
m_pTabCtrl->InsertPage( nId, rRiderText, nPos );
pImpl->aData.push_back(
- new Data_Impl( nId, pCreateFunc, pRangesFunc, bItemsOnDemand ) );
+ new Data_Impl( nId, pCreateFunc, pRangesFunc, false/*bItemsOnDemand*/ ) );
}
void SfxTabDialog::RemoveTabPage( sal_uInt16 nId )