diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-05-07 12:45:48 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-05-24 17:36:18 +0200 |
commit | b91ed24ffe63b58ae618405ed891d6a46d1f2f70 (patch) | |
tree | ef33296ffe24aee93fcb80bb610706d98cbeb8b3 | |
parent | c1644884489bfbdd29a453449cab062f889c6411 (diff) |
lok: MSForms: disable form field messages on mobile.
Change-Id: I466c457fb0a2cbca3e7480fe8fde9833d9c35b63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93662
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r-- | sw/source/core/crsr/bookmrk.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx index 0dc8597d51a2..f88e916c372e 100644 --- a/sw/source/core/crsr/bookmrk.cxx +++ b/sw/source/core/crsr/bookmrk.cxx @@ -44,6 +44,7 @@ #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <wrtsh.hxx> #include <rtl/strbuf.hxx> +#include <sfx2/lokhelper.hxx> using namespace ::sw::mark; using namespace ::com::sun::star; @@ -673,7 +674,7 @@ namespace sw { namespace mark void DropDownFieldmark::SendLOKMessage(const OString& sAction) { - if (comphelper::LibreOfficeKit::isActive()) + if (comphelper::LibreOfficeKit::isActive() && !comphelper::LibreOfficeKit::isMobilePhone(SfxLokHelper::getView())) { if (!m_pButton) return; |