summaryrefslogtreecommitdiff
path: root/include/unotest/directories.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 13:34:26 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:39 +0200
commit1f83c3d560ca7224e81c85b119ef580682ecf876 (patch)
tree55cb30caf3c3bd4e17917fe941b6aba656151812 /include/unotest/directories.hxx
parent00240e54ed826618e08a0ca2b94fa7caac8f4e1a (diff)
loplugin:passstuffbyref in unotest
Change-Id: Icfd516f9fab9c6af6898b1880e51f747f4e25793
Diffstat (limited to 'include/unotest/directories.hxx')
-rw-r--r--include/unotest/directories.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotest/directories.hxx b/include/unotest/directories.hxx
index a658d187a46d..3e44558a26ca 100644
--- a/include/unotest/directories.hxx
+++ b/include/unotest/directories.hxx
@@ -27,8 +27,8 @@ private:
public:
Directories();
- OUString getSrcRootURL() { return m_aSrcRootURL; }
- OUString getSrcRootPath() { return m_aSrcRootPath; }
+ const OUString& getSrcRootURL() { return m_aSrcRootURL; }
+ const OUString& getSrcRootPath() { return m_aSrcRootPath; }
// return a URL to a given c-str path from the source directory
OUString getURLFromSrc( const char *pPath );