From 10c55f5c73f91ed56f3eae7952d1fff14039c3ca Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Wed, 24 Jan 2018 20:07:40 +0100 Subject: lok: Send the enabled / disabled state of .uno:TransformDialog. Change-Id: If2d8e0da6c289deb65dc8a6b38a21dfd5bbfc1bd Reviewed-on: https://gerrit.libreoffice.org/48535 Reviewed-by: Andras Timar Tested-by: Andras Timar --- desktop/source/lib/init.cxx | 1 + sfx2/source/control/unoctitm.cxx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 6961cca8e29c..873ee9e85443 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1772,6 +1772,7 @@ static void doc_iniUnoCommands () OUString(".uno:OutlineBullet"), OUString(".uno:InsertIndexesEntry"), OUString(".uno:DocumentRepair"), + OUString(".uno:TransformDialog"), OUString(".uno:InsertPageHeader"), OUString(".uno:InsertPageFooter") }; diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index bb90866246e9..b74f971d6a07 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1081,7 +1081,8 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c aEvent.FeatureURL.Path == "FontDialog" || aEvent.FeatureURL.Path == "ParagraphDialog" || aEvent.FeatureURL.Path == "OutlineBullet" || - aEvent.FeatureURL.Path == "InsertIndexesEntry") + aEvent.FeatureURL.Path == "InsertIndexesEntry" || + aEvent.FeatureURL.Path == "TransformDialog") { aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled")); -- cgit v1.2.3