diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-29 08:03:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-29 08:04:06 +0200 |
commit | 1a3ace4d098eaea7cae26311330046cd900e21af (patch) | |
tree | e40af516375cee0a03a8729459a2497ab97c256a /sw/inc | |
parent | 2ac1c2f75e5f020fbb8c2c98b00ef32faa4770aa (diff) |
loplugin:unuseddefaultparam in sw (part2)
Change-Id: I7eefd83d7f84c0a6301fd3ba37d77463d809e5f9
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/SwNumberTree.hxx | 11 | ||||
-rw-r--r-- | sw/inc/swmodule.hxx | 2 | ||||
-rw-r--r-- | sw/inc/swregion.hxx | 2 | ||||
-rw-r--r-- | sw/inc/tblsel.hxx | 2 | ||||
-rw-r--r-- | sw/inc/txtannotationfld.hxx | 3 | ||||
-rw-r--r-- | sw/inc/unocrsrhelper.hxx | 3 | ||||
-rw-r--r-- | sw/inc/view.hxx | 8 |
7 files changed, 10 insertions, 21 deletions
diff --git a/sw/inc/SwNumberTree.hxx b/sw/inc/SwNumberTree.hxx index 6ed4db6d1031..f4144ee97881 100644 --- a/sw/inc/SwNumberTree.hxx +++ b/sw/inc/SwNumberTree.hxx @@ -579,25 +579,16 @@ protected: /** Set if this node is a phantom. - - @param bPhantom - true this node is a phantom - - false this node is a phantom */ - void SetPhantom(bool bPhantom = true); + void SetPhantom(); /** Return if phantoms are counted. - - @retval true phantoms are counted - @retval false else */ virtual bool IsCountPhantoms() const = 0; /** Return if all descendants of this node are phantoms. - - @retval true all descendants are phantoms - @retval false else */ bool HasOnlyPhantoms() const; diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index 66cb66b8ff79..4dedce760946 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -177,7 +177,7 @@ public: bool IsEmbeddedLoadSave() const { return m_bEmbeddedLoadSave; } void SetEmbeddedLoadSave( bool bFlag ) { m_bEmbeddedLoadSave = bFlag; } - static void ShowDBObj( SwView& rView, const SwDBData& rData, bool bOnlyIfAvailable = false); + static void ShowDBObj( SwView& rView, const SwDBData& rData); // Table modi. bool IsInsTableFormatNum(bool bHTML) const; diff --git a/sw/inc/swregion.hxx b/sw/inc/swregion.hxx index 5a4d7621a7cd..f241da538d42 100644 --- a/sw/inc/swregion.hxx +++ b/sw/inc/swregion.hxx @@ -42,7 +42,7 @@ public: void Invert(); // Combine adjacent rectangles. - void Compress( bool bFuzzy = true ); + void Compress(); inline const SwRect &GetOrigin() const { return m_aOrigin; } inline void ChangeOrigin( const SwRect &rRect ) { m_aOrigin = rRect; } diff --git a/sw/inc/tblsel.hxx b/sw/inc/tblsel.hxx index dd4170893c60..17ef7f42d79a 100644 --- a/sw/inc/tblsel.hxx +++ b/sw/inc/tblsel.hxx @@ -181,7 +181,7 @@ public: void SetTableLines( const SwSelBoxes &rBoxes, const SwTable &rTable ); void SetTableLines( const SwTable &rTable ); //Add an input param to identify if acc table should be disposed - void DelFrames ( SwTable &rTable, bool bAccTableDispose = false ); + void DelFrames ( SwTable &rTable ); void MakeFrames( SwTable &rTable ); void MakeNewFrames( SwTable &rTable, const sal_uInt16 nNumber, const bool bBehind ); diff --git a/sw/inc/txtannotationfld.hxx b/sw/inc/txtannotationfld.hxx index 62b99e4ca45f..b28c0829a546 100644 --- a/sw/inc/txtannotationfld.hxx +++ b/sw/inc/txtannotationfld.hxx @@ -35,8 +35,7 @@ public: virtual ~SwTextAnnotationField(); - ::sw::mark::IMark* GetAnnotationMark( - SwDoc* pDoc = nullptr ) const; + ::sw::mark::IMark* GetAnnotationMark() const; }; #endif diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx index 50154968fb00..61e89be0360d 100644 --- a/sw/inc/unocrsrhelper.hxx +++ b/sw/inc/unocrsrhelper.hxx @@ -157,8 +157,7 @@ namespace SwUnoCursorHelper const SfxItemPropertySet & rPropSet, const OUString & rPropertyName, const css::uno::Any & rValue, - const SetAttrMode nAttrMode = SetAttrMode::DEFAULT, - const bool bTableMode = false) + const SetAttrMode nAttrMode = SetAttrMode::DEFAULT) throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx index b9a88bae146f..7358b62270bb 100644 --- a/sw/inc/view.hxx +++ b/sw/inc/view.hxx @@ -261,9 +261,9 @@ class SW_DLLPUBLIC SwView: public SfxViewShell // methods for searching // set search context - SAL_DLLPRIVATE bool SearchAndWrap(bool bApi = false); - SAL_DLLPRIVATE bool SearchAll(sal_uInt16* pFound = nullptr); - SAL_DLLPRIVATE sal_uLong FUNC_Search( const SwSearchOptions& rOptions ); + SAL_DLLPRIVATE bool SearchAndWrap(bool bApi = false); + SAL_DLLPRIVATE bool SearchAll(); + SAL_DLLPRIVATE sal_uLong FUNC_Search( const SwSearchOptions& rOptions ); SAL_DLLPRIVATE void Replace(); bool IsDocumentBorder(); @@ -598,7 +598,7 @@ public: bool IsPasteSpecialAllowed(); // Enable mail merge - mail merge field dialog enabled - void EnableMailMerge(bool bEnable = true); + void EnableMailMerge(); //apply Accessiblity options void ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions); |