From 1952f042e724f39bf92a52947ef1c59f6e13441b Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 26 Aug 2020 16:43:15 +0100 Subject: lok: text box insertion: default to insert directly for lok. The various bits of positioning functionality are not helpful. Change-Id: I26a62fc939a1e24a8a811c06c8c1a8da831a73f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101415 Tested-by: Andras Timar Reviewed-by: Andras Timar --- sd/source/ui/view/drviewse.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sd') 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(pArgs->Get(FN_PARAM_1)).GetValue(); -- cgit