[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source
matteocam
matteo.campanelli at gmail.com
Fri Jun 19 08:05:29 PDT 2015
svx/source/svdraw/svdotext.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit bdce1b0f28fb483b041d00c5d3ea6dda250f78f9
Author: matteocam <matteo.campanelli at gmail.com>
Date: Fri Jun 19 11:05:01 2015 -0400
Changes the next link to empty after underflow even before causing overflow
Change-Id: I79afb65701162cfc3ff419cab809cf2e61042b8f
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 2048418..02ce10b 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -2020,6 +2020,9 @@ void SdrTextObj::onUnderflowStatusEvent( )
// We make sure we don't handle underflow while handling underflow
GetTextChain()->SetLinkHandlingUnderflow(this, true);
+ // Set the other box empty so if overflow does not occur we are fine
+ pNextLink->NbcSetOutlinerParaObject(aDrawOutliner.GetEmptyParaObject());
+
if (pEdtOutl != NULL)
pEdtOutl->SetText(*pNewText);
More information about the Libreoffice-commits
mailing list