diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-03 09:00:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-03 11:10:56 +0000 |
commit | 8f62ca8e2f33a63b62dd7c39b8e002b03d6c4d95 (patch) | |
tree | a7a05a3be99ff8e72d666a39b01f9a07ba01c583 /sw/source/core/text/portab.hxx | |
parent | dc306db9b51e6f009803f7ba633674dc2840ac08 (diff) |
loplugin:countusersofdefaultparams in sw..vcl
Change-Id: I152df55f5a30e073c66cfd3a64d5090a20cb232d
Reviewed-on: https://gerrit.libreoffice.org/29471
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/portab.hxx')
-rw-r--r-- | sw/source/core/text/portab.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/text/portab.hxx b/sw/source/core/text/portab.hxx index 5261a96d6325..de1af65346d6 100644 --- a/sw/source/core/text/portab.hxx +++ b/sw/source/core/text/portab.hxx @@ -30,7 +30,7 @@ class SwTabPortion : public SwFixPortion // Format() branches either into PreFormat() or PostFormat() bool PreFormat( SwTextFormatInfo &rInf ); public: - SwTabPortion( const sal_uInt16 nTabPos, const sal_Unicode cFill = '\0', const bool bAutoTab = true ); + SwTabPortion( const sal_uInt16 nTabPos, const sal_Unicode cFill, const bool bAutoTab = true ); virtual void Paint( const SwTextPaintInfo &rInf ) const override; virtual bool Format( SwTextFormatInfo &rInf ) override; virtual void FormatEOL( SwTextFormatInfo &rInf ) override; @@ -48,7 +48,7 @@ public: class SwTabLeftPortion : public SwTabPortion { public: - inline SwTabLeftPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar='\0', bool bAutoTab = true ) + inline SwTabLeftPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar, bool bAutoTab = true ) : SwTabPortion( nTabPosVal, cFillChar, bAutoTab ) { SetWhichPor( POR_TABLEFT ); } OUTPUT_OPERATOR_OVERRIDE @@ -57,7 +57,7 @@ public: class SwTabRightPortion : public SwTabPortion { public: - inline SwTabRightPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar='\0' ) + inline SwTabRightPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar ) : SwTabPortion( nTabPosVal, cFillChar ) { SetWhichPor( POR_TABRIGHT ); } OUTPUT_OPERATOR_OVERRIDE @@ -66,7 +66,7 @@ public: class SwTabCenterPortion : public SwTabPortion { public: - inline SwTabCenterPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar='\0' ) + inline SwTabCenterPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cFillChar ) : SwTabPortion( nTabPosVal, cFillChar ) { SetWhichPor( POR_TABCENTER ); } OUTPUT_OPERATOR_OVERRIDE @@ -85,7 +85,7 @@ class SwTabDecimalPortion : public SwTabPortion public: inline SwTabDecimalPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cTab, - const sal_Unicode cFillChar = '\0' ) + const sal_Unicode cFillChar ) : SwTabPortion( nTabPosVal, cFillChar ), mcTab(cTab), mnWidthOfPortionsUpTpDecimalPosition( USHRT_MAX ) @@ -109,7 +109,7 @@ class SwAutoTabDecimalPortion : public SwTabDecimalPortion { public: inline SwAutoTabDecimalPortion( const sal_uInt16 nTabPosVal, const sal_Unicode cTab, - const sal_Unicode cFillChar = '\0' ) + const sal_Unicode cFillChar ) : SwTabDecimalPortion( nTabPosVal, cTab, cFillChar ) { SetLen( 0 ); } virtual void Paint( const SwTextPaintInfo &rInf ) const override; |