diff options
-rw-r--r-- | sw/inc/acmplwrd.hxx | 2 | ||||
-rw-r--r-- | sw/inc/cellfml.hxx | 18 | ||||
-rw-r--r-- | sw/inc/doc.hxx | 2 | ||||
-rw-r--r-- | sw/inc/docsh.hxx | 6 | ||||
-rw-r--r-- | sw/inc/docufld.hxx | 7 | ||||
-rw-r--r-- | sw/inc/editsh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/expfld.hxx | 4 |
7 files changed, 20 insertions, 21 deletions
diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx index 1ee336277495..55d1cb5670c4 100644 --- a/sw/inc/acmplwrd.hxx +++ b/sw/inc/acmplwrd.hxx @@ -52,7 +52,7 @@ class SwAutoCompleteWord public: SwAutoCompleteWord( editeng::SortedAutoCompleteStrings::size_type nWords, - sal_uInt16 nMWrdLen = 10 ); + sal_uInt16 nMWrdLen ); ~SwAutoCompleteWord(); bool InsertWord( const OUString& rWord, SwDoc& rDoc ); diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx index 132dc65a3600..b79054e6f658 100644 --- a/sw/inc/cellfml.hxx +++ b/sw/inc/cellfml.hxx @@ -58,23 +58,23 @@ typedef void (SwTableFormula:: *FnScanFormula)( const SwTable&, OUString&, OUString&, OUString*, void* ) const; void BoxNmsToPtr( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; void PtrToBoxNms( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; void RelNmsToBoxNms( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; void RelBoxNmsToPtr( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; void BoxNmsToRelNm( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; void MakeFormula_( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; void GetFormulaBoxes( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; void HasValidBoxes_( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; void SplitMergeBoxNm_( const SwTable&, OUString&, OUString&, OUString*, - void* pPara = nullptr ) const; + void* pPara ) const; static void GetBoxes( const SwTableBox& rStt, const SwTableBox& rEnd, SwSelBoxes& rBoxes ); diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 2506252585c7..6a0d7ca59b2b 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1604,7 +1604,7 @@ public: SfxObjectShell* CreateCopy(bool bCallInitNew, bool bEmpty) const; SwNodeIndex AppendDoc(const SwDoc& rSource, sal_uInt16 nStartPageNumber, bool bDeletePrevious, int physicalPageOffset, - const sal_uLong nDocNo = 1); + const sal_uLong nDocNo); /** * Dumps the entire nodes structure to the given destination (file nodes.xml in the current directory by default) diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 6829837d91cf..e9baef768b9b 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -126,7 +126,7 @@ class SW_DLLPUBLIC SwDocShell sal_uInt16 nMask, const bool bNew, const OString& sPageId, - SwWrtShell* pActShell = nullptr, + SwWrtShell* pActShell, const bool bBasic = false ); SAL_DLLPRIVATE bool Delete(const OUString &rName, SfxStyleFamily nFamily); @@ -134,7 +134,7 @@ class SW_DLLPUBLIC SwDocShell SAL_DLLPRIVATE SfxStyleFamily ApplyStyles(const OUString &rName, const SfxStyleFamily nFamily, SwWrtShell* pShell, - sal_uInt16 nMode = 0); + sal_uInt16 nMode); SAL_DLLPRIVATE SfxStyleFamily DoWaterCan( const OUString &rName, SfxStyleFamily nFamily); SAL_DLLPRIVATE SfxStyleFamily UpdateStyle(const OUString &rName, SfxStyleFamily nFamily, SwWrtShell* pShell); SAL_DLLPRIVATE SfxStyleFamily MakeByExample(const OUString &rName, @@ -168,7 +168,7 @@ public: /// Doc is required for SO data exchange! SwDocShell( SfxObjectCreateMode eMode = SfxObjectCreateMode::EMBEDDED ); SwDocShell( SfxModelFlags i_nSfxCreationFlags ); - SwDocShell( SwDoc *pDoc, SfxObjectCreateMode eMode = SfxObjectCreateMode::STANDARD ); + SwDocShell( SwDoc *pDoc, SfxObjectCreateMode eMode ); virtual ~SwDocShell() override; /// OLE 2.0-notification. diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 19535cfa395f..7d986154753e 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -149,7 +149,7 @@ class SW_DLLPUBLIC SwPageNumberField : public SwField public: SwPageNumberField(SwPageNumberFieldType*, sal_uInt16 nSub, - sal_uInt32 nFormat = 0, short nOff = 0, + sal_uInt32 nFormat, short nOff = 0, sal_uInt16 const nPageNumber = 0, sal_uInt16 const nMaxPage = 0); @@ -262,7 +262,7 @@ class SW_DLLPUBLIC SwDocStatField : public SwField public: SwDocStatField( SwDocStatFieldType*, - sal_uInt16 nSubType, sal_uInt32 nFormat = 0); + sal_uInt16 nSubType, sal_uInt32 nFormat); void ChangeExpansion( const SwFrame* pFrame ); @@ -573,8 +573,7 @@ class SwRefPageSetField : public SwField bool bOn; public: - SwRefPageSetField( SwRefPageSetFieldType*, short nOff, - bool bOn = true ); + SwRefPageSetField( SwRefPageSetFieldType*, short nOff, bool bOn ); virtual OUString Expand() const override; virtual SwField* Copy() const override; diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 70250a85ac6c..8f53e58fd1da 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -499,7 +499,7 @@ public: bool OutlineUpDown( short nOffset = 1 ); - bool MoveOutlinePara( SwOutlineNodes::difference_type nOffset = 1); + bool MoveOutlinePara( SwOutlineNodes::difference_type nOffset ); bool IsProtectedOutlinePara() const; diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx index 93926c8a7ec5..0b55cb8d8ca1 100644 --- a/sw/inc/expfld.hxx +++ b/sw/inc/expfld.hxx @@ -96,7 +96,7 @@ class SW_DLLPUBLIC SwGetExpField : public SwFormulaField public: SwGetExpField( SwGetExpFieldType*, const OUString& rFormel, - sal_uInt16 nSubType, sal_uLong nFormat = 0); + sal_uInt16 nSubType, sal_uLong nFormat); virtual void SetValue( const double& rVal ) override; virtual void SetLanguage(LanguageType nLng) override; @@ -394,7 +394,7 @@ class SwTableField : public SwValueField, public SwTableFormula public: SwTableField( SwTableFieldType*, const OUString& rFormel, - sal_uInt16 nSubType, sal_uLong nFormat = 0); + sal_uInt16 nSubType, sal_uLong nFormat); virtual void SetValue( const double& rVal ) override; virtual sal_uInt16 GetSubType() const override; |