diff options
author | Henry Castro <hcastro@collabora.com> | 2016-05-27 16:38:47 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2016-05-28 03:20:23 +0000 |
commit | 05ba8e567bd4fca2bef9bcf7a43d4c3d6c0cc5ad (patch) | |
tree | 06be0f6d9d017322ede3cfb58131a8ca95905ca9 /sfx2 | |
parent | 75e4c582828d1706664f4582be2f6589aef48df3 (diff) |
lok: add uno command AssignLayout
Change-Id: I959d1a57945a3b5aa3f2c273c4b885ed5f628f6e
Reviewed-on: https://gerrit.libreoffice.org/25569
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index a2eaff9ebde0..7c1fefeae1cb 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1013,6 +1013,12 @@ void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShe { aBuffer.append(OUString::boolean(aEvent.IsEnabled)); } + else if (aEvent.FeatureURL.Path == "AssignLayout") + { + sal_Int32 nLayout = 0; + aEvent.State >>= nLayout; + aBuffer.append(nLayout); + } else { return; |