diff options
Diffstat (limited to 'vcl/source')
-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; } |