diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 13:55:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:39 +0200 |
commit | f34cc90df9e6e7bc7d58a4ed4be71a63f0ec5ae4 (patch) | |
tree | f10a9a2847f96d6ef4a5d76239a2daa4dfcd082d /include/vbahelper | |
parent | 1f83c3d560ca7224e81c85b119ef580682ecf876 (diff) |
loplugin:passstuffbyref in vbahelper
Change-Id: I09e6ea5cbab5b06dd284a096503b19c15b2136ce
Diffstat (limited to 'include/vbahelper')
-rw-r--r-- | include/vbahelper/vbadocumentbase.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vbahelper/vbadocumentbase.hxx b/include/vbahelper/vbadocumentbase.hxx index 97d170c2b51e..37fdc1483d5d 100644 --- a/include/vbahelper/vbadocumentbase.hxx +++ b/include/vbahelper/vbadocumentbase.hxx @@ -31,7 +31,7 @@ protected: css::uno::Reference< css::frame::XModel > mxModel; css::uno::Reference< css::uno::XInterface > mxVBProject; protected: - css::uno::Reference< css::frame::XModel > getModel() { return mxModel; } + const css::uno::Reference< css::frame::XModel >& getModel() { return mxModel; } public: VbaDocumentBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, css::uno::Reference< css::frame::XModel > xModel ); |