loplugin:passstuffbyref

Change-Id: Ifa990214aaf749d039043aa51d3301dc0f1f0e4f
This commit is contained in:
Stephan Bergmann
2016-05-12 14:35:02 +02:00
parent 0c2d51e0da
commit f3e18ad14e
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ public:
Returns the URL of the tempfile object.
If you want to have the system path file name, use the GetFileName() method of this object
*/
OUString GetURL();
OUString const & GetURL();
/**
Returns the system path name of the tempfile in host notation

View File

@@ -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;