diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-14 13:41:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-15 08:27:25 +0200 |
commit | b47cb646ff2a62fcd3fac0e453a7261bbaefbcb7 (patch) | |
tree | 49a2dc78e998baa77212776d7d94fb8d72dc0f00 /sw/inc | |
parent | 89e0663c55f7f1763536a345d63111115c71ef26 (diff) |
loplugin:constantparam
Change-Id: I270e068b3c83e966e741b0a072fecce9d92d53f5
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/accmap.hxx | 3 | ||||
-rw-r--r-- | sw/inc/authfld.hxx | 2 | ||||
-rw-r--r-- | sw/inc/crsrsh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/fesh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/redline.hxx | 2 | ||||
-rw-r--r-- | sw/inc/shellio.hxx | 3 |
6 files changed, 6 insertions, 8 deletions
diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx index 85cc0be48306..bce4ccb46e48 100644 --- a/sw/inc/accmap.hxx +++ b/sw/inc/accmap.hxx @@ -203,8 +203,7 @@ public: // Invalidate state of whole tree. If an action is open, this call // is processed when the last action ends. - void InvalidateStates( AccessibleStates _nStates, - const SwFrame* _pFrame = nullptr ); + void InvalidateEditableStates( const SwFrame* _pFrame ); void InvalidateRelationSet( const SwFrame* pMaster, const SwFrame* pFollow ); diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index 8f371e84e6a3..7228b63b27dc 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -153,7 +153,7 @@ class SwAuthorityField : public SwField public: /// For internal use only, in general continue using ExpandField() instead. - OUString ConditionalExpand(ToxAuthorityField eField) const; + OUString ConditionalExpandAuthIdentifier() const; //To handle Citation SW_DLLPUBLIC OUString ExpandCitation(ToxAuthorityField eField) const; diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index a12d746ada61..f3bf55a0d2ba 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -450,7 +450,7 @@ public: */ bool HasShellFocus() const { return m_bHasFocus; } void ShellLoseFocus(); - void ShellGetFocus( bool bUpdate = true ); + void ShellGetFocus(); // Methods for displaying or hiding the visible text cursor. void ShowCursor(); diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 888916417151..295b934d3094 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -380,7 +380,7 @@ public: bool GetFlyFrameAttr( SfxItemSet &rSet ) const; bool SetFlyFrameAttr( SfxItemSet &rSet ); static SfxItemSet makeItemSetFromFormatAnchor(SfxItemPool& rPool, const SwFormatAnchor &rAnchor); - bool ResetFlyFrameAttr( sal_uInt16 nWhich, const SfxItemSet* pSet = nullptr ); + bool ResetFlyFrameAttr( const SfxItemSet* pSet ); const SwFrameFormat *NewFlyFrame( const SfxItemSet &rSet, bool bAnchValid = false, SwFrameFormat *pParent = nullptr ); void SetFlyPos( const Point &rAbsPos); diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 712256372a2d..24e860d4c744 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -259,7 +259,7 @@ public: // hide the Del-Redlines via Copy and Delete. // Otherwise at Move the attribution would be handled incorrectly. // All other callers must always give 0. - void CallDisplayFunc(sal_uInt16 nLoop, size_t nMyPos); + void CallDisplayFunc(size_t nMyPos); void Show(sal_uInt16 nLoop , size_t nMyPos); void Hide(sal_uInt16 nLoop , size_t nMyPos); void ShowOriginal(sal_uInt16 nLoop, size_t nMyPos); diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx index 02cfbe1751ed..b23e1beb5e1f 100644 --- a/sw/inc/shellio.hxx +++ b/sw/inc/shellio.hxx @@ -526,8 +526,7 @@ struct SwReaderWriterEntry namespace SwReaderWriter { - /// Return reader based on ReaderWriterEnum. - SW_DLLPUBLIC Reader* GetReader( ReaderWriterEnum eReader ); + SW_DLLPUBLIC Reader* GetRtfReader(); /// Return reader based on the name. Reader* GetReader( const OUString& rFltName ); |