summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-03-22 11:56:20 -0400
committerAndras Timar <andras.timar@collabora.com>2019-03-28 11:02:21 +0100
commit2e559e129b751c14956abdaaa1a6b69a4006e67b (patch)
tree03d3210dc2a2591c2ee9db6c4c6f1090eeb0ff29
parente55b17786719e6e6a6346e6e2ea0a5928b70aaf1 (diff)
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@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/69875 Reviewed-by: Aron Budea <aron.budea@collabora.com> Tested-by: Aron Budea <aron.budea@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--svx/source/svdraw/svdedxv.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index d35b11e1b0f5..8df5d748c635 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -1835,6 +1835,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();