summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-17 21:57:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-17 21:57:33 +0200
commit8569cf1d91c68a46c904314861eb35fda9e219ce (patch)
tree6c80aacb226af9f925004a9753b368184bf5e88f /chart2/source
parent1fc8fb3175fd7539e4db3fcbc6f246871a1786e7 (diff)
loplugin:passstuffbyref
Change-Id: I0114bd98b92b9810d7d829ddce8461a2844e0506
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/inc/ChartController.hxx2
-rw-r--r--chart2/source/controller/main/ChartController_Window.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/inc/ChartController.hxx b/chart2/source/controller/inc/ChartController.hxx
index 00833b42bb5c..157e31e04482 100644
--- a/chart2/source/controller/inc/ChartController.hxx
+++ b/chart2/source/controller/inc/ChartController.hxx
@@ -378,7 +378,7 @@ public:
DECL_LINK_TYPED( NotifyUndoActionHdl, SdrUndoAction*, void );
- css::uno::Reference<css::uno::XInterface> getChartView();
+ css::uno::Reference<css::uno::XInterface> const & getChartView();
private:
DrawViewWrapper* GetDrawViewWrapper();
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx
index 944e8762d5aa..dfe6811998f3 100644
--- a/chart2/source/controller/main/ChartController_Window.cxx
+++ b/chart2/source/controller/main/ChartController_Window.cxx
@@ -1969,7 +1969,7 @@ void ChartController::impl_SetMousePointer( const MouseEvent & rEvent )
m_pChartWindow->SetPointer( Pointer( PointerStyle::Arrow ));
}
-css::uno::Reference<css::uno::XInterface> ChartController::getChartView()
+css::uno::Reference<css::uno::XInterface> const & ChartController::getChartView()
{
return m_xChartView;
}