writerfilter/source/dmapper/NumberingManager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 265a19ca74bd62d4b3eecfc4b7dbb4c9cc50e014 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Mar 7 19:51:59 2017 +0100 loplugin:loopvartoosmall Change-Id: I089affb48717d64846064b61344820f1b87ac317 diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index 965fd27..a27af1d 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -540,14 +540,14 @@ void ListDef::CreateNumberingRules( DomainMapper& rDMapper, uno::Sequence< uno::Sequence< beans::PropertyValue > > aProps = GetPropertyValues( ); sal_Int32 nAbstLevels = m_pAbstractDef ? m_pAbstractDef->Size() : 0; - sal_Int16 nLevel = 0; + sal_Int32 nLevel = 0; while ( nLevel < nAbstLevels ) { ListLevel::Pointer pAbsLevel = m_pAbstractDef->GetLevel( nLevel ); ListLevel::Pointer pLevel = GetLevel( nLevel ); // Get the merged level properties - auto aLvlProps = comphelper::sequenceToContainer< std::vector<beans::PropertyValue> >(aProps[sal_Int32(nLevel)]); + auto aLvlProps = comphelper::sequenceToContainer< std::vector<beans::PropertyValue> >(aProps[nLevel]); // Get the char style uno::Sequence< beans::PropertyValue > aAbsCharStyleProps = pAbsLevel->GetCharStyleProperties( ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits