diff options
Diffstat (limited to 'svx/source/svdraw/textchaincursor.cxx')
-rw-r--r-- | svx/source/svdraw/textchaincursor.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/source/svdraw/textchaincursor.cxx b/svx/source/svdraw/textchaincursor.cxx index 6daf59b78ac7..87c8f8663ad6 100644 --- a/svx/source/svdraw/textchaincursor.cxx +++ b/svx/source/svdraw/textchaincursor.cxx @@ -189,6 +189,13 @@ 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 |