diff options
Diffstat (limited to 'vcl/source/control/spinfld.cxx')
-rw-r--r-- | vcl/source/control/spinfld.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx index 169b6c30e054..45d4dffdfde2 100644 --- a/vcl/source/control/spinfld.cxx +++ b/vcl/source/control/spinfld.cxx @@ -576,7 +576,7 @@ void SpinField::FillLayoutData() const { if (mbSpin) { - mpControlData->mpLayoutData = new vcl::ControlLayoutData(); + mpControlData->mpLayoutData.reset( new vcl::ControlLayoutData ); AppendLayoutData(*GetSubEdit()); GetSubEdit()->SetLayoutDataParent(this); } |