svx/source/svdraw/svdotext.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d5dc37b958f8d01782c63affcdd04a5be1ec995d
Author: matteocam <matteo.campane...@gmail.com>
Date:   Thu Aug 7 17:45:02 2014 +0200

    Need for chainging only if there is a next link
    
    Change-Id: I2d44ce25a8795188b3c2fb98027e76b905a56cc8

diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 1c6a524..d70995b 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -1945,7 +1945,7 @@ void SdrTextObj::onEditOutlinerStatusEvent( EditStatus* 
pEditStatus )
             ImpAutoFitText(*pEdtOutl);
             mbInDownScale = false;
         }
-        else if (/* TODO: IsChained() && */ pEditStatus->IsPageOverflow())
+        else if ( GetNextLinkInChain() != NULL &&  
pEditStatus->IsPageOverflow())
         {
             // FIXME(matteocam): should include check that the TextBox has a 
next chain link
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to