diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-09 15:43:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-10 10:09:59 +0200 |
commit | 4358dc795cbd2b49aa87c89795cf63413b82400c (patch) | |
tree | b112046a74791f03b7971d1c22a0d2cb9aa39955 /sc/source/ui/inc | |
parent | f946e905c6c6bb041ae580b14b711c6964af97bd (diff) |
loplugin:constantparam in sc
Change-Id: Ia7bc394fdc0dba720751c2a58d55bfe34b239098
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/cbutton.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/navipi.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/viewfunc.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx index a78d71e4eeba..4b6aaaedb99a 100644 --- a/sc/source/ui/inc/cbutton.hxx +++ b/sc/source/ui/inc/cbutton.hxx @@ -37,8 +37,8 @@ public: void Draw( const Point& rAt, const Size& rSize, bool bState ); - void Draw( bool bState ) - { Draw( aBtnPos, aBtnSize, bState ); } + void Draw() + { Draw( aBtnPos, aBtnSize, false ); } void SetOptSizePixel(); diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx index b6b615227bb4..6a91afdb1732 100644 --- a/sc/source/ui/inc/navipi.hxx +++ b/sc/source/ui/inc/navipi.hxx @@ -83,7 +83,7 @@ private: void ExecuteScenarioSlot( sal_uInt16 nSlotId ); void SelectScenario(); void EditScenario(); - void DeleteScenario( bool bQueryBox ); + void DeleteScenario(); private: ScScenarioWindow& mrParent; diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx index 2644952b400e..3e837fee52e1 100644 --- a/sc/source/ui/inc/viewfunc.hxx +++ b/sc/source/ui/inc/viewfunc.hxx @@ -97,7 +97,7 @@ public: void EnterDataAtCursor( const OUString& rString ); //! Not used? - SC_DLLPUBLIC void CutToClip( ScDocument* pClipDoc = nullptr, bool bIncludeObjects = false ); + SC_DLLPUBLIC void CutToClip( bool bIncludeObjects = false ); SC_DLLPUBLIC bool CopyToClip( ScDocument* pClipDoc = nullptr, bool bCut = false, bool bApi = false, bool bIncludeObjects = false, bool bStopEdit = true ); SC_DLLPUBLIC bool CopyToClip( ScDocument* pClipDoc, const ScRangeList& rRange, bool bCut = false, |