diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-12 02:04:44 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-12 20:04:47 +0200 |
commit | 69c7625f6da8c6a2f97d7a26b6b7cba83238d978 (patch) | |
tree | 93622b036332c8949606fe6559a776bb3dec5572 /oox | |
parent | 9ec0633e3179cbe3c50260d0ba46826264ef5f68 (diff) |
use r prefix for reference
Change-Id: Iad76b7263526da4e50ef3c0b6933a8833f567790
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index a5257b683ab5..467c7ca305db 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1973,7 +1973,7 @@ void ChartExport::exportSurfaceChart( Reference< chart2::XChartType > xChartType pFS->endElement( FSNS( XML_c, nTypeId ) ); } -void ChartExport::exportAllSeries(Reference<chart2::XChartType> xChartType, sal_Int32& nAttachedAxis) +void ChartExport::exportAllSeries(Reference<chart2::XChartType> xChartType, sal_Int32& rAttachedAxis) { Reference< chart2::XDataSeriesContainer > xDSCnt( xChartType, uno::UNO_QUERY ); if( ! xDSCnt.is()) @@ -1981,11 +1981,11 @@ void ChartExport::exportAllSeries(Reference<chart2::XChartType> xChartType, sal_ // export dataseries for current chart-type Sequence< Reference< chart2::XDataSeries > > aSeriesSeq( xDSCnt->getDataSeries()); - exportSeries(xChartType, aSeriesSeq, nAttachedAxis); + exportSeries(xChartType, aSeriesSeq, rAttachedAxis); } void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType, - Sequence<Reference<chart2::XDataSeries> >& rSeriesSeq, sal_Int32& nAttachedAxis ) + Sequence<Reference<chart2::XDataSeries> >& rSeriesSeq, sal_Int32& rAttachedAxis ) { OUString aLabelRole = xChartType->getRoleOfSequenceForSeriesLabel(); OUString aChartType( xChartType->getChartType()); @@ -2053,7 +2053,7 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType, { sal_Int32 nLocalAttachedAxis; mAny >>= nLocalAttachedAxis; - nAttachedAxis = translateFromChart2AxisIndexToOox(nLocalAttachedAxis); + rAttachedAxis = translateFromChart2AxisIndexToOox(nLocalAttachedAxis); } // export shape properties @@ -2186,12 +2186,12 @@ void ChartExport::exportSeries( Reference<chart2::XChartType> xChartType, void ChartExport::exportCandleStickSeries( const Sequence< Reference< chart2::XDataSeries > > & aSeriesSeq, bool /*bJapaneseCandleSticks*/, - sal_Int32& nAttachedAxis ) + sal_Int32& rAttachedAxis ) { for( sal_Int32 nSeriesIdx=0; nSeriesIdx<aSeriesSeq.getLength(); ++nSeriesIdx ) { Reference< chart2::XDataSeries > xSeries( aSeriesSeq[nSeriesIdx] ); - nAttachedAxis = lcl_isSeriesAttachedToFirstAxis( xSeries ) ? AXIS_PRIMARY_Y : AXIS_SECONDARY_Y; + rAttachedAxis = lcl_isSeriesAttachedToFirstAxis( xSeries ) ? AXIS_PRIMARY_Y : AXIS_SECONDARY_Y; Reference< chart2::data::XDataSource > xSource( xSeries, uno::UNO_QUERY ); if( xSource.is()) |