diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-05-07 12:45:48 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-05-08 22:44:24 +0200 |
commit | 2d6e1290c14f1064d5b00ab3dc81c88eb5a080ff (patch) | |
tree | 34fb492443c7f525a1a37dbb48230b4774a70b97 | |
parent | 13e5f0cdcf8df61276e8aa05920d4e7ba3ae94c1 (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 38b96d053237..c68879c23aed 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; @@ -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; |