loplugin:passstuffbyref
Change-Id: Ifa990214aaf749d039043aa51d3301dc0f1f0e4f
This commit is contained in:
@@ -84,7 +84,7 @@ public:
|
|||||||
Returns the URL of the tempfile object.
|
Returns the URL of the tempfile object.
|
||||||
If you want to have the system path file name, use the GetFileName() method of this 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
|
Returns the system path name of the tempfile in host notation
|
||||||
|
@@ -366,7 +366,7 @@ OUString TempFile::GetFileName() const
|
|||||||
return aTmp;
|
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!");
|
assert(!aName.isEmpty() && "TempFile::GetURL failed: unit test is leaking temp files, add the ucpfile1 component!");
|
||||||
return aName;
|
return aName;
|
||||||
|
Reference in New Issue
Block a user