[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source
matteocam
matteo.campanelli at gmail.com
Tue Jun 9 14:08:05 PDT 2015
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx | 1 +
svx/source/svdraw/svdotext.cxx | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f2d8b0746fc4500585d7a6641d88aefc775b3c92
Author: matteocam <matteo.campanelli at gmail.com>
Date: Tue Jun 9 17:07:35 2015 -0400
Added debugging output
Change-Id: Ib895462c0ecd2dd24b269bde4564539d277c0ed5
diff --git a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
index f37219f..fb36de5 100644
--- a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
+++ b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx
@@ -315,6 +315,7 @@ namespace drawinglayer
}
else if( rText.isChainable() /*&& !rText.isInEditMode()*/ ) // FIXME(matteocam)
{
+ fprintf(stderr, "[CHAINABLE?] Making a Chained Primitive for %p\n", pReferredTextObj);
pNew = new SdrChainedTextPrimitive2D(
&rText.getSdrText(),
rText.getOutlinerParaObject(),
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 6de27e1..bf46cb9 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -2044,7 +2044,7 @@ SdrTextObj* SdrTextObj::GetNextLinkInChain() const
sal_uInt32 nextIndex = (GetOrdNum()+1);
// FIXME
if (nextIndex >= 3 || nextIndex >= pPage->GetObjCount()) {
- fprintf(stderr, "Object not chainable\n");
+ fprintf(stderr, "[CHAINABLE?] %p is _not_ chainable\n", this);
return NULL;
}
pNextTextObj = dynamic_cast< SdrTextObj * >( pPage->GetObj( nextIndex ) );
More information about the Libreoffice-commits
mailing list