[Libreoffice-commits] core.git: sd/source

Julien Nabet serval2412 at yahoo.fr
Sat Mar 23 16:18:15 PDT 2013


 sd/source/core/EffectMigration.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9a544af808c15a13d8d3a049d647326799485e4a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Mar 24 00:15:52 2013 +0100

    coverity#704288 Logically dead code
    
    Change-Id: I46cebb9155440c6925df987f95ba46c1e54e8eec

diff --git a/sd/source/core/EffectMigration.cxx b/sd/source/core/EffectMigration.cxx
index 1800d90..41d4eba 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() );


More information about the Libreoffice-commits mailing list