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

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 25 13:58:31 UTC 2019


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

New commits:
commit dd8010c037a06763b3554739c01c9029988ad84f
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Fri Mar 22 11:56:20 2019 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Mon Mar 25 14:58:09 2019 +0100

    tdf#124167: Changing text properties doesn't make presentation...
    
    modified right away
    
    when the attributes of edit engine has changed also broadcast the
    changes
    
    Change-Id: I28c67a4167e0b5653b6e9b645069830aa5575412
    Reviewed-on: https://gerrit.libreoffice.org/69564
    Tested-by: Jenkins
    Reviewed-by: Henry Castro <hcastro at collabora.com>

diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index aa85b617d0bc..094bad2aa1cf 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -2174,6 +2174,10 @@ bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, bool bReplaceAll)
             }
             pTextEditOutlinerView->SetAttribs(rSet);
 
+            Outliner* pTEOutliner = pTextEditOutlinerView->GetOutliner();
+            if (mpModel && pTEOutliner && pTEOutliner->IsModified())
+                mpModel->SetChanged();
+
 #ifdef DBG_UTIL
             if (mpItemBrowser!=nullptr)
                 mpItemBrowser->SetDirty();


More information about the Libreoffice-commits mailing list