summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/cpp/bootstrapfixturebase.cxx4
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