summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/objectdefaultcontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/objectdefaultcontext.cxx')
-rw-r--r--oox/source/drawingml/objectdefaultcontext.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/oox/source/drawingml/objectdefaultcontext.cxx b/oox/source/drawingml/objectdefaultcontext.cxx
index 69b9423a4abc..d233379f9b02 100644
--- a/oox/source/drawingml/objectdefaultcontext.cxx
+++ b/oox/source/drawingml/objectdefaultcontext.cxx
@@ -28,8 +28,6 @@
#include "oox/drawingml/objectdefaultcontext.hxx"
#include "oox/drawingml/spdefcontext.hxx"
#include "oox/drawingml/theme.hxx"
-#include "oox/core/namespaces.hxx"
-#include "tokens.hxx"
using rtl::OUString;
using namespace ::oox::core;
@@ -48,11 +46,11 @@ Reference< XFastContextHandler > objectDefaultContext::createFastChildContext( s
{
switch( aElementToken )
{
- case NMSP_DRAWINGML|XML_spDef:
+ case A_TOKEN( spDef ):
return new spDefContext( *this, mrTheme.getSpDef() );
- case NMSP_DRAWINGML|XML_lnDef:
+ case A_TOKEN( lnDef ):
return new spDefContext( *this, mrTheme.getLnDef() );
- case NMSP_DRAWINGML|XML_txDef:
+ case A_TOKEN( txDef ):
return new spDefContext( *this, mrTheme.getTxDef() );
}
return 0;