summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-08-20 03:57:17 +0530
committerPranam Lashkari <lpranam@collabora.com>2020-08-27 18:56:11 +0200
commite7f81a8bcb481df4daa17ae9ef7210c68af5f337 (patch)
treed0a77cf32bd8b70ff53c6df619df8a3dcc4bb3b0
parentbac424a99d12fd2eece57cdf70ec5725398e80ac (diff)
LOK: send state of FreezePanes
Change-Id: I817117d05f7f0f75f65c8e6dbf6105d120ab275d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101031 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101372 Tested-by: Jenkins Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
-rw-r--r--desktop/source/lib/init.cxx9
-rw-r--r--sfx2/source/control/unoctitm.cxx3
2 files changed, 6 insertions, 6 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index b61767ff4a88..9c8c51c3672b 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2800,10 +2800,7 @@ static void doc_iniUnoCommands ()
OUString(".uno:ParaspaceDecrease"),
OUString(".uno:AcceptTrackedChange"),
OUString(".uno:RejectTrackedChange"),
- OUString(".uno:FreezePanesColumn"),
- OUString(".uno:FreezePanesRow"),
OUString(".uno:ShowResolvedAnnotations"),
- OUString(".uno:FreezePanesColumn"),
OUString(".uno:InsertBreak"),
OUString(".uno:InsertEndnote"),
OUString(".uno:InsertFootnote"),
@@ -2824,9 +2821,11 @@ static void doc_iniUnoCommands ()
OUString(".uno:AlignMiddle"),
OUString(".uno:AlignDown"),
OUString(".uno:TraceChangeMode"),
- OUString(".uno:FreezePanesRow"),
OUString(".uno:BorderInner"),
- OUString(".uno:BorderOuter")
+ OUString(".uno:BorderOuter"),
+ OUString(".uno:FreezePanes"),
+ OUString(".uno:FreezePanesColumn"),
+ OUString(".uno:FreezePanesRow")
};
util::URL aCommandURL;
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index d0f935f248bd..c9cb75dacbf9 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1016,7 +1016,8 @@ static void InterceptLOKStateChangeEvent(sal_uInt16 nSID, SfxViewFrame* pViewFra
aEvent.FeatureURL.Path == "AlignMiddle" ||
aEvent.FeatureURL.Path == "AlignDown" ||
aEvent.FeatureURL.Path == "TraceChangeMode" ||
- aEvent.FeatureURL.Path == "FormatPaintbrush")
+ aEvent.FeatureURL.Path == "FormatPaintbrush" ||
+ aEvent.FeatureURL.Path == "FreezePanes")
{
bool bTemp = false;
aEvent.State >>= bTemp;