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 <[email protected]> Suggested-by: Ariel Constenla-Haile <[email protected]> Reviewed-by: Herbert Duerr <[email protected]> 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(),
