diff options
Diffstat (limited to 'vcl/qa')
-rw-r--r-- | vcl/qa/cppunit/BitmapTest.cxx | 2 | ||||
-rw-r--r-- | vcl/qa/cppunit/complextext.cxx | 6 | ||||
-rw-r--r-- | vcl/qa/cppunit/timer.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/vcl/qa/cppunit/BitmapTest.cxx b/vcl/qa/cppunit/BitmapTest.cxx index 7455b4b2bdf2..4336e6bb7e87 100644 --- a/vcl/qa/cppunit/BitmapTest.cxx +++ b/vcl/qa/cppunit/BitmapTest.cxx @@ -76,7 +76,7 @@ void BitmapTest::testConvert() CPPUNIT_ASSERT_EQUAL(sal_uLong(40), pReadAccess->GetScanlineSize()); #else CPPUNIT_ASSERT_EQUAL(static_cast<sal_uInt16>(24), pReadAccess->GetBitCount()); -#if defined WNT +#if defined(_WIN32) if (!OpenGLHelper::isVCLOpenGLEnabled()) { // GDI Scanlines padded to DWORD multiples, it seems diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx index 31717ccdd12e..b0fa4d72cb80 100644 --- a/vcl/qa/cppunit/complextext.cxx +++ b/vcl/qa/cppunit/complextext.cxx @@ -22,13 +22,13 @@ public: /// Play with font measuring etc. void testArabic(); -#if defined(WNT) +#if defined(_WIN32) void testTdf95650(); // Windows-only issue #endif CPPUNIT_TEST_SUITE(VclComplexTextTest); CPPUNIT_TEST(testArabic); -#if defined(WNT) +#if defined(_WIN32) CPPUNIT_TEST(testTdf95650); #endif CPPUNIT_TEST_SUITE_END(); @@ -83,7 +83,7 @@ void VclComplexTextTest::testArabic() #endif } -#if defined(WNT) +#if defined(_WIN32) void VclComplexTextTest::testTdf95650() { const sal_Unicode pTxt[] = { diff --git a/vcl/qa/cppunit/timer.cxx b/vcl/qa/cppunit/timer.cxx index 22fa582114c5..0d3afa1ace8d 100644 --- a/vcl/qa/cppunit/timer.cxx +++ b/vcl/qa/cppunit/timer.cxx @@ -127,7 +127,7 @@ void TimerTest::testIdle() // tdf#91727 void TimerTest::testIdleMainloop() { -#ifndef WNT +#ifndef _WIN32 bool bTriggered = false; IdleBool aTest( bTriggered ); // coverity[loop_top] - Application::Yield allows the timer to fire and toggle bDone |