diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 12:26:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 14:23:39 +0200 |
commit | 56be2245bf11ddb64fcfbf8175a864d688ac5c1a (patch) | |
tree | 567e7e061a2d1caf653fd44cc02e9c26512cb230 /dbaccess/qa | |
parent | 2702c2d1eb9af2d03d5e0a1b7704ab170a5e8d31 (diff) |
loplugin:constparams in dbaccess
Change-Id: I4994c4f0ae614c8f98466f440412f28380ddd6a6
Reviewed-on: https://gerrit.libreoffice.org/40589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/qa')
-rw-r--r-- | dbaccess/qa/unit/dbtest_base.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/qa/unit/dbtest_base.cxx b/dbaccess/qa/unit/dbtest_base.cxx index 9d3183b21e93..86914faee5c2 100644 --- a/dbaccess/qa/unit/dbtest_base.cxx +++ b/dbaccess/qa/unit/dbtest_base.cxx @@ -30,7 +30,7 @@ public: uno::Reference< XConnection > getConnectionForDocument( - uno::Reference< XOfficeDatabaseDocument >& xDocument); + uno::Reference< XOfficeDatabaseDocument > const & xDocument); }; uno::Reference< XOfficeDatabaseDocument > @@ -48,7 +48,7 @@ uno::Reference< XOfficeDatabaseDocument > } uno::Reference< XConnection > DBTestBase::getConnectionForDocument( - uno::Reference< XOfficeDatabaseDocument >& xDocument) + uno::Reference< XOfficeDatabaseDocument > const & xDocument) { uno::Reference< XDataSource > xDataSource = xDocument->getDataSource(); CPPUNIT_ASSERT(xDataSource.is()); |