summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/sfx2/progress.hxx4
-rw-r--r--include/sfx2/tabdlg.hxx1
-rw-r--r--include/sfx2/viewfrm.hxx4
3 files changed, 2 insertions, 7 deletions
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;