From a6a2b2826dbf248821147212a2ee9ecdcadd301f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 18 Aug 2016 14:34:31 +0200 Subject: loplugin:countusersofdefaultparams in sw Change-Id: I668bfe93d77b06385544651583bcf71f6b5df2fc --- sw/source/core/inc/txtfrm.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/source/core/inc/txtfrm.hxx') diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index 8ba3bca167bf..bee4c8efb45f 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -96,7 +96,7 @@ class SwTextFrame: public SwContentFrame // Evaluates the Preps in Format() bool CalcPreps(); - void PrepWidows( const sal_uInt16 nNeed, bool bNotify = true ); + void PrepWidows( const sal_uInt16 nNeed, bool bNotify ); void InvalidateRange_( const SwCharRange &, const long = 0); inline void InvalidateRange( const SwCharRange &, const long = 0); @@ -292,9 +292,9 @@ public: virtual bool LeftMargin(SwPaM *) const override; virtual bool RightMargin(SwPaM *, bool bAPI = false) const override; - virtual bool UnitUp(SwPaM *, const SwTwips nOffset = 0, + virtual bool UnitUp(SwPaM *, const SwTwips nOffset, bool bSetInReadOnly = false ) const override; - virtual bool UnitDown(SwPaM *, const SwTwips nOffset = 0, + virtual bool UnitDown(SwPaM *, const SwTwips nOffset, bool bSetInReadOnly = false ) const override; bool UnitUp_(SwPaM *, const SwTwips nOffset = 0, bool bSetInReadOnly = false ) const; @@ -420,7 +420,7 @@ public: void HideAndShowObjects(); /// Footnote - void RemoveFootnote( const sal_Int32 nStart = 0, + void RemoveFootnote( const sal_Int32 nStart, const sal_Int32 nLen = COMPLETE_STRING ); inline SwTwips GetFootnoteFrameHeight() const; SwTextFrame *FindFootnoteRef( const SwTextFootnote *pFootnote ); -- cgit v1.2.3