[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - vcl/source

Mert Tumer (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 6 19:44:29 UTC 2020


 vcl/source/uitest/uiobject.cxx |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit e4f28d0642e4663d558a55e99ec1cc2ea9ad27ed
Author:     Mert Tumer <mert.tumer at collabora.com>
AuthorDate: Fri Apr 3 15:34:37 2020 +0300
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Apr 6 21:43:55 2020 +0200

    mobile: cannot change linestyle on impress
    
    Change-Id: I6e63c951f7a7d4fc70eed424cc2f7da60dbad9b5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91632
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index 899fbb97d75c..af3f486569d8 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -21,6 +21,7 @@
 #include <vcl/vclmedit.hxx>
 
 #include <comphelper/string.hxx>
+#include <comphelper/lok.hxx>
 
 #include <rtl/ustrbuf.hxx>
 #include <sal/log.hxx>
@@ -936,7 +937,11 @@ ListBoxUIObject::~ListBoxUIObject()
 void ListBoxUIObject::execute(const OUString& rAction,
         const StringMap& rParameters)
 {
-    if (!mxListBox->IsEnabled() || !mxListBox->IsReallyVisible())
+    if (!mxListBox->IsEnabled())
+        return;
+
+    bool isTiledRendering = comphelper::LibreOfficeKit::isActive();
+    if (!isTiledRendering && !mxListBox->IsReallyVisible())
         return;
 
     if (rAction == "SELECT")


More information about the Libreoffice-commits mailing list