diff options
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/tools/StatisticsHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/StatisticsHelper.cxx b/chart2/source/tools/StatisticsHelper.cxx index 260c40eef2ca..e853f1ce49d1 100644 --- a/chart2/source/tools/StatisticsHelper.cxx +++ b/chart2/source/tools/StatisticsHelper.cxx @@ -121,7 +121,7 @@ void lcl_addSequenceToDataSource( const OUString & rRole ) { Reference< chart2::data::XDataSink > xSink( xDataSource, uno::UNO_QUERY ); - Reference< uno::XComponentContext > xContext( comphelper::getProcessComponentContext() ); + const Reference< uno::XComponentContext >& xContext( comphelper::getProcessComponentContext() ); if( ! xSink.is() ) return; |