summaryrefslogtreecommitdiff
path: root/cppcanvas/source/wrapper/implcustomsprite.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 09:52:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 11:47:47 +0200
commite6d23c144ccadbd962b5dfb953bf29e49a7f64a3 (patch)
treee0b0176fc3f4c08049cd72ef1ea4d24da02f0766 /cppcanvas/source/wrapper/implcustomsprite.cxx
parent6dfc659c5e468ad969291ad39085b9c3ec53bcac (diff)
loplugin:referencecasting in cppcanvas..cui
Change-Id: Ib8a513d88575cef9c1479b91adff98170c9323e8 Reviewed-on: https://gerrit.libreoffice.org/75937 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas/source/wrapper/implcustomsprite.cxx')
-rw-r--r--cppcanvas/source/wrapper/implcustomsprite.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cppcanvas/source/wrapper/implcustomsprite.cxx b/cppcanvas/source/wrapper/implcustomsprite.cxx
index 492f6d3de8fc..9aa56211474c 100644
--- a/cppcanvas/source/wrapper/implcustomsprite.cxx
+++ b/cppcanvas/source/wrapper/implcustomsprite.cxx
@@ -34,8 +34,7 @@ namespace cppcanvas
const uno::Reference< rendering::XCustomSprite >& rSprite,
const ImplSpriteCanvas::TransformationArbiterSharedPtr& rTransformArbiter ) :
ImplSprite( rParentCanvas,
- uno::Reference< rendering::XSprite >(rSprite,
- uno::UNO_QUERY),
+ rSprite,
rTransformArbiter ),
mpLastCanvas(),
mxCustomSprite( rSprite )