diff options
Diffstat (limited to 'sw/source/core/txtnode/ndtxt.cxx')
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 80e88e673b..ba271beb34 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -3581,24 +3581,6 @@ SwFmtColl* SwTxtNode::ChgFmtColl( SwFmtColl *pNewColl ) return pOldColl; } -// #111840# -SwPosition * SwTxtNode::GetPosition(const SwTxtAttr * pAttr) -{ - SwPosition * pResult = NULL; - - for (xub_StrLen i = 0; i < Len(); i++) - { - if (GetTxtAttr(i, pAttr->Which()) == pAttr) - { - pResult = new SwPosition(*this, SwIndex(this, i)); - - break; - } - } - - return pResult; -} - SwNodeNum* SwTxtNode::CreateNum() const { if ( !mpNodeNum ) |