From 11bdb6b9d9df991bb4ee48d4682458facaa2bdd5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 May 2020 14:33:47 +0200 Subject: improve loplugin:referencecasting to catch a few more cases Change-Id: I0323fba51bb2b4ba255e1db5aa0d890c5c6a2e1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93726 Tested-by: Jenkins Reviewed-by: Noel Grandin --- slideshow/source/engine/slideshowimpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slideshow/source/engine/slideshowimpl.cxx') diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 214084710fad..b06a05bf06b1 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -1410,7 +1410,7 @@ void SlideShowImpl::registerUserPaintPolygons( const uno::Reference< lang::XMult { PolyPolygonVector aPolygons = rPoly.second; //Get shapes for the slide - css::uno::Reference< css::drawing::XShapes > Shapes(rPoly.first, css::uno::UNO_QUERY); + css::uno::Reference< css::drawing::XShapes > Shapes = rPoly.first; //Retrieve polygons for one slide for( const auto& pPolyPoly : aPolygons ) { -- cgit v1.2.3