[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source

matteocam matteo.campanelli at gmail.com
Thu Aug 7 08:45:53 PDT 2014


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

New commits:
commit d5dc37b958f8d01782c63affcdd04a5be1ec995d
Author: matteocam <matteo.campanelli at 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
 


More information about the Libreoffice-commits mailing list