summaryrefslogtreecommitdiff
path: root/vcl/inc/salinst.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-07-16 13:40:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-07-16 16:03:08 +0200
commit828b26bdc22743974655d64dada69e154159435a (patch)
treefe28de9425779c617bc50133c21d53d087293ac8 /vcl/inc/salinst.hxx
parentefae4fc42d5fe3c0a69757226f38efc10d101194 (diff)
use generic clipboard when running UI tests
rather than the system clipboard, which makes no sense, since then the tests interfere with each other Change-Id: I911e88f5547dfc4f3558b9ed3ef670cef4903420 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170574 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/salinst.hxx')
-rw-r--r--vcl/inc/salinst.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx
index ca6a6920bf76..45c031db30ae 100644
--- a/vcl/inc/salinst.hxx
+++ b/vcl/inc/salinst.hxx
@@ -214,6 +214,8 @@ public:
// Note: we cannot make this a global variable, because it might be initialised BEFORE the putenv() call in cppunittester.
static bool IsRunningUnitTest() { return getenv("LO_TESTNAME") != nullptr; }
+ static bool IsRunningUITest();
+
// both must be implemented, if the VCL plugin needs to run via system event loop
virtual bool DoExecute(int &nExitCode);
virtual void DoQuit();