summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-02-17 19:49:27 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 22:22:10 +0100
commitef5ee3247467a2bae5ae12f758a75758f58afaa4 (patch)
tree63b9f622da893cdf732e1f1d021b44a973bfdb6c /vcl/qa
parent8b9b9985b04b8f3b602890806ea905f8c7cb45ba (diff)
vcl: more double-dispose protection, and survival after dispose.
Change-Id: I271f9bcb85d07a28abef2d97ef3c31287878324d
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/lifecycle.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/qa/cppunit/lifecycle.cxx b/vcl/qa/cppunit/lifecycle.cxx
index 8a453d46aeaa..3492b52327a7 100644
--- a/vcl/qa/cppunit/lifecycle.cxx
+++ b/vcl/qa/cppunit/lifecycle.cxx
@@ -73,11 +73,11 @@ void LifecycleTest::testWidgets(vcl::Window *pParent)
// Some widgets really insist on adoption.
if (pParent)
{
- { VclPtr<CheckBox> aPtr(new CheckBox(pParent)); }
-// { VclPtr<Edit> aPtr(new Edit(pParent)); }
-// { VclPtr<ComboBox> aPtr(new ComboBox(pParent)); }
+ { VclPtr<CheckBox> aPtr(new CheckBox(pParent)); }
+ { VclPtr<Edit> aPtr(new Edit(pParent)); }
+ { VclPtr<ComboBox> aPtr(new ComboBox(pParent)); }
+ { VclPtr<RadioButton> aPtr(new RadioButton(pParent)); }
}
-// { VclPtr<RadioButton> aPtr(new RadioButton(pParent)); }
}
void LifecycleTest::testIsolatedWidgets()