summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-12 01:48:31 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-12 20:04:46 +0200
commitcafbd676785b5238f584982654c279f29d2393e0 (patch)
tree6b221d035dd4e238b7a2080c527199f5417d6baa /oox
parent21ab418859d5f8fc16730dc26f1dda149ee132fc (diff)
rename variable
Change-Id: I6606ca56c28569b6b2ceb1607c8dc570ce50bba7
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index c7d5d64f4b3a..6af00926d452 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2033,11 +2033,11 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType,
exportSeriesText( xLabelSeq );
// export shape properties
- Reference< XPropertySet > xPropSet = SchXMLSeriesHelper::createOldAPISeriesPropertySet(
+ Reference< XPropertySet > xOldPropSet = SchXMLSeriesHelper::createOldAPISeriesPropertySet(
rSeriesSeq[nSeriesIdx], getModel() );
- if( xPropSet.is() )
+ if( xOldPropSet.is() )
{
- if( GetProperty( xPropSet, "Axis") )
+ if( GetProperty( xOldPropSet, "Axis") )
{
mAny >>= nAttachedAxis;
if( nAttachedAxis == css::chart::ChartAxisAssign::SECONDARY_Y )
@@ -2045,7 +2045,7 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType,
else
nAttachedAxis = AXIS_PRIMARY_Y;
}
- exportShapeProps( xPropSet );
+ exportShapeProps( xOldPropSet );
}
switch( eChartType )
@@ -2067,7 +2067,7 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType,
case chart::TYPEID_PIE:
case chart::TYPEID_DOUGHNUT:
{
- if( xPropSet.is() && GetProperty( xPropSet, "SegmentOffset") )
+ if( xOldPropSet.is() && GetProperty( xOldPropSet, "SegmentOffset") )
{
sal_Int32 nOffset = 0;
mAny >>= nOffset;