summaryrefslogtreecommitdiff
path: root/sw/inc/SwAppletImpl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:33:00 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:40 +0200
commit89fa923a28fb351bb4faad1f69ca94d17f8a5b06 (patch)
tree55472b67e354712f0f8f6fd0b54a248a0f71018d /sw/inc/SwAppletImpl.hxx
parentd1f6f79d0df21c2bb3be9d191233eabf22afb14e (diff)
loplugin:passstuffbyref in sw
Change-Id: I124bdd4f28c7d7508e77b902dfa23c398454bf38
Diffstat (limited to 'sw/inc/SwAppletImpl.hxx')
-rw-r--r--sw/inc/SwAppletImpl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/SwAppletImpl.hxx b/sw/inc/SwAppletImpl.hxx
index 16595d1e7891..13b8e6184e3e 100644
--- a/sw/inc/SwAppletImpl.hxx
+++ b/sw/inc/SwAppletImpl.hxx
@@ -63,7 +63,7 @@ public:
void AppendParam( const OUString& rName, const OUString& rValue );
#endif
void FinishApplet();
- css::uno::Reference < css::embed::XEmbeddedObject > GetApplet() { return xApplet; }
+ const css::uno::Reference < css::embed::XEmbeddedObject >& GetApplet() { return xApplet; }
SfxItemSet& GetItemSet() { return aItemSet; }
const OUString& GetAltText() const { return sAlt; }
void SetAltText( const OUString& rAlt ) {sAlt = rAlt;}