diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 08:30:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-01 08:30:28 +0200 |
commit | 40971354138e14a2aacfa4605ba0c096e000d578 (patch) | |
tree | b5812c6265a3900bd2cf47304ab1e470b3b953c5 /include/svtools/calendar.hxx | |
parent | 5e913234da65484778d53179ee2005aec01d0f0e (diff) |
loplugin:unuseddefaultparam in svtools
Change-Id: I4e9712bea0cc8cf2d48759738806a584dda8268e
Diffstat (limited to 'include/svtools/calendar.hxx')
-rw-r--r-- | include/svtools/calendar.hxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx index 265a5983ea80..bb51ec75399b 100644 --- a/include/svtools/calendar.hxx +++ b/include/svtools/calendar.hxx @@ -224,7 +224,7 @@ private: SVT_DLLPRIVATE void ImplFormat(); using Window::ImplHitTest; SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, Date& rDate ) const; - SVT_DLLPRIVATE void ImplDrawSpin(vcl::RenderContext& rRenderContext, bool bDrawPrev = true, bool bDrawNext = true); + SVT_DLLPRIVATE void ImplDrawSpin(vcl::RenderContext& rRenderContext, bool bDrawPrev = true); SVT_DLLPRIVATE void ImplDrawDate(vcl::RenderContext& rRenderContext, long nX, long nY, sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear, DayOfWeek eDayOfWeek, bool bBack = true, @@ -272,7 +272,7 @@ public: void SetNoSelection(); bool IsDateSelected( const Date& rDate ) const; Date GetFirstSelectedDate() const; - void EnableCallEverySelect( bool bEvery = true ) { mbAllSel = bEvery; } + void EnableCallEverySelect() { mbAllSel = true; } void SetCurDate( const Date& rNewDate ); void SetFirstDate( const Date& rNewFirstDate ); @@ -289,8 +289,7 @@ public: bool IsTravelSelect() const { return mbTravelSelect; } - Size CalcWindowSizePixel( long nCalcMonthPerLine = 1, - long nCalcLines = 1 ) const; + Size CalcWindowSizePixel( long nCalcMonthPerLine = 1 ) const; void SetSelectHdl( const Link<Calendar*,void>& rLink ) { maSelectHdl = rLink; } }; @@ -360,8 +359,8 @@ public: VclPtr<Calendar> CreateCalendar( vcl::Window* pParent ); Calendar* GetCalendar(); - void EnableToday( bool bToday = true ) { mbToday = bToday; } - void EnableNone( bool bNone = true ) { mbNone = bNone; } + void EnableToday() { mbToday = true; } + void EnableNone() { mbNone = true; } protected: virtual void StateChanged( StateChangedType nStateChange ) override; |