summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-26 21:24:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-26 21:24:29 +0200
commit43c00bc48978a2c148d6f0622f40d3b40a93eb6c (patch)
treed0b308203578d3b99cd31aa9136978e50edb14b1 /xmloff
parenta7e273755095e4b97c05a63ab39aa09f8aa755a4 (diff)
Clean up aEmptyStr
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/animexp.cxx8
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();
}
}
}