diff options
author | Mert Tumer <mert.tumer@collabora.com> | 2020-04-03 15:34:37 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-05-17 11:44:52 +0200 |
commit | 458d8a48be21c06cfad6e99b9aa0732c8fceaa92 (patch) | |
tree | 888deb76055c82da0d966ff228277949901f8f64 | |
parent | d1539530ccc5139c4baa030fa52ddcf07ea698bc (diff) |
mobile: cannot change linestyle on impress
Change-Id: I6e63c951f7a7d4fc70eed424cc2f7da60dbad9b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91632
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit e4f28d0642e4663d558a55e99ec1cc2ea9ad27ed)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92172
Tested-by: Jenkins
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index 201a05e02bb7..95a300416734 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") |