diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-30 18:25:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-05-07 07:14:41 +0000 |
commit | 904b3d1fceee5827076758ed2a81f80cb73493ca (patch) | |
tree | 0fb9188cb3c7bb0076c98be1c4766cbf1254b508 /sd | |
parent | 493c1e4628d2c2927ce0657497d51a1fcc37c2b3 (diff) |
Up-cast conversion constructor for css::uno::Reference
Based on a previous patch by Noel Grandin,
<https://gerrit.libreoffice.org/#/c/3613/>, and borrowing from
boost::is_base_and_derived (see comment in include/com/sun/star/uno/Reference.h)
to avoid including Boost headers in URE headers.
Change-Id: Iade5af144dd73ef03bd7d96000134c7a66a5e591
Reviewed-on: https://gerrit.libreoffice.org/3699
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/CustomAnimationEffect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx index 21a098f7ee2f..827bed2af29f 100644 --- a/sd/source/core/CustomAnimationEffect.cxx +++ b/sd/source/core/CustomAnimationEffect.cxx @@ -1022,7 +1022,7 @@ Reference< XAnimationNode > CustomAnimationEffect::createAfterEffectNode() const xAnimate->setFill( AnimationFill::HOLD ); xAnimate->setTarget( maTarget ); - return Reference< XAnimationNode >( xAnimate, UNO_QUERY_THROW ); + return xAnimate; } // -------------------------------------------------------------------- |