summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 14:30:16 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 15:12:10 +0200
commitb76c2ea81df92e1a863ce04e02005f58ab5ea5f9 (patch)
treeb5d6f723383d92b28fc7c8a0880f5f3b7e2dc525
parent50d02ad99f73aafbf25350c7275920af53d20ae1 (diff)
clang-tidy performance-unnecessary-value-param in ucbhelper
Change-Id: I595485e8804d6f2e4e0f9bc8a78c8cb132411f7d
-rw-r--r--include/ucbhelper/content.hxx2
-rw-r--r--ucbhelper/source/client/content.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ucbhelper/content.hxx b/include/ucbhelper/content.hxx
index e31a95d2af04..d407c6c5c80c 100644
--- a/include/ucbhelper/content.hxx
+++ b/include/ucbhelper/content.hxx
@@ -429,7 +429,7 @@ public:
css::uno::Reference< css::sdbc::XResultSet >
createSortedCursor( const css::uno::Sequence< OUString >& rPropertyNames,
const css::uno::Sequence< css::ucb::NumberedSortingInfo >& rSortInfo,
- css::uno::Reference< css::ucb::XAnyCompareFactory > rAnyCompareFactory,
+ const css::uno::Reference< css::ucb::XAnyCompareFactory >& rAnyCompareFactory,
ResultSetInclude eMode = INCLUDE_FOLDERS_AND_DOCUMENTS )
throw( css::ucb::CommandAbortedException,
css::uno::RuntimeException,
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 87ec398159c8..dd0397762f4e 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -651,7 +651,7 @@ Reference< XDynamicResultSet > Content::createDynamicCursor(
Reference< XResultSet > Content::createSortedCursor(
const Sequence< OUString >& rPropertyNames,
const Sequence< NumberedSortingInfo >& rSortInfo,
- Reference< XAnyCompareFactory > rAnyCompareFactory,
+ const Reference< XAnyCompareFactory >& rAnyCompareFactory,
ResultSetInclude eMode )
throw( CommandAbortedException, RuntimeException, Exception )
{