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

matteocam matteo.campanelli at gmail.com
Thu May 28 15:02:26 PDT 2015


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

New commits:
commit 6543b35508950e73b2cf95352aac3bce19c46dab
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Thu May 28 18:01:59 2015 -0400

    Activated Handlers for recursive chaining (failed experiment)
    
    Change-Id: I84db8bec5b79e77f6a3844c1cbce864f4b378b98

diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index ffbca74..5cdea14 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -738,13 +738,14 @@ void SdrTextObj::impCopyTextInTextObj(SdrTextObj *pNextTextObj) const
     if ( this ==  pNextTextObj )
         return;
 
-   //rOutliner.SetStatusEventHdl1(LINK(this,SdrTextObj,ImpDecomposeChainedText));
+   SdrOutliner &rOutliner = ImpGetDrawOutliner();
+   rOutliner.SetStatusEventHdl1(LINK(this,SdrTextObj,ImpDecomposeChainedText));
 
    // Push text through the chain if there's any
     if (mpOverflowingText) {
         pNextTextObj->NbcSetOutlinerParaObject(mpOverflowingText);
     }
-    //rOutliner.SetStatusEventHdl1(Link());
+    rOutliner.SetStatusEventHdl1(Link());
 
 }
 


More information about the Libreoffice-commits mailing list