diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-03 14:32:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-04 06:36:22 +0000 |
commit | 480f6916eff8636fbf6b980a604c6e19a099df08 (patch) | |
tree | f5cd156734d6a082dfbe3e24d06ec9f3505f8366 /sw/inc/docufld.hxx | |
parent | 958827673309a80a710a86a9b115945547f520a0 (diff) |
loplugin:countusersofdefaultparams in sw
Change-Id: I65beb17816641cff6a07379b7ba234afe26806b3
Reviewed-on: https://gerrit.libreoffice.org/29488
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/docufld.hxx')
-rw-r--r-- | sw/inc/docufld.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 4464dc65f3fc..2736161e381d 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -151,7 +151,7 @@ class SW_DLLPUBLIC SwPageNumberField : public SwField sal_uInt16 m_nMaxPage; public: - SwPageNumberField(SwPageNumberFieldType*, sal_uInt16 nSub = PG_RANDOM, + SwPageNumberField(SwPageNumberFieldType*, sal_uInt16 nSub, sal_uInt32 nFormat = 0, short nOff = 0, sal_uInt16 const nPageNumber = 0, sal_uInt16 const nMaxPage = 0); @@ -187,7 +187,7 @@ class SwAuthorField : public SwField OUString aContent; public: - SwAuthorField(SwAuthorFieldType*, sal_uInt32 nFormat = 0); + SwAuthorField(SwAuthorFieldType*, sal_uInt32 nFormat); virtual OUString Expand() const override; virtual SwField* Copy() const override; @@ -214,7 +214,7 @@ class SW_DLLPUBLIC SwFileNameField : public SwField OUString aContent; public: - SwFileNameField(SwFileNameFieldType*, sal_uInt32 nFormat = 0); + SwFileNameField(SwFileNameFieldType*, sal_uInt32 nFormat); virtual OUString Expand() const override; virtual SwField* Copy() const override; @@ -239,7 +239,7 @@ public: class SW_DLLPUBLIC SwTemplNameField : public SwField { public: - SwTemplNameField(SwTemplNameFieldType*, sal_uInt32 nFormat = 0); + SwTemplNameField(SwTemplNameFieldType*, sal_uInt32 nFormat); virtual OUString Expand() const override; virtual SwField* Copy() const override; @@ -267,7 +267,7 @@ class SW_DLLPUBLIC SwDocStatField : public SwField public: SwDocStatField( SwDocStatFieldType*, - sal_uInt16 nSubType = 0, sal_uInt32 nFormat = 0); + sal_uInt16 nSubType, sal_uInt32 nFormat = 0); void ChangeExpansion( const SwFrame* pFrame ); @@ -535,7 +535,7 @@ class SwExtUserField : public SwField sal_uInt16 nType; public: - SwExtUserField(SwExtUserFieldType*, sal_uInt16 nSub, sal_uInt32 nFormat=0); + SwExtUserField(SwExtUserFieldType*, sal_uInt16 nSub, sal_uInt32 nFormat); virtual OUString Expand() const override; virtual SwField* Copy() const override; @@ -569,7 +569,7 @@ class SwRefPageSetField : public SwField bool bOn; public: - SwRefPageSetField( SwRefPageSetFieldType*, short nOff = 0, + SwRefPageSetField( SwRefPageSetFieldType*, short nOff, bool bOn = true ); virtual OUString Expand() const override; @@ -676,7 +676,7 @@ class SwScriptField : public SwField public: SwScriptField( SwScriptFieldType*, const OUString& rType, - const OUString& rCode, bool bURL=false ); + const OUString& rCode, bool bURL ); virtual OUString GetDescription() const override; |