summaryrefslogtreecommitdiff
path: root/sc/inc/textuno.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:14:04 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:40 +0200
commitd1f6f79d0df21c2bb3be9d191233eabf22afb14e (patch)
treeb124796ed1043c5dc68dc416469e088228448492 /sc/inc/textuno.hxx
parent492f2ff0053a11aa6e49a18a9a8caf87edb68436 (diff)
loplugin:passstuffbyref in sc
Change-Id: I75c483972db787ea9c941eaac0df023f1929b09c
Diffstat (limited to 'sc/inc/textuno.hxx')
-rw-r--r--sc/inc/textuno.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index 6447ee0770f5..607e65b77f4c 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -130,7 +130,7 @@ public:
ScEditEngineDefaulter* GetEditEngine() { GetTextForwarder(); return pEditEngine; }
ScHeaderFooterPart GetPart() const { return nPart; }
- rtl::Reference<ScHeaderFooterContentObj> GetContentObj() const { return rContentObj; }
+ const rtl::Reference<ScHeaderFooterContentObj>& GetContentObj() const { return rContentObj; }
const EditTextObject* GetTextObject() const { return mpTextObj.get(); }