summaryrefslogtreecommitdiff
path: root/include/oox/ole/axcontrol.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 14:59:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-23 19:34:49 +0200
commit09cd0e363d6c5b0e7b9cebc598030a7e3d397922 (patch)
tree86c5add3e30f1599618a9e355aaa41d49e394f1f /include/oox/ole/axcontrol.hxx
parent306180ac17ad6f3edfe403fb5b79232717f8e75f (diff)
loplugin:returnconstval in oox
Change-Id: Id83744fcb90d1bf6e6fe048858f48a4944351494 Reviewed-on: https://gerrit.libreoffice.org/78013 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox/ole/axcontrol.hxx')
-rw-r--r--include/oox/ole/axcontrol.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx
index 968360a5b39b..d1d47459bdb8 100644
--- a/include/oox/ole/axcontrol.hxx
+++ b/include/oox/ole/axcontrol.hxx
@@ -334,7 +334,7 @@ public:
PropertySet const & rPropSet,
sal_Int32& nOrientation );
- const css::uno::Reference<css::frame::XModel> GetDocModel() const { return mxDocModel; }
+ const css::uno::Reference<css::frame::XModel> & GetDocModel() const { return mxDocModel; }
private:
css::uno::Reference< css::frame::XModel > mxDocModel;