From afd3ab436bf920ef80c642891e9e63133fca41a0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Apr 2016 10:33:59 +0200 Subject: loplugin:constantparam in sfx2 Change-Id: I9a5a9fd1f4f43e0b7ef13d14979cb231f6aa9d46 Reviewed-on: https://gerrit.libreoffice.org/23801 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sfx2/progress.hxx | 4 ++-- include/sfx2/tabdlg.hxx | 1 - include/sfx2/viewfrm.hxx | 4 ---- 3 files changed, 2 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/sfx2/progress.hxx b/include/sfx2/progress.hxx index ba763844c4b5..60729ccc7fb7 100644 --- a/include/sfx2/progress.hxx +++ b/include/sfx2/progress.hxx @@ -42,8 +42,8 @@ class SFX2_DLLPUBLIC SfxProgress public: SfxProgress( SfxObjectShell* pObjSh, const rtl::OUString& rText, - sal_uIntPtr nRange, bool bAllDocs = false, - bool bWait = true ); + sal_uIntPtr nRange, + bool bWait = true); virtual ~SfxProgress(); bool SetStateText( sal_uIntPtr nVal, const rtl::OUString &rVal ); diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index b328ccb89de4..c4397fcc1e95 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -136,7 +136,6 @@ public: const OUString &rRiderText, CreateTabPage pCreateFunc, // != 0 GetTabPageRanges pRangesFunc, // can be 0 - bool bItemsOnDemand = false, sal_uInt16 nPos = TAB_APPEND); void AddTabPage( sal_uInt16 nId, diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx index 2f0ec163f89d..d02b56bb361f 100644 --- a/include/sfx2/viewfrm.hxx +++ b/include/sfx2/viewfrm.hxx @@ -283,10 +283,6 @@ public: SfxPoolItem( 0 ), pFrame( pViewFrame) {} - SfxViewFrameItem( sal_uInt16 nWhichId, SfxViewFrame *pViewFrame ): - SfxPoolItem( nWhichId ), - pFrame( pViewFrame) - {} virtual bool operator==( const SfxPoolItem& ) const override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; -- cgit