diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2017-06-07 04:38:27 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-06-07 13:52:17 +0200 |
commit | cb9be0e492d047648185ae80553220fd9b538746 (patch) | |
tree | c8ae318427e59c3c32fed32080903f5e442bc579 /framework/inc/uielement | |
parent | 61c3e678f4efb19fb2396de43075cf6a1e0afd99 (diff) |
Replace vcl::SalLayout Release with destructor
Replace SalLayout::Release() with normal destructor mechanism. Release()
uses reference counting for the layout. But in practice, the reference
counting variable is initialized in ctor and is not incremented elsewhere.
So I removed the Release() method and replaced all the Release() calls with
'delete'. It will make easier the use of smart pointers and decrease the
chance of memory leaks.
Change-Id: Ia2e142dea10b87e232d5757d84778e62d87cf081
Reviewed-on: https://gerrit.libreoffice.org/38488
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'framework/inc/uielement')
0 files changed, 0 insertions, 0 deletions