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.campane...@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 
) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to