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.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/oox/source/ppt/soundactioncontext.cxx b/oox/source/ppt/soundactioncontext.cxx
index 281eb848629c..e9b955a73e15 100644
--- a/oox/source/ppt/soundactioncontext.cxx
+++ b/oox/source/ppt/soundactioncontext.cxx
@@ -32,10 +32,7 @@
#include "oox/helper/attributelist.hxx"
#include "oox/helper/propertymap.hxx"
-#include "oox/core/namespaces.hxx"
#include "oox/drawingml/embeddedwavaudiofile.hxx"
-#include "properties.hxx"
-#include "tokens.hxx"
using rtl::OUString;
using namespace ::oox::core;
@@ -63,7 +60,7 @@ namespace oox { namespace ppt {
void SoundActionContext::endFastElement( sal_Int32 aElement ) throw (SAXException, RuntimeException)
{
- if ( aElement == ( NMSP_PPT|XML_sndAc ) )
+ if ( aElement == PPT_TOKEN( sndAc ) )
{
if( mbHasStartSound )
{
@@ -106,7 +103,7 @@ namespace oox { namespace ppt {
switch( aElement )
{
- case NMSP_PPT|XML_snd:
+ case PPT_TOKEN( snd ):
if( mbHasStartSound )
{
drawingml::EmbeddedWAVAudioFile aAudio;
@@ -115,11 +112,11 @@ namespace oox { namespace ppt {
msSndName = ( aAudio.mbBuiltIn ? aAudio.msName : aAudio.msEmbed );
}
break;
- case NMSP_PPT|XML_endSnd:
+ case PPT_TOKEN( endSnd ):
// CT_Empty
mbStopSound = true;
break;
- case NMSP_PPT|XML_stSnd:
+ case PPT_TOKEN( stSnd ):
mbHasStartSound = true;
mbLoopSound = attribs.getBool( XML_loop, false );
default: