diff options
author | Mert Tumer <mert.tumer@collabora.com> | 2020-04-03 15:34:37 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-04-06 21:43:55 +0200 |
commit | e4f28d0642e4663d558a55e99ec1cc2ea9ad27ed (patch) | |
tree | bf75c2c990e72665dbe5a0808063af634011b2d8 | |
parent | 3982bb872ec39d47b41cd530784d6d3639e8d196 (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>
-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 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") |