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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/func/fuolbull.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 3b9c34040801..7dd555bf1d7c 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -1039,7 +1039,7 @@ void SAL_CALL SdStyleSheet::setPropertyValue( const OUString& aPropertyName, con SvxShape::SetFillAttribute( pEntry->nWID, aTempName, aSet ); } - else if(!SvxUnoTextRangeBase::SetPropertyValueHelper( aSet, pEntry, aValue, aSet )) + else if(!SvxUnoTextRangeBase::SetPropertyValueHelper( pEntry, aValue, aSet )) { SvxItemPropertySet_setPropertyValue( pEntry, aValue, aSet ); } diff --git a/sd/source/ui/func/fuolbull.cxx b/sd/source/ui/func/fuolbull.cxx index 5b013011db2e..81c5f6799b6b 100644 --- a/sd/source/ui/func/fuolbull.cxx +++ b/sd/source/ui/func/fuolbull.cxx @@ -276,7 +276,7 @@ void FuOutlineBullet::SetCurrentBulletsNumbering(SfxRequest& rReq) if( bOutlinerUndoEnabled ) { - pOwner->UndoActionEnd( OLUNDO_ATTR ); + pOwner->UndoActionEnd(); } else if ( bModelUndoEnabled ) { diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 919958fa7476..11fc88a4f8dd 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -419,9 +419,7 @@ svx::SpellPortions SdOutliner::GetNextSpellSentence() EndOfSearch(); // Advance to the next sentence. - bFoundNextSentence = SpellSentence ( - pOutlinerView->GetEditView(), - aResult, false); + bFoundNextSentence = SpellSentence( pOutlinerView->GetEditView(), aResult); } // When no sentence with spelling errors has been found in the |