summaryrefslogtreecommitdiff
path: root/sw/inc/ndole.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r--sw/inc/ndole.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx
index 28d427ddc022..c878689b78eb 100644
--- a/sw/inc/ndole.hxx
+++ b/sw/inc/ndole.hxx
@@ -153,12 +153,12 @@ public:
/// Inline methods from Node.hxx
inline SwOLENode *SwNode::GetOLENode()
{
- return ND_OLENODE == m_nNodeType ? static_cast<SwOLENode*>(this) : nullptr;
+ return SwNodeType::Ole == m_nNodeType ? static_cast<SwOLENode*>(this) : nullptr;
}
inline const SwOLENode *SwNode::GetOLENode() const
{
- return ND_OLENODE == m_nNodeType ? static_cast<const SwOLENode*>(this) : nullptr;
+ return SwNodeType::Ole == m_nNodeType ? static_cast<const SwOLENode*>(this) : nullptr;
}
#endif // _ INCLUDED_SW_INC_NDOLE_HXX