diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-03 00:30:43 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-03 00:58:38 +0100 |
commit | 5e8628e45c162299f216f6a283cb126744d873ed (patch) | |
tree | 579096113e14673188b8b201a79cadb229c896a2 | |
parent | remove debug statement (diff) | |
download | core-5e8628e45c162299f216f6a283cb126744d873ed.tar.gz core-5e8628e45c162299f216f6a283cb126744d873ed.zip |
make this variable const
there are some lifetime problems related to SchXMLCell and therefore
this helps to limit the scope of possible problems
-rw-r--r-- | xmloff/source/chart/SchXMLTableContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx index 6b2e98879034..2228ea6729ca 100644 --- a/xmloff/source/chart/SchXMLTableContext.cxx +++ b/xmloff/source/chart/SchXMLTableContext.cxx @@ -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 ) |