diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 13:49:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-09 07:20:44 +0100 |
commit | 75c604a4ecd61322285f4139621e14166a8db1f2 (patch) | |
tree | 995ac51e5c7310e310ce096c14784cac6b357ad0 /svl | |
parent | c0847dc7b7a311d19b73d4943d1b0466b10cde4f (diff) |
loplugin:convertlong in ucb,sot
Change-Id: I6fa355448834701f11b84584649dfcdecd0f7b2c
Reviewed-on: https://gerrit.libreoffice.org/47596
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/slstitm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx index a0acd09fc532..5399706c2e85 100644 --- a/svl/source/items/slstitm.cxx +++ b/svl/source/items/slstitm.cxx @@ -195,10 +195,10 @@ void SfxStringListItem::SetStringList( const css::uno::Sequence< OUString >& rLi void SfxStringListItem::GetStringList( css::uno::Sequence< OUString >& rList ) const { - long nCount = mpList->size(); + size_t nCount = mpList->size(); rList.realloc( nCount ); - for( long i=0; i < nCount; i++ ) + for( size_t i=0; i < nCount; i++ ) rList[i] = (*mpList)[i]; } |