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

matteocam matteo.campanelli at gmail.com
Fri Jun 5 00:05:11 PDT 2015


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

New commits:
commit 2d44641847dbddb87ddf6d284c26bcacc1b7440c
Author: matteocam <matteo.campanelli at gmail.com>
Date:   Fri Jun 5 03:04:44 2015 -0400

    EditOutliner's text changed too. Now cutting works
    
    Change-Id: I8a7e667a316a2466b0d0991b06a59260a5edcde0

diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index d9ee69f..26afbe8b 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -760,6 +760,8 @@ OutlinerParaObject *SdrTextObj::impGetNonOverflowingParaObject() const
 void SdrTextObj::impLeaveOnlyNonOverflowingText() const
 {
     OutlinerParaObject *pNewText = impGetNonOverflowingParaObject();
+    // for while we are in editing mode
+    pEdtOutl->SetText(*pNewText);
     const_cast<SdrTextObj*>(this)->SetOutlinerParaObject(pNewText);
     //const_cast<SdrTextObj*>(this)->ReformatText();
 }


More information about the Libreoffice-commits mailing list