diff options
Diffstat (limited to 'editeng/source/outliner/overflowingtxt.cxx')
-rw-r--r-- | editeng/source/outliner/overflowingtxt.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx index 1b333a7b5ffa..2c330c7659dd 100644 --- a/editeng/source/outliner/overflowingtxt.cxx +++ b/editeng/source/outliner/overflowingtxt.cxx @@ -104,20 +104,6 @@ css::uno::Reference< css::datatransfer::XTransferable > TextChainingUtils::Creat } -/* Helper functions for *OverflowingText classes */ - -ESelection getLastPositionSel(const EditTextObject *pTObj) -{ - sal_Int32 nLastPara = pTObj->GetParagraphCount()-1; - // If text is empty - if (nLastPara < 0 ) - nLastPara = 0; - sal_Int32 nLen = pTObj->GetText(nLastPara).getLength(); - ESelection aEndPos(nLastPara, nLen, nLastPara, nLen); - - return aEndPos; -} - // class OverflowingText OverflowingText::OverflowingText(css::uno::Reference< css::datatransfer::XTransferable > xOverflowingContent) : @@ -127,12 +113,6 @@ OverflowingText::OverflowingText(css::uno::Reference< css::datatransfer::XTransf } -ESelection OverflowingText::GetInsertionPointSel() -{ - assert(false && "You should never get here"); - return getLastPositionSel(NULL); -} - // class NonOverflowingText NonOverflowingText::NonOverflowingText(const EditTextObject * /*pTObj*/, bool bLastParaInterrupted) |