diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-17 21:57:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-17 21:57:33 +0200 |
commit | 8569cf1d91c68a46c904314861eb35fda9e219ce (patch) | |
tree | 6c80aacb226af9f925004a9753b368184bf5e88f /chart2 | |
parent | loplugin:passstuffbyref (diff) | |
download | core-8569cf1d91c68a46c904314861eb35fda9e219ce.tar.gz core-8569cf1d91c68a46c904314861eb35fda9e219ce.zip |
loplugin:passstuffbyref
Change-Id: I0114bd98b92b9810d7d829ddce8461a2844e0506
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/inc/ChartController.hxx | 2 | ||||
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 2 |
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; } |