make this variable const

there are some lifetime problems related to SchXMLCell and therefore
this helps to limit the scope of possible problems
This commit is contained in:
Markus Mohrhard 2012-03-03 00:30:43 +01:00
parent 2670516f2d
commit 5e8628e45c

View file

@ -124,7 +124,7 @@ void lcl_fillRangeMapping(
const size_t nTableColCount( rRow.size());
for( size_t nCol = 0; nCol < nTableColCount; ++nCol )
{
OUString aRangeId( rRow[nCol].aRangeId );
const OUString aRangeId( rRow[nCol].aRangeId );
if( !aRangeId.isEmpty())
{
if( eDataRowSource == chart::ChartDataRowSource_COLUMNS )