summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMert Tumer <mert.tumer@collabora.com>2020-04-03 15:34:37 +0300
committerAndras Timar <andras.timar@collabora.com>2020-04-14 23:28:49 +0200
commit7a5b499dd25d7d1e077974053b52b72ee7f44ebc (patch)
tree0dbda6a03b4326846d043b30b2ec54fabac75429
parent38c5cfa1da8f0a615e479a68f3bcb238395109a8 (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.cxx7
1 files changed, 6 insertions, 1 deletions
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")