summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-21 15:52:27 +0200
committerNoel Grandin <noel@peralex.com>2015-05-22 10:37:59 +0200
commit566922a98d548529feacb7c21bfc8897ff5b61af (patch)
treee55a4b26ac5b32d842efbc9d9e6dc5576b226005 /vcl/qa/cppunit
parent321b34419160da6829e30fc67f3d107fcb936390 (diff)
convert WINDOW constants for GetWindow() methods to scoped enum
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33
Diffstat (limited to 'vcl/qa/cppunit')
-rw-r--r--vcl/qa/cppunit/lifecycle.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/lifecycle.cxx b/vcl/qa/cppunit/lifecycle.cxx
index 4d6e1cb6aaab..2a63e79dfefe 100644
--- a/vcl/qa/cppunit/lifecycle.cxx
+++ b/vcl/qa/cppunit/lifecycle.cxx
@@ -76,7 +76,7 @@ void LifecycleTest::testMultiDispose()
xWin->disposeOnce();
xWin->disposeOnce();
xWin->disposeOnce();
- CPPUNIT_ASSERT(xWin->GetWindow(0) == NULL);
+ CPPUNIT_ASSERT(xWin->GetWindow(GetWindowType::Parent) == NULL);
CPPUNIT_ASSERT(xWin->GetChild(0) == NULL);
CPPUNIT_ASSERT(xWin->GetChildCount() == 0);
}
@@ -143,7 +143,7 @@ void LifecycleTest::testPostDispose()
CPPUNIT_ASSERT(!xWin->IsEnabled());
CPPUNIT_ASSERT(!xWin->IsInputEnabled());
CPPUNIT_ASSERT(!xWin->GetChild(0));
- CPPUNIT_ASSERT(!xWin->GetWindow(0));
+ CPPUNIT_ASSERT(!xWin->GetWindow(GetWindowType::Parent));
}
class FocusCrashPostDispose : public TabControl