summaryrefslogtreecommitdiff
path: root/sw/inc/ndnotxt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ndnotxt.hxx')
-rw-r--r--sw/inc/ndnotxt.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx
index 69347e9c7eb0..7ba253e564b5 100644
--- a/sw/inc/ndnotxt.hxx
+++ b/sw/inc/ndnotxt.hxx
@@ -45,7 +45,7 @@ class SW_DLLPUBLIC SwNoTextNode : public SwContentNode
SwNoTextNode &operator=( const SwNoTextNode& ) = delete;
protected:
- SwNoTextNode( const SwNodeIndex &rWhere, const sal_uInt8 nNdType,
+ SwNoTextNode( const SwNodeIndex &rWhere, const SwNodeType nNdType,
SwGrfFormatColl *pGrColl, SwAttrSet* pAutoAttr );
public:
@@ -93,11 +93,11 @@ public:
// Inline methods from Node.hxx - we know TextNode only here!!
inline SwNoTextNode *SwNode::GetNoTextNode()
{
- return ND_NOTXTNODE & m_nNodeType ? static_cast<SwNoTextNode*>(this) : nullptr;
+ return SwNodeType::NoTextMask & m_nNodeType ? static_cast<SwNoTextNode*>(this) : nullptr;
}
inline const SwNoTextNode *SwNode::GetNoTextNode() const
{
- return ND_NOTXTNODE & m_nNodeType ? static_cast<const SwNoTextNode*>(this) : nullptr;
+ return SwNodeType::NoTextMask & m_nNodeType ? static_cast<const SwNoTextNode*>(this) : nullptr;
}
#endif // INCLUDED_SW_INC_NDNOTXT_HXX