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

matteocam matteo.campanelli at gmail.com
Mon Jul 13 13:14:36 PDT 2015


 editeng/source/outliner/overflowingtxt.cxx |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 9890550e354a311714550fa42d1e8a6aae8ea04b
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Mon Jul 13 16:13:46 2015 -0400

    More debugging output
    
    Change-Id: I2a375ad899b8a284867251f5515b22d29834d1ee

diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx
index ecb69d3..efaaa9b 100644
--- a/editeng/source/outliner/overflowingtxt.cxx
+++ b/editeng/source/outliner/overflowingtxt.cxx
@@ -219,10 +219,13 @@ OutlinerParaObject *OFlowChainedText::CreateOverflowingParaObject(Outliner *pOut
     if (mpOverflowingTxt == NULL || pTextToBeMerged == NULL)
         return NULL;
 
-    if (mbIsDeepMerge)
+    if (mbIsDeepMerge) {
+        fprintf(stderr, "[TEXTCHAINFLOW - OF] Deep merging paras\n" );
         return mpOverflowingTxt->GetJuxtaposedParaObject(pOutliner, pTextToBeMerged );
-    else
+    } else {
+        fprintf(stderr, "[TEXTCHAINFLOW - OF] Juxtaposing paras\n" );
         return mpOverflowingTxt->GetDeeplyMergedParaObject(pOutliner, pTextToBeMerged );
+    }
 }
 
 
@@ -254,9 +257,11 @@ OutlinerParaObject *UFlowChainedText::CreateMergedUnderflowParaObject(Outliner *
     OutlinerParaObject *pCurText = mpUnderflowPObj;
 
     if (mbIsDeepMerge) {
+        fprintf(stderr, "[TEXTCHAINFLOW - UF] Deep merging paras\n" );
         pNewText = impGetDeeplyMergedParaObject(pOutl, pCurText, pNextLinkWholeText);
     } else {
         // NewTextForCurBox = Txt(CurBox) ++ Txt(NextBox)
+        fprintf(stderr, "[TEXTCHAINFLOW - UF] Juxtaposing paras\n" );
         pNewText = impGetJuxtaposedParaObject(pOutl, pCurText, pNextLinkWholeText);
     }
 


More information about the Libreoffice-commits mailing list