summaryrefslogtreecommitdiff
path: root/cppcanvas/source/wrapper/implcustomsprite.cxx
diff options
context:
space:
mode:
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 )