diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 22:24:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 08:00:32 +0200 |
commit | a6050c32f30796743f9ab9b2a5c793ced9b8f747 (patch) | |
tree | a2fa6d05708d1c99414893064adaee56460ac728 /sd | |
parent | 01ed4bf52db701c4e7824f4a92b5a3afa2a5ca4b (diff) |
Clean up aEmpty
Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/EffectMigration.cxx | 3 | ||||
-rw-r--r-- | sd/source/filter/ppt/pptinanimations.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/core/EffectMigration.cxx b/sd/source/core/EffectMigration.cxx index abfa32106465..4261b7e78d41 100644 --- a/sd/source/core/EffectMigration.cxx +++ b/sd/source/core/EffectMigration.cxx @@ -644,10 +644,9 @@ void EffectMigration::SetTextAnimationEffect( SvxShape* pShape, AnimationEffect } else { - OUString aEmpty; CustomAnimationPresetPtr pShapePreset( rPresets.getEffectDescriptor( "ooo-entrance-appear" ) ); - Reference< XAnimationNode > xNode( pPreset->create( aEmpty ) ); + Reference< XAnimationNode > xNode( pPreset->create( "" ) ); DBG_ASSERT( xNode.is(), "EffectMigration::SetTextAnimationEffect(), could not create preset!" ); if( xNode.is() ) { diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index 3783d7e85008..d63bc65c254e 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -659,8 +659,7 @@ bool AnimationImporter::convertAnimationNode( const Reference< XAnimationNode >& if( (nNodeType == AnimationNodeType::ANIMATEMOTION) || (nNodeType == AnimationNodeType::ANIMATETRANSFORM) ) { - OUString aEmpty; - aAttributeName = aEmpty; + aAttributeName.clear(); } else { |