diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-12 14:35:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-12 14:35:23 +0200 |
commit | f3e18ad14e41fcda64f835ac1beb187a218db3d7 (patch) | |
tree | 451c4cd4d150e2c0680ca20ab6ff2e0e8297f07d /unotools/source | |
parent | 0c2d51e0daf2ce5e18af915ec40ec3196db8ab88 (diff) |
loplugin:passstuffbyref
Change-Id: Ifa990214aaf749d039043aa51d3301dc0f1f0e4f
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/ucbhelper/tempfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx index a3b909cc4f45..dcc4068b2ac3 100644 --- a/unotools/source/ucbhelper/tempfile.cxx +++ b/unotools/source/ucbhelper/tempfile.cxx @@ -366,7 +366,7 @@ OUString TempFile::GetFileName() const return aTmp; } -OUString TempFile::GetURL() +OUString const & TempFile::GetURL() { assert(!aName.isEmpty() && "TempFile::GetURL failed: unit test is leaking temp files, add the ucpfile1 component!"); return aName; |