summaryrefslogtreecommitdiff
path: root/dbaccess/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 09:52:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 11:53:24 +0200
commit1003f9f14d83eac9c08a219fa7d8140550de02c7 (patch)
tree295e5ee4b46d5a72c14f0b4e2a0214ad78457cfc /dbaccess/qa
parentfbcd5f074ca3dc105f4fe45b6975c6de2bf60f35 (diff)
loplugin:referencecasting in dbaccess
Change-Id: If44176f85f460afca92cfa77b3cc1f7107a41690 Reviewed-on: https://gerrit.libreoffice.org/75938 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/qa')
-rw-r--r--dbaccess/qa/extras/rowsetclones.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/qa/extras/rowsetclones.cxx b/dbaccess/qa/extras/rowsetclones.cxx
index 433bf328864b..aabb80acc0fa 100644
--- a/dbaccess/qa/extras/rowsetclones.cxx
+++ b/dbaccess/qa/extras/rowsetclones.cxx
@@ -82,7 +82,7 @@ void RowSetClones::test()
rowSetProperties->setPropertyValue("ActiveConnection", Any(xConnection));
xRowSet->execute();
- uno::Reference< XResultSet > xResultSet(xRowSet, UNO_QUERY);
+ uno::Reference< XResultSet > xResultSet = xRowSet;
CPPUNIT_ASSERT(xResultSet.is());
// always starts at BeforeFirst position
CPPUNIT_ASSERT(xResultSet->isBeforeFirst());