diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-31 09:52:24 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-31 09:50:24 +0200 |
commit | a182e9ce5e0da3cc98603ed27819405812d7fab1 (patch) | |
tree | 07ec438655d796f6a7cd9bc06478f3110b53cb8f /unotest | |
parent | 8062e6e6bb23b1fa94c66bd3ae46e2d5c2ba58ee (diff) |
This should be a static method
Change-Id: I70b725d42a91151e0c1f2f1fedc4be18433a7cf4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113397
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/source/cpp/bootstrapfixturebase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx index 5eb5b91dcaf0..a8affd272674 100644 --- a/unotest/source/cpp/bootstrapfixturebase.cxx +++ b/unotest/source/cpp/bootstrapfixturebase.cxx @@ -36,10 +36,10 @@ void test::BootstrapFixtureBase::setUp() void test::BootstrapFixtureBase::tearDown() { StarBASIC::DetachAllDocBasicItems(); } -bool test::BootstrapFixtureBase::isWindowsRDP() const +bool test::BootstrapFixtureBase::isWindowsRDP() { #if defined _WIN32 - return GetSystemMetrics(SM_REMOTESESSION); + return GetSystemMetrics(SM_REMOTESESSION) != 0; #else return false; #endif |