summaryrefslogtreecommitdiff
path: root/oox/source/ppt/soundactioncontext.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-09-12 16:57:53 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-09-14 11:29:31 +0200
commit24dbe577e539798203d777802cc7027b2edd58c4 (patch)
tree5f22ef1e1fda89acd31758063b2ff1735a56bab7 /oox/source/ppt/soundactioncontext.cxx
parentb7006f3c2f8f71f4d4721c6e5cdc122628c756f0 (diff)
Replace struct EmbeddedWAVAudioFile with simple string.
Change-Id: I6659b6e1be865546f380a28e4803fbe593de0803
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 ):