diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-20 14:22:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-21 18:08:33 +0100 |
commit | b1617acde182d1683bdfb529794d7456f8b4bf6d (patch) | |
tree | d81821699a32c0134f87a658be38e3309fa6fbcf /vcl/qa | |
parent | 5e6e87f1556e484c4d4be7e3b01ef668ab602f3c (diff) |
drop RadioButton arg defaults
the nBits arg in builder.cxx was in the wrong place
Change-Id: Id4d0dd6919444cb39cf0d9e593f46d324f343a31
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109714
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/qa')
-rw-r--r-- | vcl/qa/cppunit/lifecycle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/lifecycle.cxx b/vcl/qa/cppunit/lifecycle.cxx index 2c9967e8bb0c..e25b03d279e4 100644 --- a/vcl/qa/cppunit/lifecycle.cxx +++ b/vcl/qa/cppunit/lifecycle.cxx @@ -127,7 +127,7 @@ void LifecycleTest::testWidgets(vcl::Window *pParent) (void)aPtr; // silence unused variable warning } { - ScopedVclPtrInstance< RadioButton > aPtr( pParent ); + ScopedVclPtrInstance< RadioButton > aPtr( pParent, true, 0 ); (void)aPtr; // silence unused variable warning } } @@ -299,7 +299,7 @@ void LifecycleTest::testLeakage() aObjects.push_back(LeakTestObject::Create<CheckBox>(xParent)); aObjects.push_back(LeakTestObject::Create<Edit>(xParent)); aObjects.push_back(LeakTestObject::Create<ComboBox>(xParent)); - aObjects.push_back(LeakTestObject::Create<RadioButton>(xParent)); + aObjects.push_back(LeakTestObject::Create<RadioButton>(xParent, true, 0)); { // something that looks like a dialog aObjects.push_back(LeakTestObject::Create<Dialog>(xParent,WB_CLIPCHILDREN|WB_MOVEABLE|WB_3DLOOK|WB_CLOSEABLE|WB_SIZEABLE)); |