summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-10-14 20:06:02 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2020-10-14 20:28:05 +0200
commit4474b0ee642a85adf1d0293ca6c4122c80265d59 (patch)
treec42d95a5be9572297a6f579d5ccf18309a0af4e3
parent4d64e22aa63b08db120b28502cba70ddb31c2881 (diff)
Revert "lok: text box insertion: default to insert directly for lok."
Breaks a lot of cypress tests. This reverts commit 1952f042e724f39bf92a52947ef1c59f6e13441b. Change-Id: I2f11c094082bad7cb8e70350f724a0789318a8ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104321 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r--sc/source/ui/view/tabvwsh2.cxx1
-rw-r--r--sd/source/ui/view/drviewse.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabvwsh2.cxx b/sc/source/ui/view/tabvwsh2.cxx
index 7b278dab9269..d2efc23d5559 100644
--- a/sc/source/ui/view/tabvwsh2.cxx
+++ b/sc/source/ui/view/tabvwsh2.cxx
@@ -260,7 +260,6 @@ void ScTabViewShell::ExecDraw(SfxRequest& rReq)
case SID_DRAW_TEXT_VERTICAL:
case SID_DRAW_TEXT_MARQUEE:
case SID_DRAW_NOTEEDIT:
- bCreateDirectly = comphelper::LibreOfficeKit::isActive();
pTabView->SetDrawFuncPtr(new FuText(*this, pWin, pView, pDoc, aNewReq));
break;
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index d4b10e1fe8f9..3ae9b37171b0 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -249,8 +249,6 @@ 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();