diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-29 23:34:09 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-06-02 10:47:42 +0200 |
commit | 263b4b99856c81c12707a5e9823d693a594ee305 (patch) | |
tree | 5606e0b36e0a059a267fa4757f31e7e455b27d4e /sw/source/filter/ww8/rtfattributeoutput.cxx | |
parent | GL3D Bar chart -> experimental (diff) | |
download | core-263b4b99856c81c12707a5e9823d693a594ee305.tar.gz core-263b4b99856c81c12707a5e9823d693a594ee305.zip |
loplugin: loopvartoosmall
Change-Id: Icb30dac9cdcba493752623ccafff5f06ccafc31f
Diffstat (limited to 'sw/source/filter/ww8/rtfattributeoutput.cxx')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 3080d01d7df4..45f84e20a55f 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -603,7 +603,7 @@ void RtfAttributeOutput::TableDefinition(ww8::WW8TableNodeInfoInner::Pointer_t p // Not using m_nTableDepth, which is not yet incremented here. sal_uInt32 nCurrentDepth = pTableTextNodeInfoInner->getDepth(); m_aCells[nCurrentDepth] = pRow->GetCells().size(); - for (sal_uInt16 i = 0; i < m_aCells[nCurrentDepth]; i++) + for (sal_uInt32 i = 0; i < m_aCells[nCurrentDepth]; i++) { const SwWriteTableCell* pCell = &pRow->GetCells()[ i ]; const SwFrameFormat* pCellFormat = pCell->GetBox()->GetFrameFormat(); @@ -929,7 +929,7 @@ void RtfAttributeOutput::EndTableRow() SAL_INFO("sw.rtf", OSL_THIS_FUNC << ", (depth is " << m_nTableDepth << ")"); // Trying to end the row without writing the required number of cells? Fill with empty ones. - for (sal_uInt16 i = 0; i < m_aCells[m_nTableDepth]; i++) + for (sal_uInt32 i = 0; i < m_aCells[m_nTableDepth]; i++) m_aAfterRuns.append(OOO_STRING_SVTOOLS_RTF_CELL); if (m_nTableDepth > 1) |