summaryrefslogtreecommitdiffstats
path: root/editeng/source/items/paraitem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-04 14:28:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-07 05:56:43 +0000
commit5f6e5cb695ff4ab1e17653661d8243d836436a7e (patch)
tree83257515559766153bdf522c53ed560d9840660d /editeng/source/items/paraitem.cxx
parentstarmath: Make SmNode abstract and noncopyable (diff)
downloadcore-5f6e5cb695ff4ab1e17653661d8243d836436a7e.tar.gz
core-5f6e5cb695ff4ab1e17653661d8243d836436a7e.zip
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/paraitem.cxx')
-rw-r--r--editeng/source/items/paraitem.cxx6
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] );
}