summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/textchain.cxx11
-rw-r--r--svx/source/svdraw/textchaincursor.cxx7
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