summaryrefslogtreecommitdiff
path: root/oox/source/ppt/soundactioncontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/soundactioncontext.cxx')
-rw-r--r--oox/source/ppt/soundactioncontext.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/oox/source/ppt/soundactioncontext.cxx b/oox/source/ppt/soundactioncontext.cxx
index 0996fdb3f947..9f1a4c0c69d3 100644
--- a/oox/source/ppt/soundactioncontext.cxx
+++ b/oox/source/ppt/soundactioncontext.cxx
@@ -74,10 +74,7 @@ namespace oox { namespace ppt {
case PPT_TOKEN( snd ):
if( mbHasStartSound )
{
- drawingml::EmbeddedWAVAudioFile aAudio;
- drawingml::getEmbeddedWAVAudioFile( getRelations(), rAttribs.getFastAttributeList(), aAudio);
-
- msSndName = ( aAudio.mbBuiltIn ? aAudio.msName : aAudio.msEmbed );
+ msSndName = drawingml::getEmbeddedWAVAudioFile( getRelations(), rAttribs );
}
return this;
case PPT_TOKEN( endSnd ):