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

matteocam matteo.campanelli at gmail.com
Mon Jul 6 12:06:29 PDT 2015


 svx/source/svdraw/svdedxv.cxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 146c0beb1faf6694518aa3b86b7c2d3324734bcd
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Mon Jul 6 15:05:35 2015 -0400

    Moving to next box in SdrBeginTextEdit
    
    Change-Id: I6dc83a8f2f6a19e5cfa4af083e68b8a6a453d02a

diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 34e12d2..74a14e1 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -808,6 +808,15 @@ bool SdrObjEditView::SdrBeginTextEdit(
                 }
             }
 
+            // FIXME(matteocam)
+            // XXX: Trying to get to the next text obj directly
+            if (pTextObj->IsChainable()) {
+                SdrTextObj *pNextLink = pTextObj->GetNextLinkInChain();
+                SdrEndTextEdit();
+                SdrBeginTextEdit(pNextLink);
+            }
+
+
             return true; // ran fine, let TextEdit run now
         }
         else


More information about the Libreoffice-commits mailing list