diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-08 14:33:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-08 18:32:33 +0200 |
commit | 11bdb6b9d9df991bb4ee48d4682458facaa2bdd5 (patch) | |
tree | 29180dbac55048e038c404769d059780f39f21a3 /slideshow/source | |
parent | c69e5e3cc08bfbb4a5f6c756c523e4016c8fd1dd (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |