diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-18 09:22:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-27 06:48:25 +0000 |
commit | 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch) | |
tree | d1c8626818cbf26a699875ae2d82f751a1657e92 /chart2/source/controller/chartapiwrapper | |
parent | 9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff) |
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c
Reviewed-on: https://gerrit.libreoffice.org/27317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/controller/chartapiwrapper')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx | 2 | ||||
-rw-r--r-- | chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx index 68c57a5aa11e..904ec57ce11c 100644 --- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx +++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx @@ -98,7 +98,7 @@ Reference< chart2::XDiagram > Chart2ModelContact::getChart2Diagram() const return ChartModelHelper::findDiagram( this->getChartModel() ); } -uno::Reference< lang::XUnoTunnel > Chart2ModelContact::getChartView() const +uno::Reference< lang::XUnoTunnel > const & Chart2ModelContact::getChartView() const { if(!m_xChartView.is()) { diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx index 8b64b5f0fb96..a0e9305676b2 100644 --- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx +++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx @@ -126,7 +126,7 @@ public: private: //methods ExplicitValueProvider* getExplicitValueProvider() const; - css::uno::Reference< css::lang::XUnoTunnel > getChartView() const; + css::uno::Reference< css::lang::XUnoTunnel > const & getChartView() const; public: //member css::uno::Reference< css::uno::XComponentContext > m_xContext; |