summaryrefslogtreecommitdiff
path: root/package/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 20:08:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 07:56:19 +0200
commit84abf28e05fc55be867028f3d3a59220ca2669f0 (patch)
treeebf1c6c90f89b4aa9a5a6b516ec89121026bfe03 /package/qa
parentdefdd8bebe40b48d8abc4d893ac9a82b550c5d19 (diff)
loplugin:referencecasting in oox..pyuno
Change-Id: Ie920c154aef3074016704c632b15d99110b219aa Reviewed-on: https://gerrit.libreoffice.org/75974 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/qa')
-rw-r--r--package/qa/cppunit/test_package.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/qa/cppunit/test_package.cxx b/package/qa/cppunit/test_package.cxx
index acd2b5c795a6..ec65d7a88351 100644
--- a/package/qa/cppunit/test_package.cxx
+++ b/package/qa/cppunit/test_package.cxx
@@ -70,7 +70,7 @@ namespace
CPPUNIT_ASSERT(xZip.is());
- mxNA = uno::Reference<container::XNameAccess>(xZip, uno::UNO_QUERY);
+ mxNA = xZip;
CPPUNIT_ASSERT(mxNA.is());
}