From 20c15b2994dc433c873805ca6ef26338f0713840 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Mon, 29 May 2017 16:55:49 +0200 Subject: lok: Notify about the Formatting Marks changes. Change-Id: Ibcbd370c99cf63789637ad6642c91775066ecfad Reviewed-on: https://gerrit.libreoffice.org/38157 Reviewed-by: Jan Holesovsky Tested-by: Jan Holesovsky --- desktop/source/lib/init.cxx | 1 + sfx2/source/control/unoctitm.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 3c88929d4683..41bd367cd1b8 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1517,6 +1517,7 @@ static void doc_iniUnoCommands () OUString(".uno:CharBackgroundExt"), OUString(".uno:CharFontName"), OUString(".uno:Color"), + OUString(".uno:ControlCodes"), OUString(".uno:DecrementIndent"), OUString(".uno:DefaultBullet"), OUString(".uno:DefaultNumbering"), diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 3294bc0e9913..895bacb5e19d 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -994,6 +994,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c if (aEvent.FeatureURL.Path == "Bold" || aEvent.FeatureURL.Path == "CenterPara" || aEvent.FeatureURL.Path == "CharBackgroundExt" || + aEvent.FeatureURL.Path == "ControlCodes" || aEvent.FeatureURL.Path == "DefaultBullet" || aEvent.FeatureURL.Path == "DefaultNumbering" || aEvent.FeatureURL.Path == "Italic" || -- cgit