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

matteocam matteo.campanelli at gmail.com
Mon Jul 21 12:37:20 PDT 2014


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

New commits:
commit 9e643f639885fbc6e982d49e6cfd74b84c446d9f
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Mon Jul 21 22:36:42 2014 +0300

    Fixed conversion to pointer; keeping first text obj's active text
    
    Change-Id: I6d6b000caf161cdcbea9ec3cf80a26cefd199d73

diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index d9ed3e6..b7299d2 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -803,7 +803,8 @@ void SdrTextObj::impCopyTextInTextObj(SdrTextObj *pNextTextObj) const
         }
 
         // Set text object's string
-        pNextTextObj->SetOutlinerParaObject(*pText->GetOutlinerParaObject());
+        pNextTextObj->SetOutlinerParaObject(pText->GetOutlinerParaObject());
+        // XXX: it's a pointer to the first text objs' active text!
 
     }
 }


More information about the Libreoffice-commits mailing list