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

matteocam matteo.campanelli at gmail.com
Thu Jun 4 07:43:40 PDT 2015


 svx/source/svdraw/svdotextdecomposition.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 987a7c933836282cb4c0cf46ec55d98a61461594
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Thu Jun 4 10:42:47 2015 -0400

    Calling ReformatText after setting para object in src box
    
    Change-Id: I1c27ec0e91a248d894af929dde11a311089de259

diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index e60cbb8..804cacb 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -730,7 +730,7 @@ void SdrTextObj::impDecomposeContourTextPrimitive(
 
 void SdrTextObj::impLeaveOnlyNonOverflowingText() const
 {
-    // Cut non overflowing text // FIXME: Move this in separate function
+    // Cut non overflowing text
     NonOverflowingText *pNonOverflowingTxt =
         pEdtOutl->GetNonOverflowingText();
     SdrOutliner &rOutliner = ImpGetDrawOutliner();
@@ -756,6 +756,7 @@ void SdrTextObj::impLeaveOnlyNonOverflowingText() const
 
     OutlinerParaObject *pNewText = rOutliner.CreateParaObject();
     const_cast<SdrTextObj*>(this)->NbcSetOutlinerParaObject(pNewText);
+    const_cast<SdrTextObj*>(this)->ReformatText();
 }
 
 


More information about the Libreoffice-commits mailing list