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

New commits:
commit 2d44641847dbddb87ddf6d284c26bcacc1b7440c
Author: matteocam <matteo.campane...@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();
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to