summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-12-12 03:01:31 -0500
committerJan Holesovsky <kendy@collabora.com>2019-04-30 18:06:30 +0200
commit37e7ed49996ab22ecebc05b5e6ca58bc4ed3c43f (patch)
tree443792e35fa69ecc2780318b92bfb082fa900c45 /sd
parentf14bd82933246211266ae1db2bb1e00857b02c3f (diff)
sfx: LOK: notify clients of the sidebar state
Change-Id: I35b174c3a5e302ce52ee4063fa71d47feffab624
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviewse.cxx5
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();