summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-05-07 12:45:48 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2020-05-09 09:36:15 +0200
commitb59bb50b56b5e22b9d71e14064239da3a295b89c (patch)
treef3c5886b75c43e8338710b8f28fc6d2655a47f64 /sw
parent0bd0903369d3a55052a6727c0489369a537d540c (diff)
lok: MSForms: disable form field messages on mobile.
Change-Id: I466c457fb0a2cbca3e7480fe8fde9833d9c35b63
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/bookmrk.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx
index 945312968e1e..53300c97863a 100644
--- a/sw/source/core/crsr/bookmrk.cxx
+++ b/sw/source/core/crsr/bookmrk.cxx
@@ -571,6 +571,12 @@ namespace sw { namespace mark
void DropDownFieldmark::SendLOKMessage(const OString& sAction)
{
+ const SfxViewShell* pViewShell = SfxViewShell::Current();
+ if (pViewShell && pViewShell->isLOKMobilePhone())
+ {
+ return;
+ }
+
if (comphelper::LibreOfficeKit::isActive())
{
if (!m_pButton)