summaryrefslogtreecommitdiff
path: root/ucb/source/sorter/sortresult.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:39:18 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:41 +0200
commitf6ea0b2eb44073baf1445dc8e62fc8a245e5d378 (patch)
tree1e7302abb6bb24fe1f3d43ce9698142bc61f6107 /ucb/source/sorter/sortresult.hxx
parenteb1603cb5383be7e25f35053dd64f044ead90099 (diff)
loplugin:passstuffbyref in ucb
Change-Id: I4ba18c767c67c9c8d23aac3f8de728b7a229804d
Diffstat (limited to 'ucb/source/sorter/sortresult.hxx')
-rw-r--r--ucb/source/sorter/sortresult.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/sorter/sortresult.hxx b/ucb/source/sorter/sortresult.hxx
index ab16c45bb604..e2461f44b568 100644
--- a/ucb/source/sorter/sortresult.hxx
+++ b/ucb/source/sorter/sortresult.hxx
@@ -165,7 +165,7 @@ public:
const SortedEntryList& GetS2OList() const { return maS2O; }
const SimpleList& GetO2SList() const { return maO2S; }
- css::uno::Reference < css::sdbc::XResultSet > GetResultSet() const { return mxOriginal; }
+ const css::uno::Reference < css::sdbc::XResultSet >& GetResultSet() const { return mxOriginal; }
SortInfo* GetSortInfo() const { return mpSortInfo; }
sal_IntPtr GetCount() const { return mnCount; }