diff options
author | Henry Castro <hcastro@collabora.com> | 2016-05-27 16:38:47 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2016-05-27 23:27:24 -0400 |
commit | b0c0d4eff911a1d2619c0cac5a0e86220d9747ab (patch) | |
tree | 06c6fdeb3abb741d285792ea56c5329d856b1109 /sfx2 | |
parent | b736ea1b02346ba190f280f254714bb6e1983858 (diff) |
lok: add uno command AssignLayout
Change-Id: I959d1a57945a3b5aa3f2c273c4b885ed5f628f6e
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 35508aeda27c..e317ae401869 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -1143,6 +1143,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; |