summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/codemaker/global.hxx4
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_;