diff options
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r-- | sw/inc/ndole.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx index d66f387eb4f3..f09f39ef1d89 100644 --- a/sw/inc/ndole.hxx +++ b/sw/inc/ndole.hxx @@ -156,11 +156,12 @@ public: }; -// Inline methods from Node.hxx - we know TxtNode only here!! +// Inline methods from Node.hxx inline SwOLENode *SwNode::GetOLENode() { return ND_OLENODE == nNodeType ? (SwOLENode*)this : 0; } + inline const SwOLENode *SwNode::GetOLENode() const { return ND_OLENODE == nNodeType ? (const SwOLENode*)this : 0; |