diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 09:33:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:51 +0200 |
commit | 1343916af23a0f238c5297c4e8d16942db489daa (patch) | |
tree | 76c6a12a82dec32f262f639e7f685215b9fedb3d /include/codemaker/global.hxx | |
parent | 9b640c03e054f030b2a3cf17cc453d5bfacc4981 (diff) |
loplugin:passstuffbyref in codemaker
Change-Id: Ib6a3342fdeeb7eb566e12eb599022b99c5f54b7e
Diffstat (limited to 'include/codemaker/global.hxx')
-rw-r--r-- | include/codemaker/global.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/codemaker/global.hxx b/include/codemaker/global.hxx index 7fc9ac9be5e2..964c84c6c655 100644 --- a/include/codemaker/global.hxx +++ b/include/codemaker/global.hxx @@ -56,7 +56,7 @@ public: void createTempFile(const ::rtl::OString& sPath); void close(); - ::rtl::OString getName() { return m_name; } + const ::rtl::OString& getName() { return m_name; } bool write(void const * buffer, sal_uInt64 size); @@ -98,7 +98,7 @@ public: virtual ~CannotDumpException() throw (); - OUString getMessage() const { return message_; } + const OUString& getMessage() const { return message_; } private: OUString message_; |