diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-28 13:43:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-29 09:38:51 +0200 |
commit | 80343351c9444bba7a5ac98f22fddbbecf5abb9f (patch) | |
tree | 4341e3ba5903482c45971bac14c74c2caee10045 /sfx2 | |
parent | 37f9fdc11c4e95d6a34cb515a454503256a82c63 (diff) |
loplugin:constantparam (2)
Change-Id: I528f22876497f87159e3b9453362ebbfb55b7092
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 96cf828f4042..ea9cf40d5d9c 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1210,7 +1210,7 @@ void SfxDocumentInfoDialog::PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) void SfxDocumentInfoDialog::AddFontTabPage() { - AddTabPage( FONT_PAGE_ID, SfxResId( STR_FONT_TABPAGE ), SfxDocumentFontsPage::Create, nullptr); + AddTabPage( FONT_PAGE_ID, SfxResId( STR_FONT_TABPAGE ), SfxDocumentFontsPage::Create); } // class CustomPropertiesYesNoButton ------------------------------------- diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index fcd58a9cdc44..87b414b6fed2 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -634,7 +634,7 @@ void SfxTabDialog::Start_Impl() void SfxTabDialog::AddTabPage( sal_uInt16 nId, const OUString &rRiderText ) { - AddTabPage( nId, rRiderText, nullptr, nullptr ); + AddTabPage( nId, rRiderText, nullptr ); } /* @@ -686,14 +686,13 @@ void SfxTabDialog::AddTabPage sal_uInt16 nId, const OUString& rRiderText, CreateTabPage pCreateFunc, - GetTabPageRanges pRangesFunc, sal_uInt16 nPos ) { DBG_ASSERT( TAB_PAGE_NOTFOUND == m_pTabCtrl->GetPagePos( nId ), "Double Page-Ids in the Tabpage" ); m_pTabCtrl->InsertPage( nId, rRiderText, nPos ); - m_pImpl->aData.push_back( new Data_Impl(nId, "", pCreateFunc, pRangesFunc ) ); + m_pImpl->aData.push_back( new Data_Impl(nId, "", pCreateFunc, nullptr ) ); } void SfxTabDialog::RemoveTabPage( sal_uInt16 nId ) |