summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctempl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 11:29:05 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:52 +0200
commit523036daaddf466eee46183bbec9a71d45c48a41 (patch)
tree21582b9f2ac1b8714233d7cb4d4c1aba17a15c3e /sfx2/source/doc/doctempl.cxx
parent746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce (diff)
loplugin:passstuffbyref in sfx2
Change-Id: I8c9d6e972f74ee04c8befda3b4cabb6e9b6b2054
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r--sfx2/source/doc/doctempl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 557278cd9029..07a852a298ba 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -231,9 +231,9 @@ public:
bool GetTitleFromURL( const OUString& rURL, OUString& aTitle );
bool InsertRegion( RegionData_Impl *pData, size_t nPos = size_t(-1) );
- OUString GetRootURL() const { return maRootURL; }
+ const OUString& GetRootURL() const { return maRootURL; }
- uno::Reference< XDocumentTemplates > getDocTemplates() { return mxTemplates; }
+ const uno::Reference< XDocumentTemplates >& getDocTemplates() { return mxTemplates; }
};