summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewse.cxx')
-rw-r--r--sd/source/ui/view/drviewse.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 3ae9b37171b0..d4b10e1fe8f9 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -249,6 +249,8 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
rReq.Done();
+ bCreateDirectly = comphelper::LibreOfficeKit::isActive();
+
const SfxItemSet* pArgs = rReq.GetArgs();
if (pArgs && pArgs->HasItem(FN_PARAM_1))
bCreateDirectly = static_cast<const SfxBoolItem&>(pArgs->Get(FN_PARAM_1)).GetValue();