[Libreoffice-commits] core.git: desktop/source sfx2/source
Pranav Kant
pranavk at collabora.co.uk
Mon Feb 20 08:39:46 UTC 2017
desktop/source/lib/init.cxx | 1 +
sfx2/source/control/unoctitm.cxx | 1 +
2 files changed, 2 insertions(+)
New commits:
commit 866582435fa8ea0a76ad08d07e7df3a344072c94
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Mon Feb 20 13:30:13 2017 +0530
lok: listen for DeleteAnnotation state changes
Change-Id: I2ea0d237cbbfd912b012ed400a328bfb6546cdfb
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index c11e161..ae63d49 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1395,6 +1395,7 @@ static void doc_iniUnoCommands ()
OUString(".uno:Paste"),
OUString(".uno:SelectAll"),
OUString(".uno:InsertAnnotation"),
+ OUString(".uno:DeleteAnnotation"),
OUString(".uno:ReplyComment"),
OUString(".uno:InsertRowsBefore"),
OUString(".uno:InsertRowsAfter"),
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 9eca383..a34c140 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1039,6 +1039,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "Paste" ||
aEvent.FeatureURL.Path == "SelectAll" ||
aEvent.FeatureURL.Path == "InsertAnnotation" ||
+ aEvent.FeatureURL.Path == "DeleteAnnotation" ||
aEvent.FeatureURL.Path == "InsertRowsBefore" ||
aEvent.FeatureURL.Path == "InsertRowsAfter" ||
aEvent.FeatureURL.Path == "InsertColumnsBefore" ||
More information about the Libreoffice-commits
mailing list