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 /editeng/source/items | |
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 'editeng/source/items')
-rw-r--r-- | editeng/source/items/paraitem.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index c60dff652299..ff9315d8a0d0 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -1130,16 +1130,16 @@ bool SvxTabStopItem::Insert( const SvxTabStop& rTab ) return maTabStops.insert( rTab ).second; } -void SvxTabStopItem::Insert( const SvxTabStopItem* pTabs, sal_uInt16 nStart ) +void SvxTabStopItem::Insert( const SvxTabStopItem* pTabs ) { - for( sal_uInt16 i = nStart; i < pTabs->Count(); i++ ) + for( sal_uInt16 i = 0; i < pTabs->Count(); i++ ) { const SvxTabStop& rTab = (*pTabs)[i]; sal_uInt16 nTabPos = GetPos(rTab); if(SVX_TAB_NOTFOUND != nTabPos) Remove(nTabPos); } - for( sal_uInt16 i = nStart; i < pTabs->Count(); i++ ) + for( sal_uInt16 i = 0; i < pTabs->Count(); i++ ) { maTabStops.insert( (*pTabs)[i] ); } |