diff options
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xfrow.cxx')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfrow.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfrow.cxx b/lotuswordpro/source/filter/xfilter/xfrow.cxx index 157c198cd42b..85a12973183d 100644 --- a/lotuswordpro/source/filter/xfilter/xfrow.cxx +++ b/lotuswordpro/source/filter/xfilter/xfrow.cxx @@ -112,11 +112,10 @@ void XFRow::ToXml(IXFStream *pStrm) pAttrList->AddAttribute( "table:number-rows-repeated", OUString::number(m_nRepeat) ); pStrm->StartElement( "table:table-row" ); - auto it = m_aCells.begin(); - for( ; it!=m_aCells.end(); ++it ) + for (auto const& cell : m_aCells) { - int col = (*it).first; - XFCell *pCell = (*it).second.get(); + int col = cell.first; + XFCell *pCell = cell.second.get(); if( !pCell ) continue; if( col>lastCol+1 ) |