summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-05-14 19:18:40 +0530
committerAndras Timar <andras.timar@collabora.com>2020-05-15 22:02:03 +0200
commitb21aa3508b0ae2bf747c0453df279c0cbdcc5867 (patch)
tree8d2a47195e2561bfdd11871c14e251b7f07ab29f
parente03bcd79dc49ef8fd2749f1e47f1c1ef8382958d (diff)
LOK: sending status of paragraph outline buttons
status of: OutlineRight, OutlineLeft, OutlineDown, OutlineUp Change-Id: I28dd805e1a620831c4092523969e1c4825b568f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94272 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--sfx2/source/control/unoctitm.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index ee44b0bc7639..ddd11ebf29d8 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1116,7 +1116,11 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "InsertIndexesEntry" ||
aEvent.FeatureURL.Path == "TransformDialog" ||
aEvent.FeatureURL.Path == "EditRegion" ||
- aEvent.FeatureURL.Path == "ThesaurusDialog")
+ aEvent.FeatureURL.Path == "ThesaurusDialog" ||
+ aEvent.FeatureURL.Path == "OutlineRight" ||
+ aEvent.FeatureURL.Path == "OutlineLeft" ||
+ aEvent.FeatureURL.Path == "OutlineDown" ||
+ aEvent.FeatureURL.Path == "OutlineUp")
{
aBuffer.append(aEvent.IsEnabled ? OUStringLiteral("enabled") : OUStringLiteral("disabled"));