diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-03 08:56:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-03 09:42:49 +0200 |
commit | b76842f63b19e9855fbdfee7c201ff73672464b6 (patch) | |
tree | 4f536710463b12facc661a90ddbd5993b538bb6f /editeng/source/items/paraitem.cxx | |
parent | loplugin:unuseddefaultparams in connectivity (diff) | |
download | core-b76842f63b19e9855fbdfee7c201ff73672464b6.tar.gz core-b76842f63b19e9855fbdfee7c201ff73672464b6.zip |
loplugin:unuseddefaultparams in editeng
Change-Id: I1dc0ba262c06bd69cf92aae20b344fe23f460f55
Diffstat (limited to 'editeng/source/items/paraitem.cxx')
-rw-r--r-- | editeng/source/items/paraitem.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index 6f5d4b52c295..c60dff652299 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -1130,17 +1130,16 @@ bool SvxTabStopItem::Insert( const SvxTabStop& rTab ) return maTabStops.insert( rTab ).second; } -void SvxTabStopItem::Insert( const SvxTabStopItem* pTabs, sal_uInt16 nStart, - sal_uInt16 nEnd ) +void SvxTabStopItem::Insert( const SvxTabStopItem* pTabs, sal_uInt16 nStart ) { - for( sal_uInt16 i = nStart; i < nEnd && i < pTabs->Count(); i++ ) + for( sal_uInt16 i = nStart; 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 < nEnd && i < pTabs->Count(); i++ ) + for( sal_uInt16 i = nStart; i < pTabs->Count(); i++ ) { maTabStops.insert( (*pTabs)[i] ); } |