summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-10-10 11:28:22 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-11-15 15:09:58 +0100
commit5bc8f50ef561438d65bea64dc641f28aa23da1a6 (patch)
tree7ef936d90621438afecc7b3bd233279c546213b2
parent971b3c93ac2aca3ffc1ac3bd44cf17a5e03e688d (diff)
sw_redlinehide_3: remove SwTextFrame::GetTextNode()
Change-Id: Ie46d8846887e9282ef40d63255f8a70e22f304e9
-rw-r--r--sw/source/core/inc/txtfrm.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 91b70e918c0a..f28c5a825606 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -417,11 +417,6 @@ public:
/// Returns the text portion we want to edit (for inline see underneath)
const OUString& GetText() const;
- // TODO: remove GetTextNode
- SwTextNode *GetTextNode()
- { return static_cast<SwTextNode*>(SwFrame::GetDep()); }
- const SwTextNode *GetTextNode() const
- { return static_cast<const SwTextNode*>(SwFrame::GetDep()); }
SwTextNode const* GetTextNodeForParaProps() const;
SwTextNode * GetTextNodeFirst()
{ return const_cast<SwTextNode*>(const_cast<SwTextFrame const*>(this)->GetTextNodeFirst()); };