From 8d54796bf152499ecbe61788be64c9035f725dfa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 19 May 2014 10:02:29 +0200 Subject: enhance pass-by-ref plugin to detect large arguments Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann --- unotools/source/ucbhelper/ucbhelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unotools') diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx index bc9dba17c114..594f8ae38898 100644 --- a/unotools/source/ucbhelper/ucbhelper.cxx +++ b/unotools/source/ucbhelper/ucbhelper.cxx @@ -111,7 +111,7 @@ std::vector getContents(OUString const & url) { } } -OUString getCasePreservingUrl(INetURLObject url) { +OUString getCasePreservingUrl(const INetURLObject& url) { return content(url).executeCommand( OUString("getCasePreservingURL"), -- cgit