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

Stephan Bergmann sbergman at redhat.com
Fri Jul 1 10:52:53 UTC 2016


 sd/source/filter/eppt/epptso.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 5a002a0ac6441bf6d292a7ae21d9b916c8782371
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jul 1 12:50:34 2016 +0200

    clang-analyzer-deadcode.DeadStores
    
    ...after 19bacff27bd2201fb136963e11e865b8a31d849e "loplugin:singlevalfields in
    sd"
    
    Change-Id: Ic8dbc4d9f2710b848bfd462285ec86193e55ee8b

diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 33ad99f..e534977 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -2156,12 +2156,11 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
     // sal_uInt32  nGroupLevel = 0;
 
     sal_uInt32  nInstance, nGroups, nShapes, nShapeCount, nPer, nLastPer, nIndices, nOlePictureId;
-    sal_Int32  nEffectCount;
     css::awt::Point   aTextRefPoint;
 
     ResetGroupTable( nShapes = mXShapes->getCount() );
 
-    nIndices = nInstance = nLastPer = nShapeCount = nEffectCount = 0;
+    nIndices = nInstance = nLastPer = nShapeCount = 0;
 
     bool bIsTitlePossible = true;           // powerpoint is not able to handle more than one title
 
@@ -2205,9 +2204,6 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
             css::presentation::AnimationEffect eAe;
             css::presentation::AnimationEffect eTe;
 
-            if ( ImplGetPropertyValue( "PresentationOrder" ) )
-                nEffectCount = *o3tl::doAccess<sal_Int32>(mAny);
-
             bool bEffect = ImplGetEffect( mXPropSet, eAe, eTe, bIsSound );
             css::presentation::ClickAction eCa = css::presentation::ClickAction_NONE;
             if ( ImplGetPropertyValue( "OnClick" ) )


More information about the Libreoffice-commits mailing list