[Libreoffice-commits] core.git: sw/source

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Fri May 8 20:45:06 UTC 2020


 sw/source/core/crsr/bookmrk.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2d6e1290c14f1064d5b00ab3dc81c88eb5a080ff
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Thu May 7 12:45:48 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri May 8 22:44:24 2020 +0200

    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 at collabora.com>

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;


More information about the Libreoffice-commits mailing list