summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/qa')
-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