diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/animexp.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xmloff/source/draw/animexp.cxx b/xmloff/source/draw/animexp.cxx index 05c12cbb4d1a..e174de1d34f0 100644 --- a/xmloff/source/draw/animexp.cxx +++ b/xmloff/source/draw/animexp.cxx @@ -311,8 +311,6 @@ void XMLAnimationsExporter::collect( Reference< XShape > xShape, SvXMLExport& rE Reference< XPropertySet > xProps( xShape, UNO_QUERY ); if( xProps.is() ) { - const OUString aEmptyStr; - Reference< XPropertySetInfo > xInfo( xProps->getPropertySetInfo() ); AnimationEffect eEffect; XMLEffectHint aEffect; @@ -371,7 +369,7 @@ void XMLAnimationsExporter::collect( Reference< XShape > xShape, SvXMLExport& rE mpImpl->maEffects.push_back( aEffect ); aEffect.mnPathShapeId = -1; - aEffect.maSoundURL = aEmptyStr; + aEffect.maSoundURL.clear(); } xProps->getPropertyValue( mpImpl->msTextEffect ) >>= eEffect; @@ -390,7 +388,7 @@ void XMLAnimationsExporter::collect( Reference< XShape > xShape, SvXMLExport& rE mpImpl->maEffects.push_back( aEffect ); aEffect.mbTextEffect = false; - aEffect.maSoundURL = aEmptyStr; + aEffect.maSoundURL.clear(); } bool bDimPrev = false; @@ -416,7 +414,7 @@ void XMLAnimationsExporter::collect( Reference< XShape > xShape, SvXMLExport& rE } mpImpl->maEffects.push_back( aEffect ); - aEffect.maSoundURL = aEmptyStr; + aEffect.maSoundURL.clear(); } } } |