summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-07-23 00:11:20 +0530
committerTamás Zolnai <tamas.zolnai@collabora.com>2020-07-29 10:19:59 +0200
commit02bbed0e23121b93fd574a557f54739a25f88394 (patch)
tree06ae553942b892a461cd9b3e29c3fc913a4a004b
parent252aba41e518babc30c6df0f0d930aebe68708e4 (diff)
LOK: send state of ShowResolvedAnnotations
Change-Id: Icd8756719bc75bbd780cbf25d21f7834a1d7fc8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99252 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99256 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r--desktop/source/lib/init.cxx3
-rw-r--r--sfx2/source/control/unoctitm.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 02dcab22ec7c..bac4d4da4cbd 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2770,7 +2770,8 @@ static void doc_iniUnoCommands ()
OUString(".uno:AcceptTrackedChange"),
OUString(".uno:RejectTrackedChange"),
OUString(".uno:FreezePanesColumn"),
- OUString(".uno:FreezePanesRow")
+ OUString(".uno:FreezePanesRow"),
+ OUString(".uno:ShowResolvedAnnotations")
};
util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index c47bf565279c..125c243aa9c6 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1200,7 +1200,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "NumberFormatCurrency" ||
aEvent.FeatureURL.Path == "NumberFormatPercent" ||
aEvent.FeatureURL.Path == "NumberFormatDecimal" ||
- aEvent.FeatureURL.Path == "NumberFormatDate")
+ aEvent.FeatureURL.Path == "NumberFormatDate" ||
+ aEvent.FeatureURL.Path == "ShowResolvedAnnotations")
{
bool aBool;