summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2023-06-23 23:31:10 +0700
committerAron Budea <aron.budea@collabora.com>2023-06-26 22:58:13 +0200
commit1be3ab048d417611055a76d1776a0a69eb6fc6dd (patch)
tree43beac52c9e8c39bec0899fe36cc85d0607a1621
parent930eb99a712a3ad9b76e9edb68bbcea68af36656 (diff)
LOK: send state of DataFilterAutoFilter
Change-Id: Ib71dcdb6b02f3c1e9e1c552a718cb03e7cd9a4b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153532 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Aron Budea <aron.budea@collabora.com> (cherry picked from commit 0407d4290617dc717abed3ea48f1abf3cf1d750f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153602 Tested-by: Jenkins
-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 102028689451..074a5b81b1ad 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3611,7 +3611,8 @@ static void doc_iniUnoCommands ()
OUString(".uno:InsertDateContentControl"),
OUString(".uno:InsertDropdownContentControl"),
OUString(".uno:InsertPlainTextContentControl"),
- OUString(".uno:InsertPictureContentControl")
+ OUString(".uno:InsertPictureContentControl"),
+ OUString(".uno:DataFilterAutoFilter")
};
util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 4495873a89af..2feec75dac6c 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -935,7 +935,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "SheetRightToLeft" ||
aEvent.FeatureURL.Path == "SpacePara1" ||
aEvent.FeatureURL.Path == "SpacePara15" ||
- aEvent.FeatureURL.Path == "SpacePara2")
+ aEvent.FeatureURL.Path == "SpacePara2" ||
+ aEvent.FeatureURL.Path == "DataFilterAutoFilter")
{
bool bTemp = false;