diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 13:14:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 15:27:37 +0200 |
commit | 24817c26b3f8cc1a8156357316be442e5460a1a7 (patch) | |
tree | e361e25d9ca4cd269fde426ddba135d87d6aba67 /dbaccess/qa | |
parent | b9e9dde5ae6f8955b5e6584dd5d809c98bb66814 (diff) |
loplugin:constparams in starmath
Change-Id: Iac470b572311241216622f22bc543c0bd10a28f6
Reviewed-on: https://gerrit.libreoffice.org/40714
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/embeddeddb_performancetest.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/qa/unit/embeddeddb_performancetest.cxx b/dbaccess/qa/unit/embeddeddb_performancetest.cxx index 23ab34723fff..26b77b555fe1 100644 --- a/dbaccess/qa/unit/embeddeddb_performancetest.cxx +++ b/dbaccess/qa/unit/embeddeddb_performancetest.cxx @@ -98,19 +98,19 @@ private: const OUString& rDBName, const bool bUsePreparedStatement); - void setupTestTable(uno::Reference< XConnection >& xConnection); + void setupTestTable(uno::Reference< XConnection > const & xConnection); SvFileStream *getWordListStream(); // Individual Tests void performPreparedStatementInsertTest( - uno::Reference< XConnection >& xConnection, + uno::Reference< XConnection > const & xConnection, const OUString& rDBName); void performStatementInsertTest( - uno::Reference< XConnection >& xConnection, + uno::Reference< XConnection > const & xConnection, const OUString& rDBName); void performReadTest( - uno::Reference< XConnection >& xConnection, + uno::Reference< XConnection > const & xConnection, const OUString& rDBName); // Perform all tests on a given DB. @@ -234,7 +234,7 @@ void EmbeddedDBPerformanceTest::doPerformanceTestOnODB( } void EmbeddedDBPerformanceTest::setupTestTable( - uno::Reference< XConnection >& xConnection) + uno::Reference< XConnection > const & xConnection) { uno::Reference< XStatement > xStatement = xConnection->createStatement(); @@ -249,7 +249,7 @@ void EmbeddedDBPerformanceTest::setupTestTable( } void EmbeddedDBPerformanceTest::performPreparedStatementInsertTest( - uno::Reference< XConnection >& xConnection, + uno::Reference< XConnection > const & xConnection, const OUString& rDBName) { uno::Reference< XPreparedStatement > xPreparedStatement = @@ -291,7 +291,7 @@ void EmbeddedDBPerformanceTest::performPreparedStatementInsertTest( } void EmbeddedDBPerformanceTest::performStatementInsertTest( - uno::Reference< XConnection >& xConnection, + uno::Reference< XConnection > const & xConnection, const OUString& rDBName) { uno::Reference< XStatement > xStatement = @@ -329,7 +329,7 @@ void EmbeddedDBPerformanceTest::performStatementInsertTest( } void EmbeddedDBPerformanceTest::performReadTest( - uno::Reference< XConnection >& xConnection, + uno::Reference< XConnection > const & xConnection, const OUString& rDBName) { uno::Reference< XStatement > xStatement = xConnection->createStatement(); |