You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2014/02/04 13:38:12 UTC
svn commit: r1564275 -
/openoffice/trunk/main/slideshow/source/engine/animationnodes/basecontainernode.cxx
Author: hdu
Date: Tue Feb 4 12:38:12 2014
New Revision: 1564275
URL: http://svn.apache.org/r1564275
Log:
#i123817# replaced boost::shared_dynamic_cast in slideshow
Boost's shared_dynamic_cast and shared_static_cast were deprecated since
boost 1.35 and removed in boost 1.53, so they have to be replaced
Found-by: Ariel Constenla-Haile <ar...@apache.org>
Suggested-by: Ariel Constenla-Haile <ar...@apache.org>
Reviewed-by: Herbert Duerr <hd...@apache.org>
Modified:
openoffice/trunk/main/slideshow/source/engine/animationnodes/basecontainernode.cxx
Modified: openoffice/trunk/main/slideshow/source/engine/animationnodes/basecontainernode.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/slideshow/source/engine/animationnodes/basecontainernode.cxx?rev=1564275&r1=1564274&r2=1564275&view=diff
==============================================================================
--- openoffice/trunk/main/slideshow/source/engine/animationnodes/basecontainernode.cxx (original)
+++ openoffice/trunk/main/slideshow/source/engine/animationnodes/basecontainernode.cxx Tue Feb 4 12:38:12 2014
@@ -154,7 +154,7 @@ void BaseContainerNode::showState() cons
for( std::size_t i=0; i<maChildren.size(); ++i )
{
BaseNodeSharedPtr pNode =
- boost::shared_dynamic_cast<BaseNode>(maChildren[i]);
+ boost::dynamic_pointer_cast<BaseNode>(maChildren[i]);
VERBOSE_TRACE(
"Node connection: n0x%X -> n0x%X",
(const char*)this+debugGetCurrentOffset(),