lok: Send the enabled / disabled state of .uno:TransformDialog.

Change-Id: If2d8e0da6c289deb65dc8a6b38a21dfd5bbfc1bd
Reviewed-on: https://gerrit.libreoffice.org/48534
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
This commit is contained in:
Jan Holesovsky
2018-01-25 10:08:56 +01:00
parent 7616b3dd94
commit dd42329b4a
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1762,6 +1762,7 @@ static void doc_iniUnoCommands ()
OUString(".uno:OutlineBullet"),
OUString(".uno:InsertIndexesEntry"),
OUString(".uno:DocumentRepair"),
OUString(".uno:TransformDialog"),
OUString(".uno:InsertPageHeader"),
OUString(".uno:InsertPageFooter")
};
+2 -1
View File
@@ -1092,7 +1092,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"));