summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/notxtfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/notxtfrm.cxx')
-rw-r--r--sw/source/core/doc/notxtfrm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 4050bf353df1..fac239e3dea4 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -581,7 +581,7 @@ void SwNoTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
break;
case RES_GRF_REREAD_AND_INCACHE:
- if( ND_GRFNODE == GetNode()->GetNodeType() )
+ if( SwNodeType::Grf == GetNode()->GetNodeType() )
{
bComplete = false;
SwGrfNode* pNd = static_cast<SwGrfNode*>( GetNode());
@@ -610,7 +610,7 @@ void SwNoTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
break;
case RES_UPDATE_ATTR:
- if (GetNode()->GetNodeType() != ND_GRFNODE) {
+ if (GetNode()->GetNodeType() != SwNodeType::Grf) {
break;
}
SAL_FALLTHROUGH;
@@ -637,7 +637,7 @@ void SwNoTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
case RES_GRAPHIC_ARRIVED:
// i73788# - handle RES_LINKED_GRAPHIC_STREAM_ARRIVED as RES_GRAPHIC_ARRIVED
case RES_LINKED_GRAPHIC_STREAM_ARRIVED:
- if ( GetNode()->GetNodeType() == ND_GRFNODE )
+ if ( GetNode()->GetNodeType() == SwNodeType::Grf )
{
bComplete = false;
SwGrfNode* pNd = static_cast<SwGrfNode*>( GetNode());