[Libreoffice-commits] core.git: svx/source

Armin Le Grand alg at apache.org
Thu May 30 08:49:41 PDT 2013


 svx/source/svdraw/svdundo.cxx |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit 1de66ba440855050a794b3b2a8647c1b02c210b8
Author: Armin Le Grand <alg at apache.org>
Date:   Thu May 30 13:09:07 2013 +0000

    Resolves: #i122410# extended Undo/Redo for text to broadcast
    
    (cherry picked from commit d2c3483aa1c4fcce2678f9602d4204c908b4f874)
    
    Conflicts:
    	svx/source/svdraw/svdundo.cxx
    
    Change-Id: If4e96f6c192d381324e12a3acea87f624ef194ea

diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 8209282..d5ca5e2 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -1153,6 +1153,11 @@ void SdrUndoObjSetText::Undo()
 
     pObj->SetEmptyPresObj( bEmptyPresObj );
     pObj->ActionChanged();
+
+    // #i122410# SetOutlinerParaObject at SdrText does not trigger a
+    // BroadcastObjectChange, but it is needed to make evtl. SlideSorters
+    // update their preview.
+    pObj->BroadcastObjectChange();
 }
 
 void SdrUndoObjSetText::Redo()
@@ -1166,6 +1171,11 @@ void SdrUndoObjSetText::Redo()
     }
     pObj->ActionChanged();
 
+    // #i122410# NbcSetOutlinerParaObjectForText at SdrTextObj does not trigger a
+    // BroadcastObjectChange, but it is needed to make evtl. SlideSorters
+    // update their preview.
+    pObj->BroadcastObjectChange();
+
     // Trigger PageChangeCall
     ImpShowPageOfThisObject();
 }


More information about the Libreoffice-commits mailing list