summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLTableContext.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-03 00:30:43 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-03 00:58:38 +0100
commit5e8628e45c162299f216f6a283cb126744d873ed (patch)
tree579096113e14673188b8b201a79cadb229c896a2 /xmloff/source/chart/SchXMLTableContext.cxx
parent2670516f2d4f385e364cc56855e12b086b1c5a76 (diff)
make this variable const
there are some lifetime problems related to SchXMLCell and therefore this helps to limit the scope of possible problems
Diffstat (limited to 'xmloff/source/chart/SchXMLTableContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx2
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 )