summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2020-08-26 16:43:15 +0100
committerAndras Timar <andras.timar@collabora.com>2020-10-13 23:15:33 +0200
commit1952f042e724f39bf92a52947ef1c59f6e13441b (patch)
tree23760947708586150694f2f3069ed37bcf624ee6 /sd
parent494cee664a3b3dc64dc83e1c29b17097d184a2d7 (diff)
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 <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sd')
-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();