diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-04 12:03:36 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-05 06:23:06 +0000 |
commit | 5d22a47b4431c5718d989e738d2963d0b880d898 (patch) | |
tree | b82a87eb09ed344dbbd368ee6b5cd6926a1a8e93 /include/svtools/ruler.hxx | |
parent | 87ee6c044d79978d2121087f5e1a10f417adf9c7 (diff) |
loplugin:countusersofdefaultparams
Change-Id: I38bfc88e85a9e5a024e982e555a0e0485a3010ad
Reviewed-on: https://gerrit.libreoffice.org/28662
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools/ruler.hxx')
-rw-r--r-- | include/svtools/ruler.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index 60436bbad4a6..33719035cf06 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -672,7 +672,7 @@ private: SVT_DLLPRIVATE void ImplDrawBorders(vcl::RenderContext& rRenderContext, long nMin, long nMax, long nVirTop, long nVirBottom); SVT_DLLPRIVATE void ImplDrawIndent(vcl::RenderContext& rRenderContext, - const tools::Polygon& rPoly, bool bIsHit = false); + const tools::Polygon& rPoly, bool bIsHit); SVT_DLLPRIVATE void ImplDrawIndents(vcl::RenderContext& rRenderContext, long nMin, long nMax, long nVirTop, long nVirBottom); SVT_DLLPRIVATE void ImplDrawTab(vcl::RenderContext& rRenderContext, const Point& rPos, sal_uInt16 nStyle); @@ -733,7 +733,7 @@ public: void Activate() override; void Deactivate() override; - void SetWinPos( long nOff = 0, long nWidth = 0 ); + void SetWinPos( long nOff, long nWidth = 0 ); long GetWinOffset() const { return mnWinOff; } void SetPagePos( long nOff = 0, long nWidth = 0 ); long GetPageOffset() const; @@ -750,7 +750,7 @@ public: void SetExtraType( RulerExtra eNewExtraType, sal_uInt16 nStyle = 0 ); bool StartDocDrag( const MouseEvent& rMEvt, - RulerType eDragType = RulerType::DontKnow ); + RulerType eDragType ); RulerType GetDragType() const { return meDragType; } long GetDragPos() const { return mnDragPos; } sal_uInt16 GetDragAryPos() const { return mnDragAryPos; } |