svx/source/svdraw/textchainflow.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 8291a205f220a975dc2f44b6de0b06f4310fc879 Author: matteocam <matteo.campane...@gmail.com> Date: Mon Jul 13 16:02:30 2015 -0400 Add debug info for para counts Change-Id: I0a2a6b7d783fc3c27ddaea4cc1dad6595617f948 diff --git a/svx/source/svdraw/textchainflow.cxx b/svx/source/svdraw/textchainflow.cxx index 57147d3..fe4f9fc 100644 --- a/svx/source/svdraw/textchainflow.cxx +++ b/svx/source/svdraw/textchainflow.cxx @@ -21,12 +21,15 @@ #include <svx/svdotext.hxx> #include <svx/svdoutl.hxx> #include <editeng/outlobj.hxx> +#include <editeng/editobj.hxx> #include <editeng/overflowingtxt.hxx> #include <svx/textchainflow.hxx> TextChainFlow::TextChainFlow(SdrTextObj *pChainTarget) : mpTargetLink(pChainTarget) { + fprintf(stderr, "[TEXTCHAINFLOW] Creating a new TextChainFlow\n"); + mpTextChain = mpTargetLink->GetTextChain(); mpNextLink = mpTargetLink->GetNextLinkInChain(); bCheckedFlowEvents = false; @@ -196,6 +199,9 @@ void TextChainFlow::ExecuteOverflow(SdrOutliner *pNonOverflOutl, SdrOutliner *pO void TextChainFlow::impLeaveOnlyNonOverflowingText(SdrOutliner *pNonOverflOutl) { OutlinerParaObject *pNewText = impGetNonOverflowingParaObject(pNonOverflOutl); + + fprintf(stderr, "[TEXTCHAINFLOW - OF] SOURCE box set to %d paras \n", pNewText->GetTextObject().GetParagraphCount()); + // adds it to current outliner anyway (useful in static decomposition) pNonOverflOutl->SetText(*pNewText); @@ -214,6 +220,7 @@ void TextChainFlow::impMoveChainedTextToNextLink(SdrOutliner *pOverflOutl) } OutlinerParaObject *pNewText = impGetOverflowingParaObject(pOverflOutl); + fprintf(stderr, "[TEXTCHAINFLOW - OF] DEST box set to %d paras \n", pNewText->GetTextObject().GetParagraphCount()); if (pNewText) mpNextLink->NbcSetOutlinerParaObject(pNewText); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits