summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8nds.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 653321ab82db..c55de894f80c 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -3099,20 +3099,17 @@ void MSWordExportBase::OutputContentNode( const SwContentNode& rNode )
{
switch ( rNode.GetNodeType() )
{
- case ND_TEXTNODE:
- {
- const SwTextNode& rTextNode = *rNode.GetTextNode();
- OutputTextNode( rTextNode );
- }
- break;
- case ND_GRFNODE:
+ case SwNodeType::Text:
+ OutputTextNode( *rNode.GetTextNode() );
+ break;
+ case SwNodeType::Grf:
OutputGrfNode( *rNode.GetGrfNode() );
break;
- case ND_OLENODE:
+ case SwNodeType::Ole:
OutputOLENode( *rNode.GetOLENode() );
break;
default:
- OSL_TRACE("Unhandled node, type == %d", rNode.GetNodeType() );
+ OSL_TRACE("Unhandled node, type == %d", (int)rNode.GetNodeType() );
break;
}
}