summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-09 07:44:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-13 12:27:08 +0100
commite3290499009492e39e5ddd870d314bb5df494199 (patch)
tree6ffaa7c199e74791ed1a2aa8a74a0a528509a02f /xmloff
parent8709c643136eed67bc8f04ab9465b4a76085747c (diff)
loplugin singlevalfields improvement
checking for casting to void* turns out to mask useful stuff, so remove that and just deal with a few extra false+ Change-Id: Id9700d7ceda90ba8fdb38aa870f13a7ca3acb668 Reviewed-on: https://gerrit.libreoffice.org/63145 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/animexp.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/xmloff/source/draw/animexp.cxx b/xmloff/source/draw/animexp.cxx
index 420fb2180ab2..7098cc12eea9 100644
--- a/xmloff/source/draw/animexp.cxx
+++ b/xmloff/source/draw/animexp.cxx
@@ -210,7 +210,6 @@ struct XMLEffectHint
OUString maSoundURL;
bool mbPlayFull;
sal_Int32 mnPresId;
- sal_Int32 mnPathShapeId;
bool operator<(const XMLEffectHint& rComp) const { return mnPresId < rComp.mnPresId; }
@@ -218,7 +217,7 @@ struct XMLEffectHint
: meKind( XMLE_SHOW ), mbTextEffect( false ),
meEffect( EK_none ), meDirection( ED_none ), mnStartScale( -1 ),
meSpeed( AnimationSpeed_SLOW ), maDimColor(0), mbPlayFull( false ),
- mnPresId( 0 ), mnPathShapeId( -1 )
+ mnPresId( 0 )
{}
};
@@ -366,7 +365,6 @@ void XMLAnimationsExporter::collect( const Reference< XShape >& xShape, SvXMLExp
}
mpImpl->maEffects.push_back( aEffect );
- aEffect.mnPathShapeId = -1;
aEffect.maSoundURL.clear();
}
@@ -485,11 +483,6 @@ void XMLAnimationsExporter::exportAnimations( SvXMLExport& rExport )
rExport.AddAttribute( XML_NAMESPACE_PRESENTATION, XML_SPEED, sTmp.makeStringAndClear() );
}
- if( rEffect.mnPathShapeId != -1 )
- {
- rExport.AddAttribute( XML_NAMESPACE_PRESENTATION, XML_PATH_ID, OUString::number( rEffect.mnPathShapeId ) );
- }
-
enum XMLTokenEnum eLocalName;
if( rEffect.meKind == XMLE_SHOW )
{