summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edws.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edws.cxx')
-rw-r--r--sw/source/core/edit/edws.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx
index 25c890628e11..f96fd03d14cf 100644
--- a/sw/source/core/edit/edws.cxx
+++ b/sw/source/core/edit/edws.cxx
@@ -116,9 +116,10 @@ sal_uInt16 SwEditShell::GetCntType() const
else
switch( GetCursor()->GetNode().GetNodeType() )
{
- case ND_TEXTNODE: nRet = CNT_TXT; break;
- case ND_GRFNODE: nRet = CNT_GRF; break;
- case ND_OLENODE: nRet = CNT_OLE; break;
+ case SwNodeType::Text: nRet = CNT_TXT; break;
+ case SwNodeType::Grf: nRet = CNT_GRF; break;
+ case SwNodeType::Ole: nRet = CNT_OLE; break;
+ default: break;
}
OSL_ASSERT( nRet );