diff options
author | iha <iha@openoffice.org> | 2011-03-01 20:33:22 +0100 |
---|---|---|
committer | iha <iha@openoffice.org> | 2011-03-01 20:33:22 +0100 |
commit | 7fa93a8c4657785b36876495a09d0eec9eeed107 (patch) | |
tree | b23c266cbabf03214fe0f0a16f938d10c02ebddd /xmloff | |
parent | 4fba42e5f98fcc0fa9addf41a793c1d7f11602c8 (diff) |
chart55: #i116841# crash with stock chart
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index c74abe953d2f..265c65b1d052 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -1769,7 +1769,7 @@ void SchXMLExportHelper_Impl::exportTable() for( t2DNumberContainer::const_iterator aRowIt( aData.aDataInRows.begin()) ; aRowIt != aData.aDataInRows.end() - ; aRowIt++, nC++, aRowDescriptionsIter++ ) + ; ++aRowIt, ++nC ) { SvXMLElementExport aRow( mrExport, XML_NAMESPACE_TABLE, XML_TABLE_ROW, sal_True, sal_True ); @@ -1807,8 +1807,10 @@ void SchXMLExportHelper_Impl::exportTable() if( !bHasOwnData && aRowDescriptions_RangeIter != aRowDescriptions_RangeEnd ) { // remind the original range to allow a correct re-association when copying via clipboard - SchXMLTools::exportRangeToSomewhere( mrExport, *aRowDescriptions_RangeIter++ ); + SchXMLTools::exportRangeToSomewhere( mrExport, *aRowDescriptions_RangeIter ); + ++aRowDescriptions_RangeIter; } + ++aRowDescriptionsIter; } } |