From 9fce680e27e57f0539f55c7ecb5c8e1d96029267 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 10:44:57 +0200 Subject: loplugin:passstuffbyref in dbaccess Change-Id: Ice52ebbfeca45c8587fdcd0d3dea5c02c7de27e3 --- dbaccess/source/ui/inc/CollectionView.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess/source/ui/inc/CollectionView.hxx') diff --git a/dbaccess/source/ui/inc/CollectionView.hxx b/dbaccess/source/ui/inc/CollectionView.hxx index f1ac9a1682cb..794c3213807e 100644 --- a/dbaccess/source/ui/inc/CollectionView.hxx +++ b/dbaccess/source/ui/inc/CollectionView.hxx @@ -58,7 +58,7 @@ namespace dbaui ,const css::uno::Reference< css::uno::XComponentContext >& _rxContext); virtual ~OCollectionView(); virtual void dispose() override; - css::uno::Reference< css::ucb::XContent> getSelectedFolder() const { return m_xContent;} + const css::uno::Reference< css::ucb::XContent>& getSelectedFolder() const { return m_xContent;} OUString getName() const; }; } // namespace dbaui -- cgit