summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 09:32:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 20:10:57 +0200
commit31f04378dbc07d4367dc3b66163aaed171cf0323 (patch)
tree803e8caa6fa9cecdab5e1a0047fbd334fd2ab1ee /sdext
parent2836b78b54650d117282a9a345677d1b4d9fc043 (diff)
loplugin:passstuffbyref
Change-Id: Icb7c22cf4ac95eab54d04e79312fb471ca27bceb Reviewed-on: https://gerrit.libreoffice.org/74246 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/unodialog.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/minimizer/unodialog.hxx b/sdext/source/minimizer/unodialog.hxx
index 0022932f2416..9d056f88d0fa 100644
--- a/sdext/source/minimizer/unodialog.hxx
+++ b/sdext/source/minimizer/unodialog.hxx
@@ -98,7 +98,7 @@ public:
void reschedule() const { mxReschedule->reschedule(); }
bool endStatus() const { return mbStatus; }
css::uno::Reference<css::awt::XControl> getControl(const OUString& rControlName) const { return mxDialog->getControl(rControlName); }
- css::uno::Reference<css::frame::XController> controller() const { return mxController; }
+ const css::uno::Reference<css::frame::XController>& controller() const { return mxController; }
void setPropertyValues(const css::uno::Sequence<OUString>& rNameSeq, const css::uno::Sequence<css::uno::Any>& rValueSeq)
{ mxDialogModelMultiPropertySet->setPropertyValues(rNameSeq, rValueSeq); }