diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 09:28:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 13:07:40 +0000 |
commit | 32f95a35514701ed16413125b440c16d90f52b4a (patch) | |
tree | 25ac5edca15ee02bc937ee47116c2197559da4cd /xmloff | |
parent | 0f98299f7aa44bbb55c1bfeddca7799f727d14b0 (diff) |
V813: Decreased performance
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLAxisContext.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx index f7192cfcbd80..079dbb6cb0b4 100644 --- a/xmloff/source/chart/SchXMLAxisContext.cxx +++ b/xmloff/source/chart/SchXMLAxisContext.cxx @@ -122,16 +122,16 @@ SchXMLAxisContext::SchXMLAxisContext( SchXMLImportHelper& rImpHelper, SchXMLAxisContext::~SchXMLAxisContext() {} -static Reference< chart::XAxis > lcl_getChartAxis( SchXMLAxis aCurrentAxis, const Reference< chart::XDiagram > xDiagram ) +static Reference< chart::XAxis > lcl_getChartAxis(const SchXMLAxis& rCurrentAxis, const Reference< chart::XDiagram > xDiagram ) { Reference< chart::XAxis > xAxis; Reference< chart::XAxisSupplier > xAxisSuppl( xDiagram, uno::UNO_QUERY ); if( !xAxisSuppl.is() ) return xAxis; - if( aCurrentAxis.nAxisIndex == 0 ) - xAxis = xAxisSuppl->getAxis(aCurrentAxis.eDimension); + if( rCurrentAxis.nAxisIndex == 0 ) + xAxis = xAxisSuppl->getAxis(rCurrentAxis.eDimension); else - xAxis = xAxisSuppl->getSecondaryAxis(aCurrentAxis.eDimension); + xAxis = xAxisSuppl->getSecondaryAxis(rCurrentAxis.eDimension); return xAxis; } |