[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - desktop/source sfx2/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 3 10:51:12 UTC 2020
desktop/source/lib/init.cxx | 16 ++++++++++++++++
sfx2/source/control/unoctitm.cxx | 16 ++++++++++++++++
2 files changed, 32 insertions(+)
New commits:
commit 74adbe34597e0f1ae181b7fa3df6c1430d869dc4
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Aug 3 12:15:17 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Aug 3 12:50:39 2020 +0200
lok: state updates for commands in Writer
Change-Id: Id3d429ff4788abce03e9d7c5522655f362d6c249
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99996
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index eb9c42bf816d..a930e2e2cd92 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2773,6 +2773,22 @@ static void doc_iniUnoCommands ()
OUString(".uno:RejectTrackedChange"),
OUString(".uno:ShowResolvedAnnotations"),
OUString(".uno:FreezePanesColumn"),
+ OUString(".uno:InsertBreak"),
+ OUString(".uno:InsertEndnote"),
+ OUString(".uno:InsertFootnote"),
+ OUString(".uno:InsertReferenceField"),
+ OUString(".uno:InsertBookmark"),
+ OUString(".uno:InsertAuthoritiesEntry"),
+ OUString(".uno:InsertMultiIndex"),
+ OUString(".uno:InsertField"),
+ OUString(".uno:InsertPageNumberField"),
+ OUString(".uno:InsertPageCountField"),
+ OUString(".uno:InsertDateField"),
+ OUString(".uno:InsertTitleField"),
+ OUString(".uno:InsertFieldCtrl"),
+ OUString(".uno:CharmapControl"),
+ OUString(".uno:EnterGroup"),
+ OUString(".uno:LeaveGroup"),
OUString(".uno:FreezePanesRow")
};
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 0eff07c01bec..a7a14b40d81c 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1136,6 +1136,22 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "FormatLine" ||
aEvent.FeatureURL.Path == "FormatColumns" ||
aEvent.FeatureURL.Path == "Watermark" ||
+ aEvent.FeatureURL.Path == "InsertBreak" ||
+ aEvent.FeatureURL.Path == "InsertEndnote" ||
+ aEvent.FeatureURL.Path == "InsertFootnote" ||
+ aEvent.FeatureURL.Path == "InsertReferenceField" ||
+ aEvent.FeatureURL.Path == "InsertBookmark" ||
+ aEvent.FeatureURL.Path == "InsertAuthoritiesEntry" ||
+ aEvent.FeatureURL.Path == "InsertMultiIndex" ||
+ aEvent.FeatureURL.Path == "InsertField" ||
+ aEvent.FeatureURL.Path == "InsertPageNumberField" ||
+ aEvent.FeatureURL.Path == "InsertPageCountField" ||
+ aEvent.FeatureURL.Path == "InsertDateField" ||
+ aEvent.FeatureURL.Path == "InsertTitleField" ||
+ aEvent.FeatureURL.Path == "InsertFieldCtrl" ||
+ aEvent.FeatureURL.Path == "CharmapControl" ||
+ aEvent.FeatureURL.Path == "EnterGroup" ||
+ aEvent.FeatureURL.Path == "LeaveGroup" ||
aEvent.FeatureURL.Path == "ResetAttributes")
{
aBuffer.append(aEvent.IsEnabled ? OUStringLiteral("enabled") : OUStringLiteral("disabled"));
More information about the Libreoffice-commits
mailing list