diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 09:53:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 10:16:17 +0100 |
commit | 5059984c44379d09eabf740c21db062b925394ad (patch) | |
tree | 431570359b1cf6ea640e4db9503a7afad98c2e01 /svx | |
parent | 98f2bd667c45ad8d041673c99678e2f95a749b55 (diff) |
PendingOverflowCheck in TextChain is unused
Change-Id: I575865d79fc279ec017b6af461003f77e9c6073c
Reviewed-on: https://gerrit.libreoffice.org/83258
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/textchain.cxx | 11 | ||||
-rw-r--r-- | svx/source/svdraw/textchaincursor.cxx | 7 |
2 files changed, 0 insertions, 18 deletions
diff --git a/svx/source/svdraw/textchain.cxx b/svx/source/svdraw/textchain.cxx index 4160b37e9951..10c033463f3a 100644 --- a/svx/source/svdraw/textchain.cxx +++ b/svx/source/svdraw/textchain.cxx @@ -80,17 +80,6 @@ void TextChain::SetIsPartOfLastParaInNextLink(const SdrTextObj *pTarget, bool b) pLinkProperties->aIsPartOfLastParaInNextLink = b; } -bool TextChain::GetPendingOverflowCheck(const SdrTextObj *pTarget) -{ - ImpChainLinkProperties *pLinkProperties = GetLinkProperties(pTarget); - return pLinkProperties->aPendingOverflowCheck; -} -void TextChain::SetPendingOverflowCheck(const SdrTextObj *pTarget, bool b) -{ - ImpChainLinkProperties *pLinkProperties = GetLinkProperties(pTarget); - pLinkProperties->aPendingOverflowCheck = b; -} - bool TextChain::GetSwitchingToNextBox(const SdrTextObj *pTarget) { ImpChainLinkProperties *pLinkProperties = GetLinkProperties(pTarget); diff --git a/svx/source/svdraw/textchaincursor.cxx b/svx/source/svdraw/textchaincursor.cxx index 4f944f4342f6..3480481daad3 100644 --- a/svx/source/svdraw/textchaincursor.cxx +++ b/svx/source/svdraw/textchaincursor.cxx @@ -190,13 +190,6 @@ void TextChainCursorManager::impChangeEditingTextObj(SdrTextObj *pTargetTextObj, { assert(pTargetTextObj); - // To ensure that we check for overflow in the next box // This is handled in SdrTextObj::EndTextEdit - SdrTextObj *pNextLink = mpTextObj->GetNextLinkInChain(); - TextChain *pTextChain = mpTextObj->GetTextChain(); - // If we are moving forward - if (pNextLink && pTargetTextObj == pNextLink) - pTextChain->SetPendingOverflowCheck(pNextLink, true); - mpEditView->SdrEndTextEdit(); mpEditView->SdrBeginTextEdit(pTargetTextObj); // OutlinerView has changed, so we update the pointer |