sd/source/ui/view/drviews1.cxx |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit ef92273cae159d1c8d5621cebf79d4f90c993f43
Author: Caolán McNamara <>
Date:   Wed Sep 28 16:29:50 2016 +0100

    Resolves: tdf#102343 unable to undo stylesheet changes in master...
    slides done via proxy textbox objects
    regression since...
    commit 12a4200e8ff7f045efcc7e9d15a24b15b248c437
    Author: Armin Le Grand <>
    Date:   Thu Aug 9 08:42:27 2012 +0000
        Related: #i120498# Enhanced Undo/Redo and user experience...
        when editing texts in graphic objects and/or tables
    The issue is that the formatting changes in these master textboxes create
    changes in the stylesheet, rather than just changes in the textbox itself 
    the changes above don't take that into account and throw away these unusual
    undo objects.
    Change-Id: I209758cefa96b2f886161de1d44d6a68d007faa7
    (cherry picked from commit 057d8abebb19fedd769a43120621488ba305cf93)
    Reviewed-by: jan iversen <>
    Tested-by: jan iversen <>

diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index 3f99ac9..4cf1a6d 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -412,6 +412,9 @@ void DrawViewShell::ChangeEditMode(EditMode eEMode, bool 
             SetAppBackgroundColor( aFillColor );
+            //tdf#102343 re-enable common undo on switch back from master mode
@@ -452,6 +455,12 @@ void DrawViewShell::ChangeEditMode(EditMode eEMode, bool 
             maTabControl->SetCurPageId(nActualMasterPageNum + 1);
+            //tdf#102343 changing attributes of textboxes in master typically
+            //changes the stylesheet they are linked to, so if the common
+            //undo manager is in use, those stylesheet changes are thrown
+            //away at present
         // If the master view toolbar is to be shown we turn it on after the
Libreoffice-commits mailing list

Reply via email to