svx/source/svdraw/svdotext.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit bdce1b0f28fb483b041d00c5d3ea6dda250f78f9
Author: matteocam <matteo.campane...@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);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to