diff options
Diffstat (limited to 'vcl/inc/salinst.hxx')
-rw-r--r-- | vcl/inc/salinst.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx index 45c031db30ae..b356a4514aee 100644 --- a/vcl/inc/salinst.hxx +++ b/vcl/inc/salinst.hxx @@ -211,9 +211,7 @@ public: virtual void BeforeAbort(const OUString& /* rErrorText */, bool /* bDumpCore */) {} - // 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 IsRunningUnitTest(); static bool IsRunningUITest(); // both must be implemented, if the VCL plugin needs to run via system event loop |