From 2d6e1290c14f1064d5b00ab3dc81c88eb5a080ff Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Thu, 7 May 2020 12:45:48 +0200 Subject: lok: MSForms: disable form field messages on mobile. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I466c457fb0a2cbca3e7480fe8fde9833d9c35b63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93662 Tested-by: Jenkins Reviewed-by: Tamás Zolnai --- sw/source/core/crsr/bookmrk.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw/source') diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx index 38b96d053237..c68879c23aed 100644 --- a/sw/source/core/crsr/bookmrk.cxx +++ b/sw/source/core/crsr/bookmrk.cxx @@ -44,6 +44,7 @@ #include #include #include +#include using namespace ::sw::mark; using namespace ::com::sun::star; @@ -714,7 +715,7 @@ namespace sw::mark void DropDownFieldmark::SendLOKMessage(const OString& sAction) { - if (comphelper::LibreOfficeKit::isActive()) + if (comphelper::LibreOfficeKit::isActive() && !comphelper::LibreOfficeKit::isMobilePhone(SfxLokHelper::getView())) { if (!m_pButton) return; -- cgit