[PUSHED] Cleanup in basctl (raw pointers)

Gerrit gerrit at gerrit.libreoffice.org
Fri Sep 7 02:21:00 PDT 2012


>From Andras Timar <atimar at suse.com>:

Andras Timar has submitted this change and it was merged.

Change subject: Cleanup in basctl (raw pointers)
......................................................................


Cleanup in basctl (raw pointers)

Lots of raw pointers have been converted to boost::scoped_ptr to reduce
the number of 'delete's and the possibility of memory leaks.
Some pointers have been converted to references, to reduce the needless
checking for nullptrs, and so simplifying the code.
Also some #define-s have been converted to C++ constants or enumerations.

Change-Id: Ifbeb78f744bac7a96c8a446ff4db90dedf85fe26
---
M basctl/source/accessibility/accessibledialogcontrolshape.cxx
M basctl/source/accessibility/accessibledialogwindow.cxx
M basctl/source/basicide/basdoc.cxx
M basctl/source/basicide/basdoc.hxx
M basctl/source/basicide/baside2.cxx
M basctl/source/basicide/baside2.hxx
M basctl/source/basicide/baside2b.cxx
M basctl/source/basicide/baside3.cxx
M basctl/source/basicide/basidectrlr.cxx
M basctl/source/basicide/basides3.cxx
M basctl/source/basicide/basidesh.cxx
M basctl/source/basicide/basobj2.cxx
M basctl/source/basicide/basobj3.cxx
M basctl/source/basicide/bastype2.hxx
M basctl/source/basicide/bastypes.cxx
M basctl/source/basicide/doceventnotifier.cxx
M basctl/source/basicide/docsignature.cxx
M basctl/source/basicide/localizationmgr.cxx
M basctl/source/basicide/macrodlg.cxx
M basctl/source/basicide/macrodlg.hxx
M basctl/source/basicide/moduldl2.cxx
M basctl/source/basicide/moduldlg.cxx
M basctl/source/basicide/moduldlg.hxx
M basctl/source/dlged/dlged.cxx
M basctl/source/dlged/dlgedfunc.cxx
M basctl/source/dlged/dlgedlist.cxx
M basctl/source/dlged/dlgedobj.cxx
M basctl/source/dlged/dlgedpage.cxx
M basctl/source/dlged/dlgedview.cxx
M basctl/source/dlged/propbrw.cxx
M basctl/source/inc/baside3.hxx
M basctl/source/inc/basidesh.hxx
M basctl/source/inc/dlged.hxx
M basctl/source/inc/dlgeddef.hxx
M basctl/source/inc/dlgedfunc.hxx
M basctl/source/inc/dlgedlist.hxx
M basctl/source/inc/dlgedobj.hxx
M basctl/source/inc/dlgedpage.hxx
M basctl/source/inc/dlgedview.hxx
M basctl/source/inc/doceventnotifier.hxx
M basctl/source/inc/docsignature.hxx
M basctl/source/inc/iderid.hxx
M basctl/source/inc/localizationmgr.hxx
43 files changed, 1,085 insertions(+), 1,262 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/529
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifbeb78f744bac7a96c8a446ff4db90dedf85fe26
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: János Uray <uray.janos at gmail.com>
Gerrit-Reviewer: Andras Timar <atimar at suse.com>
Gerrit-Reviewer: János Uray <uray.janos at gmail.com>



More information about the LibreOffice mailing list