diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-18 16:40:54 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 12:01:45 +0100 |
commit | 4f72ab022425318b109e52a641e63f673fce653d (patch) | |
tree | ad177f8ca4e78eabc99df672a8fcb52c9ae9f711 /vcl/source/control | |
parent | 4f386d07474790648843665cac42879cb33eba48 (diff) |
nail more lifecycle oddness.
Change-Id: Ibc29b488cf5077f1d5eb996a8d88dfd057de8266
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/edit.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 63511fd855a4..4ab221fccc07 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2786,6 +2786,7 @@ Size Edit::GetMinimumEditSize() vcl::Window* pDefWin = ImplGetDefaultWindow(); VclPtr<Edit> aEdit(new Edit( pDefWin, WB_BORDER ) ); Size aSize( aEdit->CalcMinimumSize() ); + aEdit.disposeAndClear(); return aSize; } |