summaryrefslogtreecommitdiff
path: root/oox/source/ppt/customshowlistcontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/customshowlistcontext.cxx')
-rw-r--r--oox/source/ppt/customshowlistcontext.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/oox/source/ppt/customshowlistcontext.cxx b/oox/source/ppt/customshowlistcontext.cxx
index 613000d07d41..f66ccb0f6084 100644
--- a/oox/source/ppt/customshowlistcontext.cxx
+++ b/oox/source/ppt/customshowlistcontext.cxx
@@ -26,9 +26,6 @@
************************************************************************/
#include "customshowlistcontext.hxx"
-#include "oox/core/namespaces.hxx"
-#include "tokens.hxx"
-
using namespace ::oox::core;
using namespace ::com::sun::star::uno;
@@ -71,8 +68,8 @@ Reference< XFastContextHandler > SAL_CALL CustomShowContext::createFastChildCont
Reference< XFastContextHandler > xRet;
switch( aElementToken )
{
- case NMSP_PPT|XML_sld :
- mrCustomShow.maSldLst.push_back( xAttribs->getOptionalValue( NMSP_RELATIONSHIPS | XML_id ) );
+ case PPT_TOKEN( sld ) :
+ mrCustomShow.maSldLst.push_back( xAttribs->getOptionalValue( R_TOKEN( id ) ) );
default:
break;
}
@@ -102,7 +99,7 @@ Reference< XFastContextHandler > SAL_CALL CustomShowListContext::createFastChild
Reference< XFastContextHandler > xRet;
switch( aElementToken )
{
- case NMSP_PPT|XML_custShow :
+ case PPT_TOKEN( custShow ) :
{
CustomShow aCustomShow;
mrCustomShowList.push_back( aCustomShow );