diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-07 16:28:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-27 08:20:43 +0000 |
commit | 644487a1152c7586a7f20c7f372572a71d8494d5 (patch) | |
tree | 683cdbd755ec1660e75f930e5be4cd6867e3e734 /editeng | |
parent | 1b4dff2c371d31c99f34324c3f6f31888bdc34d7 (diff) |
loplugin:unusedmethods
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861
Reviewed-on: https://gerrit.libreoffice.org/19231
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng')
-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) |