summaryrefslogtreecommitdiff
path: root/sw/inc/ndole.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-09 20:57:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-12 09:38:59 +0000
commita28c265ea4bf318cd993673cab88f609d7294220 (patch)
tree71b3b30397df36d292f27e1af2ceb14f044cce53 /sw/inc/ndole.hxx
parentf836ad5caa4f3b83d6382afdda5dbe18719f6096 (diff)
de-ICC this for maximum readability
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r--sw/inc/ndole.hxx3
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;