diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-02 08:31:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-02 10:55:46 +0200 |
commit | 591ac7e604fa47304a5ddc1a4f9badbba1199903 (patch) | |
tree | 247946d260ea857cc7d3c3e41b4089fdb371a0a6 /include | |
parent | 062e7063a94673d016a91a16a30e86b82c70a03d (diff) |
loplugin:checkunusedparams in editeng
Change-Id: I2b770d40ac2339cd2b04a765a6d970675d2ea1c1
Reviewed-on: https://gerrit.libreoffice.org/37133
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/AccessibleEditableTextPara.hxx | 2 | ||||
-rw-r--r-- | include/editeng/editeng.hxx | 4 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 4 | ||||
-rw-r--r-- | include/editeng/svxacorr.hxx | 4 | ||||
-rw-r--r-- | include/editeng/unotext.hxx | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx index 7d05f74ee876..bb4ce4f17cad 100644 --- a/include/editeng/AccessibleEditableTextPara.hxx +++ b/include/editeng/AccessibleEditableTextPara.hxx @@ -334,7 +334,7 @@ namespace accessibility /// Check whether 0<=nStart<=n and 0<=nEnd<=n void CheckRange( sal_Int32 nStart, sal_Int32 nEnd ); - void _correctValues( const sal_Int32 nIndex, css::uno::Sequence< css::beans::PropertyValue >& rValues ); + void _correctValues( css::uno::Sequence< css::beans::PropertyValue >& rValues ); sal_Int32 SkipField(sal_Int32 nIndex, bool bForward); // get overlapped field, extend return string. Only extend forward for now void ExtendByField( css::accessibility::TextSegment& Segment ); diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index cad62da8a5aa..a9e3666a2c8c 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -339,7 +339,7 @@ public: ::svl::IUndoManager* SetUndoManager(::svl::IUndoManager* pNew); void UndoActionStart( sal_uInt16 nId ); void UndoActionStart(sal_uInt16 nId, const ESelection& rSel); - void UndoActionEnd( sal_uInt16 nId ); + void UndoActionEnd(); bool IsInUndo(); void EnableUndo( bool bEnable ); @@ -451,7 +451,7 @@ public: bool HasText( const SvxSearchItem& rSearchItem ); //spell and return a sentence - bool SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill, bool bIsGrammarChecking ); + bool SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill ); // put spell position to start of current sentence void PutSpellingToSentenceStart( EditView& rEditView ); //applies a changed sentence diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index daa0dcc83d84..ed4eebbdc26a 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -751,7 +751,7 @@ public: void EnableUndo( bool bEnable ); bool IsUndoEnabled() const; void UndoActionStart( sal_uInt16 nId ); - void UndoActionEnd( sal_uInt16 nId ); + void UndoActionEnd(); void InsertUndo( EditUndo* pUndo ); bool IsInUndo(); @@ -961,7 +961,7 @@ public: OutlinerMode GetOutlinerMode() const { return nOutlinerMode; } // spell and return a sentence - bool SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill, bool bIsGrammarChecking ); + bool SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill ); // put spell position to start of current sentence void PutSpellingToSentenceStart( EditView& rEditView ); // applies a changed sentence diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 0f1a7cb0ad78..10df11213dd3 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -382,13 +382,13 @@ public: sal_Int32 nSttPos, sal_Int32 nEndPos, LanguageType eLang ); bool FnAddNonBrkSpace( SvxAutoCorrDoc&, const OUString&, - sal_Int32 nSttPos, sal_Int32 nEndPos, + sal_Int32 nEndPos, LanguageType eLang ); bool FnSetINetAttr( SvxAutoCorrDoc&, const OUString&, sal_Int32 nSttPos, sal_Int32 nEndPos, LanguageType eLang ); bool FnChgWeightUnderl( SvxAutoCorrDoc&, const OUString&, - sal_Int32 nSttPos, sal_Int32 nEndPos ); + sal_Int32 nEndPos ); bool FnCapitalStartSentence( SvxAutoCorrDoc&, const OUString&, bool bNormalPos, sal_Int32 nSttPos, sal_Int32 nEndPos, LanguageType eLang); diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index cf9762024c4d..70be94f6965d 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -324,7 +324,7 @@ public: const SvxItemPropertySet* getPropertySet() const throw() { return mpPropSet; } SvxEditSource* GetEditSource() const throw() { return mpEditSource; } - static bool SetPropertyValueHelper( const SfxItemSet& rOldSet, const SfxItemPropertySimpleEntry* pMap, const css::uno::Any& aValue, SfxItemSet& rNewSet, const ESelection* pSelection = nullptr, SvxEditSource* pEditSource = nullptr ); + static bool SetPropertyValueHelper( const SfxItemPropertySimpleEntry* pMap, const css::uno::Any& aValue, SfxItemSet& rNewSet, const ESelection* pSelection = nullptr, SvxEditSource* pEditSource = nullptr ); /// @throws css::uno::RuntimeException static bool GetPropertyValueHelper( SfxItemSet& rSet, const SfxItemPropertySimpleEntry* pMap, css::uno::Any& aAny, const ESelection* pSelection = nullptr, SvxEditSource* pEditSource = nullptr ); |