summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-12-06 17:32:53 +0530
committerJan Holesovsky <kendy@collabora.com>2017-12-13 20:21:43 +0100
commitd895dc24654b6dd356dbdf16c8b3e3bd4878e33d (patch)
tree134d7100979895f9fa325695097110b011213359 /sfx2
parentb327117d8cf693c26ed98dd0d6baf3f9250583bb (diff)
lokdialog: State change events for dialogs uno commands
Change-Id: I92f60e717cd2a0695c8b86b103076d26c0c22cef (cherry picked from commit 98da350c7c9bcb96937f1397a34c2c68ede44011) Reviewed-on: https://gerrit.libreoffice.org/45941 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/unoctitm.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index c55005d8433d..25bdbbf8788d 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1072,7 +1072,13 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "SortAscending" ||
aEvent.FeatureURL.Path == "SortDescending" ||
aEvent.FeatureURL.Path == "AcceptAllTrackedChanges" ||
- aEvent.FeatureURL.Path == "RejectAllTrackedChanges")
+ aEvent.FeatureURL.Path == "RejectAllTrackedChanges" ||
+ aEvent.FeatureURL.Path == "TableDialog" ||
+ aEvent.FeatureURL.Path == "FormatCellDialog" ||
+ aEvent.FeatureURL.Path == "FontDialog" ||
+ aEvent.FeatureURL.Path == "ParagraphDialog" ||
+ aEvent.FeatureURL.Path == "OutlineBullet" ||
+ aEvent.FeatureURL.Path == "InsertIndexesEntry")
{
aBuffer.append(aEvent.IsEnabled ? OUString("enabled") : OUString("disabled"));