diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-04 14:28:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-07 05:56:43 +0000 |
commit | 5f6e5cb695ff4ab1e17653661d8243d836436a7e (patch) | |
tree | 83257515559766153bdf522c53ed560d9840660d /include | |
parent | b89feb8018bf3610faf01e73995d576f6566e20b (diff) |
loplugin:unuseddefaultparam in editeng
Change-Id: Ifd86b0f6cca5d5d30daeee1c087c0124f2f18f3c
Reviewed-on: https://gerrit.libreoffice.org/22899
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/AccessibleParaManager.hxx | 3 | ||||
-rw-r--r-- | include/editeng/editeng.hxx | 5 | ||||
-rw-r--r-- | include/editeng/editview.hxx | 2 | ||||
-rw-r--r-- | include/editeng/tstpitem.hxx | 2 |
4 files changed, 5 insertions, 7 deletions
diff --git a/include/editeng/AccessibleParaManager.hxx b/include/editeng/AccessibleParaManager.hxx index cf527fdb8e9b..bc20b3769052 100644 --- a/include/editeng/AccessibleParaManager.hxx +++ b/include/editeng/AccessibleParaManager.hxx @@ -130,8 +130,7 @@ namespace accessibility void SetFocus( sal_Int32 nChild ); void FireEvent( sal_Int32 nPara, - const sal_Int16 nEventId, - const css::uno::Any& rNewValue = css::uno::Any() ) const; + const sal_Int16 nEventId ) const; static bool IsReferencable(rtl::Reference<AccessibleEditableTextPara> const & aChild); bool IsReferencable( sal_Int32 nChild ) const; diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 1a0078c6a409..9546445638af 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -286,7 +286,7 @@ public: sal_Int32 GetLineLen( sal_Int32 nParagraph, sal_Int32 nLine ) const; void GetLineBoundaries( /*out*/sal_Int32& rStart, /*out*/sal_Int32& rEnd, sal_Int32 nParagraph, sal_Int32 nLine ) const; sal_Int32 GetLineNumberAtIndex( sal_Int32 nPara, sal_Int32 nIndex ) const; - sal_uInt32 GetLineHeight( sal_Int32 nParagraph, sal_Int32 nLine = 0 ); + sal_uInt32 GetLineHeight( sal_Int32 nParagraph ); ParagraphInfos GetParagraphInfos( sal_Int32 nPara ); sal_Int32 FindParagraph( long nDocPosY ); EPosition FindDocPosition( const Point& rDocPos ) const; @@ -558,8 +558,7 @@ public: EditPaM CursorRight( const EditPaM& rPaM, sal_uInt16 nCharacterIteratorMode = css::i18n::CharacterIteratorMode::SKIPCELL); - void SeekCursor( - ContentNode* pNode, sal_Int32 nPos, SvxFont& rFont, OutputDevice* pOut = nullptr); + void SeekCursor(ContentNode* pNode, sal_Int32 nPos, SvxFont& rFont); EditPaM DeleteSelection(const EditSelection& rSel); diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 71a4b643e140..22fb58c8e0f4 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -215,7 +215,7 @@ public: void TransliterateText( sal_Int32 nTransliterationMode ); - bool IsCursorAtWrongSpelledWord( bool bMarkIfWrong = false ); + bool IsCursorAtWrongSpelledWord(); bool IsWrongSpelledWordAtPos( const Point& rPosPixel, bool bMarkIfWrong = false ); void ExecuteSpellPopup( const Point& rPosPixel, Link<SpellCallbackInfo&,void>* pCallBack = nullptr ); diff --git a/include/editeng/tstpitem.hxx b/include/editeng/tstpitem.hxx index 14dc78a551fa..516ae0bdcef8 100644 --- a/include/editeng/tstpitem.hxx +++ b/include/editeng/tstpitem.hxx @@ -117,7 +117,7 @@ public: // unprivatized: sal_uInt16 Count() const { return maTabStops.size(); } bool Insert( const SvxTabStop& rTab ); - void Insert( const SvxTabStopItem* pTabs, sal_uInt16 nStart = 0 ); + void Insert( const SvxTabStopItem* pTabs ); void Remove( const sal_uInt16 nPos, const sal_uInt16 nLen = 1 ) { maTabStops.erase( maTabStops.begin() + nPos, maTabStops.begin() + nPos + nLen ); } |