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

Mert Tumer (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 14 21:29:22 UTC 2020


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

New commits:
commit 7a5b499dd25d7d1e077974053b52b72ee7f44ebc
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: Tue Apr 14 23:28:49 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>
    (cherry picked from commit e4f28d0642e4663d558a55e99ec1cc2ea9ad27ed)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92172
    Tested-by: Jenkins

diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index 206b6a32e3b3..737979b29a82 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -22,6 +22,7 @@
 #include <vcl/uitest/logger.hxx>
 
 #include <comphelper/string.hxx>
+#include <comphelper/lok.hxx>
 
 #include <rtl/ustrbuf.hxx>
 #include <sal/log.hxx>
@@ -995,7 +996,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