summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoredline.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoredline.cxx')
-rw-r--r--sw/source/core/unocore/unoredline.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx
index 42497ef799e7..d309cb3e4c71 100644
--- a/sw/source/core/unocore/unoredline.cxx
+++ b/sw/source/core/unocore/unoredline.cxx
@@ -428,14 +428,14 @@ uno::Any SwXRedline::getPropertyValue( const OUString& rPropertyName )
pNode = &pRedline->GetNode(false);
switch(pNode->GetNodeType())
{
- case ND_SECTIONNODE:
+ case SwNodeType::Section:
{
SwSectionNode* pSectNode = pNode->GetSectionNode();
OSL_ENSURE(pSectNode, "No section node!");
xRet = SwXTextSections::GetObject( *pSectNode->GetSection().GetFormat() );
}
break;
- case ND_TABLENODE :
+ case SwNodeType::Table :
{
SwTableNode* pTableNode = pNode->GetTableNode();
OSL_ENSURE(pTableNode, "No table node!");
@@ -444,7 +444,7 @@ uno::Any SwXRedline::getPropertyValue( const OUString& rPropertyName )
xRet = SwXTextTables::GetObject( *pTableFormat );
}
break;
- case ND_TEXTNODE :
+ case SwNodeType::Text :
{
SwPosition* pPoint = nullptr;
if(bStart || !pRedline->HasMark())