summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-01 12:50:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-01 12:50:34 +0200
commit5a002a0ac6441bf6d292a7ae21d9b916c8782371 (patch)
tree8ad127a339eb84fb71dc62bc26778191daa212aa /sd
parenteeb852ea1ecb77c2980d44075429b06e7d420c3a (diff)
clang-analyzer-deadcode.DeadStores
...after 19bacff27bd2201fb136963e11e865b8a31d849e "loplugin:singlevalfields in sd" Change-Id: Ic8dbc4d9f2710b848bfd462285ec86193e55ee8b
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/epptso.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 33ad99f9977c..e5349777f06b 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" ) )