summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-03-24 00:15:52 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-03-24 00:16:06 +0100
commit9a544af808c15a13d8d3a049d647326799485e4a (patch)
tree105ab2b9b68efca6bfb9e341bea1803a60f66244 /sd
parent2098b720dd9cdfef5b214802f0b37f49ad42982c (diff)
coverity#704288 Logically dead code
Change-Id: I46cebb9155440c6925df987f95ba46c1e54e8eec
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/EffectMigration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/EffectMigration.cxx b/sd/source/core/EffectMigration.cxx
index 1800d9099d4e..41d4eba0befd 100644
--- a/sd/source/core/EffectMigration.cxx
+++ b/sd/source/core/EffectMigration.cxx
@@ -1322,7 +1322,7 @@ void EffectMigration::SetAnimationPath( SvxShape* pShape, SdrPathObj* pPathObj )
if( pObj )
{
const Reference< XShape > xShape( pShape );
- SdPage* pPage = dynamic_cast< SdPage* >( pPathObj ? pPathObj->GetPage() : 0 );
+ SdPage* pPage = dynamic_cast< SdPage* >(pPathObj->GetPage());
if( pPage )
{
boost::shared_ptr< sd::MainSequence > pMainSequence( pPage->getMainSequence() );