diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2018-12-12 03:01:31 -0500 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-04-30 18:06:30 +0200 |
commit | 37e7ed49996ab22ecebc05b5e6ca58bc4ed3c43f (patch) | |
tree | 443792e35fa69ecc2780318b92bfb082fa900c45 /sd | |
parent | f14bd82933246211266ae1db2bb1e00857b02c3f (diff) |
sfx: LOK: notify clients of the sidebar state
Change-Id: I35b174c3a5e302ce52ee4063fa71d47feffab624
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index 3bfb5bed4ece..93c3b0f9cb16 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/uno/Any.hxx> #include <comphelper/processfactory.hxx> +#include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <comphelper/lok.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> @@ -997,6 +998,10 @@ void DrawViewShell::FuSupport(SfxRequest& rReq) case SID_MASTERPAGE: // BASIC { + if (comphelper::LibreOfficeKit::isActive()) + GetViewShell()->libreOfficeKitViewCallback(LOK_CALLBACK_STATE_CHANGED, + ".uno:SlideMasterPage=true"); + // AutoLayouts needs to be finished GetDoc()->StopWorkStartupDelay(); |